-
Notifications
You must be signed in to change notification settings - Fork 229
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
Issue with Huffman tables in jpg_0XC3.cpp #244
Comments
neurolabusc
added a commit
that referenced
this issue
Oct 30, 2018
Yes, that works. By the way, the source in dcm2niix is also provided in a minimal C program to convert JPEG lossless to TIF. I will fix it with the same patch. It has many of the same images as the site you link (from LeadTools), but does not have the troublesome F-18 image. Thanks. |
yarikoptic
added a commit
to neurodebian/dcm2niix
that referenced
this issue
Dec 3, 2018
* tag 'v1.0.20181114': (70 commits) New stable release: update documentation (v1.0.20181114) Avoid using GDCM's internal OpenJPEG library. Discriminate trace from raw GE DWI scans (rordenlab#245) Restore Philips enhanced (rordenlab@3c31d18) Clean up readme, interpolation errors less verbose, add date-of-birth to BIDS (requires '-ba n') Not all GE DWI with b>0 bvec=0 are trace (rordenlab#245) calculate Zmm for enhanced DICOM w/o 0018,0088 (rordenlab#241) Kludge for Siemens MoCo slice timing interfered with CMRR fix (CMRR-C2P/MB#29) Bruker enhanced 4D data (rordenlab#241) XA10A tag substitutes (rordenlab#240) Huffman tables repeated for RGB planes for jpg_0XC3 (rordenlab#244) change MoCo naming and derived detection (rordenlab#243) Update dcm_qa_nih submodule. Update dcm_qa_nih submodule. Update dcm_qa submodule. experimental dcm4che enhanced support (rordenlab#241) Vida partial Fourier update (rordenlab#240) XA10A Vida dwell time (rordenlab#240) More XA10A Vida header info (rordenlab#240) UIH bvecs (rordenlab#225 (comment)) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for providing
jpg_0XC3.cpp
under the BSD license!I am using a fork of your code in the Python imagecodecs package.
While testing some files, specifically
f-18.jpg
from the TwelveMonkeys testsuite, I noticed an issue with how missing Huffman tables are substituted.The following patch fixes that issue for me:
Does this look OK?
The text was updated successfully, but these errors were encountered: