Legacy modules (to be deprecated)¶
These modules come from pyHisto 1.0 and are kept for the existing collagen pipeline. They will be deprecated for one release and then removed (see the roadmap).
Use OME-Zarr ingestion instead
- Ingestion is via tanoa → OME-Zarr now. Open slides with
histo.open_slide. - The legacy CZI readers return BGR.
czi_read,czi_dask_readandstream_czi_to_ome_zarrreturn Zeiss Bgr24 data in stored (B, G, R) order, and the legacy pipeline treated it as RGB with QuPath RGB stain vectors. This channel-order defect is why they are being deprecated; do not use them for new analyses. - These modules import heavy dependencies (histomicstk, geopandas, rasterio, pyvips, bioio) when imported.
| Module | Content |
|---|---|
pyHisto.io |
CZI / TIFF readers, CZI → OME-Zarr streaming, OME-Zarr and pyramidal OME-TIFF writers |
pyHisto.decon |
Tiled histomicstk colour deconvolution |
pyHisto.zarr_pipeline |
Chunked deconvolution + multi-Otsu collagen segmentation over OME-Zarr |
pyHisto.utils |
Tissue masks, GeoJSON masks, tiled resize, logging |
pyHisto.plot |
Matplotlib helpers (scale bar, RGB histogram) |