New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import of MR images compressed with JPEG2000 not working #91
Comments
Slicebox does currently not support JPEG2000 transfer syntaxes due to software license incompatibilities between slicebox (Apache 2) and the Java-based JPEG2000 ImageIO plugins that we are aware of. It would be a great feature, though. Any suggestions on how to move forward are most welcome. |
Would dcm4che or PixelMed™ Java DICOM Toolkit be possible alternatives? |
Yes, Slicebox uses dcm4che3 internally which supports JPEG2000 through ImageIO plugins. The challenge is to find up to date plugins for JPEG2000. (See e.g. https://github.com/haraldk/TwelveMonkeys). Here is a thread discussing this for dcm4che: https://groups.google.com/forum/#!topic/dcm4che/kxoryXjsidw. One way forward to consider is to support more transfer syntaxes but just not supporting viewing of such images (which is the only situation in which Slicebox reads and interprets pixel data). I'm leaving this issue open in case there is more input and/or suggestions. |
Maybe a possibility is to use GDCM and their JAVA support to simply decompress JPEG 2000 compressed DICOM files? |
As suggested by @ghisvail, try adding support through https://github.com/jai-imageio/jai-imageio-jpeg2000. If this works, we can provide detailed instructions on how to add this library to a deployed instance. This would work around any licensing issues that would arise from including the library in our repository and binaries. |
The idea being that the regular release of |
Unless a patent-free JP2 decoder for JAVA is found in the meantime. |
JP2 can be decoded by OpenJPEG using imageio-jnr. |
@ghisvail Did you find the time to try this yet? Curious if it works. |
Tried to import a set of MR images compressed with JPEG2000 but received the following error message:
2017-01-31 10:57:26,675 INFO (akka://slicebox) - System: The presentation context [SOPClassUID = 1.2.840.10008.5.1.4.1.1.4, TransferSyntaxUID = 1.2.840.10008.1.2.4.90] is not supported.
The text was updated successfully, but these errors were encountered: