Skip to content

About

Beyond 2D: 3D/4D microscopy hyperstacks in Python: 3D filtering and segmentation, volume rendering, projections, reslicing and cell tracking over time.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🧠 Beyond 2D: Multidimensional Bioimage Analysis

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.

 

Highlights

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.

Composite Labels

Projections, reslicing and orthogonal views of a T1-weighted head MRI:

Projections Ortho

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)

What's inside

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

Run it

pip install -r requirements.txt
# put the datasets in data/ (see data/README.md)
jupyter notebook multidimensional_bioimage_analysis.ipynb

Tech stack

Python · NumPy · SciPy · scikit-image · tifffile · pandas · Matplotlib (3D) · optional napari

Part of a series

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.

About

Beyond 2D: 3D/4D microscopy hyperstacks in Python: 3D filtering and segmentation, volume rendering, projections, reslicing and cell tracking over time.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages