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
Ep3: Image not writeable #247
Comments
Thanks for reporting this and the other issues, @gcapes - you are finding wrinkles that it is very helpful to iron out! That said, I'm afraid I have not been able to reproduce this one. Could you share the whole code block and output please, so we can try to figure out what is going on here? |
MWE:
|
Hmmm. Can confirm this works with no errors on my end. I will go looking for an explanation of why this might be happening to you elsewhere on the Internet... |
Ok, I believe this issue thread provides an explanation for the behaviour you're observing: imageio/imageio#877 I need to spend some time reading through it, and then I think it will need to be raised with the rest of the Maintainer team, and potentially the Curriculum Advisors, to figure out how we will handle this consistently throughout the lesson. |
I can reproduce this. Will dig into it while addressing #252. |
Based on the discussions in imageio/imageio#877 and python-pillow/Pillow#6581, @mkcor Do you have any better suggestions? |
In this section https://datacarpentry.org/image-processing/03-skimage-images/index.html#manipulating-pixels we're keeping only high-intensity pixels. However, I get the following error:
Making a copy of the image first fixes the problem.
image_copy = image.copy()
The text was updated successfully, but these errors were encountered: