bilrot: bilrot takes an image and rotates it by theta using bilinear...

Description Usage Arguments Value Examples

Description

bilrot takes an image and rotates it by theta using bilinear interpolation to fill in the gaps.

Usage

1
bilrot(theta, image)

Arguments

theta

is the angle by which you want to rotate (in degrees)

image

is the 2D array of depth values

Value

a 2d matrix with the updated depth values

Examples

1
rotImage <- bilrot(45, matrix(c(1,2,3,4), nrow = 2))

DanielXiang/3Dbullets documentation built on May 6, 2019, 1:36 p.m.