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

a ValueError when input image is grayscale #29

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

Hirico
Copy link
Contributor

@Hirico Hirico commented Jul 30, 2017

in scipy 0.19.1, if the image is grayscale, image.shape is MxN matrix, not MxNx1, thus in line 57 "ValueError: not enough values to unpack(expected 3, got 2)" will show, which I met today :)

in scipy 0.19.1, if the image is grayscale, image.shape is MxN matrix, not MxNx1, thus in line 57 "ValueError: not enough values to unpack" will show
fix a ValueError when input image is grayscale
@mrharicot mrharicot merged commit 5e979d6 into mrharicot:master Aug 1, 2017
@mrharicot
Copy link
Owner

Thanks!

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.

2 participants