public class Harris extends Object implements PointDetector
Descriptor.SupportsDOES_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 PointDetectorpublic EnumSet<Descriptor.Supports> supports()
supports in interface Descriptorpublic void run(ij.process.ImageProcessor ip)
run in interface Descriptorip - 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)
DescriptoraddPropertyChangeListener in interface DescriptorCopyright © 2013. All Rights Reserved.