%Kurt's 2D inverse discrete cosine transform; uses fft call. Uses my own kdct
%command.
function y = kidct2d(Y)

y0 = kidct(Y)';
y = kidct(y0)';