getNewDepthsApprox: getNewDepthsApprox gives a 2d array of adjusted depth values...

Description Usage Arguments Value Examples

Description

getNewDepthsApprox gives a 2d array of adjusted depth values where the new best fit plane is a level plane

Usage

1

Arguments

image

is the original 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 2d matrix with the updated depth values

Examples

1
2
3
getNewDepthsApprox <-
getNewDepthsApprox(matrix(c(1,2,3,4), nrow = 2),
data.frame(a = 1, b = 2, c = 3))

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