Thats kind of an open question... it depends on what you want your SparseIntFV to contain. As you mention PyramidDenseSIFT, I assume that you want a bag of words feature? In that case, take a look at the tutorial: http://www.openimaj.org/tutorial/classification101.html
The extractor there builds a SparseIntFV using the BagOfWords and BlockSpatialAggegator classes; only the final .normalise() call transforms it into a DoubleFV.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am tring to get SparseIntFV from image. i have seen Image2DobleFV method but havn't found any for sparseIntFV. Is there any?
If not how would i found SparseFV from an image?
Thats kind of an open question... it depends on what you want your
SparseIntFV
to contain. As you mention PyramidDenseSIFT, I assume that you want a bag of words feature? In that case, take a look at the tutorial: http://www.openimaj.org/tutorial/classification101.htmlThe extractor there builds a
SparseIntFV
using theBagOfWords
andBlockSpatialAggegator
classes; only the final.normalise()
call transforms it into aDoubleFV
.