mapping_128.m

来自「Sphit算法针对128*128的灰度图象进行压缩处理」· M 代码 · 共 8 行

M
8
字号
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;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?