Instance information collection that is attached to a training set model. More...
Inherits TrainingSet.InstanceInfoCollection.
Public Member Functions | |
| ModelInstanceInfoCollection (TrainingSet parent, IntPtr collectionParent) | |
| Constructor. | |
Public Member Functions inherited from TrainingSet.InstanceInfoCollection | |
| bool | Remove (InstanceInfo instance) |
| Remove an instance from the training set. | |
| void | Remove (int index) |
| Remove an instance from the training set. | |
Public Member Functions inherited from TrainingSet.TrainingSetObjectInfoCollection< TParent, TInfo > | |
| int | IndexOf (TInfo obj) |
| Determine the index of an image information object inside this collection. | |
Public Member Functions inherited from InfoCollection< TParent, TInfo > | |
| TInfo[] | ToArray () |
| Converts this collection into an array. | |
Additional Inherited Members | |
Protected Member Functions inherited from TrainingSet.InstanceInfoCollection | |
| override int | GetCount () |
| Parent class calls this method to determine the number of objects in the collection. | |
| override InstanceInfo | GetInfo (int index) |
| Parent class calls this method to extract one info object by index. | |
Protected Member Functions inherited from InfoCollection< TParent, TInfo > | |
| 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. | |
Protected Attributes inherited from TrainingSet.InstanceInfoCollection | |
| readonly IntPtr | collectionParent_ |
| The instance collection needs the collection parent handle in addition to the MTS handle as the instance collection appears twice: once inside the model, and once inside the image. | |
Protected Attributes inherited from InfoCollection< TParent, TInfo > | |
| readonly TParent | Parent |
| Parent image reference helps keeping track of the lifetime and provides the information basis for index access. | |
Properties inherited from TrainingSet.InstanceInfoCollection | |
| InstanceInfo | this[int index] [get] |
| Index-based item access. | |
Properties inherited from InfoCollection< TParent, TInfo > | |
| int | Count [get] |
| Number of elements in the collection. | |
Instance information collection that is attached to a training set model.
| ModelInstanceInfoCollection | ( | TrainingSet | parent, |
| IntPtr | collectionParent ) |
Constructor.
| parent | The TrainingSet that the newly created collection belongs to. |
| collectionParent | Native handle through which this collection is to access its training set data. |