image block clustering using kmeans

2 views (last 30 days)
Hi all.
I have block from an image obtained using:
How best can I cluster similar blocks from my BlockImage matrix using: kmeans?
I also wish to display the distance between; any two intra-cluster blocks, any two blocks from different clusters; any two centroids if possible.
Honestly, am not so sure how to tackle this. Looking at the kmeans examples from the document, is not so intuitive for this particular scenario.
Thanks alot.

Accepted Answer

Image Analyst
Image Analyst on 21 Feb 2022
  6 Comments
MatlabEnthusiast
MatlabEnthusiast on 21 Feb 2022
you converted the distinct image blocks to a column matrix?
MatlabEnthusiast
MatlabEnthusiast on 22 Feb 2022
but seriously whats happening?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!