imaqMin

NI Vision for LabWindows/CVI Function

imaqMin

Usage

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

Purpose

Copies the smaller pixel value of the two sources into the destination for each pixel.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL

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