[Insight-users] segmented region size..
yasser salman
yass71 at yahoo.com
Mon, 12 Apr 2004 10:53:26 -0700 (PDT)
hi all ..,
how can i get the region size (or No. of pixels)
after segmentation ,
the code below give me the whole voulme size 256 x 256
x19 i need only the segmented region ..,
connectedThreshold->Update();
ImageType::ConstPointer image =
connectedThreshold->GetOutput();
ImageType::RegionType region =
image->GetBufferedRegion();
ImageType::SizeType size = region.GetSize();
thanx ,,
yasser
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html