[vtkusers] [Insight-users] Convert dcm to mha

Sergio Vera sergio.vera at alma3d.com
Wed Mar 23 04:54:32 EDT 2011


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.vtk.org/pipermail/vtkusers/attachments/20110323/36b94b64/attachment.htm>


More information about the vtkusers mailing list