BIL文本数据2

T = readtable('BIL.txt');
b = table2array(T);
b = cast(b, 'uint8');
[h,w] = size(b)

% for i = 1:3:h
% l = floor(i/3)+1;
% image(l,:,1)=b(i,:);
% image(l,:,2)=b(i+1,:);
% image(l,:,3)=b(i+2,:);
% end
% imshow(image);

posted @ 2021-09-19 21:18  Timor88  阅读(41)  评论(0)    收藏  举报