patho-pix is a Python package designed to automate preprocessing of digital pathology images, leveraging existing processing frameworks into a modular pipeline. This package uses raw whole-slide-images (WSIs) and corresponding labels to preprocess the WSIs, It organizes and cleans up the input data into ready-to-use tiles and metadata, ensuring high-quality data for downstream machine learning analysis. Patho-pix integrates several key steps, including extraction of tissue regions ommiting background, tiling of the WSI, color normalization, artifact detection and removal and exportation of the tiles and metadata.
To use patho pix you need to manually install the OpenSlide C-library as a dependency.
brew install openslide
.openslide-tools
If you want to support the patho-pix project please take a look at the CONTRIBUTING guide.
You can use the provided Dev Container to quick start your development process of the patho pix project. Install Docker Desktop
and VS Code Extension Dev Containers.