CxConjugate Method

NI Vision for Visual Basic

CxConjugate Method

Syntax

CWIMAQVision.CxConjugate SourceImage, DestImage

Return Type

Long

On success, this method returns 0. On failure, this method returns a negative number.

Purpose

Computes the conjugate of a complex image, converting the complex pixel data (z = a + ib) into (z = a - ib).

Remarks

SourceImage and DestImage must be Complex images.

Parameters

SourceImage As CWIMAQImage

The source image.

DestImage As CWIMAQImage

The resulting image.

Example

Dim i As New CWIMAQImage

' Make i a Complex image
i.Type = cwimaqImageTypeComplex

' Complete the conjugate of the Complex image in Viewer1.
' Store the result in i.
CWIMAQVision1.CxConjugate CWIMAQViewer1.Image, i