knn classifier for texture analysis

I got the concatenated histogram for texture analysis.I need classification accuracy..so pls tell about the knn classifier by using simple matlab code.

2 Commenti

What is the feature that you're classifying? And what is the histogram of? What are you counting up? http://www.mathworks.com/matlabcentral/answers/728-how-do-i-write-a-good-question-for-matlab-answers
The histogram of the LBP based feature extraction alg is calculated over each block.finally, I got the normalized histogram.
how to use knn classifier with normalized histogram ?

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 8 Gen 2016

0 voti

Look up "nearest neighbors" in the help. It walks you through it in great detail.

Richiesto:

il 8 Gen 2016

Risposto:

il 8 Gen 2016

Community Treasure Hunt

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

Start Hunting!

Translated by