[Dcmlib] gdcmData/gdcm-JPEG-LossLessThoravision.dcm --> gdcm-MR-PHILIPS-16-Multi-Seq.dcm

Jean-Pierre Roux Jean-Pierre.Roux at creatis.insa-lyon.fr
Tue Oct 11 16:09:55 CEST 2005


Mathieu Malaterre wrote:

> Jean-Pierre Roux wrote:
>
>> Mathieu Malaterre wrote:
>>
>>>>
>>>> BTW : PrintFile on gdcmData/gdcm-JPEG-LossLessThoravision.dcm
>>>> shows me some very ugly lines lines, like :
>>>> | | V 0008|0000 lg : x(e000fffe) 3758161918 Off.: x(1c0a) 7178 [UL] 
>>>> [Group Length] [gdcm::NotLoaded Address:7178 Length:3758161918 
>>>> x(e000fffe)] x(0)
>>>>
>>>> One more oddity we never realized it existed before ?!?
>>>
>>>
>>>
>>>
>>> I don't see it on my side...
>>> $ ./bin/PrintFile filein=../gdcmData/gdcm-JPEG-LossLessThoravision.dcm
>>
>>
>>
>> Well ...
>> How do you call that ?
>> Paralax reading error?
>>
>> The trouble occurs on gdcm-MR-PHILIPS-16-Multi-Seq.dcm (the next one 
>> in the list)
>> --> use
>> PrintFile filein=../gdcmData/gdcm-MR-PHILIPS-16-Multi-Seq.dcm level=2
>> (to display fields length and offset, and probabely (?) it will appear)
>
>
> ./bin/PrintFile filein=../gdcmData/gdcm-MR-PHILIPS-16-Multi-Seq.dcm 
> level=2 | less
> ...
> V 0008|0000 lg :        x(4) 4        Off.:      x(13a) 314      [UL] 
>                                                     [Group Length] 
> [890] x(37a)
> ...
>
> JP,
>
>     Are you sure you don't have local modification on your laptop ? 

I haven't.

> Make also sure the gdcmData is not busted:

It's not.

--> there are *tons* of places with 0008|0000.
*mine* is at offset Off.: x(1c0a).

Actually, the problem is known for a long time
(see gdcmData/gdcm-MR-PHILIPS-16-Multi-Seq.README.txt )

The pb is not so terrible :
  The spurious tag is kept in the header, to show, at Print time, that 
there is a problem.
  It's useless, never used, and is not trouble maker.
  It's ignored at Write time; the written file is e-film readable.

Rewrite filein=gdcm-MR-PHILIPS-16-Multi-Seq.dcm fileout=dump.dcm
  produces a 'clean' dicom file.

>
> $ md5sum ../gdcmData/gdcm-MR-PHILIPS-16-Multi-Seq.dcm
> 06fc6d07dc486b2cb87077ea74774220
>
>
> Mathieu
>




More information about the Dcmlib mailing list