C# Класс 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 ) { // ... }
Наследование: ICornersDetector
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

MoravecCornersDetector() публичный Метод

Initializes a new instance of the MoravecCornersDetector class.
public MoravecCornersDetector ( ) : System
Результат System

MoravecCornersDetector() публичный Метод

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.
Результат System

MoravecCornersDetector() публичный Метод

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.
Результат System

ProcessImage() публичный Метод

Process image looking for corners.
The source image has incorrect pixel format.
public ProcessImage ( Bitmap image ) : List
image Bitmap Source image to process.
Результат List

ProcessImage() публичный Метод

Process image looking for corners.
The source image has incorrect pixel format.
public ProcessImage ( BitmapData imageData ) : List
imageData BitmapData Source image data to process.
Результат List

ProcessImage() публичный Метод

Process image looking for corners.
The source image has incorrect pixel format.
public ProcessImage ( UnmanagedImage image ) : List
image UnmanagedImage Unmanaged source image to process.
Результат List