imaqCopyCalibrationInfo

NI Vision for LabWindows/CVI Function

imaqCopyCalibrationInfo

Usage

int imaqCopyCalibrationInfo(Image* dest, const Image* source);

Purpose

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

Note   This function is obsolete. The replacement function is imaqCopyCalibrationInfo2().

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_U16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL

Parameters

Name

Type

Description

dest Image* The image whose calibration information the function sets.
source const Image* The calibrated image that contains the calibration information the function copies to the destination image.

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