imaqAnd

NI Vision for LabWindows/CVI Function

imaqAnd

Usage

int imaqAnd(Image* dest, const Image* sourceA, const Image* sourceB);

Purpose

Computes a bitwise AND between two images.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL

Parameters

Name

Type

Description

dest Image* The destination image.
sourceA const Image* The first source image.
sourceB const Image* The second source image, which must be the same type of image as sourceA.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().