- kmeans hyperspectral 1.bmp
- kmeans hyperspectral 2.bmp
- kmeans hyperspectral 3.bmp
- kmeans hyperspectral 4.bmp
- kmeans hyperspectral 5.bmp
- kmeans hyperspectral 6.bmp
- kmeans_color_segmentation.m
- kmeans_for_angles.m
- kmeans_grayscale_brain.png
- kmeans_grayscale_segmentation.m
- kmeans_hyperspectral_segmentation.m
- kmeans_relabel_class_numbers.m
image block clustering using kmeans
1 view (last 30 days)
Show older comments
MatlabEnthusiast
on 21 Feb 2022
Commented: MatlabEnthusiast
on 22 Feb 2022
Hi all.
I have block from an image obtained using:
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.
0 Comments
Accepted Answer
Image Analyst
on 21 Feb 2022
Not sure why you're using im2col().
Attached is my kmeans demo for a gray scale image, plus one for color and hyperspectral images.
6 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!