Releases: clemsgrs/hs2p
Releases · clemsgrs/hs2p
4.0.1
4.0.0
Unified tiling interface
tiling and annotation-aware sampling are now a single workflow driven by one entry point:
hs2p /path/to/config.yamlBreaking changes
- config: tiling.sampling_params → tiling.masks (pixel_mapping, colors, min_coverage)
tiling.params.tissue_thresholdis folded intotiling.masks.min_coverage.tissue
- output layout:
tiles/{annotation}/{sample_id}.coordinates.*for named annotations- collapses to
tiles/{sample_id}.coordinates.*when annotation is tissue (the default)
- collapses to
- tar artifacts:
{sample_id}.{annotation}.tiles.tar- collapses to
{sample_id}.tiles.tarfor the tissue default
- collapses to
- process list: gains an annotation column, always populated (tissue for the binary default)
Internal
- hs2p/preprocessing.py and hs2p/api.py split into a focused hs2p/tiling/ package (result, contours, coverage, generate, mask, io, single, tar, orchestration); both originals are now thin re-export shims
- 3 duplicate cv2.integral coverage implementations consolidated into tiling/coverage.py
- dead wsi/api.py sampling engine, wsi/utils.TissueFilter, and unused WSI sampling methods removed