📄 readimage.m
字号:
function im = readimage( filename )
% READIMAGE Read in an image and convert to grayscale
% READIMAGE( filename ) Read in the image, convert
% to grayscale if necessary, and then convert to
% double precison format
im = imread( filename );
if( isrgb( im ) )
im = rgb2gray( im );
end;
im = double( im );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -