Catalano.Imaging.Corners
Class SusanCornersDetector
- java.lang.Object
-
- Catalano.Imaging.Corners.SusanCornersDetector
-
- All Implemented Interfaces:
- ICornersDetector
public class SusanCornersDetector extends java.lang.Object implements ICornersDetector
Susan corners detector. The class implements Susan corners detector, which is described by S.M. Smith in: S.M. Smith, "SUSAN - a new approach to low level image processing", Internal Technical Report TR95SMS1, Defense Research Agency, Chobham Lane, Chertsey, Surrey, UK, 1995.
-
-
Constructor Summary
Constructors Constructor and Description SusanCornersDetector()Initialize a new instance of the SusanCornersDetector class.SusanCornersDetector(int differenceThreshold, int geometricalThreshold)Initialize a new instance of the SusanCornersDetector class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetDifferenceThreshold()Get Brightness difference threshold.intgetGeometricalThreshold()Get Geometrical threshold.java.util.List<IntPoint>ProcessImage(FastBitmap fastBitmap)Process image looking for corners.voidsetDifferenceThreshold(int differenceThreshold)Set Brightness difference threshold.voidsetGeometricalThreshold(int geometricalThreshold)Set Geometrical threshold.
-
-
-
Constructor Detail
-
SusanCornersDetector
public SusanCornersDetector()
Initialize a new instance of the SusanCornersDetector class.
-
SusanCornersDetector
public SusanCornersDetector(int differenceThreshold, int geometricalThreshold)Initialize a new instance of the SusanCornersDetector class.- Parameters:
differenceThreshold- Brightness difference threshold.geometricalThreshold- Geometrical threshold.
-
-
Method Detail
-
getDifferenceThreshold
public int getDifferenceThreshold()
Get Brightness difference threshold.- Returns:
- Brightness difference threshold.
-
setDifferenceThreshold
public void setDifferenceThreshold(int differenceThreshold)
Set Brightness difference threshold.- Parameters:
differenceThreshold- Brightness difference threshold.
-
getGeometricalThreshold
public int getGeometricalThreshold()
Get Geometrical threshold.- Returns:
- Geometrical threshold.
-
setGeometricalThreshold
public void setGeometricalThreshold(int geometricalThreshold)
Set Geometrical threshold.- Parameters:
geometricalThreshold- Geometrical threshold.
-
ProcessImage
public java.util.List<IntPoint> ProcessImage(FastBitmap fastBitmap)
Process image looking for corners.- Specified by:
ProcessImagein interfaceICornersDetector- Parameters:
fastBitmap- FastBitmap for find corners.- Returns:
- A list of points considered corners.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG