InstanceInformation that has been added to a training set. More...
Inherits TrainingSet.TrainingSetObject.
Public Member Functions | |
override bool | Equals (object obj) |
Comparison for the wrapper object for our unmanaged instance data should not be left to CLR. More... | |
unsafe override int | GetHashCode () |
Build a sensible hash value from the native handle. More... | |
double | GetCorrelation () |
Retrieve the correlation between this instance image and the model image. More... | |
Static Public Member Functions | |
static bool | operator== (InstanceInfo lhs, InstanceInfo rhs) |
Comparison operator for instance information objects. More... | |
static bool | operator!= (InstanceInfo lhs, InstanceInfo rhs) |
Comparison operator for instance information objects. More... | |
Protected Member Functions | |
override int | GetIndex () |
Index of this MTS instance inside the training set More... | |
override Image | CreateImageRepresentation () |
Creates the image used for representing this object. More... | |
abstract int | GetIndex () |
Method through which the inherited classes retrieve the index this object has in its "master" collection underneath the TrainingSet. More... | |
abstract Image | CreateImageRepresentation () |
Creates the image used for representing this object. More... | |
Properties | |
ImageInfo | SourceImage [get] |
The image from which this instance has been trained. More... | |
Point2Dd | Location [get] |
Position in the SourceImage from which this instance has been extracted. More... | |
ModelInfo | Model [get] |
The Training Set Model into which this instance has been trained. More... | |
![]() | |
int | Index [get] |
Index of this object in the parent's collection. More... | |
Image | Image [get] |
Image representation of this object. More... | |
Additional Inherited Members | |
![]() | |
readonly IntPtr | collectionParent_ |
Native handle to the parent of the collection (which is not necessarily the training set!) | |
InstanceInformation that has been added to a training set.
|
protectedvirtual |
Creates the image used for representing this object.
Implements TrainingSet.TrainingSetObject.
override bool Equals | ( | object | obj | ) |
Comparison for the wrapper object for our unmanaged instance data should not be left to CLR.
obj | Object to compare to. |
true
if this object and the object referred to by obj are to be considered equal (which in this case means that SourceImageand Location are identical), false
otherwise. double GetCorrelation | ( | ) |
Retrieve the correlation between this instance image and the model image.
unsafe override int GetHashCode | ( | ) |
Build a sensible hash value from the native handle.
|
protectedvirtual |
Index of this MTS instance inside the training set
Implements TrainingSet.TrainingSetObject.
|
static |
Comparison operator for instance information objects.
lhs | object to compare |
rhs | object to compare |
|
static |
Comparison operator for instance information objects.
lhs | object to compare |
rhs | object to compare |
|
get |
Position in the SourceImage from which this instance has been extracted.
ObjectDisposedException | If the training set has already been disposed |
|
get |
The Training Set Model into which this instance has been trained.
ObjectDisposedException | If the training set has already been disposed |
|
get |
The image from which this instance has been trained.
ObjectDisposedException | If the training set has already been disposed |