QuPath H-DAB Project
  • ๐Ÿ“ŠQuPath guide for H-DAB Cell Counting Docs
  • ๐Ÿ’กPipeline
    • ๐Ÿ’กSimple Pipeline
  • Fundamentals
    • ๐Ÿ› ๏ธGetting Set Up
  • QuPath H-Dab Docs
    • ๐Ÿ’กQuPath H-DAB Tutorial
      • Creating and Opening of Projects
      • Estimating Stain Vectors
      • Training Image Creation
      • Cell Detection
      • Object Classifier
      • Tissue Detection
        • 1๏ธโƒฃAutomatic General Tissue Detection
        • 2๏ธโƒฃManual Specific Tissue Detection
    • ๐ŸงพQuPath Script
      • Batch Processing
    • ๐Ÿ“‚Output
  • Result Analysis Docs
    • ๐Ÿ’กProcessing Package Tutorial
      • Addition Information for Python insiders
      • In-Depth Python usage
    • ๐Ÿ—„๏ธFinal Spreadsheet creation
    • ๐Ÿ†˜Out-of-memory error
  • non-expert docs
    • ๐Ÿ”ŽQuPath Installation
    • ๐Ÿ’ปGit Bash Installation
    • ๐Ÿ–ฅ๏ธPython Installation & Packages
    • Git Bash installation
Powered by GitBook
On this page
  • Step 1: Opening Scans in QuPath
  • Step 2: Train object classifier
  • Step 3: Running QuPath script locally
  • Step 4: Collect the results file
  • Step 5: Move the Inventory file to the same directory
  • Step 6: Call ProcessScan Class in the directory
  • Step 7: Create a final spreadsheet merging everything
  1. Pipeline

Simple Pipeline

This step-by-step tutorial is meant to implement the most basic pipeline for using both QuPath and Python to process Image Detection.

PreviousQuPath guide for H-DAB Cell Counting DocsNextGetting Set Up

Last updated 9 months ago

The page explains what and how to download everything needed in this tutorial.

The prewritten QuPath script that will be downloaded at the end of the tutorial needs information that's specific to your slides. Therefore we start by creating a project in QuPath and creating an object classifier, that distinguishes between immuno-positive and negative cells. To show the script where it needs to detect and classify the cells either a manual region detection or an automatic threshold can be chosen.

Afterward, the project-specific parts get integrated into the code and we can run a batch analysis on hundreds of slides. The results get processed by a Python script that you can locally run, resulting in a spreadsheet containing the positivity rate for each slide.

Step 1:

Step 2:

Step 3:

Step 4:

Step 5:

Step 6:

Step 7:

Opening Scans in QuPath
Train object classifier
Running QuPath script locally
Collect the results file
Move the Inventory file to the same directory
Call ProcessScan Class in the directory
Create a final spreadsheet merging everything
๐Ÿ’ก
๐Ÿ’ก
Getting Set Up
Pipeline of the Project. As a first step, all the H-DAB stained slides need to be slide scanned and stored in a Folder. In QuPath a project will be created as a final step and Object classifier gets trained recognising detected objects as positive cells, negative cells, or no cell artifacts. With git bash a prewritten Python script gets called resulting in an outcome sheet linking the ID_Slidescanning with the ID_Sample and providing us with the positivity rate of each sample. With the merger, the donor information gets linked with the positivity rate resulting in a final Excel spreadsheet.
Page cover image