getNewDepths: getNewDepths gives a 2d array of adjusted depth values

Description Usage Arguments Value

Description

getNewDepths gives a 2d array of adjusted depth values

Usage

1
getNewDepths(image, newDom, plane, P)

Arguments

image

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

newDom

is a data.frame where the first column ($newCoordi) are the new i coords, and the second column ($newCoordj) contains the new j coords

plane

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

P

is the 2d matrix containing shortest distances from each point to plane

Value

a 2d matrix with the updated depth values


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