Problems encoding to JPEG 2000 with dcm4che2.x

785 views
Skip to first unread message

Alberto Saez Torres

unread,
Jun 11, 2013, 3:57:11 AM6/11/13
to dcm...@googlegroups.com
Hi,

I've discover a than some dcm4chee 2.x's JPEG 2000  transformed instances can't be readed by none of DICOM viewers (Osirix, Ginko, Radiant,..) This isn't a general behaviour  as it works great with some kind of images, but if tails with others.  

I've tried to reproduce the error with the dcm2dcm tool, and I've found than the problem is only present in dcm4chee <= 2.27, but not in the new 3.x branch. Unfortunately 3.x is too new to be used in my transmission software.

The problem is related to 1.2.840.10008.1.2.4.90, 91 and 92 TS (JPEG 2000), but not with JPEG nor JPEG LS.

 I've upload my test files files to https://drive.google.com/folderview?id=0B3R54jpmGIDHWUQtMVFmWlhXVE0&usp=sharing If anyone is interested

uncompressed --> uncompressed dcm file
comp90_v2.dcm --> Generated using 'dcm2dcm -t "1.2.840.10008.1.2.4.90"  uncompressed.dcm comp90_v2.dcm'  With dcm4chee 2.26/2.27 (unreadable)
comp90_v3.dcm --> Generated using 'dcm2dcm -t "1.2.840.10008.1.2.4.90"  uncompressed.dcm comp90_v3.dcm'  With dcm4chee 3.2.0 (it's ok)

Anny help would be great !!

Alberto.

Bradley Ross

unread,
Jun 11, 2013, 8:41:26 AM6/11/13
to dcm...@googlegroups.com
What platform are you using (Mac, Windows, Linux, etc.).  Some of the codecs that are available vary between the platforms.

Are you using the dcm2dcm tool to convert to JPEG2000 or simply to encapsulate a JPEG2000 image?  If the later, how are you creating the JPEG2000 image?

Where are you getting the JAI library from?

dimitri pianeta

unread,
Jun 11, 2013, 11:18:26 AM6/11/13
to dcm...@googlegroups.com
Bradley use dcm4che3, there is in this new package the JAI Library for JPËG2000, also Linux, Window 96 bits, Mac...
  I have been not time use this new package.
 
Message has been deleted

Alberto Saez Torres

unread,
Jun 11, 2013, 5:02:02 PM6/11/13
to dcm...@googlegroups.com
Hi.

Thanks for the interest.

The results are the same both in linux 32/64 and windows 32. I'm trying to re-encode dicom objects (compress from ILE to JPEG2000) and I'm using JAI java  & native libs from the dcm4chee-3.2 package to ensure the issue is dcm4chee compression.

Best regards, 

Alberto.


On Tuesday, June 11, 2013 2:41:26 PM UTC+2, Bradley Ross wrote:
What platform are you using (Mac, Windows, Linux, etc.).  Some of the codecs that are available vary between the platforms.

Im' using linux (64bits), but I'm getting the same results using Windows (32 bits)


Are you using the dcm2dcm tool to convert to JPEG2000 or simply to encapsulate a JPEG2000 image?  If the later, how are you creating the JPEG2000 image?

Convert. From VLE to JPEG2k
 

Where are you getting the JAI library from?


From the dcm4chee-3.2 package. I ensure 


 
On Tuesday, June 11, 2013 3:57:11 AM UTC-4, Alberto Saez Torres wrote:

dcmuser

unread,
Mar 6, 2015, 11:06:45 AM3/6/15
to dcm...@googlegroups.com
Hi Alberto,

I'm experiencing 'random' problems with mammo studies when JPEG 2000 is activated in dcm4chee.

Some studies are not correctly compressed since they are only about a few KB in size, but the logs in dcm4chee do not show any error. However, if the study is deleted from dcm4chee and sent again, then it works fine (dcm4chee runs on Windows 64 bit, and Java 32).

We've changed compression to JPEG Lossless, and now this problema seems to have dissapeared.

Did you manage to solve the problema with JPEG 2000 compression in dcm4chee?

Best regards

Pankaj Mankar

unread,
May 23, 2016, 3:14:49 AM5/23/16
to dcm4che
Hello,

Please help me in enabling the compression in dcm4chee. I have installed Dcm4chee & weasis viewer. Images are downloaded fast in local network. But when viewer is accessed outside through internet, it is taking much time to download the images in viewer. So i want to enable the compression so that viewer image loading time is  reduced. Please suggest how compression will be done in dcm4chee.
Reply all
Reply to author
Forward
0 new messages