车牌识别系统(matlab,附加源代码) 下载本文

内容发布更新时间 : 2024/5/3 8:58:33星期一 下面是文章的全部内容请认真阅读。

焦作大学毕业设计说明书 第 37 页 共 41 页

while sum(d(bottom,:))==0 && bottom>1 bottom=bottom-1; end

while sum(d(:,left))==0 && left

while sum(d(:,right))==0 && right>=1 right=right-1; end

dd=right-left; hh=bottom-top;

e=imcrop(d,[left top dd hh]); %返回图像的一个裁剪区域