Skip to content

Slide2Patch is an open-source digital pathology toolkit that converts KFB slides to SVS, extracts ROIs using annotations, and subdivides them into analysis-ready patches.

License

Notifications You must be signed in to change notification settings

asdfghjkl265951/Slide2Patch

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Slide2Patch ๐Ÿ”ฌ๐Ÿ–ผ๏ธ

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.


Overview ๐Ÿš€

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.


Features ๐Ÿ”ง

  • 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.


Installation ๐Ÿ“ฆ

  1. 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 included KFbioConverter.exe tool.
  2. Install OpenSlide:

    • Download the appropriate OpenSlide binary from OpenSlide Downloads.
    • Install the Python bindings by running:
      pip install openslide-python

About

Slide2Patch is an open-source digital pathology toolkit that converts KFB slides to SVS, extracts ROIs using annotations, and subdivides them into analysis-ready patches.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%