CWIMAQImage

NI Vision for Visual Basic

CWIMAQImage

CWIMAQImage represents image data and properties that you can configure on a per image basis.

Properties

BitDepthBit depth of the image.
BorderWidthWidth, in pixels, of the border created around an image. The default value is 2.
HasAnyVisionInfoBoolean that indicates if there is extra vision information associated with the image.
HasCustomDataBoolean that indicates if there is any custom data associated with the image.
HasOverlayBoolean that indicates if there is any overlay information associated with the image.
HeightHeight of the image in pixels.
IsCalibratedBoolean that indicates if any calibration information is associated with the image.
IsClearBoolean that indicates if the image is clear. True indicates that all the image pixels are 0.
IsColorTemplateBoolean that indicates if the image is a color template.
IsGeometricTemplateBoolean that indicates if the image is a geometric template.
IsGoldenTemplateBoolean that indicates if the image is a golden template.
IsGrayscaleTemplateBoolean that indicates if the image is a grayscale template.
IsTemplateBoolean that indicates if any pattern matching template information is associated with the image.
MaskOffsetOffset of the mask image if CWIMAQImage is a mask image.
MaskOffsetXObsolete—Use MaskOffset instead.

X-offset of the mask image if CWIMAQImage is a mask image.
MaskOffsetYObsolete—Use MaskOffset instead.

Y-offset of the mask image if CWIMAQImage is a mask image.
OverlaysCollection of CWIMAQOverlay objects that are associated with the image. Presently, there is only one overlay per collection. Each overlay can contain multiple items.
SkipCountSkip count of an image in an acquisition.
TypePixel type of the image.
WidthWidth of the image in pixels.

Methods

ArrayToImageCreates an image from an array.
ImageToArrayExtracts a pixel array from an image.
RemoveVisionInfoRemoves the specified vision information types from an image.
SetSizeSets the size of an image.