private
getbounds
— function
getbounds(item)
Return the spatial bounds of item
. For a 2D-image (Image{2}
)
the bounds are the 4 corners of the bounding rectangle. In general,
for an N-dimensional item, the bounds are a vector of the N^2 corners
of the N-dimensional hypercube bounding the data. In practive, use
makebounds
to construct the bounds from a tuple of side lengths.