[Insight-users] remain pixel value after segment of ITK

kidwei kidwei at 126.com
Thu Nov 27 04:09:50 EST 2008


Dear all,

   I am a new learner of ITK. I want to use ITK to segment my DICOM images and then use VTK to reconstruct the volume data. I have successfully segment my images with the class "ConnectedThresholdImageFilter", but the output of this class is a binary image, the pixels outside the Threshold have been discard, which is correct, but its method "SetReplaceValue" replaced the other pixels with new value. My question is, how to keep the pixels' value what is inside the Threshold, instead of replace it with new value? Because my reconstruction need these origin pixels' value.

  Thank you!




--
-- 

   致 
礼! 

Wang Zhaowei 
Collage of Computer Science and Engineering, University of Computer Science and Technology of China. 
Address: NO.4, Section 2, North Jianshe Road, Chengdu P.R.China  
Post Code: 610054  
E-mail: kidwei at 126.com 
HomePage: http://kidwei.goofar.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081127/176defe2/attachment.htm>


More information about the Insight-users mailing list