getgaussiankernelcv
Gets Gaussian kernel coefficiants.
Syntax
R = getgaussiankernelcv(size, sigma)
R = getgaussiankernelcv(size, sigma, type)
Inputs
- size
- Aperture size. Must be odd and positive.
- sigma
- Gaussian standard deviation.
- type
- Optional filter coefficient with values of 5 or 6 (default).
Outputs
- R
- Gaussian kernel.
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