counting the white pixels
Show older comments
I have uploaded twoimages
segmented image=
from these two images please tell how to calculate the area of white parts and other to count the number of pixels in white area
please help
1 Comment
Sivakumaran Chandrasekaran
on 24 Mar 2012
hi,
have a try on regionprops command. It may help you to certain extent I guess.
Regards.
siva
siva@sdatech.in
Answers (1)
ibleteus
on 28 Sep 2012
Edited: Walter Roberson
on 28 Sep 2012
A=Imread('a.tif');
N=im2bw(A);
bwarea=bwarea(N);
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!