Cellpose TIFF Segmentation Pipeline A high-performance, GPU-accelerated pipeline for segmenting large microscopy images using Cellpose. Features intelligent tiling for memory-constrained processing and SLURM-based batch processing for multi-sample workflows. Features
π§ Intelligent Memory Management: Automatically tiles large images that don't fit in GPU memory π¬ OME-TIFF Support: Extracts channel names and resolution metadata from OME-TIFF files π Batch Processing: SLURM-based pipeline for processing multiple samples in parallel π Comprehensive Outputs: Generates masks, features (CSV/NPY), cell probabilities, and metadata π― Overlap Handling: IoU-based duplicate detection when merging tiled segmentations πΎ Flexible Input: Works with standard TIFFs, multi-channel TIFFs, and OME-TIFFs
Pipeline Architecture
cellpose2_pipeline.s (Main Controller)
β
Submits array job β
β
cellpose2_segmentation_controller.s (Per-sample jobs)
β
Runs β
β
cellpose2_segmentation.py (Core segmentation)
Installation Requirements
Python 3.8+ CUDA-capable GPU Cellpose 2.x SLURM workload manager (for batch processing)