public class SURF extends AbstractFeatureDescriptor
Descriptor.Supports
pcs
DOES_ALL
Constructor and Description |
---|
SURF()
Empty default constructor
|
SURF(int octaves,
int layers,
float threshold,
int initStep,
boolean upright,
boolean displayOrientationVectors,
boolean displayDescriptorWindows,
int lineWidth,
boolean displayStatistics)
Constructs a SURF instance with all params
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a short plain Text description about the Descriptor and the
semantics of the double array obtained from
FeatureDescriptor.getFeatures() . |
boolean |
getDisplayDescriptorWindows() |
boolean |
getDisplayOrientationVectors() |
boolean |
getDisplayStatistics() |
List<double[]> |
getFeatures()
Returns the list of SURF features.
|
int |
getInitStep() |
int |
getLayers() |
int |
getLineWidth() |
int |
getOctaves() |
Params |
getParams() |
float |
getThreshold() |
boolean |
getUpright() |
void |
run(ij.process.ImageProcessor ip)
Start processing of this algorithm on the given image processor.
|
void |
setDisplayDescriptorWindows(boolean displayDescriptorWindows)
Set if windows for each IP should be displayed
|
void |
setDisplayOrientationVectors(boolean displayOrientationVectors)
Set if line width should display IP strength
|
void |
setDisplayStatistics(boolean displayStatistics)
Sets if detailled statistics are displayed
|
void |
setInitStep(int initStep)
Set initial step param
|
void |
setLayers(int layers)
Set layers param
|
void |
setLineWidth(int lineWidth)
Set overall line width
|
void |
setOctaves(int octaves)
Set octaves param
|
void |
setThreshold(float threshold)
Set treshold param
|
void |
setUpright(boolean upright)
Set if rotation invariant should be excluded
|
EnumSet<Descriptor.Supports> |
supports()
Determine the capabilities of this algorithm.
|
addData, addData, addData, addPropertyChangeListener, endProgress, firePropertyChange, getMask, inMask, setMask, setProperties, startProgress
public SURF()
public SURF(int octaves, int layers, float threshold, int initStep, boolean upright, boolean displayOrientationVectors, boolean displayDescriptorWindows, int lineWidth, boolean displayStatistics)
octaves
- layers
- threshold
- initStep
- upright
- displayOrientationVectors
- displayDescriptorWindows
- lineWidth
- displayStatistics
- public String getDescription()
FeatureDescriptor
FeatureDescriptor.getFeatures()
.
May return null if no description is implemented - even though this
should be avoided by any means.public void run(ij.process.ImageProcessor ip)
Descriptor
public List<double[]> getFeatures()
getFeatures
in interface FeatureDescriptor
getFeatures
in class AbstractFeatureDescriptor
public EnumSet<Descriptor.Supports> supports()
Descriptor
supports
in interface Descriptor
supports
in class AbstractFeatureDescriptor
public void setOctaves(int octaves)
octaves
- public void setLayers(int layers)
layers
- public void setThreshold(float threshold)
threshold
- public void setInitStep(int initStep)
initStep
- public void setUpright(boolean upright)
upright
- public void setDisplayOrientationVectors(boolean displayOrientationVectors)
displayOrientationVectors
- public void setDisplayDescriptorWindows(boolean displayDescriptorWindows)
displayDescriptorWindows
- public void setLineWidth(int lineWidth)
lineWidth
- public void setDisplayStatistics(boolean displayStatistics)
displayStatistics
- public int getOctaves()
public int getLayers()
public float getThreshold()
public int getInitStep()
public boolean getUpright()
public boolean getDisplayOrientationVectors()
public boolean getDisplayDescriptorWindows()
public int getLineWidth()
public boolean getDisplayStatistics()
public Params getParams()
Copyright © 2013. All Rights Reserved.