Weasis 2.6.2 is available for
download. This version contains only bug fixes, here are the
release notes. Both distributions (web and portable) are now compliant with Java 9 and 10.
The version 3.0.0-RC1 is also available for
download. This release is the fist next major version of Weasis which containing an ECG viewer and big changes in image decoding and image processing. In this version, the JAI and JAI_IMAGEIO libraries have been totally removed and replaced by OpenCV.
OpenCV brings a huge change in terms of performance. All the image processing functions are processed by the native library which has optimizations with openCL (related to the driver of the graphic card). So, for instance, with a series of color images and by applying several operations (rotation, zoom, LUT and a filter), the cine with the version 3 processes 80 images/sec and with the version 2.x processes less than 1 image/sec (recent PC with NVIDIA GM107GL).
Advantages of the new native reader based on OpenCV:
- Do not extract an image file from DICOM as most decoders, read directly from the file by giving the DICOM fragment positions
- Allow reading image from raw byte array when image content is already in memory on the Java side
- Supports multi-frame and multiple fragments at the same time
- Supports all the DICOM compression types (JPEG, JPEG-LS, J2K, RLE)
- Supports reading RAW images with YBR_FULL and YBR_FULL_422 (returns an RGB image). YBR_PARTIAL has been implemented but not activated as this model is now retired from DICOM.
- Compiled for Windows 32/64-bit, Linux x86 32/64-bit and Mac OS X 64-bit (could be compiled for Android or IOS)
Fix several Issues related to jai_imagio:
- Bug fix JAI_IMAGEIO_CORE-126 : Under heavy multi-threaded load, native sse2 library randomly fails and brings down the whole JVM.
- Bug fix JAI_IMAGEIO_CORE-189 : j2k lossy issue
- Fix artifact with native jpeg2000 decoder
- No need to patch jpeg-ls anymore
- Fix color model issue of jpeg-ls and jpeg
- Allow getting a signed data buffer (no need to patch data afterward)
- Compliant with Java 9-10 unlike jai_imageio
Let me know if you encounter any problems with this new release candidate.