Bag of Visual Words
Matlab (GUI) implementation for Bag of Visual words.
This implementation is based on Matlab functions and Vlfeat lib.
The number of visual words=200, to change it:
from line 87 in bovw_sift.m
from line 76 in bovw_surf.m
Download the VLFeat binary package (version 0.9.20) from the following link:
http://www.vlfeat.org/download.html
Extract vlfeat-0.9.20-bin in the root of the BoVW directory.
Add the following line in vlfeat-0.9.20-bin\vlfeat-0.9.20\toolbox\vl_setup.m:
addpath(fullfile(root,'apps','recognition'));
1- Run BoVW.m
2- Choose the number of classes
3- Browse image folders (folder for each class)
4- Choose descriptor (SIFT or SURF)
5- Train (5-fold validation)
6- Test using new images
Citation pour cette source
Mahmoud Afifi (2024). Bag of Visual Words (https://www.mathworks.com/matlabcentral/fileexchange/62232-bag-of-visual-words), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.2 | . |
||
1.0.0.1 | description update |
||
1.0.0.0 |