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

📄 func_writeraw.m

📁 SPIHT的MATLAB源代码,希望对有需要的朋友有所帮助.
💻 M
字号:
function func_WriteRaw(in_image,filename)
% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% Read a RAW format gray scale image from disk
%
% input:     in_image : input image data    
%            filename : output file
%

fid = fopen(filename,'wb');
if (fid==1)
   error('Cannot creat image file...press CTRL-C to exit ');pause
end

% fwrite(fid,in_image', 'uchar');
fwrite(fid,in_image', 'int32');
fclose(fid);

⌨️ 快捷键说明

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