# InvDST2D

Advanced Analysis Library Only

AnalysisLibErrType InvDST2D (void *inputArray, int numberOfRows, int numberOfColumns, void *outputArray);

## Purpose

Computes the two-dimensional inverse Discrete Sine Transform (DST) of the input signal. If y represents the input matrix DST{x}, the two-dimensional inverse DST of y 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 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

InvDST2D performs the following two steps to compute the two-dimensional inverse DCT:

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

## Parameters

Input
Name | Type | Description
inputArray | numeric array | The two-dimensional input signal.
numberOfRows | integer | The number of rows in inputArray.
numberOfColumns | integer | The number of columns in inputArray.
Output
Name | Type | Description
outputArray | numeric array | The two-dimensional inverse DST 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.