[Insight-users] Fwd: Help on MetaDataDictionaryArray

Luis Ibanez luis.ibanez at kitware.com
Thu May 11 10:17:36 EDT 2006



Hi Giancaro,

Sure, you simply use the same method one every one of the
MetaDataDictionaries in the MetaDataDictionaryArray.

It is a matter of adding a for loop with an iterator that
visits all the entries in the MetaDataDictionaryArray.


     Luis


==========================
Giancaro Riccio wrote:
> Hi Luis,
>     thanks, but i've seen the ITK Software Guide, and the example that 
> you "indicate (?)" modify the MetaDataDictionary of one image, my 
> problem is about MetaDataDictionaryArray.
> 
> Thanks a lot.
> 
> Giancarlo
> 
> 2006/5/11, Luis Ibanez <luis.ibanez at kitware.com 
> <mailto:luis.ibanez at kitware.com>>:
> 
> 
> 
>     Hi Giancaro,
> 
> 
>     Thanks for clarifying your question.
> 
> 
>     An example on how to change entries in the metadata dictionary
>     is presented in the ITK Software Guide
> 
>          http://www.itk.org/ItkSoftwareGuide.pdf
> 
> 
>     in the Chapter  "Reading and Writing Images",
>     in section 7.12.7 "Changing a DICOM Header", in pdf-page 343.
> 
> 
> 
>     The corresponding source code example is at
> 
> 
>                Insight/
>                   Examples/
>                          IO/
>                             DicomImageReadChangeHeaderWrite.cxx
> 
> 
>     You should combine this with the examples presented in
>     the same chapter, on how to Read and Write DICOM Series.
> 
> 
> 
>         Regards,
> 
> 
> 
>            Luis
> 
> 
> 
> 
>     ================================================
>     Giancaro Riccio wrote:
>      > Yeah, i read a dicom series and i want to write bask to disk the
>     series
>      > modifing some tags.
>      > How i can do?
>      >
>      > Thanks
>      >
>      > Giancarlo Riccio
>      >
>      > 2006/5/11, Luis Ibanez < luis.ibanez at kitware.com
>     <mailto:luis.ibanez at kitware.com>
>      > <mailto:luis.ibanez at kitware.com <mailto:luis.ibanez at kitware.com>>>:
>      >
>      >
>      >     Hi Giancaro,
>      >
>      >
>      >     Could you please be more specific regarding the problems that
>      >     you have with the MetaDataDictionary ?
>      >
>      >
>      >     Are you trying to Read/Write DICOM images ?
>      >
>      >
>      >     Have you take a look at the examples  ?
>      >
>      >
>      >     They are in the directory:
>      >
>      >
>      >            Insight/Examples/IO
>      >
>      >
>      >     Please let us know more details,
>      >
>      >
>      >          Thanks
>      >
>      >
>      >
>      >             Luis
>      >
>      >
>      >
>      >     --------------------------
>      >     Giancaro Riccio wrote:
>      >      > Hi,  i'm an italian student (please be "patient" with my
>     english).
>      >      > I've your same problem with MetaDatDictionaryArray &
>      >     MetaDataDictionary.
>      >      > If you have some tips please responde.
>      >      >
>      >      > Cite: "time's getting short!:("
>      >      >
>      >      > Thanks
>      >      > --
>      >      > Riccio Giancarlo
>      >      >
>      >      >
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >
>      >      > _______________________________________________
>      >      > Insight-users mailing list
>      >      > Insight-users at itk.org <mailto:Insight-users at itk.org>
>     <mailto:Insight-users at itk.org <mailto:Insight-users at itk.org>>
>      >      > http://www.itk.org/mailman/listinfo/insight-users
>      >
>      >
>      >
>      >
>      >
>      > --
>      > Riccio Giancarlo
> 
> 
> 
> 
> 
> -- 
> Riccio Giancarlo




More information about the Insight-users mailing list