Abstract
High-resolution histology images are indispensable for pathology and increasingly serve as the structural backbone for spatial omics. Yet whole-slide images (WSIs) frequently contain artifacts, acellular voids, and background regions that, when included in computational workflows, introduce noise, degrade model accuracy, and compromise biological interpretation. Existing tools provide only coarse foreground-background separation, leaving a gap in fine-grained quality control (QC). Here we present HistoSweep, a scalable framework that generates morphology-aware tissue masks at cellular resolution. By integrating density filtering, texture descriptors, and adaptive thresholding, HistoSweep systematically removes non-informative tissue regions while preserving biologically meaningful microstructures. It processes billion-pixel WSIs in minutes on standard CPUs, requiring no GPU acceleration, and is deployable across research and clinical settings. Across 25 WSIs spanning distinct tissues, disease states, and spatial omics platforms, HistoSweep consistently outperformed existing methods. It enhanced visualization and segmentation, improved virtual cell type predictions, and safeguarded spatial transcriptomics integrity by detecting transcript leakage and transcript-histology misalignment. By enabling fine-grained, scalable QC, HistoSweep provides a foundational preprocessing step for reliable and reproducible digital pathology and spatial omics analyses.
Full text
1,874 characters
· extracted from
oa-doi-fallback
· click to expand
Abstract
High-resolution histology images are indispensable for pathology and increasingly serve as the structural backbone for spatial omics. Yet whole-slide images (WSIs) frequently contain artifacts, acellular voids, and background regions that, when included in computational workflows, introduce noise, degrade model accuracy, and compromise biological interpretation. Existing tools provide only coarse foreground-background separation, leaving a gap in fine-grained quality control (QC). Here we present HistoSweep, a scalable framework that generates morphology-aware tissue masks at cellular resolution. By integrating density filtering, texture descriptors, and adaptive thresholding, HistoSweep systematically removes non-informative tissue regions while preserving biologically meaningful microstructures. It processes billion-pixel WSIs in minutes on standard CPUs, requiring no GPU acceleration, and is deployable across research and clinical settings. Across 25 WSIs spanning distinct tissues, disease states, and spatial omics platforms, HistoSweep consistently outperformed existing methods. It enhanced visualization and segmentation, improved virtual cell type predictions, and safeguarded spatial transcriptomics integrity by detecting transcript leakage and transcript-histology misalignment. By enabling fine-grained, scalable QC, HistoSweep provides a foundational preprocessing step for reliable and reproducible digital pathology and spatial omics analyses.
Competing Interest Statement
M.L. receives research funding from Biogen Inc. unrelated to the current manuscript. M.L. is a co-founder of OmicPath AI LLC. T.H.H. is a co-founder of Kure.ai therapeutics, and has received consulting fees from IQVIA; these affiliations and financial compensations are unrelated to the current manuscript. Other authors declare no competing financial interests.
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.