public class Harris extends Object implements PointDetector
Descriptor.Supports
DOES_ALL
Constructor and Description |
---|
Harris()
Creates Harris Corner detection with default parameters
|
Harris(float gaussianSigma,
int minDistance,
int minMeasure,
int iteractions)
Creates Harris Corner Detection
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a change listener to this descriptor.
|
List<ImagePoint> |
getPoints()
Returns the Corners as an ImagePoint List
|
int[] |
mappatura(int x,
int y,
int fact)
Function to map the pixels of the subsampled image within the original one
|
void |
run(ij.process.ImageProcessor ip)
Starts the Harris Corner Detection
|
EnumSet<Descriptor.Supports> |
supports()
Defines the capability of the algorithm.
|
public Harris()
public Harris(float gaussianSigma, int minDistance, int minMeasure, int iteractions)
gaussianSigma
- Gaussian Variance (Default: 1.4f)minDistance
- Distance Threshold (Default: 10)minMeasure
- Value Threshold (Default: 80)iteractions
- Number of Iteractions (Default: 1)public List<ImagePoint> getPoints()
getPoints
in interface PointDetector
public EnumSet<Descriptor.Supports> supports()
supports
in interface Descriptor
public void run(ij.process.ImageProcessor ip)
run
in interface Descriptor
ip
- ImageProcessor of the source imagepublic int[] mappatura(int x, int y, int fact)
x
- x-coordinatey
- y-coordinatefact
- parametro di scalapublic void addPropertyChangeListener(PropertyChangeListener listener)
Descriptor
addPropertyChangeListener
in interface Descriptor
Copyright © 2013. All Rights Reserved.