If you need to support all jpeg compression types like Jpeg Lossless and Jpeg LS then there are only native codecs in dcm4che (JAI ImageIO - CLibJPEGImageReader) . But the native libraries are not available for 64bit windows runtime.
I saw that there are new codecs in weasis. They are also native and based on openjpeg / jpeg library. But they are available on 64bit windows too. They support JpegLS / Jpeg Losses and 2K.
I tried them in dcm4che2, but was not successfull. I added the jar files and put the native libraries into the java runtimes bin directory. I changed the configuration to use the new reader:
ImageReaderFactory.properties
1.2.840.10008.1.2.4.80=jpeg-ls,org.weasis.jpeg.NativeJLSImageReader,0
The native libraries were found, but then there is a NullPointerException somewere in RandomAccessFile. I will continue to figure out what the problem ist...
Is it possible to use these new codecs in dcm4che? Will there be an official release containing the new codecs? Does the license allow you to use the codec in dcm4che (Eclipse Public Licence)?