Percentage of a cell's area needed within an annotation to be counted

Hi,

I was wondering if anyone knew what percentage of a cell’s area needs to be within the area of interest to be counted by QuPath?

I have run a cell detection for the whole tissue, but now want to count cells in smaller annotated regions. I’m trying to figure out what happens if cell sits on the border of the annotation region I’m looking at. From observations I think about a 1/3rd of the area needs to be in the annotation to be counted, but it would be great to know for sure.

Thanks!

1 Like

The centroid of any detection object is the only thing that matters. Note that the centroid is weighted, not the center of the bounding box.

2 Likes