Replies: 1 comment 1 reply
-
(ignore the first version of the reply, I misread the question) The You don't show what you actually do with the returned |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I am trying to decompress US images and have successfully managed to do so thanks to @scaramallion in #1583. This solution works perfectly for images in
YBR_FULL
orYBR_FULL_422
colour spaces. However, I have some images that have aPhotometricInterpretation
value ofPALETTE COLOR
.I am trying to use the
apply_color_lut()
function to convert torgb
. However, this does not work.Here are the group 0028 elements:
The image then renders in an incorrect colour space when saved.
I think it may be due to elements
1201-03
being either blank or stored as OW and not Bits, but I am not sure. Any suggestions?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions