Home

About ValidPath

The Whole Slide Image Processing and Machine Learning Performance Assessment Tool is a software program written in Python for analyzing whole slide images (WSIs), assisting pathologists in the assessment of machine learning (ML) results, and assessment of ML performance. The tool currently contains three modules that accept WSIs to generate image patches for AI/ML models, accept image patches (e.g., ML detected ROIs) to generate an Aperio ImageScope annotation file for validation of ML model results by pathologists, and accept outputs of ML models to generate performance results and their confidence intervals.

The Whole Slide Image Processing and Performance Assessment Tool code has been used in the following publications:

  • Kahaki, Seyed, et al. “Weakly supervised deep learning for predicting the response to hormonal treatment of women with atypical endometrial hyperplasia: a feasibility study.” Medical Imaging 2023: Digital and Computational Pathology. Vol. 12471. SPIE, 2023.

  • Kahaki, Seyed, et al. “Supervised deep learning model for ROI detection of atypical endometrial hyperplasia and endometrial cancer on histopathology whole slide images for predicting hormonal treatment response.” Medical Imaging 2024: Digital and Computational Pathology.

  • Kahaki, Seyed, et al. “End-to-End Deep Learning Method for Predicting Hormonal Treatment Response in Women with Atypical Endometrial Hyperplasia or Endometrial Cancer.” Journal of Medical Imaging, Journal of Medical Imaging, Under Review

  • Mariia Sidulova, et al. “Contextual unsupervised deep clustering of digital pathology dataset”, Submitted to ISBI 2024

Modules

There are several modules in this package including:

  1. WSI handler: includes functions and classes for general WSI analysis such as read whole slide images, tissue segmentation, and normalization.

  2. Annotation Extraction: this module includes several functions for processing annotations such as annotation extraction.

  3. Patch Extraction: which assist pathologist and developers in extracting image patches from whole slide images region of interest.

  4. Aperio ImageScope Annotation File Generator: to enable pathologist validation of the AI/ML results.

  5. Performance Assessment: to assess the performance of ML models in classification tasks.

To see a demo of the functions in this toolbox, please refer to the Jupyter Notebooks files in the root folder of this package.

Indices and tables