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

📄 xingchengjiema.m

📁 将一幅图像转化为二值图像
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -