Weasis 2.6.2 and 3.0.0-RC1 released

395 views
Skip to first unread message

Nicolas Roduit

unread,
Mar 5, 2018, 4:19:58 AM3/5/18
to dcm...@googlegroups.com
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. 

Antonio Gonzalez

unread,
Mar 5, 2018, 8:31:31 AM3/5/18
to dcm4che
Thank you Nicolas

Gadi Levy

unread,
Mar 6, 2018, 11:33:23 AM3/6/18
to dcm4che
Thank you very much for your continuous work.

Started testing 3.0.0-RC-1. It seems it works fine on most machines.
However, on some Windows 7 64 bit machines, jpeg lossless compressed images are not displayed (screen shot of the message attached).

Tried a fresh install of Java - no difference.

On the Java console, the following error appears:

*ERROR* [Thread-48] org.weasis.core.api.media.data.ImageElement: Cannot read pixel data!: 1.2.840.113619.2.55.3.346831625.507.1209877797.133.121 java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat()J

Thanks.
screenshot.png

Nicolas Roduit

unread,
Mar 7, 2018, 4:34:48 AM3/7/18
to dcm4che
I cannot reproduce the issue you mentioned.  Could you send me a sample?

Gadi Levy

unread,
Mar 7, 2018, 6:59:20 AM3/7/18
to dcm...@googlegroups.com
Yes I can send you the image, however there is nothing special about it, and it is displayed correctly on other machines using 3.0.0.RC-1.
So it must be something local ? related to the Java installation perhaps ? missing libraries ? (I'm just guessing here...)

--
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/-UhJcYzVvD0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Nicolas Roduit

unread,
Mar 7, 2018, 10:56:31 AM3/7/18
to dcm4che
OK it could be related to a security configuration of the system.

Or a corrupted file, try to clean up the Java Webstart cache.

Reply all
Reply to author
Forward
0 new messages