[Insight-users] Metadata handling - continued
Luis Ibanez
luis.ibanez at kitware.com
Wed Jul 27 12:07:04 EDT 2005
Hi Richard,
Please read the ITK Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
in particular the chapter on
"Reading and Writing Images"
where the DICOM writing is described.
You probably missed the line 339 of
Insight/Examples/IO/
DicomSeriesReadSeriesWrite.cxx
with the call to the method
SetMetaDataDictionary()
Regards,
Luis
----------------------
Richard Beare wrote:
> Hi,
> I'm getting more of a feel for how things work, but I'm still a bit
> confused. Firstly, I'm trying to work with conversion of dicom series
> to other forms. I've used the examples of manipulating the dicom
> directories to dump all the meta data as text from both the dictionary
> array produced by the series reader and from a single image reader.
> I've also found the GetPatientName, and related methods in the GDCM
> classes. However the comments say that these are for compatability
> with the DICOM2 classes. The examples (from CVS) use the dictionary
> access methods (GetLabelFromTag, etc) to extract various tag/label
> combinations. These tags have dicom specific names.
>
> Is the "correct" approach to use construct a dictionary using the
> dicom information, but ITK tags, such as ITK_PatientName and pass this
> special dictionary to the writer? Is there something somewhere that
> already does this? I think I've tried all of the obvious approaches
> and don't appear to be getting details like patient name transferred
> between dicom series and other formats, like analyze.
>
> All advice welcome,
>
> Thanks
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list