getBasisFunctions: Get ij coordinates for circularly symmetric basis functions

Description Usage Arguments Value Examples

Description

A circularly symmetric image has the same pixel values for pixels that are the same distance from the center. A circularly symmetric basis spans the space of circularly symmetric matrices. Each matrix in the basis takes the value 1 for pixels that are the same distance from the center, and zero otherwise. Basis are enumerated from center outwards. Functions that take an ij coordinate as an input and return the value 0 or 1 are termed circularly symmetric basis functions.

Usage

1
getBasisFunctions(dimension)

Arguments

dimension

size of image (dimension x dimension), where dimension is odd

Value

A list with length = number of basis functions for an image of size dimension x dimension. Each list item is a matrix whose rows are the ij coordinates of pixels in each basis function, and i2j2 is the square of the distance from the center of the pixels in each basis.

Examples

1
basis3 <- getBasisFunctions(3)

xhtai/cartridges documentation built on June 1, 2019, 2:58 p.m.