Compute bounding box overlap ratio
returns
the overlap ratio between each pair of bounding boxes overlapRatio
= bboxOverlapRatio(bboxA
,bboxB
)bboxA
and bboxB
.
The function returns the overlapRatio
value between 0
and 1
,
where 1
implies a perfect overlap.
additionally lets you specify the method to use for computing the ratio. You must
set the overlapRatio
= bboxOverlapRatio(bboxA
,bboxB
,ratioType
)ratioType
to either 'Union'
or
'Min'
.