Menu

How to find SparseIntFV From Fimag?

Anonymous
2015-03-18
2015-03-19
  • Anonymous

    Anonymous - 2015-03-18

    I am tring to get SparseIntFV from image. i have seen Image2DobleFV method but havn't found any for sparseIntFV. Is there any?

        DenseSIFT dsift = new DenseSIFT(5, 8);
        PyramidDenseSIFT<FImage> pdsift = new PyramidDenseSIFT<FImage>(dsift, 6f, 8);
    
        pdsift.analyseImage(image);
    
        FeatureExtractor<SparseIntFV, FImage> extractor = ?????
        extractor.extractFeature(image);
    

    If not how would i found SparseFV from an image?

     
  • Jonathon Hare

    Jonathon Hare - 2015-03-19

    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.

     

Anonymous
Anonymous

Add attachments
Cancel