Nucleus expansion in Qupath

Hi Qupathers,
In cell detection there is a cell expansion but not a nucleus expansion, is there any way of expanding the nucleus?
This would be useful when investigating compartment staining as sometimes there is bleed from the nuclear compartment into the cytoplasm and expanding the nucleus would help.
Thanks,
Alan

Not directly, detections are not really meant to be malleable, which is part of why QuPath can handle millions of them (system dependent). If you dig into the coding, you could use things like JTS (Java topology suite) to expand the ROI used to make the nucleus detection and delete the old nucleus. You would also then need to rebuild the cell if you had a cytoplasm.

It might be simpler to reduce your threshold, if you can. If you can’t due to imaging conditions, it also might be better to alter the imaging conditions to reduce background.

1 Like