JPEG 2000
Moderator: Moderator Team
JPEG 2000
I see that the latest version of dcmtk has support for JPEG2000 TS, but I don't see any associated codecs. Over at OsiriX we are moving more of our DICOM code to DCMTK and I was wondering if anybody has stable codecs they would be willing to share. I have heard of reports of problems with Jasper. Has anyone tried the OpenJPEG. I have access to kakadu but since OsiriX is open source I can't use it in the project.
Lance
Lance
http://osirixmac.com
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi Lance,
correct, in the public toolkit, there are no implementations of JPEG 2000 codecs. However, we've got a private JPEG2000 module based on Jasper, that can be purchased as a module for DCMTK (source code). I guess Osirix doesn't want to spend the money, but if you're interested in an evaluation version for linux or windows (binary), send us an email to NOdicom@SPAMoffis.de. The module integrates just like dcmjpeg into DCMTK and contains compressor/decompressor code.
Perhaps Marco can give you some hints concerning JPEG2000 libraries; we've choosed Jasper and it works fine with DCMTK.
Best Regards,
Michael
correct, in the public toolkit, there are no implementations of JPEG 2000 codecs. However, we've got a private JPEG2000 module based on Jasper, that can be purchased as a module for DCMTK (source code). I guess Osirix doesn't want to spend the money, but if you're interested in an evaluation version for linux or windows (binary), send us an email to NOdicom@SPAMoffis.de. The module integrates just like dcmjpeg into DCMTK and contains compressor/decompressor code.
Perhaps Marco can give you some hints concerning JPEG2000 libraries; we've choosed Jasper and it works fine with DCMTK.
Best Regards,
Michael
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Our implementation is based on JasPer, but I had to add a number of modifications to make it work for images with more than 8 bits per sample. OpenJPEG to my understanding is (at least loosely) based on JasPer, seems to also have fixed the issues in JasPer, but I have seen a number of postings indicating that performance-wise it is even slower than JasPer. I have not tried that, though.
-
- Posts: 13
- Joined: Tue, 2005-06-28, 16:48
We beat our heads on getting JasPer to work with 16bit images for about a day before we gave up and went to OpenJPEG. Other than being a touch slow OpenJPEG has worked very well for us (aka. no changes to the library required). On-the-fly transcoding of CR images is definately not recommended (it is much faster to send them uncompressed on the LAN) and even large sets of CT images (1000 slices is not uncommon for us) require some server power (and a few good luck charms).
If anyone is willing to share some "fixed" JasPer code and codec we might be willing to swap for our JPEG-LS codec. All we got out of trying JasPer was a wasted Monday, but there are plenty of those around here anyways.
If anyone is willing to share some "fixed" JasPer code and codec we might be willing to swap for our JPEG-LS codec. All we got out of trying JasPer was a wasted Monday, but there are plenty of those around here anyways.
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
@Lance: Here you can find the email adresse without obscurification
Contact to DICOM@OFFIS
Regards,
Michael
Contact to DICOM@OFFIS
Regards,
Michael
-
- Posts: 13
- Joined: Tue, 2005-06-28, 16:48
Lance,
Sorry I didn't get back to you sooner, I was in the process of moving to a new apartment this weekend.
It is a possibility. I will have to speak with the other people involved with that code and I am on a business trip until next Tuesday. If I get terribly bored this week between meetings I might rewrite our codec and "donate" it to OsiriX as it is a project I have been following for a while now. Currently our version does not support multi-frame images as it is not something we needed at the time and as far as I know it only runs on Win32. We are using it in a CR running XP Embedded and has not been tested on other operating systems.
Colby
Sorry I didn't get back to you sooner, I was in the process of moving to a new apartment this weekend.
It is a possibility. I will have to speak with the other people involved with that code and I am on a business trip until next Tuesday. If I get terribly bored this week between meetings I might rewrite our codec and "donate" it to OsiriX as it is a project I have been following for a while now. Currently our version does not support multi-frame images as it is not something we needed at the time and as far as I know it only runs on Win32. We are using it in a CR running XP Embedded and has not been tested on other operating systems.
Colby
-
- Posts: 13
- Joined: Tue, 2005-06-28, 16:48
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest