Retrieve the label information that goes with a given sample.
Namespace: Stemmer.Cvb.SampleDatabase
Assembly: Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax
public SampleClassificationImageListImageClassificationLabelInfo GetClassFromSample( int sampleIndex )
Parameters
- sampleIndex
- Type: SystemInt32
Index of the sample for which to retrieve the class information.
Return Value
Type: SampleClassificationImageListImageClassificationLabelInfoThe indexed class.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | if sampleIndex is outside the range [0...NumSamples-1] |
See Also