Inverted-File-Structure

A function to Create an Inverted File Structure for an image database for large scale retrieval
435 Downloads
Updated 17 Mar 2014

View License

This function takes the SIFT like local features from an image database (features grouped imagewise) and a codebook(dictionary) to return an inverted file structure. i.e, the SIFT features of an image are mapped(quantized) to the nearest codewords in the dictionary. And each codeword holds the images(ids) containing features that are mapped to it. This will be a sparse list when the number oo codewords present in the dictionary is huge. This function calls one more functino(insert_image.m) to insert the image in the appropriate locations in the structure. One final note is, to use this function one must install the yael_library from the INRIA group, 'https://gforge.inria.fr/projects/yael/'. As a byproduct this function gives the un-normalised BoW(Bag of Visual Words) representation for the images in the database.

Cite As

Konda Reddy Mopuri (2024). Inverted-File-Structure (https://www.mathworks.com/matlabcentral/fileexchange/45829-inverted-file-structure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

An extra output argument for holding the codeword index for each image feature 'Winds' is added.

1.1.0.0

A small bug in the previous submission is corrected.

1.0.0.0