public class Sift extends AbstractFeatureDescriptor
Descriptor.SupportspcsDOES_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, startProgresspublic Sift()
public Sift(File siftBinary) throws IOException
siftBinary - IOExceptionpublic void setProperties(LibProperties properties) throws IOException
FeatureDescriptorsetProperties in interface FeatureDescriptorsetProperties in class AbstractFeatureDescriptorIOException - if something went wrongpublic List<double[]> getFeatures()
getFeatures in interface FeatureDescriptorgetFeatures in class AbstractFeatureDescriptorpublic EnumSet<Descriptor.Supports> supports()
Descriptorsupports in interface Descriptorsupports in class AbstractFeatureDescriptorpublic void run(ij.process.ImageProcessor ip)
Descriptorpublic String getDescription()
FeatureDescriptorFeatureDescriptor.getFeatures().
May return null if no description is implemented - even though this
should be avoided by any means.Copyright © 2013. All Rights Reserved.