Orange Sky during daytime since update #1734
-
Beta Was this translation helpful? Give feedback.
Answered by
aaronwmorris
Dec 25, 2024
Replies: 1 comment 1 reply
-
Merged #1737 to fix. The red and blue channels were reversed. I definitely broke this a while ago. I went back and reviewed the change where this broke and I do not know why I changed the code. Thank you for opening this. The history on this is OpenCV deals with BGR data, but the PIL library which I use to load images loads in RGB format, so the data has to be continually shuffled depending on what is handling the image. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
deydalus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Merged #1737 to fix.
The red and blue channels were reversed. I definitely broke this a while ago. I went back and reviewed the change where this broke and I do not know why I changed the code. Thank you for opening this.
The history on this is OpenCV deals with BGR data, but the PIL library which I use to load images loads in RGB format, so the data has to be continually shuffled depending on what is handling the image.