登录
首页 » matlab » chepaidingwei

chepaidingwei

于 2008-06-10 发布 文件大小:731KB
0 203
下载积分: 1 下载次数: 143

代码说明:

  使用说明 使用时打开此例题目录下pic中的图片,然后依次单击按钮“转”、“1”、“2”、“3”、“4”和“5”,就可以实现精确的车牌定位。 具体步骤 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.区域裁剪,截取车牌图像。()

文件列表:

车牌定位
........\ChildFrm.cpp
........\ChildFrm.h
........\ColorTable.h
........\Debug
........\DIBAPI.CPP
........\DIBAPI.H
........\edgecontour.cpp
........\edgecontour.h
........\MainFrm.cpp
........\MainFrm.h
........\pic


........\ReadMe.txt
........\res


........\...\TypeRec.rc2

........\Resource.h
........\StdAfx.cpp
........\StdAfx.h
........\suanfa1.cpp
........\suanfa1.h
........\TemplateTrans.cpp
........\TemplateTrans.h
........\TypeRec.aps
........\TypeRec.clw
........\TypeRec.cpp
........\TypeRec.dsp
........\TypeRec.dsw
........\TypeRec.h
........\TypeRec.ncb
........\TypeRec.opt
........\TypeRec.plg
........\TypeRec.rc
........\TypeRec.rc.bak
........\TypeRecDoc.cpp
........\TypeRecDoc.h
........\TypeRecView.cpp
........\TypeRecView.h

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • bmp
    本程序是对24位图片进行灰度化,并进行去边缘的,二值化(This program is to 24 bits images of gray, and go to the edge, binary )
    2012-01-17 08:42:59下载
    积分:1
  • VideoFaceDetect
    使用matlab调用opencv做成的adaboost人脸检测DLL模块,在usb摄像头采集的视频序列中检测人脸并实时显示, 实时性比C低。 下载后可以直接在matlab运行,不要改动文件夹内的文件相对位置。(Opencv matlab call made using adaboost face detection DLL module, usb camera capture video sequences of face detection and real-time display, real-time lower than C. Download can be run directly in matlab, do not change the file folder relative position.)
    2010-07-18 17:49:49下载
    积分:1
  • liantong_numofblocks
    根据图的邻接矩阵判断图的连通性并计算图的分块数(To determine the connectivity of the graph and computing graph blocks according to the adjacency matrix)
    2017-09-06 20:37:54下载
    积分:1
  • Face_PCA
    在人脸数据库中应用PCA,以及重建误差分析(Applying PCA in human face dataset and doing analysis on reconstruction differences )
    2020-07-15 10:18:51下载
    积分:1
  • 0034
    校正图像倾斜的程序,很好用,可以纠正几何投影变形(Image tilt correction procedures, very good use, you can correct the distortion geometric projection)
    2020-10-31 20:29:56下载
    积分:1
  • plslda
    偏最小二乘线性判别分析, 以及变量选择方法(partial least squares-linear discriminant analysis)
    2010-06-16 10:31:49下载
    积分:1
  • RANSAC平面提取
    了解直线拟合、平面拟合的方法 掌握用随机抽样一致 算法实现平面提取(A method of understanding straight line fitting and plane fitting Grasp the random sampling consensus algorithm for planar extraction)
    2020-12-01 09:09:27下载
    积分:1
  • HC-visual-detection-by-matlab
    本资源是清华大学程明明在2011年CVPR上发表的一篇关于视觉显著性的代码,资源包括原文及matlab版本的代码。(It is a source code of visual saliency detection proposed by M.M Cheng in cvpr2011.And it is coded with matlab.)
    2013-01-16 10:44:01下载
    积分:1
  • yasuoshuiyin
    说明:  将基于小波变换的嵌入水印后的宿主图像进行压缩处理再提取灰度水印。(will be based on the wavelet transform the embedded watermark image of the host compressed again from Gray watermark.)
    2006-04-27 09:09:14下载
    积分:1
  • image-segmentation
    基于自动种子选择的区域生长法,克服了传统区域法的很多缺点(Region growing method based on automatic seed selection, to overcome the many shortcomings of the traditional regional law)
    2013-04-30 19:51:20下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载