imagetype.m
来自「实现了在MATLAB环境下进行汽车车牌识别的过程」· M 代码 · 共 18 行
M
18 行
function imgType = imagetype(CX)
% imagetype -returns the type of image CX
% Member of IMUI
% Kotaimen.C, 2002/05 - 2002/07, All Rights Reserved
if isbw(CX)
imgType = 'Binary';
return
end
if isgray(CX)
imgType = 'Gray';
return
end
if isrgb(CX)
imgType = 'RGB';
return
end
imgType = ''; %otherwise return empty string
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?