Add a new model (plus the first instance of that model) to the
training set.
Namespace: Stemmer.Cvb.Minos
Assembly: Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax
public void Add( TrainingSetImageInfo image, string name, Point2D location, Rect featureWindow )
Parameters
- image
- Type: Stemmer.Cvb.MinosTrainingSetImageInfo
image from which to extract the first instance (needs to be taken from the TrainingSet.Images collection) - name
- Type: SystemString
name of the model to be generation - location
- Type: Stemmer.CvbPoint2D
position in the image from which to extract the first instance - featureWindow
- Type: Stemmer.CvbRect
feature of the model to be generated
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If the training set has already been disposed |
ArgumentNullException | If image or name are null |
InvalidOperationException | when one of the
following applies:
|
See Also