maximum area
显示 更早的评论
回答(1 个)
Sean de Wolski
2012-3-21
Ibw = your_binary_image_to_get_the_area_of;
CC = bwconncomp(Ibw);
max_area = max(cellfun('prodofsize',CC.PixelIdxList));
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!