dct2D function

Calculate and threshold DCT for an image