N-dimensional Gaussian filter

$25

Description

Creates an image of a Gaussian with arbitrary covariance matrix. The dimensionality and size of the filter is determined by dims (eg dims=[10 10] creates a 2D filter of size 10×10).

If mu==[], it is calculated to be the center of the n-dim image. C can be a full nxn covariance matrix, or an nx1 vector of variance. In the latter case C is calculated as C=diag(C).

If C=[]; then C=(dims/6).^2, ie it is transformed into a vector of variances such that along each dimension the variance is equal to (siz/6)^2.

 

USAGE
G = filterGauss( dims, [mu], [C], [show] )

INPUTS
dims – n element vector of dimensions of final Gaussian
mu – [] n element vector specifying the mean
C – [] nxn cov matrix, nx1 set of vars, or variance
show – [0] figure to use for optional display

OUTPUTS
G – image of the created Gaussian

Steerable 2D Gaussian derivative filter

Image Denoising using Scale Mixtures of Gaussians in the Wavelet Domain

SKU: P2018F222_filter Category: