Created
August 30, 2017 13:19
-
-
Save RafaelAndrade0/2d815c0adb79d8510836eb138d450324 to your computer and use it in GitHub Desktop.
Convert to np.uint8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image = (image * 255).round().astype(np.uint8) | |
#https://stackoverflow.com/questions/26918390/python-make-rgb-image-from-3-float32-numpy-arrays |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment