M-File Help: ibbox | View code for 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.
© 1990-2012 Peter Corke.