Recipes icon indicating copy to clipboard operation
Recipes copied to clipboard

Update c3d.py

Open mongoose54 opened this issue 8 years ago • 1 comments

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

mongoose54 avatar Jan 19 '17 03:01 mongoose54

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?

f0k avatar Jan 28 '17 14:01 f0k