how can i detect object using knn ?
5 次查看(过去 30 天)
显示 更早的评论
i'm new to the maching learning..now i am working on my project which is building detection using image processing. i should apply knn and divide it in training and testing data set.. but in practically how to procced that's what i am not getting .please help me through this... please send steps.
0 个评论
回答(1 个)
Image Analyst
2020-1-2
编辑:Image Analyst
2020-1-2
For what it's worth, attached is a KNN demo, though for (x,y) points, not for an image.
For image processing, you need to decide upon what features you're going to use. What are you going to cluster on? What values are your reference set?
10 个评论
Image Analyst
2020-2-10
For what it's worth (very little since kmeans is usually lousy, or at least not the best method, for intensity segmentation), I'm attaching my demo on using kmeans to do color segmentation.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!