Re: [Gdcm2] printing tags available in a DICOM file from Python
Cross-platform DICOM implementation
Brought to you by:
malat
From: Charl B. <c.p...@tu...> - 2008-05-18 08:59:29
|
Hi there Mathieu, On Thu, May 15, 2008 at 7:23 PM, Mathieu Malaterre <mat...@gm...> wrote: > I have not tested it in python. As a side note, what do you find > more convenient adding by name or by tag ? Right now the UserDefined > struct in vtkMedicalImageProperties expect a (DICOM Name, Value) pair, > while it could also -potentially- be (DICOM Tag, Value). The second > solution is slightly more efficient since we avoid the indirection > introduce when looking up tag number from the public dictionary. Thank you again for all the effort and information! All of this is going into DeVIDE in some form or another, I hope in the future it can also help to serve as a GDCM2 implementation example. Both of the options you present above are fine. Personally I prefer working with the tags and values instead of the symbolic names, but I have no good reasons to back up that preference. :) Thanks again, Charl |