-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a few minor issues in image_helper (#68)
* Fix a few minor issues in image_helper * Used ByteIO rather than StringIO is now required for PIL's Image.open * Remove unused variable, 'alpha' * Added support for '8UC1' and '32FC1' image types * Only do bgr2rgb if it's definitely a BGR type Fixes #60 Signed-off-by: Michael Jeronimo <[email protected]> * Add a missing encode() call * Invert 32F depth images so that closer is lighter and farther is darker Signed-off-by: Michael Jeronimo <[email protected]>
- Loading branch information
Michael Jeronimo
authored
Oct 29, 2020
1 parent
e999898
commit 9648cff
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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