Simulation of DCT, Walsh, Hadamard, Haar and Slant transform using variable block sizes

by

 

Performs non sinusoidal image transforms on gray-scale images and DCT using the dct matrix.

t=getHadamardTransform(im,N)
function t=getHadamardTransform(im,N)
h=hadamard(N);
m=log2(N);
t=(1/(2^m))*h*im*h';

Contact us