[ITK Community] Slice number and Metadata

Annabelle Dupuis dupuis.annabelle at yahoo.fr
Wed Mar 5 02:29:32 EST 2014


THanks again Matt, I will go through it.

Anna





Le Mardi 4 mars 2014 22h24, Matt McCormick <matt.mccormick at kitware.com> a écrit :
 
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/20140305/2381a3a1/attachment-0002.html>


More information about the Community mailing list