Skip to content

Conversation

@mongoose54
Copy link

@mongoose54 mongoose54 commented Jan 19, 2017

Removed 'preserve_range=True' to address error "TypeError: resize() got an unexpected keyword argument 'preserve_range'" . Now the demo works

Removed 'preserve_range=True' to address error "TypeError: resize() got an unexpected keyword argument 'preserve_range'" . Now the demo work
@f0k
Copy link
Member

f0k commented Jan 28, 2017

preserve_range is only available in more recent versions of skimage. I don't know the code well enough to see whether it can be simply omitted here in all cases. What is im.dtype before calling resize, and what is its value range?

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