C# Class AForge.Imaging.MoravecCornersDetector

Moravec corners detector.

The class implements Moravec corners detector. For information about algorithm's details its description should be studied.

Due to limitations of Moravec corners detector (anisotropic response, etc.) its usage is limited to certain cases only.

The class processes only grayscale 8 bpp and color 24/32 bpp images.

Sample usage:

// create corner detector's instance MoravecCornersDetector mcd = new MoravecCornersDetector( ); // process image searching for corners List<IntPoint> corners = scd.ProcessImage( image ); // process points foreach ( IntPoint corner in corners ) { // ... }
Inheritance: ICornersDetector
Show file Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Public Methods

Method Description
MoravecCornersDetector ( ) : System

Initializes a new instance of the MoravecCornersDetector class.

MoravecCornersDetector ( int threshold ) : System

Initializes a new instance of the MoravecCornersDetector class.

MoravecCornersDetector ( int threshold, int windowSize ) : System

Initializes a new instance of the MoravecCornersDetector 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.

Method Details

MoravecCornersDetector() public method

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

MoravecCornersDetector() public method

Initializes a new instance of the MoravecCornersDetector class.
public MoravecCornersDetector ( int threshold ) : System
threshold int Threshold value, which is used to filter out uninteresting points.
return System

MoravecCornersDetector() public method

Initializes a new instance of the MoravecCornersDetector class.
public MoravecCornersDetector ( int threshold, int windowSize ) : System
threshold int Threshold value, which is used to filter out uninteresting points.
windowSize int Window size used to determine if point is interesting.
return System

ProcessImage() public method

Process image looking for corners.
The source image has incorrect pixel format.
public ProcessImage ( Bitmap image ) : List
image Bitmap Source image 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 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 Unmanaged source image to process.
return List