-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
Prototype Add HTJ2K TransferSyntax to GDCM #5020
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of this should eventually go into GDCM upstream?
Yes this should definitely go upstream. This effort was less than expected to get something functional, but there are likely details in the DICOM specs that I am not aware of that may may it more complicated for complete decoding support. |
Great!! |
TSField == MPEG4AVCH264BDcompatibleHighProfileLevel4_1 | ||
TSField == MPEG4AVCH264BDcompatibleHighProfileLevel4_1 || | ||
TSField == HTJ2KLossless || | ||
TSField == HTJ2KRPCLLossless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E.g. IsLossless() will return false
for HTJ2KLossless, isn't it? Something is wrong here.
P.S. Just FYI, I don't plan to step into this stuff (I don't use GDCM / GDCMIO for my app), sorry.
AFAIK, upstream GDCM has internal OpenJPEG version 2.3, decoding of HTJ2K requires 2.5. Just FYI. |
DICOM Supplement 235 describes HTJ2K Transfer Syntax. OpenJPEG>=2.2 supports decoding HTJ2K. Update GDCM with additional HTJ2K transfer syntaxes and use existing JPEG200Codec to decode.
Clarify documentation for support compression types for writing.
Added test images from: https://www.aliza-dicom-viewer.com/download/datasets These may be a little large.
1a79eb4
to
5568f41
Compare
Draft of GDCM changes submitted upstream: malaterre/GDCM#187 |
Relates to #3983
PR Checklist
Refer to the ITK Software Guide for
further development details if necessary.