文件名称:chepaidingwei
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:713.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
很好的车牌识别代码 。具体步骤:
1.24位真彩色->256色灰度图。
2.预处理:中值滤波。
3.二值化:用一个初始阈值T对图像A进行二值化得到二值化图像B。
初始阈值T的确定方法是:选择阈值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分别是最高、最低灰度值。
该阈值对不同牌照有一定的适应性,能够保证背景基本被置为0,以突出牌照区域。
4.削弱背景干扰。对图像B做简单的相邻像素灰度值相减,得到新的图像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左边缘直接赋值,不会影响整体效果。
5.用自定义模板进行中值滤波
区域灰度基本被赋值为0。考虑到文字是由许多短竖线组成,而背景噪声有一大部分是孤立噪声,用模板(1,1,1,1,1)T对G进行中值滤波,能够得到除掉了大部分干扰的图像C。
6.牌照搜索:利用水平投影法检测车牌水平位置,利用垂直投影法检测车牌垂直位置。
7.区域裁剪,截取车牌图像。
1.24位真彩色->256色灰度图。
2.预处理:中值滤波。
3.二值化:用一个初始阈值T对图像A进行二值化得到二值化图像B。
初始阈值T的确定方法是:选择阈值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分别是最高、最低灰度值。
该阈值对不同牌照有一定的适应性,能够保证背景基本被置为0,以突出牌照区域。
4.削弱背景干扰。对图像B做简单的相邻像素灰度值相减,得到新的图像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左边缘直接赋值,不会影响整体效果。
5.用自定义模板进行中值滤波
区域灰度基本被赋值为0。考虑到文字是由许多短竖线组成,而背景噪声有一大部分是孤立噪声,用模板(1,1,1,1,1)T对G进行中值滤波,能够得到除掉了大部分干扰的图像C。
6.牌照搜索:利用水平投影法检测车牌水平位置,利用垂直投影法检测车牌垂直位置。
7.区域裁剪,截取车牌图像。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chepaidingwei/readme.txt
chepaidingwei/车牌媚位/ChildFrm.cpp
chepaidingwei/车牌媚位/ChildFrm.h
chepaidingwei/车牌媚位/ColorTable.h
chepaidingwei/车牌媚位/DIBAPI.CPP
chepaidingwei/车牌媚位/DIBAPI.H
chepaidingwei/车牌媚位/edgecontour.cpp
chepaidingwei/车牌媚位/edgecontour.h
chepaidingwei/车牌媚位/MainFrm.cpp
chepaidingwei/车牌媚位/MainFrm.h
chepaidingwei/车牌媚位/pic/Img10_24.bmp
chepaidingwei/车牌媚位/pic/Img1_24.bmp
chepaidingwei/车牌媚位/pic/Thumbs.db
chepaidingwei/车牌媚位/ReadMe.txt
chepaidingwei/车牌媚位/res/Toolbar.bmp
chepaidingwei/车牌媚位/res/TypeRec.ico
chepaidingwei/车牌媚位/res/TypeRec.rc2
chepaidingwei/车牌媚位/res/TypeRecDoc.ico
chepaidingwei/车牌媚位/Resource.h
chepaidingwei/车牌媚位/StdAfx.cpp
chepaidingwei/车牌媚位/StdAfx.h
chepaidingwei/车牌媚位/suanfa1.cpp
chepaidingwei/车牌媚位/suanfa1.h
chepaidingwei/车牌媚位/TemplateTrans.cpp
chepaidingwei/车牌媚位/TemplateTrans.h
chepaidingwei/车牌媚位/TypeRec.aps
chepaidingwei/车牌媚位/TypeRec.clw
chepaidingwei/车牌媚位/TypeRec.cpp
chepaidingwei/车牌媚位/TypeRec.dsp
chepaidingwei/车牌媚位/TypeRec.dsw
chepaidingwei/车牌媚位/TypeRec.h
chepaidingwei/车牌媚位/TypeRec.ncb
chepaidingwei/车牌媚位/TypeRec.opt
chepaidingwei/车牌媚位/TypeRec.plg
chepaidingwei/车牌媚位/TypeRec.rc
chepaidingwei/车牌媚位/TypeRec.rc.bak
chepaidingwei/车牌媚位/TypeRecDoc.cpp
chepaidingwei/车牌媚位/TypeRecDoc.h
chepaidingwei/车牌媚位/TypeRecView.cpp
chepaidingwei/车牌媚位/TypeRecView.h
chepaidingwei/车牌媚位/Debug
chepaidingwei/车牌媚位/pic
chepaidingwei/车牌媚位/res
chepaidingwei/车牌媚位
chepaidingwei
www.dssz.com.txt
chepaidingwei/车牌媚位/ChildFrm.cpp
chepaidingwei/车牌媚位/ChildFrm.h
chepaidingwei/车牌媚位/ColorTable.h
chepaidingwei/车牌媚位/DIBAPI.CPP
chepaidingwei/车牌媚位/DIBAPI.H
chepaidingwei/车牌媚位/edgecontour.cpp
chepaidingwei/车牌媚位/edgecontour.h
chepaidingwei/车牌媚位/MainFrm.cpp
chepaidingwei/车牌媚位/MainFrm.h
chepaidingwei/车牌媚位/pic/Img10_24.bmp
chepaidingwei/车牌媚位/pic/Img1_24.bmp
chepaidingwei/车牌媚位/pic/Thumbs.db
chepaidingwei/车牌媚位/ReadMe.txt
chepaidingwei/车牌媚位/res/Toolbar.bmp
chepaidingwei/车牌媚位/res/TypeRec.ico
chepaidingwei/车牌媚位/res/TypeRec.rc2
chepaidingwei/车牌媚位/res/TypeRecDoc.ico
chepaidingwei/车牌媚位/Resource.h
chepaidingwei/车牌媚位/StdAfx.cpp
chepaidingwei/车牌媚位/StdAfx.h
chepaidingwei/车牌媚位/suanfa1.cpp
chepaidingwei/车牌媚位/suanfa1.h
chepaidingwei/车牌媚位/TemplateTrans.cpp
chepaidingwei/车牌媚位/TemplateTrans.h
chepaidingwei/车牌媚位/TypeRec.aps
chepaidingwei/车牌媚位/TypeRec.clw
chepaidingwei/车牌媚位/TypeRec.cpp
chepaidingwei/车牌媚位/TypeRec.dsp
chepaidingwei/车牌媚位/TypeRec.dsw
chepaidingwei/车牌媚位/TypeRec.h
chepaidingwei/车牌媚位/TypeRec.ncb
chepaidingwei/车牌媚位/TypeRec.opt
chepaidingwei/车牌媚位/TypeRec.plg
chepaidingwei/车牌媚位/TypeRec.rc
chepaidingwei/车牌媚位/TypeRec.rc.bak
chepaidingwei/车牌媚位/TypeRecDoc.cpp
chepaidingwei/车牌媚位/TypeRecDoc.h
chepaidingwei/车牌媚位/TypeRecView.cpp
chepaidingwei/车牌媚位/TypeRecView.h
chepaidingwei/车牌媚位/Debug
chepaidingwei/车牌媚位/pic
chepaidingwei/车牌媚位/res
chepaidingwei/车牌媚位
chepaidingwei
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.