필터 지우기
필터 지우기

counting the white pixels

조회 수: 2 (최근 30일)
kash
kash 2012년 3월 24일
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
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 3월 24일
hi,
have a try on regionprops command. It may help you to certain extent I guess.
Regards.
siva
siva@sdatech.in

댓글을 달려면 로그인하십시오.

답변 (1개)

ibleteus
ibleteus 2012년 9월 28일
편집: Walter Roberson 2012년 9월 28일
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