SampleClassificationImageListImageClassificationLabelInfoAdd Method

CVB.Net Documentation
Add a new sample to an existing class.

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

public void Add(
	Image srcImage,
	Point2D extractionLocation,
	SampleExtractionMode mode = SampleExtractionMode.TopLeftCorner
)

Parameters

srcImage
Type: Stemmer.CvbImage
Image from which to extract the first sample for the new class.
extractionLocation
Type: Stemmer.CvbPoint2D
Location at which to extract the sample for the class. Note that what the extraction location actually refers dependent on the value of the mode parameter.
mode (Optional)
Type: Stemmer.Cvb.SampleDatabaseSampleExtractionMode
Interpretation hint for the extractionLocation parameter.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the image list has already been disposed.
See Also

Reference