-
Notifications
You must be signed in to change notification settings - Fork 228
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
Feature request: Add support for High-Throughput JPEG 2000 #897
Comments
@dazzag24 dcm2niix uses OpenJPEG to decode jpeg2000, and OpenJPEG is one of the decoding libraries that supports HTJ2K. Therefore, you should have this support if you compile dcm2niix with OpenJPEG 2.5.0 or later. |
Does dcm2niix need to be made aware of the new transport syntaxes? Looks that way.
I downloaded the most recent version: https://github.com/rordenlab/dcm2niix/releases |
I am unable to replicate. Can you share a sample of this transfer syntax with my institutional email, or describe how a DICOM image can be converted to this transfer syntax. It does not seem like gdcmconv 3.0.24 that uses OpenJPEG 2.5.3 supports this yet. |
There are a couple of examples here: 1.2.840.10008.1.2.4.201 See https://github.com/pydicom/pydicom/blob/153a3a9afeb35165ff175ebfbe21eca1a93014fc/src/pydicom/uid.py#L335 for a mapping to the human readable name. I can send you a full series that uses 1.2.840.10008.1.2.4.201 but its a 140Mb zip so possibly to large to email. |
Hi, Did you receive the example series that I emailed? |
I became aware of another set of example image today that are being used by the ITK team See https://www.aliza-dicom-viewer.com/download/datasets and the link to "Color files, 1920 x 1080 px (update 2024.01.08, added HTJ2K)" |
@dazzag24 why don't you try out the latest commit to the development branch (v1.0.20241211). You have to compile with the OpenJPEG. The easiest way to do this is with the cmake superbuild: git clone --branch development https://github.com/rordenlab/dcm2niix.git
cd dcm2niix
mkdir build && cd build
cmake -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_JPEGLS=ON -DUSE_OPENJPEG=ON ..
make I also added a faster way to build, but you will have to tune the /console/makefile to match the location of your JPEG2000 library: git clone --branch development https://github.com/rordenlab/dcm2niix.git
cd dcm2niix\console
make jp2 |
ref: https://aws.amazon.com/blogs/industries/introducing-aws-healthimaging/
ref: https://docs.aws.amazon.com/healthimaging/latest/devguide/reference-htj2k.html
Is this something that could make sense for dcm2niix to support?
Thanks
The text was updated successfully, but these errors were encountered: