Description Usage Arguments Value Examples
Get statistics on pixel values in each basis function: mean of the pixel values (basis function coefficient), residual sum of squares using fitted coefficient, sum of pixel values.
1 | statisticsByBasisFunction(ij, image, requestedStats)
|
ij |
ij coordinates of the basis function. Input is typically one item of the list of basis functions |
image |
image that statistics are to be calculated for |
requestedStats |
vector with each element being a requested statistic,
e.g. |
A list with the requested statistics in the order provided.
1 2 3 | basis3 <- getBasisFunctions(3)
stats <- statisticsByBasisFunction(basis3[[2]],
matrix(1:9, nrow = 3), c("numPixels", "coef"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.