ShapeFinder classifier object.
Inheritance Hierarchy
Stemmer.Cvb.ShapeFinderClassifierObject
Stemmer.Cvb.ShapeFinderClassifier
Namespace: Stemmer.Cvb.ShapeFinder
Assembly: Stemmer.Cvb.ShapeFinder (in Stemmer.Cvb.ShapeFinder.dll) Version: 14.0.0.0
Syntax
The Classifier type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Classifier(String) |
Load a saved classifier from a file.
| |
Classifier(Classifier) |
Copy constructor for ShapeFinder classifiers
|
Properties
Name | Description | |
---|---|---|
AngularTolerance |
Acceptance parameter for feature gradient angles. In ShapeFinder the
angle of a feature is quantized into the range [0...255], i.e. in
steps of roughly 1.41 degrees. When determining whether features
extracted from an image match features stored in a classifier, the
gradient's angle of the two features is compared not for strict
equality, but for whether or not it falls into a certain range of
differences. This acceptance window is defined by the Angular
tolerance parameter. Valid values range from 0 (always match for
identity only) to 16.
| |
Comment |
Comment assigned to the classifier.
(Inherited from ClassifierObject.) | |
ContrastThreshold |
Threshold for the gradient slope.
| |
FeatureCount |
Number of features this classifier contains.
| |
FeatureWindow |
Feature window of this classifier (i.e. the bounding rectangle into
which all the classifier's features fit) relative to the classifier's
origin.
(Inherited from ClassifierObject.) | |
FileName |
Name of the file from which this classifier was loaded (string.Empty
if this image list was neither loaded nor saved since its
construction).
(Inherited from ClassifierObject.) | |
GradientType |
Gradient type this classifier uses for feature extraction.
(Inherited from ClassifierObject.) | |
Handle |
Native ShapeFinder2 classifier handle.
(Inherited from ClassifierObject.) | |
IsDisposed |
Tests if the native handle has already been disposed.
(Inherited from ClassifierObject.) | |
NumLayers |
Number of layers in the classifier (and in the accumulator generated
by the search function). In ShapeFinder classifiers layers may be
associated with specific classes or rotation information. In
ShapeFinder2 the layer count is a purely informational value.
(Inherited from ClassifierObject.) |
Methods
Name | Description | |
---|---|---|
Append |
Append another classifier to this one. Appending means that the layers
contained in clf will be appended to the layers
of this classifier, so the layers (which may be considered models)
of the two classifiers are left unchanged. Note that both classifiers
involved must use the same gradient type.
| |
DeleteFeatures |
Delete features in a given window from this
classifier.
| |
Dispose |
IDisposable implementation.
(Inherited from ClassifierObject.) | |
Dispose(Boolean) |
IDispose helper function.
(Inherited from ClassifierObject.) | |
Equals | (Inherited from Object.) | |
Finalize |
Finalizer
(Inherited from ClassifierObject.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVisualization |
Create and return a color coded image representation of this
ShapeFinder classifier. The colors in the output image correspond to
the gradient directions, the positions to the displacement vectors.
This visual representation might be useful during interactive
supervision and debugging.
(Inherited from ClassifierObject.) | |
GetVisualization(Int32) |
Create and return a color coded image representation of this
ShapeFinder classifier. The colors in the output image correspond to
the gradient directions, the positions to the displacement vectors.
This visual representation might be useful during interactive
supervision and debugging.
(Inherited from ClassifierObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReverseContrasts |
Reverse the contrasts on this ShapeFinder classifier.
| |
Save |
Write the classifier to a file.
(Inherited from ClassifierObject.) | |
SearchAll |
Search for all matches inside an image plane.
| |
SearchBest |
Search for the best pattern match in the plane | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transform |
Transform this ShapeFinder classifier using a 2x2 matrix.
(Inherited from ClassifierObject.) | |
Translate |
Translate this classifier by a selectable offset.
(Inherited from ClassifierObject.) | |
TruncateFeatures |
Shorten the list of classifier features based on each feature's
quality.
|
Events
Name | Description | |
---|---|---|
ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
(Inherited from ClassifierObject.) |
See Also