📄 testread.m
字号:
function b = testread(w);
% read the image w
% and cut it to a 200*200 image with 8 bit/pixels
a=imread(w);
a1 = double(a);
[height,width]=size(a1);
centerx=ceil(width/2);
centery=ceil(height/2);
b = a1(centery-99:centery+100,centerx-99:centerx+100);
%imagesc(b);
%colormap(gray);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -