[Insight-users] GDCM

Erik Anderson eranders at sci.utah.edu
Thu Mar 8 16:52:36 EST 2007


I have also found that reading in DICOM sets with more than one 
serie/sequence in them is impossible.  While the first serie/sequence 
read in is fine, the second and third get appended to it.  To solve my 
problem I separate the sequences as a pre-process before trying to read 
in anything with ITK.  It works for now.

Erik

Lyubomir Zagorchev wrote:
> Hi Mathieu,
>
> I just found that in one of your previous posts....
>
> I wrote a program that reads a bunch of SQ entries. I couldn't do that
> with Gdcm in ITK and I had to download the CVS. Now that I can read
> the entries with the CVS version of Gdcm, I couldn't plug in the code
> in my old ITK program.
>
> I am using the GetValue method of a DataEntry. I guess I could get
> around by using the GetEntryValue and then pass the std string through
> an atof function...
>
> Are there any plans to update the Gdcm in ITK to match the CVS of Gdcm?
>
> Thanks for your quick reply,
>
> Lyubomir
>
>
>
>
> On 3/8/07, Mathieu Malaterre <mathieu.malaterre at kitware.com> wrote:
>> Lyubomir Zagorchev wrote:
>> > Why gdcmDataEntry.cxx and gdcmDataEntry.h from Gdcm are not in the
>> > Gdcm version in ITK?
>>
>> Hi Lyubomir,
>>
>>   Short version: because ITK is using gdcm 1.2.3, whereas the file you
>> are referring to are from gdcm 1.4.x and up.
>>   Long version: gdcm 1.4.x is not backward compatible with gdcm 1.2.x
>> thus we cannot update easily to a newer gdcm version. I have been able
>> to backport most of new functionalities from gdcm cvs back to gdcm 1.2
>> without breaking API. What functionality are you missing ?
>>
>> Thanks,
>> -Mathieu
>>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list