imaqCopyCalibrationInfo2

NI Vision for LabWindows/CVI Function

imaqCopyCalibrationInfo2

Usage

int imaqCopyCalibrationInfo2(Image* dest, Image* source, Point offset);

Purpose

Copies calibration information from a calibrated image to an uncalibrated image. Both images must be the same size.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_U16, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL

Parameters

Name

Type

Description

dest Image* The image whose calibration information the function sets.
source Image* The calibrated image that contains the calibration information the function copies to the destination image.
offset Point The offset of dest within source.

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