[Ctk-developers] DCMTK JPEG 2000 support (was: [slicer-devel] JPEG 2000)
Michael Onken
onken at offis.de
Tue Feb 25 23:59:55 UTC 2014
Hi JC and everybody,
On 26.02.2014 00:35, Jean-Christophe Fillion-Robin wrote:
> Hi Aaron et al.,
>
> Looking at the topic named "j2k" [1], I noticed that you backported
> the change originally implemented by Osirix folks [2]
>
> Few ideas:
>
> 1) Checking the osirix history, there are also more general bug fixes
> that could probably be contributed to upstream DCMTK. We should
> probably look into these.
I already have the patches in my working pipeline. Many of them are
fixes taken over from DCMTK into the Osirix copy. But I have to go
through them step by step which will take some time.
>
> 2) Based on Michael answer [3], I don't think they would be against
> integrating support for Jpeg2k. @Michael: Assuming we also add test
> validating the proper integration, would you be up to consider
> upstream integration ?
As Aaaron said, I do not think we can do that. Our JPEG2000 library is
one of the components used to finance open source DCMTK development. I
raised the question in OFFIS and they have not been too enthusiastic...
Further, copying a quote from Aarons original posting:
> My [JPEG2000] patch changes very little in the library, so it is
> quite safe.
As far as I remember our JPEG2000 module does not change *anything* in
the existing code of all other parts of DCMTK. Thus it should be
possible to have your own JPEG2000 extension completely separated from
the official DCMTK, too, in an extra directory or whatever. You just
have to register the compression/decompression codecs at runtime using
the corresponding mechanism in DCMTK. One can perfectly see how it works
in the "dcmjpeg" module in DCMTK which does the same for our JPEG codecs
(or "dcmjpls" for the JPEG-LS codecs), which do not interfere with other
parts of the DCMTK code either.
HTH,
Michael
--
Dipl.-Inform. Michael Onken
FuE Bereich Gesundheit | R&D Division Health
OFFIS
FuE Bereich Gesundheit | R&D Division Health
Escherweg 2 - 26121 Oldenburg - Germany
Phone/Fax.: +49 441 9722-149/111
E-Mail: onken at offis.de
URL: http://www.offis.de
More information about the Ctk-developers
mailing list