Manto (Manto.dll) 14.0
Data Types

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 TSResultPSRESULT
 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...
 

Detailed Description

Typedef Documentation

◆ MCF

MCF

Handle to the Manto classifier file (MCF) object.

◆ PSRESULT

Pointer to a record (of type TSResult) to access the data corresponding to an individual search result from a SEARCHRESULTS result list.

◆ SEARCHRESULTS

Pointer to the list of search results.

The memory resources associated with this list must eventually be freed with a call to MCReleaseResults.

◆ SIL

SIL

Handle to the sample image list (SIL) object.

◆ TLrnFPNotify

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.

Attention
This event is not supported in Visual Basic.
Parameters
[in]PrivateDataThe 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]NotifyRecThe current learning state can be obtained from the fields TrialNr and State of the structures passed to the callback.
Supported platforms:
Win32

◆ TMantoNotify

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.

Attention
This event is not supported in Visual Basic.
Parameters
[in]NotifyDataThe 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]NotifyRecThe current learning state can be obtained from the field FractionDone (0...1) in the TMantoNotifyRec structure of the function's parameter list.
Supported platforms:
Win32

◆ TOnImageEvent

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. 
Attention
This event is not supported in Visual Basic.
Parameters
[in]PrivateDataPointer 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]ImageHandle to the current image.
[in]ClassIDCurrent class ID.
Supported platforms:
Win32

Enumeration Type Documentation

◆ 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.

Supported platforms:
Win32
Enumerator
TDB_Soft 

Recommended as default.

TDB_Medium 

Intermediate tolerance to misclassified samples.

TDB_Hard 

Rigidity tolerance to misclassified samples.