M-File Help: homwarp | View code for homwarp |
Warp image by an homography
out = homwarp(H, im, options) is a warp of the image im obtained by applying the homography H to the coordinates of every input pixel.
[out,offs] = homwarp(H, im, options) as above but offs is the offset of the warped tile out with respect to the origin of im.
'full' | output image contains all the warped pixels, but its position with respect to the input image is given by the second return value OFFS. |
'extrapval', V | set unmapped pixels to this value (default NaN) |
'roi', R | output image contains the specified ROI in the input image |
'scale', S | scale the output by this factor |
'dimension', D | ensure output image is DxD |
'size', S | size of output image S=[W,H] |
'coords', {U,V} | coordinate matrices for im, each same size as im. |
© 1990-2012 Peter Corke.