Accurate IoU computation for rotated bounding boxes in $${\mathbb {R}}^2$$ and $${\mathbb {R}}^3$$
0202 electrical engineering, electronic engineering, information engineering
02 engineering and technology
DOI:
10.1007/s00138-021-01238-x
Publication Date:
2021-09-04T09:02:56Z
AUTHORS (1)
ABSTRACT
In object detection, the Intersection over Union ( $${\mathrm{IoU}}$$ ) is the most popular criterion used to validate the performance of an object detector on the testing object dataset, or to compare the performances of various object detectors on a common object dataset. The calculation of this criterion requires the determination of the overlapping area between two bounding boxes. If these latter are axis-aligned (or horizontal), then the exact calculation of their overlapping area is simple. But if these bounding boxes are rotated (or oriented), then the exact calculation of their overlapping area is laborious. Many rotated objects detectors have been developed using heuristics to approximate $${\mathrm{IoU}}$$ between two rotated bounding boxes. We have shown, through counterexamples, that these heuristics are not efficient in the sense that they can lead to false positive or false negative detection, which can bias the performance of comparative studies between object detectors. In this paper, we develop a method to calculate exact value of $${{\mathrm{IoU}}}$$ between two rotated bounding boxes. Moreover, we present an $$(\epsilon ,\alpha )$$ -estimator $$\widehat{{\mathrm{IoU}}}$$ of $${{\mathrm{IoU}}}$$ that satisfies $${\mathbf {Pr}} (|\widehat{{\mathrm{IoU}}} -{\mathrm{IoU}}| \le {\mathrm{IoU}}\epsilon )\ge 1-\alpha $$ . We also generalize the exact computing method and the $$(\epsilon ,\alpha )$$ -estimator of $${{\mathrm{IoU}}}$$ , to three-dimensional bounding boxes. Finally, we carry out many numerical experiments in $${\mathbb {R}}^2$$ and $${\mathbb {R}}^3$$ , in order to test the exact method of calculating the $${{\mathrm{IoU}}}$$ , and to compare the efficiency of the $$(\epsilon ,\alpha )$$ -estimator with respect to heuristic estimates of $${{\mathrm{IoU}}}$$ . Numerical study shows that the $$(\epsilon ,\alpha )$$ -estimator is distinguished by both precision and simplicity of implementation, while the exact calculation method is distinguished by both precision and speed.
SUPPLEMENTAL MATERIAL
Coming soon ....
REFERENCES (34)
CITATIONS (14)
EXTERNAL LINKS
PlumX Metrics
RECOMMENDATIONS
FAIR ASSESSMENT
Coming soon ....
JUPYTER LAB
Coming soon ....