dcolli23 / PyOpt

Python optimization framework
GNU General Public License v3.0
1 stars 0 forks source link

Saved images have flipped color channels #27

Open dcolli23 opened 4 years ago

dcolli23 commented 4 years ago

Description

Numpy and OpenCV have different color channel orders, RGB/BGR, respectively. I don't invert the order when converting between a Numpy array and saving as a PNG. I need to do this so that the saved image matches what is seen in the plot.