Towards Pathology-Aware Evaluation and Scalable Preprocessing for Virtual Staining

dc.contributor.authorWang, Qiankai
dc.date.accessioned2025-08-20T17:41:11Z
dc.date.available2025-08-20T17:41:11Z
dc.date.issued2025-08-20
dc.date.submitted2025-08-12
dc.description.abstractVirtual staining has emerged as a promising alternative to traditional histological staining techniques, offering reagent-free, non-destructive generation of diagnostic-quality images from label-free modalities. However, two critical challenges hinder its broader adoption: the lack of domain-specific evaluation metrics and the inefficiency of large-scale whole slide image (WSI) preprocessing. Conventional image quality metrics such as SSIM and LPIPS fail to capture the diagnostic relevance of histological structures, while most WSI slicing tools are not optimized for high-throughput virtual staining pipelines. This thesis addresses both challenges. First, we develop a multi-threaded WSI slicing framework tailored for OME-TIFF images, enabling scalable and efficient patch extraction with tile-aware indexing, thread-safe file I/O, and optional in-memory caching. Our method achieves a 6–10× speedup over traditional serial approaches while maintaining minimal memory overhead. Second, we propose PaPIS (Pathological Perceptual Image Similarity), a full-reference, pathology-aware image quality metric. PaPIS leverages deep features extracted from a pretrained cell morphology segmentation model and incorporates Retinex-based feature decomposition to evaluate structural and perceptual fidelity from a diagnostic perspective. Experimental results show that PaPIS correlates better with histological quality than traditional metrics. Finally, we integrate PaPIS as a perceptual loss in a modified CycleGAN model for virtual staining, demonstrating improved visual realism and pathology alignment in both patch-wise and whole-slide outputs. Together, our contributions provide a robust foundation for scalable, pathology-aware virtual staining pipelines.
dc.identifier.urihttps://hdl.handle.net/10012/22213
dc.language.isoen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.titleTowards Pathology-Aware Evaluation and Scalable Preprocessing for Virtual Staining
dc.typeMaster Thesis
uws-etd.degreeMaster of Applied Science
uws-etd.degree.departmentSystems Design Engineering
uws-etd.degree.disciplineSystem Design Engineering
uws-etd.degree.grantorUniversity of Waterlooen
uws-etd.embargo.terms4 months
uws.contributor.advisorHaji Reza, Parsin
uws.contributor.advisorLayton, Anita
uws.contributor.affiliation1Faculty of Engineering
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Wang_Qiankai.pdf
Size:
40.46 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
6.4 KB
Format:
Item-specific license agreed upon to submission
Description: