[Dcmlib] My first JPEG LL / J2k images

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jul 6 15:35:30 CEST 2006


Jean-Pierre Roux wrote:
> Mathieu Malaterre wrote:
> 
>> go here:
>> http://www.creatis.insa-lyon.fr/~malaterre/gdcm/jpeg/
>>
>> Ok I don't understand why vtkgdcmViewer is only showing up the first 
>> frame only...
>>  
>>
> 
> --> Easy : only the first frame is 'non zero'
> try :
> ReWrite filein=yourImageJ2K.dcm fileout=uncompressedImage.dcm


Are you sure about your deduction or is this just another way to show 
that indeed GDCM is only loading the first frame ?
There is a #define MDEBUG and if you use it, it generates a bunch of 
files, which if you read them individually show that the stream is 
'non-zero' everywhere...

Mathieu



More information about the Dcmlib mailing list