Skip to content

Releases: clemsgrs/hs2p

4.0.1

21 Apr 19:47

Choose a tag to compare

  • decouple tissue mask preview from tiling preview (#117)
  • add config knob to control sam2 worker count to avoid CUDA OOM (#119)

4.0.0

17 Apr 14:58

Choose a tag to compare

Unified tiling interface

tiling and annotation-aware sampling are now a single workflow driven by one entry point:

hs2p /path/to/config.yaml

Breaking changes

  • config: tiling.sampling_params → tiling.masks (pixel_mapping, colors, min_coverage)
    • tiling.params.tissue_threshold is folded into tiling.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)
  • tar artifacts: {sample_id}.{annotation}.tiles.tar
    • collapses to {sample_id}.tiles.tar for the tissue default
  • 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

3.3.0

17 Apr 12:28

Choose a tag to compare

  • add support for AtlasPatch SAM2-based tissue segmentation (#112)
  • cosmetic changes made to tissue mask preview (#113)

3.2.1

12 Apr 14:08

Choose a tag to compare

  • minor cosmetic changes to improve stdout (#110)

3.2.0

11 Apr 12:33

Choose a tag to compare

  • renamed some key variables to improve clarity over manipulated quantities (#108)

3.1.5

11 Apr 11:21

Choose a tag to compare

  • continue effort to suppress annoying cufile-related logging when using cucim backend (#105, #106)

3.1.4

08 Apr 22:28

Choose a tag to compare

  • clean up cuda-related cufile logging (#103)

3.1.3

07 Apr 23:11

Choose a tag to compare

  • parallelise tiling preview generation (#101)

3.1.2

04 Apr 16:28

Choose a tag to compare

  • pin wholeslidedata version to 0.0.15 (#98)
  • skip writing empty coordinates .npz files for slides without tiles (#99)

3.1.1

01 Apr 20:23

Choose a tag to compare

  • add num_tiles to TilingResult (#96)