[Insight-users] Reading DICOM private tags
Nicolas Toussaint
nicolas.toussaint at kcl.ac.uk
Fri Feb 17 06:58:42 EST 2012
Hello,
I believe it is a known issue due to cmake variable not correctly set :
http://sourceforge.net/tracker/?func=detail&aid=3380038&group_id=137895&atid=739587
there should be a patch provided within comments to overcome this issue.
Nicolas
On 17/02/12 05:46, Sohan Ranjan wrote:
> I have the gdcm2.2. When I select the ITK_USE_SYSTEM_GDCM while
> Cmaking ITK4.0, CMake does find the GDCM bin folder correctly. However
> while compiling ITK, I always end up with the error
>
> LINK : fatal error LNK1181: cannot open input file 'gdcmMSFF.lib'
>
>
> although in the GDCM bin, I do see all the libraries (just to be
> overly cautious, I have build all types of libraries,
> release/debug/... of the GDCM).
> Sohan
>
> 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/>
>
>
>
> http://intranet.ceit.es/PlantillasCEIT/ImagenCorporativa/Firmas/firma_ceit.gif
>
> Verde
>
>
>
> 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>
> [mailto: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 <mailto: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/20120217/a1d97253/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001
Type: image/gif
Size: 3972 bytes
Desc: ATT00001
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120217/a1d97253/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00002
Type: image/jpeg
Size: 980 bytes
Desc: ATT00002
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120217/a1d97253/attachment-0001.jpeg>
More information about the Insight-users
mailing list