<br>GDCM can access all the tag information, at least in my case.<br><br><a href="http://www.creatis.insa-lyon.fr/software/public/Gdcm/">http://www.creatis.insa-lyon.fr/software/public/Gdcm/</a><br><br><div class="gmail_quote">
On Tue, Mar 9, 2010 at 4:58 AM, Mathieu Malaterre <span dir="ltr"><<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> <a href="mailto:edoardo.belletti@alice.it">edoardo.belletti@alice.it</a> wrote:<br>
>><br>
>> Hi Insight-users,<br>
>> I have a problem: I don't know how can I access to all the tags present in<br>
>> a dicom image.<br>
>> With the code used in the example of the manual<br>
>> (Examples/IO/DicomImageReadPrintTags.cxx) not all the tags are printed and<br>
>> for accuracy in the output there isn't the tag<br>
>> "SequenceOfUltrasoundReagions" that interest me. But I know that in the file<br>
>> which I run this tag is present.<br>
>> How can I access to this tag?<br>
>> I hope I was understandable.<br>
>> In particular the piece of code is:<br>
><br>
</div><div class="im">On Tue, Mar 9, 2010 at 10:49 AM, Gomez, Alberto <<a href="mailto:alberto.gomez@kcl.ac.uk">alberto.gomez@kcl.ac.uk</a>> wrote:<br>
> Hi,<br>
><br>
> I have had the same problem but I think that there is no solution. It<br>
> depends on the manufacturer of the US acquisition system, and whether the<br>
> tags are private or not, and the data encrypted.<br>
<br>
</div>No.<br>
<br>
The DICOM Attribute the OP refers to is a VR:SQ (a public element). As<br>
of now itk::GDCMImageIO does not load VR:SQ DICOM attribute. As<br>
described here:<br>
<br>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1GDCMImageIO.html#_details" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1GDCMImageIO.html#_details</a><br>
<br>
...<br>
Warning:<br>
There are several restrictions to this current writer:<br>
<br>
* Eventhough during the writing process you pass in a DICOM<br>
file as input The output file may not contains ALL DICOM field from<br>
the input file. In particular:<br>
o The SeQuence DICOM field (SQ).<br>
o Fields from Private Dictionary<br>
* Some very long (>0xfff) binary fields are not loaded<br>
(typically 0029|0010), you need to explicitely set the maximum length<br>
of elements to load to be bigger (see Get/SetMaxSizeLoadEntry)<br>
...<br>
<br>
<br>
You have to use the underlying DICOM library (GDCM 1.x or GDCM 2.x) to<br>
extract that particular -nested- information.<br>
<br>
HTH<br>
--<br>
<font color="#888888">Mathieu<br>
</font><div><div></div><div class="h5">_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>