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 Kommentare

Image Analyst
Image Analyst am 8 Jan. 2016
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
Sharmi R
Sharmi R am 8 Jan. 2016
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 ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 8 Jan. 2016

0 Stimmen

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

Gefragt:

am 8 Jan. 2016

Beantwortet:

am 8 Jan. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by