[Insight-users] How can i measure an segmented area ???

MarceloCostaOliveira Oliveira marceloitk at hotmail . com
Fri, 23 May 2003 19:31:49 +0000


Tanks a lot, Luis and Sebastian !!!!!

>From: Luis Ibanez <luis . ibanez at kitware . com>
>To: MarceloCostaOliveira Oliveira <marceloitk at hotmail . com>
>CC: insight-users at public . kitware . com
>Subject: Re: [Insight-users] How can i measure an segmented area ???
>Date: Fri, 23 May 2003 14:47:51 -0400
>
>
>Hi Marcelo,
>
>If what you want is the area of the segmented region
>(assuming a 2D image) you can easily use the
>
>              ImageMomentsCalculator
>
>http://www . itk . org/Insight/Doxygen/html/classitk_1_1ImageMomentsCalculator . html
>
>
>calculator->ComputeMoments(
>       connectedThresholdImageFilter->GetOutput() );
>
>double area = calculator->GetTotalMass();
>
>You will have to divide this number by the intensity
>you put in the segmented pixels. E.g. if you encode
>the region with 255, the, divide the mass by 255.
>
>
>   Luis
>
>
>
>----------------------------------
>MarceloCostaOliveira Oliveira wrote:
>>Hi users !!!!
>>
>>I segmented an imagem using ConnectedThresholdImageFilter, and now i want 
>>to measure this ROI ( region of interest )  or this resulting image.
>>
>>
>>Tanks a lot for help me
>>
>>_________________________________________________________________
>>MSN Hotmail, o maior webmail do Brasil.  http://www . hotmail . com
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at public . kitware . com
>>http://public . kitware . com/mailman/listinfo/insight-users
>>
>
>
>

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www . hotmail . com