Non-Maxima Suppression for Oriented Bounding Boxes

Used to suppress non-maxima in the case of overlapping Oriented Bounding Boxes (OBB)
574 Downloads
Updated 10 Oct 2012

View License

The function "nms_oriented_rectangles" can be used to merge many overlapping oriented bounding boxes into one based on a score. This method uses separating axis theorem for overlap detection.
Note: This implementation is based on the XY co-ord system, and not based on the row*column matrix indexing system of Matlab. So make sure to convert the vertices to XY co-ord system before invoking this function from MATLAB. For eg. if you are using this in image processing, the pixels of the imgae would be named by (a,b) where a is the row number and b is the column number. Convert this to XY co-ordinate system by shifting the origin.

Mail me

Cite As

Vignesh Ramkrishnan (2026). Non-Maxima Suppression for Oriented Bounding Boxes (https://www.mathworks.com/matlabcentral/fileexchange/38548-non-maxima-suppression-for-oriented-bounding-boxes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0