knn classifier for texture analysis

2 views (last 30 days)
Sharmi R
Sharmi R on 8 Jan 2016
Answered: Image Analyst on 8 Jan 2016
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 Comments
Image Analyst
Image Analyst on 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 on 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 ?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 8 Jan 2016
Look up "nearest neighbors" in the help. It walks you through it in great detail.

Community Treasure Hunt

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

Start Hunting!