Properties | |
long | AdvanceX [get, set] |
X-component of the advance vector. More... | |
long | AdvanceY [get, set] |
Y-component of the advance vector. More... | |
BSTR | ClassID [get] |
Holds the ID of the class in the classifier that has been selected through the #ClassIndex property. More... | |
long | Classifier [get] |
The property Classifier holds the handle to the currently loaded classifier inside the ActiveX control. More... | |
long | ClassIndex [get, set] |
ClassIndex references one of the #NumClasses classes that have been defined for the classifier. More... | |
BSTR | Comment [get] |
Each classifier can potentially hold a comment string that is user-definable and is being stored along with the classifier's data. More... | |
long | Dimension [get] |
This property holds the dimension (number of planes) for which a classifier has been generated. More... | |
boolean | Entire [get, set] |
If this property is set to TRUE the area defined by the #X0, #Y0, #X1, and #Y1 properties is ignored and the complete image will be used in #Execute calls to search for object(s). More... | |
BSTR | ExcludedClassID [get, set] |
When a classifier has been configured to find objects, it usually contains an excluded class i.e., a class that holds samples of everything that the user is not interested in. More... | |
long | FeatureWindowHeight [get] |
The feature window height and width have been defined during creation of the classifier. More... | |
long | FeatureWindowWidth [get] |
The feature window height and width have been defined during creation of the classifier. More... | |
BSTR | FileName [get, set] |
This property FileName holds the name of the file from which the current classifier has been loaded. More... | |
boolean | HasClassifier [get] |
Indicates if the classifier has been successfully loaded. More... | |
long | Image [get, set] |
Defines the image object that is assigned to the Common Vision Manto Search Control. More... | |
double | LearnResult [get] |
This property holds the learning success result of the classifier, a characteristic number that is approximately proportional to the classifier's capability to separate the feature space. More... | |
long | Locality [get, set] |
The locality specifies the minimum distance between two results in #MC_SearchAll and an approximate minimum distance in #MC_SearchAll_Refined mode (see #SearchTask property). More... | |
long | NumClasses [get] |
NumClasses holds the number of classes that have been defined for the currently loaded classifier. More... | |
long | ObjectCount [get] |
Returns the number of objects that have been found during the last call to the #Execute method. More... | |
long | ObjectIndex [get, set] |
This property may be used to select an individual result that has been found during the last call to the #Execute method in order to retrieve additional informations about the result. More... | |
BSTR | PClassID [get] |
The pattern name (#ClassID) returned by the respective search procedure. More... | |
double | PConfidence [get] |
Hold the quality of the currently selected object at index #ObjectIndex. More... | |
BSTR | PreprocessingCode [get] |
Retrieve the Manto Preprocessing Filter sequence that has been used during the generation of the classifier (for more informations about the Manto Preprocessing Filter please refer to the Manto Teach Tutorial. More... | |
BSTR | PToken [get] |
It holds the concatenated class IDs of all the results that have been found. More... | |
double | PX [get] |
Returns the x-position of the currently selected object at index #ObjectIndex. More... | |
double | PY [get] |
Returns the y-position of the currently selected object at index #ObjectIndex. More... | |
long | Radius [get, set] |
The Radius property defines the size of the translated search rectangle to be used in the #MC_ReadToken search mode (see #SearchTask property). More... | |
long | SampleOriginX [get] |
Return the x-component of the origin position inside the classifier's feature window. More... | |
long | SampleOriginY [get] |
Holds the y-component of the origin position inside the classifier's feature window. More... | |
SearchMode | SearchTask [get, set] |
The SearchTask property can be used to define the search mode for the next call to the #Execute method. More... | |
double | Threshold [get, set] |
This property defines the minimum confidence level a result must have to be entered into the list of results (see #ObjectCount). More... | |
boolean | UseDotSensitivity [get, set] |
Switch sensitivity on dot-signs in class labels on or off. More... | |
boolean | UseVoting [get, set] |
Enable or disable the voting mechanism for the classification process. More... | |
double | X0 [get, set] |
The properties X0, #Y0, #X1 and #Y1 define a rectangular area of interest in which the control tries to find an object. More... | |
double | X1 [get, set] |
The properties #X0, #Y0, X1 and #Y1 define a rectangular area of interest in which the control tries to find an object. More... | |
double | Y0 [get, set] |
The properties #X0, Y0, #X1 and #Y1 define a rectangular area of interest in which the control tries to find an object. More... | |
double | Y1 [get, set] |
The properties #X0, #Y0, #X1 and Y1 define a rectangular area of interest in which the control tries to find an object. More... | |
|
getsetproperty |
X-component of the advance vector.
This property is only being used if the property #SearchTask has been set to #MC_ReadToken. The #SearchTask #MC_ReadToken scans the frame (Left, Top, Right, Bottom) of the image to generate a list of pattern matches. After the first pattern was found, a small search window of size #Radius will be generated and moved by \a AdvanceX and #AdvanceY relative to the location of the previously found object and a new search is performed in this translated search area. This process is repeated until no more object can be found. The \ref ClassID "class IDs" of the results encountered during this search will be concatenated to the result string #PToken. The other result reporting properties (#ObjectCount, #PX, #PY, #PConfidence, #PClassID) will also be updated accordingly.
[in,out] | AdvanceX | X-component of the advance vector. |
|
getsetproperty |
Y-component of the advance vector.
This property is only being used if the property #SearchTask has been set to #MC_ReadToken. The #SearchTask #MC_ReadToken scans the frame (Left, Top, Right, Bottom) of the image to generate a list of pattern matches. After the first pattern was found, a small search window of size #Radius will be generated and moved by #AdvanceX and \a AdvanceY relative to the location of the previously found object and a new search is performed in this translated search area. This process is repeated until no more object can be found. The \ref ClassID "class IDs" of the results encountered during this search will be concatenated to the result string #PToken. The other result reporting properties (#ObjectCount, #PX, #PY, #PConfidence, #PClassID) will also be updated accordingly.
[in,out] | AdvanceY | Y-component of the advance vector. |
|
getproperty |
Holds the ID of the class in the classifier that has been selected through the #ClassIndex property.
By cycling the property #ClassIndex from 0 to #NumClasses - 1 you can retrieve the names of all classes that have been defined for the currently loaded classifier.
[out] | ClassID | Selected class ID. |
|
getproperty |
The property Classifier holds the handle to the currently loaded classifier inside the ActiveX control.
[out] | Classifier | 0 indicates that no classifier has been loaded, otherwise this is a handle to the classifier. |
|
getsetproperty |
|
getproperty |
Each classifier can potentially hold a comment string that is user-definable and is being stored along with the classifier's data.
Use the Comment property of the Manto OCX to readout the comment that has been specified for the currently loaded classifier.
[out] | Comment | User-defined comment. |
|
getproperty |
This property holds the dimension (number of planes) for which a classifier has been generated.
For example if a classifier has been trained on monochrome images, \a Dimension will be 1, and consequently it will not be possible to process images with more than 1 plane with this classifier!
[out] | Dimension | Number of planes for which a classifier has been generated. |
|
getsetproperty |
If this property is set to TRUE
the area defined by the #X0, #Y0, #X1, and #Y1 properties is ignored and the complete image will be used in #Execute calls to search for object(s).
[in,out] | Entire | TRUE indicates that the complete image will be searched, FALSE specifies that the search rectangle is defined by #X0, #Y0, #X1 and #Y1 is being used. |
|
getsetproperty |
When a classifier has been configured to find objects, it usually contains an excluded class i.e., a class that holds samples of everything that the user is not interested in.
[in,out] | ExcludedClassID | ID of excluded classifier. |
|
getproperty |
The feature window height and width have been defined during creation of the classifier.
The ActiveX control properties #FeatureWindowWidth and \a FeatureWindowHeight make these parameters accessible to users.
[out] | FeatureWindowHeight | Height of classifier's feature window. |
|
getproperty |
The feature window height and width have been defined during creation of the classifier.
The ActiveX control properties \a FeatureWindowWidth and #FeatureWindowHeight make these parameters accessible to users.
[out] | FeatureWindowWidth | Width of classifier's feature window. |
|
getsetproperty |
|
getproperty |
Indicates if the classifier has been successfully loaded.
[out] | HasClassifier | Returns TRUE once a classifier has been successfully loaded into the ActiveX control, FALSE if there is no classifier available yet. |
|
getsetproperty |
|
getproperty |
This property holds the learning success result of the classifier, a characteristic number that is approximately proportional to the classifier's capability to separate the feature space.
Learning success is determined during classifier creation, so for any given classifier this is a constant. If this number is less than or equal to 0.5, the classifier is most likely useless for classification. A learning success of 1.0 indicates a perfectly separable training data set.
[out] | LearnResult | Learning success of the classifier. |
|
getsetproperty |
The locality specifies the minimum distance between two results in #MC_SearchAll and an approximate minimum distance in #MC_SearchAll_Refined mode (see #SearchTask property).
[in,out] | Locality | Minimum distance between two results. |
|
getproperty |
|
getproperty |
Returns the number of objects that have been found during the last call to the #Execute method.
[out] | ObjectCount | Number of objects found. |
|
getsetproperty |
This property may be used to select an individual result that has been found during the last call to the #Execute method in order to retrieve additional informations about the result.
Valid values range from 0 to #ObjectCount - 1. The position of the object is returned in the #PX and #PY properties, the quality is returned in the #PConfidence property and the #ClassID in the #PClassID property. All these properties are read only.
[in,out] | ObjectIndex | Current object index to select. |
|
getproperty |
The pattern name (#ClassID) returned by the respective search procedure.
[out] | PClassID | Returns the quality of selected object. If #Execute fails the property will return -1. |
|
getproperty |
Hold the quality of the currently selected object at index #ObjectIndex.
[out] | PConfidence | Returns the quality of selected object. If #Execute fails the property will return -1. |
|
getproperty |
Retrieve the Manto Preprocessing Filter sequence that has been used during the generation of the classifier (for more informations about the Manto Preprocessing Filter please refer to the Manto Teach Tutorial.
[out] | PreprocessingCode | Manto preprocessing filter sequence. |
|
getproperty |
It holds the concatenated class IDs of all the results that have been found.
[out] | PToken | Concatenated class IDs of the results that have been found. |
|
getproperty |
Returns the x-position of the currently selected object at index #ObjectIndex.
[out] | PX | X-Position of selected object. |
|
getproperty |
Returns the y-position of the currently selected object at index #ObjectIndex.
[out] | PX | Y-Position of selected object. |
|
getsetproperty |
|
getproperty |
|
getproperty |
|
getsetproperty |
|
getsetproperty |
This property defines the minimum confidence level a result must have to be entered into the list of results (see #ObjectCount).
[in,out] | Threshold | Threshold ranging from 0 to 1. |
|
getsetproperty |
Switch sensitivity on dot-signs in class labels on or off.
The parameter \a UseDotSensitivity controls the format of the returned Model name by building equivalent class names for class labels differing only after the control character "." (dot). If \a UseDotSensitivity is activated and the best match pattern label is part of such a set of equivalent class names, #ClassID will merely contain the first part of the class name i.e., the characters up to the dot sign. If \a UseDotSensitivity is \c FALSE, the dot in a class name does not have a special meaning.
[in,out] | UseDotSensitivity | TRUE indicates that dot sensitivity is activated, FALSE otherwise (default value). |
|
getsetproperty |
Enable or disable the voting mechanism for the classification process.
Although potentially time-consuming (especially for a classifier with a large number of classes), voting may in some cases (especially for a classifier with a large number of classes) improve the quality of the results. For a classifier with only few classes (<10) voting typically has no significant effect. For a classifier with 2 classes, voting has no effect.
FALSE
. [in,out] | UseVoting | TRUE indicates that voting is enabled, FALSE otherwise. |
|
getsetproperty |
The properties X0, #Y0, #X1 and #Y1 define a rectangular area of interest in which the control tries to find an object.
TRUE
these values will be ignored and the complete image will be used instead to find objects. [in,out] | X0 | X0-coordinate of the area of interest. |
|
getsetproperty |
The properties #X0, #Y0, X1 and #Y1 define a rectangular area of interest in which the control tries to find an object.
TRUE
these values will be ignored and the complete image will be used instead to find objects. [in,out] | X1 | X1-coordinate of the area of interest. |
|
getsetproperty |
The properties #X0, Y0, #X1 and #Y1 define a rectangular area of interest in which the control tries to find an object.
TRUE
these values will be ignored and the complete image will be used instead to find objects. [in,out] | Y0 | Y0-coordinate of the area of interest. |
|
getsetproperty |
The properties #X0, #Y0, #X1 and Y1 define a rectangular area of interest in which the control tries to find an object.
TRUE
these values will be ignored and the complete image will be used instead to find objects. [in,out] | Y1 | Y1-coordinate of the area of interest. |