Hi,<div><br></div><div>I am also interested in the possibility of loading DICOM overlays with itk::GDCMImageIO. Is it possible to get the Overlay data in an itk::Image object?<br><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 7:10 AM, Robert Haase <span dir="ltr"><<a href="mailto:robert_haase@gmx.de">robert_haase@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi again,<br>
<br>
the hint was good, but it didn't work. But that's because my first analysis of the problem was wrong: The data-item 6000|3000 which I would like to read has beginning zero-bytes ('\0') which terminate the string. So the DicomIO thinks that field is empty. Any idea how to bypass that? Is it possible to read binary-data out of an MetaDataDictionaryItem?<br>
<br>
Thanks,<br>
<font color="#888888">Robert<br>
</font><div><div></div><div class="h5"><br>
<br>
I believe this is due to a 'feature' in itk::GDCMImageIO, see documentation:<br>
<br>
* - Some very long (>0xfff) binary fields are not loaded<br>
(typically 0029|0010),<br>
* you need to explicitely set the maximum length of<br>
elements to load to be bigger<br>
* (see Get/SetMaxSizeLoadEntry)<br>
<br>
Let us know if this fixes your issue.<br>
<br>
Thanks,<br>
<br>
On Fri, Aug 7, 2009 at 11:03 AM, Robert Haase<<a href="mailto:robert_haase@gmx.de">robert_haase@gmx.de</a>> wrote:<br>
> > Dear ITK Users,<br>
> ><br>
> > I'm trying to read out DICOM-Header-Entries to draw Overlay-Objects above<br>
> > CT Images. When I use GDCMImageIO the MetaDataDictionary does not contain<br>
> > entry 6000|3000 (Overlay Data). When I use DicomImageIO the<br>
> > MetaDataDictionary contains my entry of interest but it displays an ugly<br>
> > error message telling me, I should use GDCMImageIO.<br>
> ><br>
> > Is there a possibility to read out 6000|3000 using GDCMImageIO? Or is<br>
> > there another way to get the Overlay data?<br>
> ><br>
> > Thanks a lot in advance,<br>
> > Robert<br>
> ><br>
> > --<br>
> > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br>
> > Jetzt freischalten unter <a href="http://portal.gmx.net/de/go/maxdome01" target="_blank">http://portal.gmx.net/de/go/maxdome01</a><br>
> > _____________________________________<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>
> > Please keep messages on-topic and check the ITK FAQ at: <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>
> ><br>
<br>
<br>
<br>
-- Mathieu <a href="http://mathieumalaterre.com" target="_blank">http://mathieumalaterre.com</a><br>
</div></div>--<br>
<div><div></div><div class="h5">GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br>
Jetzt freischalten unter <a href="http://portal.gmx.net/de/go/maxdome01" target="_blank">http://portal.gmx.net/de/go/maxdome01</a><br>
_____________________________________<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>
Please keep messages on-topic and check the ITK FAQ at: <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><br clear="all"><br>-- <br>Jesús Spínola<br>
</div>