www.pudn.com > Upload_EZW128.zip > mapping_128.m


function y=mapping_128 
% x : Transformed Image 
% y : Row vector ( mapped ), Scanning order is RASTER SCAN 
LL3=reshape([1:16*16],16,16)'; 
temp=[LL3 LL3+256;LL3+512 LL3+768]; 
temp=[temp reshape([1025:2048],32,32)';reshape([2049:3072],32,32)' reshape([3073:4096],32,32)']; 
temp=[temp reshape([4097:8192],64,64)';reshape([8193:12288],64,64)' reshape([12289:16384],64,64)']; 
y=temp;