imaqExtractComplexPlane

NI Vision for LabWindows/CVI Function

imaqExtractComplexPlane

Usage

int imaqExtractComplexPlane(Image* dest, const Image* source, ComplexPlane plane);

Purpose

Extracts a plane from a complex image and places the plane into another image.

Image Types Supported

IMAQ_IMAGE_COMPLEX

Parameters

Name

Type

Description

dest Image* The destination image. Valid image types for dest are IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAGE_IMAGE_SLG, and IMAQ_IMAGE_COMPLEX.
source const Image* The image whose plane the function extracts.
plane ComplexPlane The plane to extract.

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