MATLAB Answers

kash

counting the white pixels

Asked by kash
on 24 Mar 2012

I have uploaded twoimages

segmented image=

http://imgur.com/dNPrc

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 Comment

hi,
have a try on regionprops command. It may help you to certain extent I guess.
Regards.
siva
siva@sdatech.in

Products

No products are associated with this question.

1 Answer

Answer by Hussein
on 28 Sep 2012
Edited by Walter Roberson
on 28 Sep 2012
A=Imread('a.tif');
N=im2bw(A);
bwarea=bwarea(N);

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today