1๏ธโƒฃAutomatic General Tissue Detection

This will lead to one uniform immunopositivity rate throughout all the detected tissue within the slide.

TissueDetection thresholder
  1. Under Classify, choose pixel classification, create thresholder

    The following parameters can be adjusted:

The colour will indicate what is detected as "Region" and what needs to be "Ignored*".

Resolution

Choose the lowest that still gives you an adequate detection

Channel

Choose average channels do detect all the tissue

If interested in only hematoxylin or DAB choose adequate

Prefilter

Gaussian ; performs weighted average of surrounding pixel based on gaussian distribution (chosen in our case)

Smoothing sigma

Defines the amount of blurring

Threshold

Set threshold that it detect the tissue

In the above example it is at 250

Above threshold

Set Class Ignore*

Below threshold

Set Class Region

Region

Everywhere

Classifier name

TissueDetection

The threshold should be tested on multiple slides with different intensities to ensure optimal tissue detection for the entire batch.

  1. The classifier needs to be saved as TissueDetection to run the script.

The classifier needs to be saved with the same spelling "TissueDetection" as this is used in the script.

  1. As a next step download () the AutomaticTissueDetetion.groovy script and copy it into your project-region folder. Click Ctrl+L, open up the script editor under File, Open, open the downloaded script.

  2. Replace the SetColorDeconvolustionStains with the values from your own EstimateStainingVector values, previously saved in a script.

Script Editor, and how to run it for the whokle project
  1. Click on the three little dots in the right corner, and run the script for the whole project (with saving). The script uses your predefined thresholder, to detect the tissue and removes in another line the sample's edges, as staining often shows an edge effect.

  2. After the automatic detection is run, each slide should be checked and if necessary regions can be removed from the analysis (shown in the image below)

Tissue folds and other regions of no interest can be removed

Last updated