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

Support decompression of JPEG Baseline with RGB components by OpenCV based ImageReader #565

Closed
gunterze opened this issue Oct 16, 2019 · 0 comments
Assignees
Milestone

Comments

@gunterze
Copy link
Member

Typically JPEG Baseline Color images have YBR components. But DICOM allows also using RGB components in JPEG Baseline images. But JPEG Baseline streams containing a JFIF APP0 segment must always have YBR components. In that case, it still seems sensible to assume that a given Photometric Interpretation of "RGB" is caused by the failure of the compressor to update the value from the uncompressed image to "YBR_FULL_422".

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

No branches or pull requests

1 participant