Classification Image using K Nearest Neighbours
Show older comments
[EDIT: Thu May 12 22:14:37 UTC 2011 Duplicate Removed - MKF]
hello , I'm trying to classify data from a picture using nearest neighbor method Class = knnclassify(Sample, Training, Group) problem is how i get Group
10x .
4 Comments
Andrew Newell
on 10 May 2011
This question doesn't make any sense. Could you please provide the relevant part of your code and describe in more detail what your question is?
Walter Roberson
on 13 May 2011
I believe the question is how to find the optimal number of clusters for KNN.
ops OPS
on 14 May 2011
ops OPS
on 14 May 2011
Answers (1)
xiaolong
on 16 May 2011
0 votes
i just have the similar question like you ? i have segmented the image into different region ?but i don't know how to classification the region to different class ?who can help me ?
3 Comments
xiaolong
on 2 Jun 2011
i don't know why the answer is good ?
Fadi Alsuhimat
on 7 Dec 2018
Me to, I don't why this answer is good????
Image Analyst
on 7 Dec 2018
It's not an answer. I unaccepted it. I have used knnsearch(). I'm attaching a simple demo for (x,y) data. If you need a demo, post your image and explanation in a new question.
Categories
Find more on Nearest Neighbors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!