⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mortonscan.asv

📁 改进版ezw编码
💻 ASV
字号:
function [scanlist,flaglist]=mortonscan(Mat)
st=cputime;
% global row col
[row,col]=size(Mat);

% Normalization of flaglist

for r=1:row
    for c=1:col
        flaglist(r,c)='Z';
    end
end

matlist=mat2list(Mat);
scanorder=listorder(row,col,1,1);
scanlist=[];
for i=1:row*col
    scanlist=[scanlist;i scanorder(i,:) matlist(i)];
end

et=cputime-st

⌨️ 快捷键说明

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