Image that has been added to a training set.
More...
Inherits TrainingSet.TrainingSetObject.
|
override int | GetHashCode () |
| Provide a hash code for this object.
|
|
override bool | Equals (object obj) |
| Check two ImageInformation objects for equality.
|
|
void | TransformImageAndInstances (Matrix2D matrix) |
| Transform this image and all instances trained from this image using a 2x2 matrix.
|
|
unsafe SearchResult[] | CheckConsistency (double threshold, double density) |
| Test this image for potentially forgotten instances to be trained.
|
|
|
readonly IntPtr | collectionParent_ |
| Native handle to the parent of the collection (which is not necessarily the training set!)
|
|
Image that has been added to a training set.
◆ CheckConsistency()
unsafe SearchResult[] CheckConsistency |
( |
double | threshold, |
|
|
double | density ) |
Test this image for potentially forgotten instances to be trained.
- Parameters
-
threshold | correlation threshold to be used for the consistency check |
density | density to be used for the consistency check |
- Returns
- potentially forgotten positive samples that may be added to the training set
- Exceptions
-
ObjectDisposedException | If the training set has already been disposed |
ArgumentOutOfRangeException | If invalid values for threshold or density have been passed (both parameters must be within the range [0...1.0] |
CvbException | If the execution of the consistency check failed |
◆ CreateImageRepresentation()
override Image CreateImageRepresentation |
( |
| ) |
|
|
protected |
Creates the image used for representing this object.
- Returns
- Image representing this object.
◆ Equals()
override bool Equals |
( |
object | obj | ) |
|
Check two ImageInformation objects for equality.
- Parameters
-
- Returns
- true if the objects are equal, false otherwise
◆ GetHashCode()
override int GetHashCode |
( |
| ) |
|
Provide a hash code for this object.
- Returns
- hash code for this object
◆ GetIndex()
override int GetIndex |
( |
| ) |
|
|
protected |
Index of this MTS image inside the training set.
- Returns
- index
◆ operator!=()
Comparison operator for instance information objects.
- Parameters
-
lhs | object to compare |
rhs | object to compare |
- Returns
- false if the two objects refer to the same instance
◆ operator==()
Comparison operator for instance information objects.
- Parameters
-
lhs | object to compare |
rhs | object to compare |
- Returns
- true if the two objects refer to the same instance
◆ TransformImageAndInstances()
void TransformImageAndInstances |
( |
Matrix2D | matrix | ) |
|
Transform this image and all instances trained from this image using a 2x2 matrix.
- Parameters
-
matrix | matrix to transform the model with |
- Exceptions
-
ObjectDisposedException | If the training set has already been disposed |
DivideByZeroException | If the Matrix cannot be used to sensibly transform the image |
◆ Instances
The instances belonging to this model.
- Exceptions
-
ObjectDisposedException | If the training set has already been disposed |