imaqXorConstant

NI Vision for LabWindows/CVI Function

imaqXorConstant

Usage

int imaqXorConstant(Image* dest, const Image* source, PixelValue value);

Purpose

Performs a bitwise XOR between an image and a constant.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL

Parameters

Name

Type

Description

dest Image* The destination image.
source const Image* The source image.
value PixelValue The value to XOR with the source image. Set the member of value that corresponds to the image type.

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().