LoadKernel Method

NI Vision for Visual Basic

LoadKernel Method

Syntax

CWIMAQKernel.LoadKernel Family, Size, KernelNumber

Return Type

Long

On success, this method returns 0. On failure, this method returns a negative number.

Purpose

Loads a predefined matrix into the CWIMAQKernel object.

Parameters

Family As CWIMAQKernelFamilies

Family of the new kernel matrix.

Size As Long

Size of the new kernel matrix.

KernelNumber As Long

Number of the new kernel matrix.