Admin Production ni-theme
Current Publication

InvDCT2D

LabWindows/CVI

InvDCT2D

Advanced Analysis Library Only

AnalysisLibErrType InvDCT2D (void *inputArray, ssize_t numberOfRows, ssize_t numberOfColumns, void *outputArray);

Purpose

Computes the two-dimensional inverse Discrete Cosine Transform (DCT) of the input signal. If inputArray represents the input matrix DCT{x}, the two-dimensional inverse DCT of inputArray is defined as follows:

whereM and N are the number of rows and the number of columns in inputArray respectively
x(m,n) is the element of the output matrix outputArray with row number m and column number n
y(u,v) is the element of the input matrix inputArray with row number u and column number v
InvDCT2D performs the following two steps to compute the two-dimensional inverse DCT:

  1. Performs a one-dimensional inverse DCT row-by-row on the input matrix.
  2. Performs a one-dimensional inverse DCT column-by-column.

Parameters

Input
Name Type Description
inputArray void * The two-dimensional input signal.
numberOfRows ssize_t The number of rows in inputArray.
numberOfColumns ssize_t The number of columns in inputArray.
Output
Name Type Description
outputArray void * The two-dimensional inverse DCT of inputArray.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.

Additional Information

Library: Advanced Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later