Class that wraps a Manto SIL
Inheritance Hierarchy
Stemmer.Cvb.MantoSampleImageList
Namespace: Stemmer.Cvb.Manto
Assembly: Stemmer.Cvb.Manto (in Stemmer.Cvb.Manto.dll) Version: 14.0.0.0
Syntax
The SampleImageList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SampleImageList(String) |
Constructor that loads an image List from a file.
| |
SampleImageList(SampleImageList) |
Copy Constructor for Sample image List
| |
SampleImageList(Size2D, Int32, Point2D, Point2D, Angle) |
Create a new and empty image list from scratch.
|
Properties
Name | Description | |
---|---|---|
Classes |
Class collection.
| |
ExcludedClassIndex |
Index of the currently excluded class.
| |
FeatureWindowDimension |
Dimension of the image list's feature window
| |
FeatureWindowOrigin |
Origin of the feature window
| |
FeatureWindowSize |
Size of the image list's feature Window.
| |
FileName |
Name of the file from which this image list was loaded (string.Empty
if this image list was neither loaded nor saved since its
construction).
| |
Handle |
Native Manto image list handle.
| |
IsDisposed |
Tests if the native handle has already been disposed.
| |
MantoVersion |
Schema version of the Manto.dll that is currently being used.
You can compare this version versus the Version of a Sample Image List
to find out whether saving the Sample Image List will potentially
break backward compatibility.
| |
MaskImage |
Mask image to be applied during learning a classifier. The mask image
must have the same size as the feature window!
| |
MaxRotation |
Maximum rotation possible for automatic sample generation (in
degrees).
| |
MaxTranslation |
Maximum translation in X and Y direction for automatic sample
generation.
| |
Version |
Schema version of the sample image. The schema version is usually
determined by the most up-to-date version of Manto that has saved the
image list. Note that when saving an image list with schema version
x with a Manto that has schema version y > x then the schema version
of the image list becomes y and older versions of Manto will no longer
be able to read the list.
|
Methods
Name | Description | |
---|---|---|
AddClassSample |
Add a new sample image to a class.
| |
Dispose |
Dispose method that releases the image list
| |
Dispose(Boolean) |
IDispose helper function.
| |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTotalExtractionWindow |
Determine the total feature window parameters based on the current
SIL parameters. The width and height of the Rect
returned by this function are the minimum width and height of an
image that can be passed into a sample image list created with the
parameters passed into this function.
| |
GetTotalExtractionWindow(Size2D, Point2D, Point2D, Angle) |
Determine the total feature window parameters based on the current
SIL parameters. The width and height of the Rect
returned by this function are the minimum width and height of an
image that can be passed into a sample image list created with the
parameters passed into this function.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MaximumExtractableRectangle |
Check how much of an image may be used for sample extraction
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merge the contents of mergeList into this sample
image list.
| |
MergeClasses |
Merge two classes into a new class.
| |
Save |
Save the current contents of the image list to a file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
|
See Also