資源簡介
可讀取raw圖像,輸入文件名,圖像尺寸,讀取頁碼
代碼片段和文件信息
function?Y?=?rawread(?char?Apage)
row?=?A(1);
col?=?A(2);
pag?=?A(3);
if?page?>?pag
????error(‘the?page?number?is?not?exist.‘);
end
h?=?fopen(char‘rb‘);
if?h?~=?3
????error(‘fail
評論
共有 條評論