I would like to display area for each labeled region in the generated result image, after binarize and labeling gray-scale image. This is part of the codes:
hold on;Measurements = regionprops(labImg, fgImg, 'all'); numberOfBlobs = size(Measurements, 1);for k = 1:numberOfBlobs areas=Measurements(k).Area; plot(areas(:,2), areas(:,1), 2);endhold off;
Besides that, is there any idea to display labeled no. and area of labeled image in orders in command window?
Best Answer