I have a 3D matrix, how to do clustering of this matrix?

10 views (last 30 days)
The size of my matrix is 176*256*256. Should I save this file in .bmp and carry out clustering or convert it in 2D matrix then carry out clustering? If yes then please help me by sharing your thoughts as to how can I do it either way?

Answers (2)

KALYAN ACHARJYA
KALYAN ACHARJYA on 10 Jan 2021
Whether dimention affects clustering results, I think no, assigns different clusters values to the categories. You may apply the cluster in lower dimension (K-means), get the cluster range and assign the same to the original data.

Image Analyst
Image Analyst on 10 Jan 2021
Do you know in advance how many clusters there should be? If so, you can use kmeans().
You also need to read and understand this page:

Categories

Find more on Statistics and Machine Learning 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!