Data Structures | |
struct | TLrnFPNotifyRec |
The notification record is passed to the caller in the MCFindCounterExamples notification function during extraction operations. More... | |
struct | TMantoNotifyRec |
The notification record is passed to the caller in the CreateMCFromImageList notification function during time-consuming training operations. More... | |
struct | TSResult |
Record structure describing an individual search result. More... | |
Typedefs | |
typedef void * | MCF |
Handle to the Manto classifier file (MCF) object. More... | |
typedef TSResult * | PSRESULT |
Pointer to a record (of type TSResult) to access the data corresponding to an individual search result from a SEARCHRESULTS result list. More... | |
typedef void * | SEARCHRESULTS |
Pointer to the list of search results. More... | |
typedef void * | SIL |
Handle to the sample image list (SIL) object. More... | |
typedef bool * | TLrnFPNotify(void *PrivateData, TLrnFPNotifyRec NotifyRec) |
This event is used by the API function MCFindCounterExamples and serves as a callback function to monitor progress and to interrupt execution if it becomes necessary for any reason. More... | |
typedef bool * | TMantoNotify(void *NotifyData, TMantoNotifyRec NotifyRec) |
This event is used by the API function CreateMCFromImageList and serves as a callback function to monitor learning progress and to interrupt execution if it becomes necessary for any reason. More... | |
typedef bool * | TOnImageEvent(void *PrivateData, IMG Image, char *ClassID) |
This event is used by the API enumerate functions ImageListEnumerate and ImageListEnumerateSample. More... | |
Enumerations | |
enum | TDecisionBoundary { TDB_Soft = 0 , TDB_Medium = 1 , TDB_Hard = 2 } |
Control of the permeability of the decision surface. More... | |
Pointer to a record (of type TSResult) to access the data corresponding to an individual search result from a SEARCHRESULTS result list.
Pointer to the list of search results.
The memory resources associated with this list must eventually be freed with a call to MCReleaseResults.
typedef bool * TLrnFPNotify(void *PrivateData, TLrnFPNotifyRec NotifyRec) |
This event is used by the API function MCFindCounterExamples and serves as a callback function to monitor progress and to interrupt execution if it becomes necessary for any reason.
If the callback function returns FALSE
, execution of MCFindCounterExamples will be stopped immediately.
[in] | PrivateData | The contents of the NotifyData pointer is specified by the user which is filled in the CreateMCFromImageList parameter NotifyData. This is typically the address of a window used for graphical output of the learning progress monitor. |
[in] | NotifyRec | The current learning state can be obtained from the fields TrialNr and State of the structures passed to the callback. |
typedef bool * TMantoNotify(void *NotifyData, TMantoNotifyRec NotifyRec) |
This event is used by the API function CreateMCFromImageList and serves as a callback function to monitor learning progress and to interrupt execution if it becomes necessary for any reason.
If the callback function returns FALSE
, execution of CreateMCFromImageList will be stopped immediately.
[in] | NotifyData | The contents of the NotifyData pointer is specified by the user which is filled in the CreateMCFromImageList parameter NotifyData. This is typically the address of a window used for graphical output of the learning progress monitor. |
[in] | NotifyRec | The current learning state can be obtained from the field FractionDone (0...1) in the TMantoNotifyRec structure of the function's parameter list. |
typedef bool * TOnImageEvent(void *PrivateData, IMG Image, char *ClassID) |
This event is used by the API enumerate functions ImageListEnumerate and ImageListEnumerateSample.
Once the enumerate function has been started, the specified \a OnImage event is executed for each generated sample during the enumeration and gives access to the sample image and its class label through the fields \a Image and \a ClassID, respectively.
[in] | PrivateData | Pointer to the window object handling the event, typically the Self-parameter in an object oriented environment. It is fixed by the user when the parameter OnImageData is specified in the parameter list of the enumerate functions ImageListEnumerate and ImageListEnumerateSample, respectively. |
[in] | Image | Handle to the current image. |
[in] | ClassID | Current class ID. |
enum TDecisionBoundary |
Control of the permeability of the decision surface.
The decision boundary indicates some tolerance to misclassified samples. See section Binary Classifiers, Decision Surfaces and Pattern Quality for an explanation.
The user is advised that departure from the default value soft should be justified with a large test set, and that choice of the value hard can lead to an extreme slowdown of the training function. The values TDB_Medium and TDB_Hard are advisable, when there are problems with inconsistency, which means that the classifier mis-classifies an intolerably large proportion of the SIL with which it was trained.
Enumerator | |
---|---|
TDB_Soft | Recommended as default. |
TDB_Medium | Intermediate tolerance to misclassified samples. |
TDB_Hard | Rigidity tolerance to misclassified samples. |