fitBasis: Fit basis functions

Description Usage Arguments Value Examples

View source: R/step3_removeCircular3D.R

Description

Fit basis functions to a centered image.

Usage

1
fitBasis(image, basis)

Arguments

image

centered image. Image has to be square.

basis

list of basis functions of the appropriate dimension, such as those produced by getBasisFunctions().

Value

A data frame with the number of pixels in each basis function, basis function coefficient and residual sum of squares for each basis function.

Examples

1
2
basis3 <- getBasisFunctions(3)
sampleBasis <- fitBasis(matrix(1:9,nrow=3),basis3)

xhtai/cartridges3D documentation built on March 1, 2020, 8:57 p.m.