fitBasis: Fit basis functions

Description Usage Arguments Value Examples

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/cartridges documentation built on June 1, 2019, 2:58 p.m.