Roadmap¶
Planned, not implemented
Everything on this page is planned. Names and contracts may still change; nothing here can be imported yet unless stated.
Stable today: histo.open_slide / Slide, histo.StainMatrix,
histo.stain (estimation, sampling, calibration, QC) and histo calibrate.
Pipeline layer¶
histo.Pipeline([...steps...], workdir) with steps in histo.steps:
TissueMask, ProposeRegions, Review, CalibrateStains, Deconvolve, Threshold,
Quantify, Vectorize, QC, Export.
- Steps run per slide or once per dataset.
- Each step writes a checkpoint manifest (parameter hash, input hashes, versions), so runs are resumable and a step is skipped when nothing changed.
- Pipelines round-trip to YAML:
histo run config.yaml [--step ...] [--slide ...]. run.jsonprovenance records the channel order, the stain-map hash and all versions.
Vector and export¶
histo.vector.vectorize: collagen masks to polygons, tiled with bounded memory; fragments touching a tile border are merged with their neighbours before small fragments are filtered, so results do not depend on tile size.histo.export.to_geojson(QuPath detections),to_imagej_roi_zip(Fiji),to_qupath_project(images + objects + calibrated stains, relative paths).- Exporting calibrated stain vectors to QuPath and Fiji.
OME-Zarr-only ingestion¶
tanoa becomes the only ingestion path; the legacy CZI readers are deprecated
for one release, then removed; decon_seg_zarr moves to Slide.
Compute and HPC (API reserved)¶
Names and contracts are fixed in the design note Compute placement, GPU acceleration and distributed execution:
histo.Resources(device=..., cpus=..., gpus=..., mem_gb=...)andhisto.Granularity.DATASET | SLIDE | TILEon every step;- executors
histo.exec.Local,histo.exec.Remote,histo.exec.Slurm; histo.stream.run_tiles: reader / device / writer pools with bounded queues;- a fused GPU deconvolution → threshold → tile-count kernel, which must match the CPU path within a tested tolerance. Stain estimation has no GPU path (QuPath exactness).
Later¶
GitHub Actions CI for the tests, a review web app for the Review step (editing
regions.json), a PyPI release (installed with pixi add --pypi pyhisto), and
a Rust backend for the estimator after one full successful pipeline run.