[Dcmlib] Jpeg Losless
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon May 23 20:27:34 CEST 2005
Aris,
No problem, it was just a misunderstanding...and some hot french blood :)
Anyway this was also a problem for me until Jean Pierre Roux explained
me that lossless jpeg and JPEG-LS are completely two different thing:
http://www.creatis.insa-lyon.fr/pipermail/dcmlib/2005-January/001207.html
and
http://datacompression.info/JPEGLS.shtml
[JPEG-LS is the basis for new lossless/near-lossless compression
standard for continuous-tone images intended for JPEG2000. The standard
is based on the LOCO-I algorithm (LOw COmplexity LOssless COmpression
for Images) developed at Hewlett-Packard Laboratories]
So yes gdcm has no JPEG-LS so far...propositions welcome. As a side note
I don't think you need the JPEG-LS for your application chance is that
the DICOM you are trying to read is some good ol' jpeg lossless
HTH
Mathieu
Ps: This is usually easier if you answer the mailing list instead of
personal email, thanks.
Aris Basic wrote:
> Im sorry you misunderstood me i say the gdcmJpegLS is saying this
> bool gdcm_read_JPEGLS_file (std::ifstream *fp, void *image_buffer)
> {
> (void)fp;
> (void)image_buffer;
> gdcmWarningMacro( "Sorry JPEG-LS File not yet taken into account" );
> return false;
> }
>
> and ig gdcmjpeg i read that LS patch was applyed (i never said it was
> not :) )
> so im wondering is support maybe transparent ? no need for special LS
> stub or
> LS is not supported (as per stub)
>
> Mathieu Malaterre wrote:
>
>> Aris Basic wrote:
>>
>>> Hi is the jpeg losless supported ? according to the code stub in CVS
>>> its seams like tis not even though gdcmjpeg info talk about applyed
>>> jpeg ls patch
>>
>>
>>
>> Aris,
>>
>> Could you please demonstrate how you reach the conclusion that the
>> lossless patch was not applied to the official ijg library ? I'd love
>> to hear it.
>>
>> Thanks,
>> Mathieu
>
>
>
>
More information about the Dcmlib
mailing list