maximum area

Answers (1)

Sean de Wolski
Sean de Wolski on 21 Mar 2012
Ibw = your_binary_image_to_get_the_area_of;
CC = bwconncomp(Ibw);
max_area = max(cellfun('prodofsize',CC.PixelIdxList));

Categories

Asked:

on 21 Mar 2012

Community Treasure Hunt

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

Start Hunting!