Function File: outbnd = findbounds (T, inbnd)

Estimate bounds for spatial transformation.

Given a transformation structure T (see e.g. maketform) and bounds inbnd (2-by-ndims_in) in an input space, returns an estimation of the bounds in the output space outbnd (2-by-ndims_out). For instance two dimensionnal bounds could be represented as : [xmin ymin; xmax ymax]. If T does not define a forward transform (i.e. for ’polynomial’), the output bounds are infered using fsolve and the inverse transform.

See also: maketform, cp2tform, tformfwd.

Package: image