[Insight-users] Reading DICOM private tags

Garin, Alba agarin at ceit.es
Thu Feb 16 06:42:38 EST 2012


I normally read those tags with GDCM and I use ITK and GDCM together without any problem (itk 3.20 and gdcm 2.0.12). Just in case, have you checked "itk_use_system_gdcm"? have you built all of the libraries in debug and release?
For me, PrivateTagsOn and all the ways I tried to extract those tags did not work. I recommend you gdcm.
Sorry I cannot tell you anything else...

HTH

Alba

Alba Garin Muga

Computer Science PhD Student

Applied Mechanics Department

Paseo Manuel Lardizabal, 15
20018 Donostia-San Sebastian. Spain
Tel.  +34 943 212 800  (Ext. 2111)
Fax: +34 943 213 076
Web: www.ceit.es<http://www.ceit.es/>


[cid:image001.gif at 01CCECA8.770AA930]

[cid:image002.jpg at 01CCECA8.770AA930]

Antes de imprimir este e-mail piense bien si es necesario hacerlo. El medioambiente es cosa de todos.
Before printing this e-mail ask yourself if you really need a hard copy. We are all responsible for the environment.






From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] On Behalf Of Sohan Ranjan
Sent: jueves, 16 de febrero de 2012 12:19
To: insight-users at itk.org
Subject: [Insight-users] Reading DICOM private tags


Does someone have an example code for reading DICOM private tags using ITK-4.0 (GDCM)? I have DICOM files from which all the DICOM tags, including private tags, are read by utility program such as the gdcmdump which comes along with GDCM. However the example code of ITK, DicomImageReadPrintTags does only print the general tags, and I do not know how to make it print the private tags? The default for the IOobject is PrivateTagsOn(), still I tried putting it explicitly, but that didn't help either. Also, I am using ITK4.0, and it has issues including system GDCM. The CMake does find the GDCM built folder, but at link time, it fails to find libraries.

Sohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120216/14aceeaa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3972 bytes
Desc: image001.gif
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120216/14aceeaa/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 980 bytes
Desc: image002.jpg
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120216/14aceeaa/attachment.jpg>


More information about the Insight-users mailing list