[ITK Community] Slice number and Metadata

Matt McCormick matt.mccormick at kitware.com
Tue Mar 4 16:24:50 EST 2014


Hi Annabelle,

Hopefully this example [1] helps.  Take special note on the section:

    writer3->UseInputMetaDataDictionaryOff ();
    writer3->SetImageIO( gdcmImageIO );

Hth,
Matt

[1]
http://www.itk.org/Doxygen/html/IO_2DicomImageReadWrite_8cxx-example.html


On Tue, Mar 4, 2014 at 12:34 PM, Annabelle Dupuis <dupuis.annabelle at yahoo.fr
> wrote:

> Hi guys,
>
> I'm applying a filter over a set of slices and get another set of slices
> as output (format file : .dcm).
>
> The probleme is that once I'm trying to read them with MITK for instance
> (or a slice viewer software), All my new output files are labelled "slice
> number 1) hence are on the same layer!).
> What can I do to not lose the slice number of the first set or in general,
> keep the same metadata?
>
> Thank you
>
> Anna
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140304/792bddda/attachment-0002.html>


More information about the Community mailing list