DCT2D
Advanced Analysis Library Only
AnalysisLibErrType DCT2D (void *inputArray, ssize_t numberOfRows, ssize_t numberOfColumns, void *outputArray);
Purpose
Computes the two-dimensional Discrete Cosine Transform (DCT) of a matrix inputArray, which is defined as follows:
where | M and N are the number of rows and the number of columns in inputArray respectively |
x(m,n) is the element in inputArray with row number m and column number n | |
y(u,v) is the element of outputArray with row number u and column number v |
- Performs a one-dimensional DCT row-by-row on input matrix inputArray.
- Performs a one-dimensional 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 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