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 + -
显示快捷键?