I detected objects within cells. Now I want to calculate the ratio between the occupied area (object) and the occupied area (cell) on a per cell basis.
The problem so far is, that I can either use the ImageAreaOccupied or the AreaShape function, but both do not work.
this gives me the area that shows intensity for a whole image. I need the area(intensity) per cell.
Here I wanted to compare the AreaShape feature 1 (=area) from the objects and the cell. The problem occurs, because I have multiple objects per cell.
My workaround: I unified the objects within the cell.
Drawback: I cannot tell CP to unify all “children” of a cell. I can only unify everything in a certain distance, which does not work most of the time.
Is there a way to incorporate “Unify all children” in the Unify module?
Would there be another way to work around this?