2-dimensional discrete cosine transform (type IV)
c = dct2_iv(x)
2-d image (n by n array, n dyadic)
2-d cosine transform
A two-dimensional DCT is computed for the array x. To reconstruct, use the same function: x = dct2_iv(c)