SampleImageList Class

CVB.Net Documentation
Class that wraps a Manto SIL
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.MantoSampleImageList

Namespace:  Stemmer.Cvb.Manto
Assembly:  Stemmer.Cvb.Manto (in Stemmer.Cvb.Manto.dll) Version: 14.0.0.0
Syntax

public class SampleImageList : INativeHandle, 
	IDisposable

The SampleImageList type exposes the following members.

Constructors

  NameDescription
Public methodSampleImageList(String)
Constructor that loads an image List from a file.
Public methodSampleImageList(SampleImageList)
Copy Constructor for Sample image List
Public methodSampleImageList(Size2D, Int32, Point2D, Point2D, Angle)
Create a new and empty image list from scratch.
Top
Properties

  NameDescription
Public propertyClasses
Class collection.
Public propertyExcludedClassIndex
Index of the currently excluded class.
Public propertyFeatureWindowDimension
Dimension of the image list's feature window
Public propertyFeatureWindowOrigin
Origin of the feature window
Public propertyFeatureWindowSize
Size of the image list's feature Window.
Public propertyFileName
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).
Public propertyHandle
Native Manto image list handle.
Public propertyIsDisposed
Tests if the native handle has already been disposed.
Public propertyStatic memberMantoVersion
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.
Public propertyMaskImage
Mask image to be applied during learning a classifier. The mask image must have the same size as the feature window!
Public propertyMaxRotation
Maximum rotation possible for automatic sample generation (in degrees).
Public propertyMaxTranslation
Maximum translation in X and Y direction for automatic sample generation.
Public propertyVersion
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.
Top
Methods

  NameDescription
Public methodAddClassSample
Add a new sample image to a class.
Public methodDispose
Dispose method that releases the image list
Protected methodDispose(Boolean)
IDispose helper function.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTotalExtractionWindow
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.
Public methodStatic memberGetTotalExtractionWindow(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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMaximumExtractableRectangle
Check how much of an image may be used for sample extraction
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merge the contents of mergeList into this sample image list.
Public methodMergeClasses
Merge two classes into a new class.
Public methodSave
Save the current contents of the image list to a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventObjectDisposing
Raised when this object is about to be disposed via the Dispose method.
Top
See Also

Reference