Inverted-File-Structure
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
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Deep Learning Toolbox > Image Data Workflows > Pattern Recognition and Classification >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.