interpolate.image: Interpolate values in image
Description
Interpolate values in image
Usage
interpolate.image(im, P, invert.y = FALSE)
Arguments
P
N by 2 matrix of x, y values at which to interpolate. x
is in range [0, ncol(im)]
and y is in range [0, nrow(im)]
invert.y
If FALSE
(the default), the y coordinate is
zero at the top of the image. TRUE
the zero y coordinate
is at the bottom.
Value
Vector of N interpolated values