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. | |
| unsafe override int | GetHashCode () |
| Build a sensible hash value from the native handle. | |
| double | GetCorrelation () |
| Retrieve the correlation between this instance image and the model image. | |
Static Public Member Functions | |
| static bool | operator== (InstanceInfo lhs, InstanceInfo rhs) |
| Comparison operator for instance information objects. | |
| static bool | operator!= (InstanceInfo lhs, InstanceInfo rhs) |
| Comparison operator for instance information objects. | |
Protected Member Functions | |
| override int | GetIndex () |
| Index of this MTS instance inside the training set. | |
| override Image | CreateImageRepresentation () |
| Creates the image used for representing this object. | |
Protected Member Functions inherited from TrainingSet.TrainingSetObject | |
| int | GetIndex () |
| Method through which the inherited classes retrieve the index this object has in its "master" collection underneath the TrainingSet. | |
| Image | CreateImageRepresentation () |
| Creates the image used for representing this object. | |
Properties | |
| ImageInfo | SourceImage [get] |
| The image from which this instance has been trained. | |
| Point2Dd | Location [get] |
| Position in the SourceImage from which this instance has been extracted. | |
| ModelInfo | Model [get] |
| The Training Set Model into which this instance has been trained. | |
Properties inherited from TrainingSet.TrainingSetObject | |
| int | Index [get] |
| Index of this object in the parent's collection. | |
| Image | Image [get] |
| Image representation of this object. | |
Additional Inherited Members | |
Protected Attributes inherited from TrainingSet.TrainingSetObject | |
| 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.
|
protected |
Creates the image used for representing this object.
| 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.
|
protected |
Index of this MTS instance inside the training set.
|
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 |