ibbox

Find bounding box

box = ibbox(p) is the minimal bounding box that contains the points described by the columns of p (2xN).

box = ibbox(im) as above but the box minimally contains the non-zero pixels in the image im.

Notes


Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.