R/utils.R
gausswin_2d.Rd
Create a two dimensional Gaussian window function stored as a matrix.
gausswin_2d(xN, yN, x0, y0, xw, yw)
number of pixels in the x dimension.
number of pixels in the y dimension.
centre of window function in the x direction in units of pixels. Note, only integer values are applied.
centre of window function in the y direction in units of pixels. Note, only integer values are applied.
the reciprocal of the standard deviation of the Gaussian window in x direction.
the reciprocal of the standard deviation of the Gaussian window in y direction.
matrix with dimensions fov_yN x fov_xN.