?? func_readraw.m
字號:
function result = func_ReadRaw(filename, nSize, nRow, nColumn)% Matlab implementation of SPIHT (without Arithmatic coding stage)%% Read a RAW format gray scale image from disk%% input: filename : input file% nSize : size of the output image% nRow : row of the output image% nColumn : column of the output image%% output: result : output data in matrix format%% Jing Tian% Contact me : scuteejtian@hotmail.com% This program is part of my undergraduate project in GuangZhou, P. R. China.% April - July 1999fid = fopen(filename,'rb');if (fid==1) error('Cannot open image file...press CTRL-C to exit ');pauseendtemp = fread(fid, nSize, 'uchar');fclose(fid);result = reshape(temp, [nRow nColumn])';
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -