compute bag of visual word representation for an image
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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Quality >
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.