-
Notifications
You must be signed in to change notification settings - Fork 37
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
Intro questions #14
Comments
Yes! Great idea. The
True! This would also fit nicely next to cropping and slicing, or do you have another idea where to move it?
True! I do that in my lecture along the road. But I agree, having a notebook explaining it would be nice.
Yes, I didn't do that because I didn't want to overwhelm my target audience. Quite some of them have issues understanding the concepts of
Yeah, here you hit a knowledge-gap of mine. The link to the course may just be wrong because it basically consists of the same materials. I never introduce numpy as such properly, because I always thought image-processing workflow builders may not need it. They should know how to apply a filter to an image, e.g. using scikit-image. They should maybe not know how it is done under the hood. But I see your point. And I agree, a numpy-intro could be done more properly.
You find something here, but there is room for improvement: https://github.com/haesleinhuepf/BioImageAnalysisNotebooks/blob/main/docs/12_image_analysis_basics/01_Introduction_to_image_processing.ipynb
The fun part is that I hardly use these simple operations on all pixels in daily practice. And our students are programming-beginners. They never programmed a for-loop which ran over pixels. They learn scikit-image filters as the first and correct way. We teach them entirely things like
My personal problem with numpy still is that I don't find many functions very intuitive. Many names are not informative from an image-processing perspective (e.g. You see, I'm very open to most of the points you listed. In very general, I think the notebook collection would profit from another expert (e.g. you) making the notebooks more useful to a broader audience. Looking forward to your first PR! Cheers, |
Great I see that we agree on most points so I'll make a few PRs soon. Just regarding Numpy in general: I also avoid going into complicated functions and just show one example like |
That's perfect! I remember that my students were confused this year and one asked "Why are python arrays so weird? Shouldn't it work like numpy-arrays?" :-D |
Hi @haesleinhuepf,
I have been looking through the introductory part and have a few questions. I don't want to create a separate issue for each of them or make a PR for each before discussing, so I group them here. If you prefer separate issues let me know. And sorry in advance if some of the points are already explained somewhere else and I just missed them:
my text + str(a)
approach.math
module is used, but without much comment. Should there be a short notebook introducing this, and in particular the different variants of import likefrom xx import yy
,import xx
etc.myfun(3,4)
,myfun(a=3, b=4)
etc. I often see people confused about this, so I think it would be worthwhile to add.Bio-image_Analysis_with_Python
. Is that intentional? I just fear that people might be a bit confused and think it would be nice to have one short notebook just about Numpy (without all the indexing, cropping etc. which you nicely introduced then using images). Just:np.zeros
etc. that is currently in the introOk, I think that's long enough... Let me know what you think and I'll make PRs if you agree with any of those!
Cheers,
Guillaume
The text was updated successfully, but these errors were encountered: