[Insight-users] How can i measure an segmented area ???
Luis Ibanez
luis . ibanez at kitware . com
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
>