Skip to content
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

Added optional support for JPEG-LS, JPEG and JPEG2000 transfer syntaxes #293

Closed
wants to merge 2 commits into from

Conversation

luongthanhlam
Copy link

This PR adds logic to parse pixel data using CharLS/OpenJPEG/DCMTK if it can be imported. Tested on some compressed MR, CT and X-ray data.

@luongthanhlam luongthanhlam deleted the jpeg-supports branch November 3, 2023 04:23
@luongthanhlam luongthanhlam restored the jpeg-supports branch November 3, 2023 04:36
@suyashkumar
Copy link
Owner

Hi @luongthanhlam thanks for the PR, I think this could be a cool way to potentially have a fallback way of reading JPEG-LS, JPEG2000 images etc, though it does come with a fair bit of toolchain overhead that I need to look into a little more and think on how/if to pull this in. Either way though, this could be a great example PR for anyone blocked on this in the short term. Some more background on the need in #85. Ideally, we would have a way to do this in Go, and I saw recently a library popped up that might help here, which might be worth a look.

@segmed-lam
Copy link

@suyashkumar Actually, anyone can write their own decoder. To register custom formats for the codec package, simply import a package which calls frame.RegisterFormat within its init() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants