k-means algorithm for construct vocabulary for bag of words

Hi All,
I have medical images and I need to classify them to normal and abnomal using bag of words model where I divided each image to patches(blocks) and extracted local features from each patch,my question how can I use k-means algorithm to constrcut visual words vocabulary,could any one provide me matlab code for this job,and thanks in advance.

Antworten (1)

Dima Lisin
Dima Lisin am 20 Nov. 2014

0 Stimmen

There is now support for image classification using the bag of words model in the Computer Vision System Toolbox. See this example.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Mär. 2014

Beantwortet:

am 20 Nov. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by