Hi Qupath Users,
I am doing a cell detection but my slides have variable intensity of hematoxylin. I have noted a threshold value called “T” for cell detection in the metadata of each image. I would like to use that value, add 0.035 to the value then use that as the threshold for a cell detection. Sorry I don’t know the syntax but the the script will be something like:
x double = getMetadata(T);
y double = 0.035;
z double = x+y;
runPlugin(‘qupath.imagej.detect.cells.WatershedCellDetection’…“threshold”: z, “maxBackground”: 2.0,…;
I’d really appreciate it if someone could help me write this correctly.