Effacer les filtres
Effacer les filtres

counting the white pixels

2 vues (au cours des 30 derniers jours)
kash
kash le 24 Mar 2012
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 commentaire
Sivakumaran Chandrasekaran
hi,
have a try on regionprops command. It may help you to certain extent I guess.
Regards.
siva
siva@sdatech.in

Connectez-vous pour commenter.

Réponses (1)

ibleteus
ibleteus le 28 Sep 2012
Modifié(e) : Walter Roberson le 28 Sep 2012
A=Imread('a.tif');
N=im2bw(A);
bwarea=bwarea(N);

Community Treasure Hunt

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

Start Hunting!

Translated by