BorderWidth Property

NI Vision for Visual Basic

BorderWidth Property

Syntax

CWIMAQImage.BorderWidth

Data Type

Long

Purpose

Width, in pixels, of the border created around an image. The default value is 2.

Remarks

Only specific NI Vision functions related to morphology or filtering use border information. Unless you use 7x7 or larger morphology or convolution processes, a border size of 2 is sufficient for all NI Vision functions. Because an even pixel border optimizes transfer time, use an even number border for real-time acquisitions.