How to measure the percentage of one binary image occupied by another binary image?

cellprofiler

#1

I am trying to calculate the percentage of blood vessels (T18c3) covered by a mural cell marker (T18c2). I am fine getting to the point where the images are processed sufficiently (as two binary images), but when I run MeasureImageOverlap I don’t get a result “percentage A within B,” which is really what I am looking for.

Am I using the wrong module? Is there a way to determine this?

Thanks
Leon


#2

Hi, @leonsmytn.

I’m not an expert, but if I’m reading your question correctly, you’re looking for the true positive ratio from MeasureImageOverlap. If you want to use an image of the union, you can use ImageMath to create the union image and MeasureObjectSizeShape to find the area.