How can i determine the area in percentage of a clustered image?

2 views (last 30 days)
suppose i have a colored clustered image,now i want to calculate the percentage of the area of each clusters.How can i do that?
N.B: k means clustering algo is used .

Answers (1)

Catalytic on 27 Jul 2019
Edited: Catalytic on 27 Jul 2019
Divide the membership of each cluster by the total number of pixels.

Community Treasure Hunt

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

Start Hunting!