Base class for Polimago predictors.
More...
Inherits PolimagoFactoryCreatedObject.
Inherited by PredictorBaseEx, and SearchPredictor.
|
static int | GetGranularity (string preproCode) |
| The function returns the granularity (see tutorial) associated with a preprocessing code. More...
|
|
|
string | FileName [get, protected set] |
| Name of the file the object has been loaded from (or More...
|
|
double | Lambda [get] |
| Regularization value that has been used for generating this object.
|
|
double | Offset [get] |
| Intercept weight that has been used for generating this object.
|
|
InterpolationType | Interpolation [get] |
| Interpolation setting used for generating this object.
|
|
int | ImagePlanes [get] |
| The plane count of the images that have been used for generating this classifier. Image on which this classifier is to be used will need to have the same plane count.
|
|
Rect | FeatureWindowExtent [get] |
| The feature window extent that has been used during classifier training.
|
|
Size2D | RetinaSize [get] |
| Size of the "Retina" in paxels. The retina is the set of paxels onto which the input image is projected using the preprocessing code prior to application/training of the classifier.
|
|
Point2Dd | Correction [get] |
| Correction factors in X and Y direction required to rescale the input images for projection onto the retina.
|
|
string | Preprocessing [get] |
| Preprocessing code with which this object was generated.
|
|
IntPtr | Handle [get] |
| Native Manto classifier handle. More...
|
|
bool | IsDisposed [get] |
| Tests if the native handle has already been disposed.
|
|
Properties inherited from INativeHandle |
IntPtr | Handle [get] |
| The native handle of the object.
|
|
bool | IsDisposed [get] |
| Possibility to check whether the object has already been disposed of.
|
|
NativeHandleEventDelegate | ObjectDisposing |
| Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
|
|
Events inherited from INativeHandle |
NativeHandleEventDelegate | ObjectDisposing |
| Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
|
|
Base class for Polimago predictors.
◆ GetGranularity()
static int GetGranularity |
( |
string |
preproCode | ) |
|
|
static |
The function returns the granularity (see tutorial) associated with a preprocessing code.
- Parameters
-
preproCode | Preprocessing code to determine the granularity for. |
- Returns
- Granularity value for the preprocessing code.
◆ IsCompatible() [1/2]
bool IsCompatible |
( |
Image |
img | ) |
|
Verify the compatibility of a CVB image with this classifier.
- Parameters
-
- Returns
- true if the image is compatible with this classifier. Note that even if the classifier is basically compatible with the image, not all positions in the image are usable for classification.
◆ IsCompatible() [2/2]
Verify the compatibility of a CVB image with this classifier.
- Parameters
-
img | Image to be verified. |
pos | Position in the image to be processed. |
- Returns
- true if the image is compatible with this classifier and the position indicated by the pos parameter can be used for evaluation.
◆ VerifyCompatibility() [1/2]
void VerifyCompatibility |
( |
Image |
img | ) |
|
|
protected |
Verify the compatibility of a CVB image with this classifier.
- Parameters
-
◆ VerifyCompatibility() [2/2]
Verify the compatibility of a CVB image with this classifier.
- Parameters
-
img | Image to be verified. |
pos | Position in the image to be processed. |