This work is licensed by Anna Poetsch, Biotec Dresden and Robert Haase, PoL Dresden under a Creative Commons Attribution 4.0 International License.
This repository contains training resources for Python beginners who want to dive into image processing with Python. It specifically aims for students and scientists working with microscopy images in the life sciences. We start with python basics, dive into descriptive statistics for working with measurements and matplotlib for plotting results. Furthermore, we will process images with numpy, scipy, scikit-image and clEsperanto. We will explore napari and Fiji for interactive image data analysis. Finally, we will use scikit-learn, CellPose and StarDist to process images using machine learning techniques.
The material will develop between April and July 2022. The materials from former years are linked below.
You can browse the material online for taking a quick look.
If you want to do the exercises, it is recommended to download the whole repository, e.g. by hitting the code
button in the top right corner and clicking on download.
Unzip the downloaded zip-file and navigate inside the sub folders, e.g. using the command prompt.
In order to execute code and do the exercises, you need to install conda, which will be explained in the first lesson.
This course explains everything in very detail. Every lesson ends with an exercise and it is recommended to do it before moving on to the next lesson. If you have python basics knowledge already, test yourself by doing these exercises before starting with an advanced lesson.
If you have any questions, please use the anonymous etherpad (see email) or open a thread on image.sc, put a link to the lesson or exercise you want to ask a question about and tag @haesleinhuepf.
-
Introduction (2022-Apr-05)
-
Python data structures + images (2022-Apr-12)
-
Python algorithms + introduction to image processing (2022-Apr-19)
-
Image filtering + image segmentation (2022-Apr-26)
-
Quantitative image analysis (2022-May-03)
-
Machine learning for bio-image analysis (2022-May-10)
-
Introduction to Biostatistics (2022-May-17)
-
Descriptive statistics (2022-May-24)
-
Method Comparison - Bland-Altman analysis (2022-May-31)
-
break
-
Hypothesis testing (2022-Jun-14)
-
Multiple comparisons and correlations (2022-Jun-21)
-
Big data, clustering, dimensionality reduction (2022-Jun-28)
-
Deep learning (2022-Jul-5)
-
Summary / exam preparation (2022-Jul-12)
- Bio-image Analysis, programming, bio-statistics and machine learning 2021
- Bio-image Analysis, programming, bio-statistics and machine learning 2020
- Bio-image Analysis, ImageJ Macro programming 2019
- Bio-image Analysis Notebooks
- Analyzing fluorescence microscopy images with ImageJ by Pete Bankhead
- Basics of Image Processing and Analysis by Kota Miura
- Classic ImageJ training resources
- Bioimage Data Analysis Workflows edited by Kota Miura and Nataša Sladoje
- Python cheat sheet
- Python/Conda environments
- Scientific data analyis in Python, Biotec lecture
- Python for Microscopists, video series by Sreeni
- Managing Conda environments, online documentation
- Bio-image Analysis using Scikit-Image in Python, Biotec lecture
- Python for Bio-image Analysis by the Image Analysis Focused Interest Group of the Royal Microscopical Society
- Interactive Bioimage Analysis with Python and Jupyter, NEUBIAS academy webinar, Part 2
- Multi-dimensional image visualization in Python using napari, NEUBIAS Academy webinar
Contributions to this repository are welcome! If you see typos, bugs or have general feedback, please create a github issue to let us know. If you would like to add additional lessons or want to suggest improvements to existing ones, pull-requests are very welcome!
Robert Haase was supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – EXC2068 - Cluster of Excellence Physics of Life of TU Dresden.