refinement.m
来自「这是一个不错的图像压缩的Matlab程序,希望能对你有所帮助.」· M 代码 · 共 15 行
M
15 行
function Refinement(LSP,LSPflag)
%for each (i,j) in LSP,except those included in the last sorting
%pass,output the nth MSB of abs(c(i,j))
global Xa
global T
global outline
for i=1:LSPflag
%if i==15
% i
%end
test=abs(Xa(LSP(i)));
P=dec2bin(test);
P=P(end:-1:1);
outline=[outline,P(log2(T)+1)];
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?