C# Class Accord.Imaging.HarrisCornersDetector

Harris Corners Detector.

This class implements the Harris corners detector.

Sample usage:

// create corners detector's instance HarrisCornersDetector hcd = new HarrisCornersDetector( ); // process image searching for corners Point[] corners = hcd.ProcessImage( image ); // process points foreach ( Point corner in corners ) { // ... }

References: P. D. Kovesi. MATLAB and Octave Functions for Computer Vision and Image Processing. School of Computer Science and Software Engineering, The University of Western Australia. Available in: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/Spatial/harris.m C.G. Harris and M.J. Stephens. "A combined corner and edge detector", Proceedings Fourth Alvey Vision Conference, Manchester. pp 147-151, 1988. Alison Noble, "Descriptions of Image Surfaces", PhD thesis, Department of Engineering Science, Oxford University 1989, p45.

Inheritance: ICornersDetector
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

HarrisCornersDetector ( ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( HarrisCornerMeasure measure ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold, double sigma ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold, double sigma, int suppression ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( float k ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( float k, float threshold ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( float k, float threshold, double sigma ) : System

Initializes a new instance of the HarrisCornersDetector class.

HarrisCornersDetector ( float k, float threshold, double sigma, int suppression ) : System

Initializes a new instance of the HarrisCornersDetector class.

ProcessImage ( Bitmap image ) : List

Process image looking for corners.

ProcessImage ( BitmapData imageData ) : List

Process image looking for corners.

ProcessImage ( UnmanagedImage image ) : List

Process image looking for corners.

Private Methods

Method Description
convolve ( float image, float temp, float kernel ) : void

Convolution with decomposed 1D kernel.

createGaussian ( ) : void
initialize ( HarrisCornerMeasure measure, float k, float threshold, double sigma, int suppression, int size ) : void

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( ) : System
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( HarrisCornerMeasure measure ) : System
measure HarrisCornerMeasure
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold ) : System
measure HarrisCornerMeasure
threshold float
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold, double sigma ) : System
measure HarrisCornerMeasure
threshold float
sigma double
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( HarrisCornerMeasure measure, float threshold, double sigma, int suppression ) : System
measure HarrisCornerMeasure
threshold float
sigma double
suppression int
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( float k ) : System
k float
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( float k, float threshold ) : System
k float
threshold float
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( float k, float threshold, double sigma ) : System
k float
threshold float
sigma double
return System

HarrisCornersDetector() public method

Initializes a new instance of the HarrisCornersDetector class.
public HarrisCornersDetector ( float k, float threshold, double sigma, int suppression ) : System
k float
threshold float
sigma double
suppression int
return System

ProcessImage() public method

Process image looking for corners.
/// The source image has incorrect pixel format. ///
public ProcessImage ( Bitmap image ) : List
image System.Drawing.Bitmap Source image data to process.
return List

ProcessImage() public method

Process image looking for corners.
/// The source image has incorrect pixel format. ///
public ProcessImage ( BitmapData imageData ) : List
imageData System.Drawing.Imaging.BitmapData Source image data to process.
return List

ProcessImage() public method

Process image looking for corners.
/// The source image has incorrect pixel format. ///
public ProcessImage ( UnmanagedImage image ) : List
image UnmanagedImage Source image data to process.
return List