getPlane: getPlane gets the fitted coefficients for the entire image

Description Usage Arguments Value Examples

Description

Do a multiple regression on the depth values of the basis functions and return the coefficients a, b, and c

Usage

1

Arguments

image

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

Value

A data frame with 3 elements. The "a", "b", and "c" components are the parameters of the plane which takes the form z = a + bx + cy

Examples

1
coeffs <- getPlane(matrix(c(1,2,3,4), nrow = 2))

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