public class Sift extends AbstractFeatureDescriptor
Descriptor.Supports
pcs
DOES_ALL
Constructor and Description |
---|
Sift()
Initialize the Sift wrapper without a binary being set!
|
Sift(File siftBinary)
Initialize the Sift wrapper with the sift binary file.
|
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() . |
List<double[]> |
getFeatures()
The output feature vectors are a parsed version of the SIFT-binary
output.
|
void |
run(ij.process.ImageProcessor ip)
Start processing of this algorithm on the given image processor.
|
void |
setProperties(LibProperties properties)
Injects the properties class that can be used to retrieve several
properties.
|
EnumSet<Descriptor.Supports> |
supports()
Determine the capabilities of this algorithm.
|
addData, addData, addData, addPropertyChangeListener, endProgress, firePropertyChange, getMask, inMask, setMask, startProgress
public Sift()
public Sift(File siftBinary) throws IOException
siftBinary
- IOException
public void setProperties(LibProperties properties) throws IOException
FeatureDescriptor
setProperties
in interface FeatureDescriptor
setProperties
in class AbstractFeatureDescriptor
IOException
- if something went wrongpublic 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 run(ij.process.ImageProcessor ip)
Descriptor
public String getDescription()
FeatureDescriptor
FeatureDescriptor.getFeatures()
.
May return null if no description is implemented - even though this
should be avoided by any means.Copyright © 2013. All Rights Reserved.