IMAGE
- Type of image being processedpublic abstract class AbstractDenseSIFT<IMAGE extends Image<?,IMAGE>> extends Object implements ImageAnalyser<IMAGE>, Cloneable
Constructor and Description |
---|
AbstractDenseSIFT() |
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(IMAGE image)
Compute the dense sift descriptors of the given image.
|
abstract void |
analyseImage(IMAGE image,
Rectangle bounds)
Compute the dense sift descriptors inside the bounds rectangle of the
given image.
|
AbstractDenseSIFT<IMAGE> |
clone() |
abstract int |
getBinHeight()
(Optional operation) Get the height of a single bin of the sampling
window (in pixels).
|
abstract int |
getBinWidth()
(Optional operation) Get the width of a single bin of the sampling window
(in pixels).
|
abstract LocalFeatureList<ByteDSIFTKeypoint> |
getByteKeypoints()
Get the SIFT descriptors from the previous call to
analyseImage(Image) or analyseImage(Image, Rectangle)
in the form of a list of local features with byte vectors. |
abstract LocalFeatureList<ByteDSIFTKeypoint> |
getByteKeypoints(float energyThreshold)
Get the SIFT descriptors from the previous call to
analyseImage(Image) or analyseImage(Image, Rectangle)
in the form of a list of local features with byte vectors. |
abstract float[][] |
getDescriptors()
Get the computed raw dense SIFT descriptors from the previous call to
analyseImage(Image) or analyseImage(Image, Rectangle) . |
abstract LocalFeatureList<FloatDSIFTKeypoint> |
getFloatKeypoints()
Get the SIFT descriptors from the previous call to
analyseImage(Image) or analyseImage(Image, Rectangle)
in the form of a list of local features with float vectors. |
abstract LocalFeatureList<FloatDSIFTKeypoint> |
getFloatKeypoints(float energyThreshold)
Get the SIFT descriptors from the previous call to
analyseImage(Image) or analyseImage(Image, Rectangle)
in the form of a list of local features with float vectors. |
abstract int |
getNumBinsX()
Get the number of spatial bins in the X direction
|
abstract int |
getNumBinsY()
Get the number of spatial bins in the Y direction
|
abstract int |
getNumOriBins()
Get the number of orientation bins
|
abstract void |
setBinHeight(int size)
(Optional operation) Set the height of a single bin of the sampling
window (in pixels).
|
abstract void |
setBinWidth(int size)
(Optional operation) Set the width of a single bin of the sampling window
(in pixels).
|
public AbstractDenseSIFT()
public abstract void analyseImage(IMAGE image, Rectangle bounds)
image
- the imagebounds
- the bounds rectanglepublic final void analyseImage(IMAGE image)
analyseImage
in interface ImageAnalyser<IMAGE extends Image<?,IMAGE>>
image
- the imagepublic abstract LocalFeatureList<FloatDSIFTKeypoint> getFloatKeypoints()
analyseImage(Image)
or analyseImage(Image, Rectangle)
in the form of a list of local features with float vectors.FloatDSIFTKeypoint
s.public abstract LocalFeatureList<ByteDSIFTKeypoint> getByteKeypoints()
analyseImage(Image)
or analyseImage(Image, Rectangle)
in the form of a list of local features with byte vectors.ByteDSIFTKeypoint
s.public abstract LocalFeatureList<FloatDSIFTKeypoint> getFloatKeypoints(float energyThreshold)
analyseImage(Image)
or analyseImage(Image, Rectangle)
in the form of a list of local features with float vectors. Only the
features with an energy above the given threshold will be returned.energyThreshold
- the threshold on the feature energyFloatDSIFTKeypoint
s.public abstract LocalFeatureList<ByteDSIFTKeypoint> getByteKeypoints(float energyThreshold)
analyseImage(Image)
or analyseImage(Image, Rectangle)
in the form of a list of local features with byte vectors. Only the
features with an energy above the given threshold will be returned.energyThreshold
- the threshold on the feature energyByteDSIFTKeypoint
s.public AbstractDenseSIFT<IMAGE> clone()
public abstract void setBinWidth(int size)
getNumBinsX()
.size
- size to setpublic abstract void setBinHeight(int size)
getNumBinsY()
.size
- size to setpublic abstract int getBinWidth()
getNumBinsX()
.public abstract int getBinHeight()
getNumBinsY()
.public abstract int getNumBinsX()
public abstract int getNumBinsY()
public abstract int getNumOriBins()
public abstract float[][] getDescriptors()
analyseImage(Image)
or analyseImage(Image, Rectangle)
.