How do I classify points in an image into groups?

조회 수: 5 (최근 30일)
Maa Kari
Maa Kari 2015년 4월 17일
댓글: Image Analyst 2015년 4월 23일
Hello to you all
I have an image that contains points and I want to combine these points based on the distance between them and finally surround each group;
Thank you for your help, and here attached an example of the image

답변 (3개)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015년 4월 17일
Hi Maa Kari,
You can shrink the spots to a single point using bwmorph().
Then you may classify them according to their X and Y position, or you can use a perceptron for classification.
Good luck ;)

Maa Kari
Maa Kari 2015년 4월 17일
Hi Salaheddin Hosseinzadeh thanks for yur answer;
Yes i have a vector (n x 2 ) that contain the X and Y posistion of my points , but i dont have any idea how to do , can you please clarify

Image Analyst
Image Analyst 2015년 4월 17일
It sounds like you don't have an image but actually just a list of x,y coordinates. Do you have the Statistics and Machine Learning Toolbox? There are functions in there for clustering/classification. For example, you could use kmeans().
  댓글 수: 4
Maa Kari
Maa Kari 2015년 4월 22일
there are no feature for the X and Y axes,the image is above it's just a show of points using plot(), my problem is that I have a matrix that contains coordinates of the point, and I want to group them according to some criterion and have sub-matrix of the coordinates of the points of each group , can you please tell me some unsupervised methods Thanks
Image Analyst
Image Analyst 2015년 4월 23일
The Statistics and Machine Learning Toolbox provides supervised and unsupervised machine learning algorithms, including support vector machines (SVMs), boosted and bagged decision trees, k-nearest neighbor, k-means, k-medoids, hierarchical clustering, Gaussian mixture models, and hidden Markov models.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by