getgaussiankernelcv

Gets Gaussian kernel coefficiants.

Syntax

R = getgaussiankernelcv(size, sigma)

R = getgaussiankernelcv(size, sigma, type)

Inputs

size
Aperture size. Must be odd and positive.
Type: integer
sigma
Gaussian standard deviation.
Type: scalar
type
Optional filter coefficient with values of 5 or 6 (default).
Type: integer

Outputs

R
Gaussian kernel.
Type: matrix

Example

Create a Gaussian kernel of a specified size:
R = getgaussiankernelcv(3, 0.5)
R = [Matrix] 3 x 1
0.10651
0.78699
0.10651