footprint_intersect#
- scarlet2.detect.footprint_intersect(footprint1, box1, footprint2, box2)[source]#
Check whether two footprint masks overlap.
- Parameters:
footprint1 (
ndarrayofbool) – The boolean masks for the two footprints, each sized to its own bounding box.footprint2 (
ndarrayofbool) – The boolean masks for the two footprints, each sized to its own bounding box.box1 (
Box) – The corresponding bounding boxes.box2 (
Box) – The corresponding bounding boxes.
- Returns:
overlap
- Return type:
bool