Microscopy data is rarely a single flat image. This project handles hyperstacks (X, Y, Z, channels and time) in pure Python and reproduces the main ImageJ/Fiji tools: 3D filtering, 3D segmentation, volume rendering, projections, reslicing and cell tracking.
Organ of Corti (mouse inner ear, 548 × 249 px × 15 slices × 4 channels, 0.315 µm pixels):
- Channel-specific 3D filters chosen from the structure of each channel: Gaussian + top-hat for nuclei, median + Sato tubeness for fibres, and median for the hair cells.
- 84 nuclei segmented in 3D (3D distance transform + watershed) and 27 fibre objects.
Projections, reslicing and orthogonal views of a T1-weighted head MRI:
Cell Tracking Challenge (Fluo-N2DL-HeLa): nuclei are segmented in all 92 frames (46 h). The count rises from 31 to 135 as the cells divide, following the reference annotation closely by the end of the movie. Nuclei are then linked into tracks with the Hungarian algorithm (503 tracks).
| Cell count over time | Tracks (≥ 10 frames) |
|---|---|
![]() |
![]() |
| Part | Dataset | Techniques |
|---|---|---|
| 1–5 | Organ of Corti | metadata and dimensions, 3D filtering, 3D segmentation, volume and surface rendering, orthoslices |
| 6 | First-instar larval brain | rotating volume renderings |
| 7 | MRI stack | animated 360° rotation (GIF) |
| 8–10 | T1 head | max / mean / std / sum / median projections, reslicing, orthogonal views |
| 11–12 | Fluo-N2DL-HeLa | counting cells over time, centroid tracking |
pip install -r requirements.txt
# put the datasets in data/ (see data/README.md)
jupyter notebook multidimensional_bioimage_analysis.ipynbPython · NumPy · SciPy · scikit-image · tifffile · pandas · Matplotlib (3D) · optional napari
| Project | Topic |
|---|---|
| bioimage-denoising-thresholding | Noise, filters and thresholds |
| microscopy-segmentation-enhancement | Automatic thresholding, sharpening, edge detection |
| bioimage-morphology-lab | Morphology, skeletons, dot blot quantification, watershed |
| multidimensional-bioimage-analysis | 3D/4D hyperstacks, projections, cell tracking |
Based on exercises from a university Bioimage Informatics course, extended into standalone projects.







