getShortestDist: getShortestDist gives a 2d matrix where the ij entry is the...

Description Usage Arguments Value Examples

Description

getShortestDist gives a 2d matrix where the ij entry is the shortest distance from that point and depth to the plane given by the parameters a b and c

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 2d matrix containing the shortest distances

Examples

1
2
dists <- getShortestDist(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.