getNewDomain: getNewDomain gives a vector where the ith row has the new i...

Description Usage Arguments Value Examples

Description

getNewDomain gives a vector where the ith row has the new i and j coordinates

Usage

1

Arguments

image

is a 2d matrix with depth values representing the 3d image

plane

is data.frame containing a b and c where z = a + bx + cy

Value

a data.frame with two columns, the first being a mapping from 1:size(image) to the new i coordinate domain, the second being a mapping from 1:size(image) to the new j coordinate domain

(ignore above return) a 2d matrix where the ijth entry is the new ij coordinate

Examples

1
2
newDom <- getNewDomain(matrix(c(1,2,3,4), nrow = 2),
data.frame(a = 141.8, b = .0584, c = -0.0146))

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