Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change image load from 3ch to 1ch #56

Closed
wants to merge 1 commit into from
Closed

change image load from 3ch to 1ch #56

wants to merge 1 commit into from

Conversation

dhpollack
Copy link

This addresses issue #55. One expects a 1 channel mask (resize based only on height and width) but you force this to become a 3 channel mask upon loading (mode="RGB"). Now we correctly get a 1 channel 8 bit mask.

@dhpollack dhpollack mentioned this pull request Jun 11, 2018
@wesleyw72
Copy link
Contributor

Good work but I think this is a duplicate of #33.

@dhpollack
Copy link
Author

Kind of. But he assumes the image is a 32 bit encoding and I'm assuming it's 8 bit (which is more typical in ML).

@dhpollack
Copy link
Author

pillow mode docs

@dhpollack
Copy link
Author

gonna close, reopen if you want to add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants