Information collection for class labels.
Inheritance Hierarchy
Stemmer.Cvb.Collections.GenericInfoCollectionSampleList, TLabelInformation
Stemmer.Cvb.SampleDatabaseSampleListLabelInfoCollectionTLabelInformation, TData
Stemmer.Cvb.SampleDatabaseSampleClassificationImageListImageClassificationInfoCollection
Stemmer.Cvb.SampleDatabaseSampleRegressionImageListImageRegressionInfoCollection
Namespace: Stemmer.Cvb.SampleDatabase
Assembly: Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax
public abstract class LabelInfoCollection<TLabelInformation, TData> : InfoCollection<SampleList, TLabelInformation>, IEnumerable<TLabelInformation>, IEnumerable, SampleListISampleListChild where TLabelInformation : SampleListILabelInfo
Type Parameters
- TLabelInformation
- Type of label entries in the list.
- TData
- Type of data entries in the list.
The SampleListLabelInfoCollectionTLabelInformation, TData type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count |
Number of elements in the collection.
(Inherited from InfoCollectionTParent, TInfo.) | |
| Item |
Index-based item access.
| |
| ParentList |
SampleList object to which this class file object is bound
|
Methods
| Name | Description | |
|---|---|---|
| Clear |
Remove all labels (and their associated data) from the Sample List.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCount |
Parent class calls this method to determine the number of objects
in the collection.
(Overrides InfoCollectionTParent, TInfoGetCount.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInfo |
Function with which the collection retrieves the information object
with the given index.
(Inherited from InfoCollectionTParent, TInfo.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MergeClasses |
Merge two classes into one class. The class label will be taken from
the 2nd class index. Note that this operation will invalidate all
indices higher than fromIndex.
| |
| Remove |
Remove a class by Index.
| |
| ToArray |
Converts this collection into an array.
(Inherited from InfoCollectionTParent, TInfo.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| Parent |
Parent image reference helps keeping track of the lifetime and
provides the information basis for index access
(Inherited from InfoCollectionTParent, TInfo.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerableTInfoGetEnumerator |
Provides the enumerator for plane information access.
(Inherited from InfoCollectionTParent, TInfo.) | |
| IEnumerableGetEnumerator |
Provides the enumerator for type-unsafe information access.
(Inherited from InfoCollectionTParent, TInfo.) |
See Also