I want to divide the Image into 10 equal parts. Then find the centroid of those 10 Parts and Plot the obtained centroids in the original Image. I have done the initial parts but i am not able to plot centroid in the original image. Please Help

3 views (last 30 days)
I want to divide the Image(Binary Image) into 10 equal parts. Then find the centroid of those 10 Parts and Plot the obtained centroids in the original Image. I have done the initial parts but i am not able to plot centroid in the original image. Please Help
  2 Comments
Walter Roberson
Walter Roberson on 13 Jul 2020
Should the 10 parts be according to occupied area? Should the 10 parts be dividing it up 2 x 5 ?
Are you asking for kmeans with 10 clusters?
Samten Wangchuk
Samten Wangchuk on 13 Jul 2020
Actually the aim is to find centroid of object (White which is 1s) for those 10 equal parts( dividing the image into 10 rows) without divind the columns. And plot the centroids obtained in each part to the original image. So, i want to see the movement of the centroid.
Thank you

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox 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!