[Dcmlib] JPEG2000 and JPEG Lossless in Version1_2

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Jul 7 22:57:52 CEST 2006


Mathieu Malaterre wrote:
> Mathieu Malaterre wrote:
>> Hello there,
>>
>>    I have finished -well I hope so- implementing saving Pixel Data as 
>> encapsulated JPEG Lossless or JPEG 2000. You can have a look at examples:
>>
>> WriteDicomAsJpeg.cxx
>> and
>> WriteDicomAsJpeg2000.cxx
>>
>> to see an in action exemple on how to do so.
>>
>> Comments/bug report/feature requests very welcome !
>>
>> Enjoy !
>> Mathieu
>> Ps: JPR is working on integrating my change into GDCM CVS.
> 
> 
> I forgot to mention. People interested only in results, you can see 
> samples at:
> 
> http://www.creatis.insa-lyon.fr/~malaterre/gdcm/jpeg/
> 
> The filenames refers directly to the equivalent files found in gdcmData.
> 
> Mathieu
> Ps: test.acr compressed in j2k takes exactly 3% or the original image !!!


one funny thing is that we are doing better than LEADTOOLS. When 
rewritting DermaColorLossless.dcm we get:

26198 bytes whereas they are doing 37784bytes

GDCM kicks ass !

Mathueu



More information about the Dcmlib mailing list