Additional inheritance level of the InformationCollection object from the Image Manager wrapper that specifies stronger constraints on the TInfo generic parameter.
More...
Inherits InfoCollection< TParent, TInfo >.
Inherited by TrainingSet.ImageInfoCollection, TrainingSet.InstanceInfoCollection, and TrainingSet.ModelInfoCollection.
|
| int | IndexOf (TInfo obj) |
| | Determine the index of an image information object inside this collection.
|
| |
| TInfo[] | ToArray () |
| | Converts this collection into an array.
|
| |
|
| | InfoCollection (TParent parent) |
| | Constructor.
|
| |
| int | GetCount () |
| | Function with which the collection queries the number of elements.
|
| |
| TInfo | GetInfo (int index) |
| | Function with which the collection retrieves the information object with the given index.
|
| |
|
readonly TParent | Parent |
| | Parent image reference helps keeping track of the lifetime and provides the information basis for index access.
|
| |
| int | Count [get] |
| | Number of elements in the collection.
|
| |
Additional inheritance level of the InformationCollection object from the Image Manager wrapper that specifies stronger constraints on the TInfo generic parameter.
- Template Parameters
-
◆ IndexOf()
Determine the index of an image information object inside this collection.
- Parameters
-
| obj | Object for which to determine the index. |
- Returns
- Index through which the object can be accessed within this collection if it is part of this collection, -1 otherwise. Note that the returned index may be invalidated by Remove calls.
- Exceptions
-
| ObjectDisposedException | If the TrainingSet has already been disposed |
| ArgumentNullException | If the obj parameter is null. |