Dear Qupath users,
I am a fairly new Qupath user and I would like to calculate the proportion of stroma/epithelium in a given area of annotated tissue (prostate biopsy in particular) and also identify immune cells (lymphocytes) and express them as a density (cells/mm2) in stromal and epithelial areas.
I am beginning with benign tissue but would like to move on to tumour-containing tissues as well down the line. I am also looking for an effective way to extract that data for multiple images (>500) into an Excel spreadsheet.
Unfortunately I cannot find any resources online for this. The Qupath classifier identifies individual cells and most responses are on IHC, whereas my images are H&E. Could anyone please help?
Thank you,
PS: I am attaching an H&E image where you can see the immune cells around epithelia. The "desired.png" file is an attempt on the HALO platform to quantify epithelial/stromal areas and I was hoping to get something similar on QuPath. I can post additional images if necessary!
//General tissue outline
runPlugin('qupath.imagej.detect.tissue.SimpleTissueDetection2', '{"threshold": 163, "requestedPixelSizeMicrons": 5.0, "minAreaMicrons": 100000.0, "maxHoleAreaMicrons": 5000.0, "darkBackground": false, "smoothImage": true, "medianCleanup": true, "dilateBoundaries": false, "smoothCoordinates": true, "excludeOnBoundary": false, "singleAnnotation": false}');
//Generate small pieces of tissue to classify
selectAnnotations();
runPlugin('qupath.imagej.superpixels.SLICSuperpixelsPlugin', '{"sigmaMicrons": 1.0, "spacingMicrons": 50.0, "maxIterations": 10, "regularization": 0.25, "adaptRegularization": false, "useDeconvolved": true}');
//Add measurements to each small piece
selectDetections();
runPlugin('qupath.lib.algorithms.IntensityFeaturesPlugin', '{"pixelSizeMicrons": 0.5, "region": "ROI", "tileSizeMicrons": 25.0, "colorOD": true, "colorStain1": true, "colorStain2": true, "colorStain3": false, "colorRed": false, "colorGreen": false, "colorBlue": false, "colorHue": false, "colorSaturation": false, "colorBrightness": false, "doMean": true, "doStdDev": true, "doMinMax": false, "doMedian": false, "doHaralick": true, "haralickDistance": 1, "haralickBins": 32}');
//Create a classifier, take a look at Measure->Measurement Maps to help decide what measurements will work for your problem.