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

Projects
None yet
2 participants
@Hirico
Contributor

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 :)

Hirico added some commits Jul 30, 2017

fix a ValueError when input image is grayscale
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
Merge pull request #1 from Hirico/Hirico-patch-1
fix a ValueError when input image is grayscale

@mrharicot mrharicot merged commit 5e979d6 into mrharicot:master Aug 1, 2017

@mrharicot

This comment has been minimized.

Owner

mrharicot commented Aug 1, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment