imaqXor

NI Vision for LabWindows/CVI Function

imaqXor

Usage

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

Purpose

Computes a bitwise XOR 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().