[vtkusers] Create an image

Belaroussi, Boubakeur Boubakeur.Belaroussi at bioclinica.com
Wed Apr 18 10:15:49 EDT 2012


Hi Xiaopeng,

 

I would recommend the use of vtkImageMask (see the doxygen documentation
for more information) to do the job.

Hence, your CT image will be masked with the liver label and any pixel
outside the liver label will be set to 0.

 

Regards,

Bouba

 

From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of Xiaopeng Yang
Sent: mercredi 18 avril 2012 16:07
To: insight-users at itk.org; 'vtk'
Subject: [vtkusers] Create an image

 

Dear Users,

 

I have two images, an original abdominal gray-scale CT image, and a
segmented mask image of the liver from the CT image. I would like to
create a new gray-scale image from the original CT image so that in the
new image, the intensity value of the points outside the segmented liver
is set to be 0, while the points within the segmented liver do not
change. 

 

I think there should be some example to do this. But I could not find
any one from Google search. If you know any example, please share it
with me.

 

Thank you,

Xiaopeng
 
--
Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender and then delete the message from your computer. Thank you.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120418/f4779d39/attachment.htm>


More information about the vtkusers mailing list