Click or drag to resize
Accord.NET (logo)

MoravecCornersDetector Class

Moravec corners detector.
Inheritance Hierarchy

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
public class MoravecCornersDetector : ICornersDetector, 
Request Example View Source

The MoravecCornersDetector type exposes the following members.

Public methodMoravecCornersDetector
Initializes a new instance of the MoravecCornersDetector class.
Public methodMoravecCornersDetector(Int32)
Initializes a new instance of the MoravecCornersDetector class.
Public methodMoravecCornersDetector(Int32, Int32)
Initializes a new instance of the MoravecCornersDetector class.
Public propertyThreshold
Threshold value, which is used to filter out uninteresting points.
Public propertyWindowSize
Window size used to determine if point is interesting, [3, 15].
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessImage(Bitmap)
Process image looking for corners.
Public methodProcessImage(BitmapData)
Process image looking for corners.
Public methodProcessImage(UnmanagedImage)
Process image looking for corners.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)

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

Note Note
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 )
    // ... 
See Also