该函数比较简单,转载自Faster R-CNN代码,作者Pedro Felzenszwalb, Ross Girshick。
functiono = boxoverlap(a, b)% Compute the symmetric intersection over union overlap between a set of% bounding boxes in a and a single bounding box in b.%% a a matrix where each row specifies a bounding box% b a matrix where each row specifi