Click or drag to resize
Accord.NET (logo)

HarrisCornersDetector Class

Harris Corners Detector.
Inheritance Hierarchy
SystemObject
  Accord.ImagingHarrisCornersDetector

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

The HarrisCornersDetector type exposes the following members.

Constructors
  NameDescription
Public methodHarrisCornersDetector
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(Single)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(HarrisCornerMeasure)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(Single, Single)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(HarrisCornerMeasure, Single)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(Single, Single, Double)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(HarrisCornerMeasure, Single, Double)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(Single, Single, Double, Int32)
Initializes a new instance of the HarrisCornersDetector class.
Public methodHarrisCornersDetector(HarrisCornerMeasure, Single, Double, Int32)
Initializes a new instance of the HarrisCornersDetector class.
Top
Properties
  NameDescription
Public propertyK
Harris parameter k. Default value is 0.04.
Public propertyMeasure
Gets or sets the measure to use when detecting corners.
Public propertySigma
Gaussian smoothing sigma. Default value is 1.2.
Public propertySuppression
Non-maximum suppression window radius. Default value is 3.
Public propertyThreshold
Harris threshold. Default value is 20000.
Top
Methods
  NameDescription
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.)
Top
Extension Methods
  NameDescription
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.)
Top
Remarks

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.

See Also