Dear all,
I have e.g a binary mask with different areas and I want to count how many areas I have.
I used:
cluster --in=mask1 --thresh=1.0 --fractional --connectivity=6 --osize=mask_cluster
and then I find out that there are 10 clusters but how can I get this number(10) as a variable??
Thank you very much for your help!
Greetings
Susanne
|