[Insight-users] Convert dcm to mha

Xiaopeng Yang yxp233 at postech.ac.kr
Wed Mar 23 07:18:43 EDT 2011


Thank you very much. It works!

 

发件人: Sergio Vera [mailto:sergio.vera at alma3d.com] 
发送时间: 2011년 3월 23일 수요일 오후 5:55
收件人: Xiaopeng Yang
抄送: vtk; insight-users at itk.org
主题: Re: [Insight-users] Convert dcm to mha

 

Hi

Just read the dcm with itk::ImageFileRead and write the resulting image with itk::ImageFileWriter with ".mha" extension. itk will make all the magic.

 

Regards

On Wed, Mar 23, 2011 at 4:14 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Dear Users,

 

As you know, to use vtk paint brush, we need original mha and label map mha (segmentation results) images. In my case, I have original dcm and binary dcm (segmentation results) images.

 

I have two questions:

 

1.       How to convert dcm to mha? 

2.       How to transform binary image to label map image?

 

Thanks,

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.html

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




-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110323/798aa55b/attachment.htm>


More information about the Insight-users mailing list