scallops.segmentation.util.area_overlap

scallops.segmentation.util.area_overlap(x, y)

Find labels in y that overlap with labels in x.

Parameters:
  • x (Array) – Reference labels, typically nuclei

  • y (Array) – Query labels, typically cells

Returns:

Dask dataframe with the columns “x”, “y”, “area”, and “overlap”

Return type:

DataFrame