xingchengjiema.m
来自「将一幅图像转化为二值图像」· M 代码 · 共 11 行
M
11 行
function unzipped=Xingchengjiema(zip,info)
zip=uint8(zip);
[m,n]=size(zip);
unzipped=[];
for i=1:m
section=repmat(zip(i,1),1,double(zip(i,2)));
unzipped=[unzipped section];
end
unzipped=reshape(unzipped,info.rows,info.cols);
unzipped=double(unzipped);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?