Repository navigation
MorpHista 2.0: a desktop program that detects and counts cells in histological images with RF-DETR models, from a single field of view to a whole-slide TIFF. Rewritten from scratch.
Install (Windows 10 or 11)
- Download MorpHista-2.0.0.zip below. It includes the trained ICC model.
- Right-click it → Extract All…
- Open the folder and double-click Start MorpHista. If Windows says "Windows protected your PC", click More info → Run anyway.
The first start downloads what the program needs (Python, PyTorch with CUDA; about 5 GB, 5–20 minutes; 12 GB of free disk space) and puts a shortcut on the desktop. After that the program opens in a few seconds. An NVIDIA GPU makes detection fast; without one it runs on the CPU, more slowly.
In this release
- Native desktop window, light and dark themes.
- Detect and count: RF-DETR over overlapping tiles, merged boxes, per-class counts, cell density per mm² of tissue.
- Tissue mask, and cell instance masks with RF-DETR-Seg models.
- Zoomable viewer at full resolution, with a minimap and 1:1 zoom.
- Whole-slide TIFFs: multithreaded decoding, batched FP16 detection on the GPU, background tiles skipped. A 1.5-gigapixel slide takes about a minute on an RTX 5090.
- Single images or whole folders; results, overlays and
results.csvare saved next to the images. - Your own RF-DETR checkpoints (
.pth) or ONNX exports go intomodels/and are picked up automatically.
Model: RF-DETR Large trained on interstitial cells of Cajal (Fišere, Edelmers et al., Cells 2025, doi:10.3390/cells14070550).
SHA-256 of MorpHista-2.0.0.zip: ceaea920b4fead79fb9705e8a021d1d997f78339f339df07dcf775b965bfb1d1