Classification Image using K Nearest Neighbours
显示 更早的评论
[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 个评论
Andrew Newell
2011-5-10
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
2011-5-13
I believe the question is how to find the optimal number of clusters for KNN.
ops OPS
2011-5-14
ops OPS
2011-5-14
回答(1 个)
xiaolong
2011-5-16
0 个投票
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 个评论
xiaolong
2011-6-2
i don't know why the answer is good ?
Fadi Alsuhimat
2018-12-7
Me to, I don't why this answer is good????
Image Analyst
2018-12-7
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Nearest Neighbors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!