counting the white pixels

I have uploaded twoimages
segmented image=
original image= http://imgur.com/i4cYm
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 Kommentar

Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 24 Mär. 2012
hi,
have a try on regionprops command. It may help you to certain extent I guess.
Regards.
siva
siva@sdatech.in

Melden Sie sich an, um zu kommentieren.

Antworten (1)

ibleteus
ibleteus am 28 Sep. 2012
Bearbeitet: Walter Roberson am 28 Sep. 2012

0 Stimmen

A=Imread('a.tif');
N=im2bw(A);
bwarea=bwarea(N);

Gefragt:

am 24 Mär. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by