compute bag of visual word representation for an image

computes BOV/BOF/BOW representation for an image. Codebook and image features are user inputs.
4.2K Downloads
Updated 31 Oct 2014

View License

If you have the codebook with you, you can represent an image as a bag of (visual) words, using this function. This gives the histogram of the codebook entries (called codewords), in the extracted features of th eimage. You need to pass the extracted features from the image also as input to the function. This function can work with any type of features. One important note is, you MUST have a working version of 'yael' library of INRIA on your machine. The output histogram can be normalized (third argument).

Cite As

Konda Reddy Mopuri (2024). compute bag of visual word representation for an image (https://www.mathworks.com/matlabcentral/fileexchange/43631-compute-bag-of-visual-word-representation-for-an-image), 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.1.0.0

1. Provison soft assignment
2. Codebook learning via K-means are added

1.0.0.0