Slide2Patch is an open-source toolkit designed for beginners in digital pathology. It converts KFB slides to the widely used SVS format, extracts Regions of Interest (ROIs) using annotation data, and subdivides them into smaller patches for detailed analysis.
Digital pathology often requires processing large, high-resolution slides. Slide2Patch simplifies this process by:
- Converting proprietary KFB slides to the standard SVS format.
- Segmenting SVS images based on annotation data to extract precise ROIs.
- Dividing each ROI into smaller patches suitable for machine learning, diagnostics, or further image analysis.
Whether you're a researcher, clinician, or developer, Slide2Patch streamlines your workflow from raw slide data to actionable image patches.
-
KFB to SVS Conversion
Convert high-resolution KFB slides to the widely-used SVS format with ease. -
ROI Extraction
Automatically segment SVS images using provided annotations to extract Regions of Interest. -
Patch Generation
Further divide extracted ROIs into smaller patches for scalable analysis.
-
Download and Setup KFB Conversion Tool:
- Visit kfb2svs Releases and download the latest kfb2svs package.
- Extract the downloaded package. The
kfb2svs_converter.py
script requires the includedKFbioConverter.exe
tool.
-
Install OpenSlide:
- Download the appropriate OpenSlide binary from OpenSlide Downloads.
- Install the Python bindings by running:
pip install openslide-python