interpolate.image: Interpolate values in image

Description Usage Arguments Value Author(s)

View source: R/misc.R

Description

Interpolate values in image

Usage

1
interpolate.image(im, P, invert.y = FALSE)

Arguments

im

image to interpolate

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

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.