Kernels

NI Vision for LabWindows/CVI Function

Kernels

A kernel is a structure that represents a pixel and its relationship to its neighbors.

Predefined Gradient Kernels

Prewitt Filters

Prewitt filters have the following kernels. The notations West (W), South (S), East (E), and North (N) indicate which edges of bright regions they outline.

Sobel Filters

The Sobel filters are similar to the Prewitt filters, except they highlight light intensity variations along a particular axis that is assigned a stronger weight. The Sobel filters have the following kernels.

The following table lists the predefined gradient 5 x 5 kernels.

The following table lists the predefined gradient 7 x 7 kernels.

Predefined Laplacian Kernels

The following tables list the predefined Laplacian kernels.

Laplacian 3 x 3

Laplacian 5 x 5

Laplacian 7 x 7

Predefined Smoothing Kernels

The following tables list the predefined smoothing kernels.

Smoothing 3 x 3

Smoothing 5 x 5

Smoothing 7 x 7

Predefined Gaussian Kernels

The following tables list the predefined Gaussian kernels.

Gaussian 3 x 3

Gaussian 5 x 5

Gaussian 7 x 7