how can i detect object using knn ?

5 ビュー (過去 30 日間)
lok blb
lok blb 2020 年 1 月 2 日
コメント済み: Image Analyst 2020 年 2 月 10 日
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.

回答 (1 件)

Image Analyst
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 件のコメント
lok blb
lok blb 2020 年 1 月 3 日
thank you @image_analyst i really appreciate your comments, i realized that i am really out of my work , i will try to understand knn method , then apply it for array of pixels , if i get any probelm i will post it thank you
Image Analyst
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 ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by