CVB.Net 14.0
SearchResult Struct Reference

Search result obtained with a ShapeFinder (1) classifier. More...

Inherits IPosition, and IQualified.

Static Public Attributes

static readonly SearchResult Empty = new SearchResult(PrecisionMode.Low, Point2Dd.Empty, -1, -1)
 The element that identifies a situation where nothing was found.
 

Properties

PrecisionMode PrecisionMode [get]
 PrecisionMode that was used for generating this result (may be useful for the interpretation of the result quality).
 
Point2Dd Position [get]
 Result location (X) in the image.
 
double X [get]
 Result location (X) in the image.
 
double Y [get]
 Result location (Y) in the image.
 
int Layer [get]
 Accumulator layer of the classifier with which the best match was achieved. The interpretation of the layer index depends on the way the classifier was generated. For example it is possible to concatenate several classifiers into one using the Classifier.Append function to generate one classifier that can identify a number of objects simultaneously; in this case the layer index corresponds to the object that has been found. If you used the method ClassifierFactory.CreateRotationInvariant then the layer number can be translated into a rotation state.
 
double Quality [get]
 Quality measure of the result. Corresponds to the number of features that have been found to match.
 
- Properties inherited from IPosition
double X [get]
 X coordinate of the position.
 
double Y [get]
 Y coordinate of the position.
 
- Properties inherited from IQualified
double Quality [get]
 Name of the object.
 

Detailed Description

Search result obtained with a ShapeFinder (1) classifier.