--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Great, I have been looking forward to this for a while.It should be pretty straightforward to wrap OpenJPEG.Do you have an ETA for a web admin interface?
Does DICOM have a standard for administering a PACS server?
I have just finished upgrading/fixing the java wrappers for openjpeg 2.0 compression/decompression.
With openjpeg support, dcm4che would have native jpeg2000 support on all majour platforms.
Now, I would like to integrate it with dcm4che 3.2. Any advice on how to go about doing this?I see gunter's comments about changing the Transfer Syntax to Image IO Reader/Writer mappings,but I am not familiar with the Image IO or JAI Image IO libraries. And, my impression is that they are abandoned.
I did find this interesting project on github that supports additional JAI Image IO plugins and extensions:This has support for kakadu jpeg2000. How could this be integrated into dcm4che?
On Sunday, July 7, 2013 8:39:39 PM UTC+2, Aaron Boxer wrote:
I have just finished upgrading/fixing the java wrappers for openjpeg 2.0 compression/decompression.Did you use the Java Wrapper in the OpenJPEG sources? because it is outdated.
With openjpeg support, dcm4che would have native jpeg2000 support on all majour platforms.
Now, I would like to integrate it with dcm4che 3.2. Any advice on how to go about doing this?I see gunter's comments about changing the Transfer Syntax to Image IO Reader/Writer mappings,but I am not familiar with the Image IO or JAI Image IO libraries. And, my impression is that they are abandoned.
Yes it is abandoned but the core mechanism of imageIO is in the JVM (in javax.imageio.*). You must, for an image decoder, create a class that extends the class ImageReaderSpi and ImageReader, and register ImageReaderSpi in IIORegistry. The same for the encoder with ImageReaderWriterSpi and ImageReaderWriter. For JPEG200, image tiling should be implemented in the reader and the writer with RenderedImage.
I did find this interesting project on github that supports additional JAI Image IO plugins and extensions:This has support for kakadu jpeg2000. How could this be integrated into dcm4che?
imageio-ext provides the GDAL interface for kakadu, but not the library which is proprietary and requires a license. In addition, if it has not changed, the Java wrapping can only have a file as an input, not a stream. However, now with dcm4che3 and bulk data, it will be easier to have in a separated jpeg2000 file.
Two years ago, I tried to use imageio-ext with the kakadu wrapper in Weasis but I haven't released this code because the reader and writer only handle j2k files. That means when you are reading a local DICOM file, you always need to extract the image in a file before reading it. However, with dcm4chee3 it will be easier to extract the image in a file.
With OpenJEPG 2.0, it is possible to handle a stream instead of a file, but it is not implemented in the current Java Wrapper. I start of doing this job for making a JPEG-LS wrapper (with charls lib) but unfortunately I haven't much time for that.
I also adapted Weasis to support JPIP but the problem is the JPIP client uses fastcgi and I haven't analyzed how this part could be integrated in Weasis. I asked the developers for having a JPIP client without system dependencies.
On Tuesday, July 9, 2013 4:22:59 AM UTC+2, Aaron Boxer wrote:Thanks, Nicolas.On Sunday, July 7, 2013 8:39:39 PM UTC+2, Aaron Boxer wrote:
I have just finished upgrading/fixing the java wrappers for openjpeg 2.0 compression/decompression.Did you use the Java Wrapper in the OpenJPEG sources? because it is outdated.I have updated the wrapper to work with 2.0. Also, fixed a few small memory leaks there.I tested decompression on a number of images, using a simple java viewer to inspectthe results. The viewer uses the jni wrapper.With openjpeg support, dcm4che would have native jpeg2000 support on all majour platforms.
Now, I would like to integrate it with dcm4che 3.2. Any advice on how to go about doing this?I see gunter's comments about changing the Transfer Syntax to Image IO Reader/Writer mappings,but I am not familiar with the Image IO or JAI Image IO libraries. And, my impression is that they are abandoned.
Yes it is abandoned but the core mechanism of imageIO is in the JVM (in javax.imageio.*). You must, for an image decoder, create a class that extends the class ImageReaderSpi and ImageReader, and register ImageReaderSpi in IIORegistry. The same for the encoder with ImageReaderWriterSpi and ImageReaderWriter. For JPEG200, image tiling should be implemented in the reader and the writer with RenderedImage.
Thanks. I notice that Weasis has a kakadu image reader spi. Perhaps I can repurpose this to use openjpeg.I did find this interesting project on github that supports additional JAI Image IO plugins and extensions:This has support for kakadu jpeg2000. How could this be integrated into dcm4che?
imageio-ext provides the GDAL interface for kakadu, but not the library which is proprietary and requires a license. In addition, if it has not changed, the Java wrapping can only have a file as an input, not a stream. However, now with dcm4che3 and bulk data, it will be easier to have in a separated jpeg2000 file.
Good to know. Thanks again.
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
You can install a 32-bit JRE, it is a workaround meanwhile running new decoders.
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/kxoryXjsidw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.