Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Image Filtering » cvGetGaussianKernel

cvGetGaussianKernel


Module: OpenCV

Returns Gaussian filter coefficients.

Applications

Prepares matrix to be used with cvSepFilter2D or cvFilter2D.
Name Type Range Description
Input value inKSize Integer 1 - Aperture size. It should be odd and positive.
Input value inSigma Real Gaussian standard deviation. If it is non-positive, it is computed from ksize.
Output value outKernel Matrix Output Gaussian coefficients.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inKSize must be odd in cvGetGaussianKernel.

Complexity Level

This filter is available on Basic Complexity Level.