[Insight-users] Create an image

Xiaopeng Yang yxp233 at postech.ac.kr
Wed Apr 18 15:05:38 EDT 2012


Do you know how to multiply the mask with the original image? Is there any
itk class to achieve this?

 

From: Hui Tang [mailto:tanghui.seu at gmail.com] 
Sent: Wednesday, April 18, 2012 11:34 PM
To: Xiaopeng Yang
Cc: insight-users at itk.org; vtk
Subject: Re: [Insight-users] Create an image

 

if your segmentation is partial volume, then threshould it at 0.5, if your
segmentation is an signed distance map, threshould it at 0, the map should
be 1 inside and o outside

then multiply your mask with the original image

 

On Wed, Apr 18, 2012 at 4:06 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

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


_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120419/40046b87/attachment.htm>


More information about the Insight-users mailing list