Detected Bounding Boxes comparison function bboxesCompare
The function compares Images/objects using bounding boxes and gets a ratio/confusion matrix.
Usually used in stereo images to help finding corresponding objects in both left and right stereo images.
Using the output confidence ratio matrix we can determine how the objects detected in the images, using the given bounding boxes, we can understand which object corresponds to which.
Very useful in stereo image triangulation to triangulate respective objects in both images.
confidenceratio = bboxesCompare(bbox1, bbox2, I1, I2, 'methodUsedForComparing', 'methodUsedForSampleDimensions')
methodUsedForComparing = 'ssim'(default),'psnr','immse,'corr2'
methodUsedForSampleDimensions = 'min'(default), 'maxmin', 'maxrescale', 'rescale'
Cite As
Stalin Sabu Thomas (2025). Detected Bounding Boxes comparison function bboxesCompare (https://www.mathworks.com/matlabcentral/fileexchange/69204-detected-bounding-boxes-comparison-function-bboxescompare), MATLAB Central File Exchange. Retrieved .
https://in.mathworks.com/help/vision/ref/triangulate.html
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.