How are bounding boxes defined in MATLAB?
2 views (last 30 days)
Show older comments
Swapnil Sayan Saha on 15 Dec 2019
Commented: Walter Roberson on 31 Dec 2019
I extracted bounding box positions from MATLAB's video labeller app. However, I can't seem to understand how the position is formatted. The initial bounding box position shows four numbers, while the rest show 8 numbers.
Walter Roberson on 31 Dec 2019
Side note: imcrop has an off-by-one in what it crops. If for example you give it the bounding box 1 1 5 5 then instead including only YourMatrix(1:5,1:5,:) it extracts YourMatrix(1:6,1:6,:)
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!