C# Class Emgu.CV.Features2D.GFTTDetector

Wrapping class for feature detection using the goodFeaturesToTrack() function.
Inheritance: Emgu.Util.UnmanagedObject, IKeyPointDetector
Mostra file Open project: fajoy/RTSPExample Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GFTTDetector ( int maxCorners, double qualityLevel, double minDistance, int blockSize, bool useHarrisDetector, double k ) : System

Create a Good Feature to Track detector

The function first calculates the minimal eigenvalue for every source image pixel using cvCornerMinEigenVal function and stores them in eig_image. Then it performs non-maxima suppression (only local maxima in 3x3 neighborhood remain). The next step is rejecting the corners with the minimal eigenvalue less than quality_level?max(eig_image(x,y)). Finally, the function ensures that all the corners found are distanced enough one from another by considering the corners (the most strongest corners are considered first) and checking that the distance between the newly considered feature and the features considered earlier is larger than min_distance. So, the function removes the features than are too close to the stronger features

Protected Methods

Method Description
DisposeObject ( ) : void

Release the unmanaged memory associated with this detector.

Method Details

DisposeObject() protected method

Release the unmanaged memory associated with this detector.
protected DisposeObject ( ) : void
return void

GFTTDetector() public method

Create a Good Feature to Track detector
The function first calculates the minimal eigenvalue for every source image pixel using cvCornerMinEigenVal function and stores them in eig_image. Then it performs non-maxima suppression (only local maxima in 3x3 neighborhood remain). The next step is rejecting the corners with the minimal eigenvalue less than quality_level?max(eig_image(x,y)). Finally, the function ensures that all the corners found are distanced enough one from another by considering the corners (the most strongest corners are considered first) and checking that the distance between the newly considered feature and the features considered earlier is larger than min_distance. So, the function removes the features than are too close to the stronger features
public GFTTDetector ( int maxCorners, double qualityLevel, double minDistance, int blockSize, bool useHarrisDetector, double k ) : System
maxCorners int The maximum number of features to be detected. Use 1000 for default
qualityLevel double Multiplier for the maxmin eigenvalue; specifies minimal accepted quality of image corners. Use 0.01 for default.
minDistance double Limit, specifying minimum possible distance between returned corners; Euclidian distance is used. Use 1 for default
blockSize int Size of the averaging block, passed to underlying cvCornerMinEigenVal or cvCornerHarris used by the function. Use 3 for default
useHarrisDetector bool If true, will use Harris corner detector. Use false as default
k double K, use 0.04 for default
return System