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

Take into account PhotometricInterpretation #110

Closed
wants to merge 1 commit into from

Conversation

tuket
Copy link

@tuket tuket commented Oct 14, 2024

I have a DICOM file that can't be loaded because the PhotometricInterpreation is being cosidered correctly when the Image class is created.
3DSlice52.zip

@jriesmeier
Copy link
Member

Thank you for your PR. However, it is not needed as the DCMTK behaves as expected, e.g. when using dcmj2pnm to process the DICOM image. Since the DICOM image is compressed with JPEG Lossless, you need to register support for the JPEG decoders to your program (see e.g. source code of dcmj2pnm).

@jriesmeier jriesmeier closed this Oct 14, 2024
@tuket
Copy link
Author

tuket commented Oct 14, 2024

Ah, true. My bad. Cheers!

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.

2 participants