eVision Python API
Loading...
Searching...
No Matches
eVision.EHarrisCornerDetector Class Reference

Manages a complete context for the Harris corner detector. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EHarrisCornerDetector object initialized to its default values.
None Apply (self, eVision.EROIBW8 source, eVision.EHarrisInterestPoints interestPoints)
 Apply the Harris corner detector on an image/ROI.
float IntegrationScale (self)
 The integration scale.
 IntegrationScale (self, float value)
 The integration scale.
float Threshold (self)
 Threshold on the cornerness measure for a pixel to be considered as a corner.
 Threshold (self, float value)
 Threshold on the cornerness measure for a pixel to be considered as a corner.
bool SubpixelPrecisionEnabled (self)
 Returns whether the sub-pixel interpolation is enabled.
 SubpixelPrecisionEnabled (self, bool value)
 Returns whether the sub-pixel interpolation is enabled.
float DerivationScale (self)
 Returns the current derivation scale.
 DerivationScale (self, float value)
 Returns the current derivation scale.
eVision.EHarrisThresholdingMode ThresholdingMode (self)
 Thresholding mode for the cornerness measure.
 ThresholdingMode (self, eVision.EHarrisThresholdingMode value)
 Thresholding mode for the cornerness measure.
bool GradientNormalizationEnabled (self)
 Sets whether the gradient is normalized before the computation of the cornerness measure.
 GradientNormalizationEnabled (self, bool value)
 Sets whether the gradient is normalized before the computation of the cornerness measure.

Detailed Description

Manages a complete context for the Harris corner detector.

Remarks:

This implementation of the Harris corner detector operates exclusively on a grayscale BW8 images.

License(s): EasyImage

Constructor & Destructor Documentation

◆ __init__()

None eVision.EHarrisCornerDetector.__init__ ( self)

Constructs a eVision.EHarrisCornerDetector object initialized to its default values.

Member Function Documentation

◆ Apply()

None eVision.EHarrisCornerDetector.Apply ( self,
eVision.EROIBW8 source,
eVision.EHarrisInterestPoints interestPoints )

Apply the Harris corner detector on an image/ROI.

Parameters
sourceThe source image/ROI.
interestPointsThe container in which to store the interest points.

◆ DerivationScale() [1/2]

float eVision.EHarrisCornerDetector.DerivationScale ( self)

Returns the current derivation scale.

◆ DerivationScale() [2/2]

eVision.EHarrisCornerDetector.DerivationScale ( self,
float value )

Returns the current derivation scale.

◆ GradientNormalizationEnabled() [1/2]

bool eVision.EHarrisCornerDetector.GradientNormalizationEnabled ( self)

Sets whether the gradient is normalized before the computation of the cornerness measure.

Remarks:

If this flag is enabled, the values of the X-gradient and of the Y-gradient are first divided by their maximum absolute value (in the internal computations). This results in a cornerness measure that is roughly distributed around the value 1. If this flag is disabled, the cornerness measure will be much greater.

◆ GradientNormalizationEnabled() [2/2]

eVision.EHarrisCornerDetector.GradientNormalizationEnabled ( self,
bool value )

Sets whether the gradient is normalized before the computation of the cornerness measure.

Remarks:

If this flag is enabled, the values of the X-gradient and of the Y-gradient are first divided by their maximum absolute value (in the internal computations). This results in a cornerness measure that is roughly distributed around the value 1. If this flag is disabled, the cornerness measure will be much greater.

◆ IntegrationScale() [1/2]

float eVision.EHarrisCornerDetector.IntegrationScale ( self)

The integration scale.

Remarks:

The integration scale is the standard deviation of the Gaussian filter that is used for scale analysis.

◆ IntegrationScale() [2/2]

eVision.EHarrisCornerDetector.IntegrationScale ( self,
float value )

The integration scale.

Remarks:

The integration scale is the standard deviation of the Gaussian filter that is used for scale analysis.

◆ SubpixelPrecisionEnabled() [1/2]

bool eVision.EHarrisCornerDetector.SubpixelPrecisionEnabled ( self)

Returns whether the sub-pixel interpolation is enabled.

◆ SubpixelPrecisionEnabled() [2/2]

eVision.EHarrisCornerDetector.SubpixelPrecisionEnabled ( self,
bool value )

Returns whether the sub-pixel interpolation is enabled.

◆ Threshold() [1/2]

float eVision.EHarrisCornerDetector.Threshold ( self)

Threshold on the cornerness measure for a pixel to be considered as a corner.

Remarks:

If the threshold mode is set to eVision.EHarrisThresholdingMode.Absolute, the threshold value is interpreted as an absolute threshold on the cornerness. In this case, the threshold must be a strictly positive real value.

If the threshold mode is set to eVision.EHarrisThresholdingMode.Relative, the threshold is expressed as a fraction ranging from 0 to 1 of the maximum value of the cornerness of the source image.

◆ Threshold() [2/2]

eVision.EHarrisCornerDetector.Threshold ( self,
float value )

Threshold on the cornerness measure for a pixel to be considered as a corner.

Remarks:

If the threshold mode is set to eVision.EHarrisThresholdingMode.Absolute, the threshold value is interpreted as an absolute threshold on the cornerness. In this case, the threshold must be a strictly positive real value.

If the threshold mode is set to eVision.EHarrisThresholdingMode.Relative, the threshold is expressed as a fraction ranging from 0 to 1 of the maximum value of the cornerness of the source image.

◆ ThresholdingMode() [1/2]

eVision.EHarrisThresholdingMode eVision.EHarrisCornerDetector.ThresholdingMode ( self)

Thresholding mode for the cornerness measure.

◆ ThresholdingMode() [2/2]

eVision.EHarrisCornerDetector.ThresholdingMode ( self,
eVision.EHarrisThresholdingMode value )

Thresholding mode for the cornerness measure.