登录
首页 » matlab » chepaidingwei

chepaidingwei

于 2008-06-10 发布 文件大小:731KB
0 285
下载积分: 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 个回复

  • picture
    基于灰度的两幅图像配准算法,两个程序,可以实现相关系数和PFC算法(Based on Gray' s two image registration algorithm, the two procedures, the correlation coefficient can be achieved and the PFC algorithm)
    2009-11-13 16:11:56下载
    积分:1
  • Analog-LED--
    先将字符串转化为像素图,再将像素图还原成二维数组。将二位数组转化为布尔数组。然后用一个顺序结构,第一帧放入比较程序,即显示汉字并闪烁程序。第二帧循环移位程序。第三帧屏幕关闭程序。(First string into a pixel map, and then reduced to a two-dimensional array of pixel map. The two-digit group into a Boolean array. Then a sequential structure, comparing the first frame into the program, the program that displays characters and flashes. The second frame cyclic shift procedure. The third frame of the screen to close the program.)
    2014-04-15 10:58:17下载
    积分:1
  • DarkChannelPrior
    目标物与摄像机距离已知的情况下,计算白天大气能见度距离。(The distance between the object and the camera is known to calculate the visibility distance in daytime.)
    2017-01-20 14:10:32下载
    积分:1
  • Digital-Image-Processing
    经典数字图像处理算法仿真,包括图像的傅里叶滤波及压缩,图像的DCT高通、低通滤波,图像直方图均衡化,图像平滑与锐化,图像的模糊化,哈夫曼编码等,以及GUI图形化界面。(Classic digital image processing algorithm simulation, including Fourier filtering and image compression, image DCT high-pass, low-pass filtering, image histogram equalization, image smoothing and sharpening, blurring the image, Huffman coding, as well as GUI graphical interface.)
    2015-04-07 16:07:39下载
    积分:1
  • 基于MATLAB的汽车轨道偏离预警系统
    此demo演示的是一个能够检测并跟踪道路上的标记线并且在适当时机发出报警的系统,此系统可使汽车在行驶过程中能够避免偏离车道。系统由一台摄像机,一台计算机,以及一个扬声器组成,摄像机采集视频信息交由计算机处理,根据处理结果控制扬声器是否报警。(This demo demonstrates a system that detects and tracks the marking lines on the road and sends out the alarm at the right time, which enables the car to avoid deviating from the driveway during the driving process. The system is composed of a camera, a computer, and a loudspeaker. The video information is processed by the camera to control the alarm of the speaker according to the processing results.)
    2020-06-28 17:00:01下载
    积分:1
  • Lee滤波器,具有很好的去噪效果Leefilter
    Lee滤波器,具有很好的去噪效果,结合各种小波,可以有效去除SAR图像噪声。(Lee filter, has a good de-noising effect of combination of wavelet can effectively remove the SAR image noise.)
    2020-07-06 08:38:58下载
    积分:1
  • shade1
    检测视频中的运动目标以及阴影,并消除阴影,基于opencv,将RGB颜色空间根据一定的转换关系转换到HSV空间,最后消除阴影, 可以在vc6.0和vs2008上正常运行(Shadow detection algorithm based on HSV color space)
    2012-08-20 21:22:09下载
    积分:1
  • Qt_Opengl
    基本图元绘制、计算机图形学上机实验报告、1,熟悉图形软件开发工具:VC++, OpenGL等; 2,设计、实现线段的DDA、Bresenham算法 3,设计、实现中点圆、中点椭圆生成算法; 4,设计、实现填充图元生成算法;(The basic primitive computer graphics, computer lab report 1, familiar with the graphics software development tools: vc++, OpenGL, etc. 2, design implementation DDA Bresenham algorithm of line 3, midpoint circle midpoint elliptical generation algorithm design implementation 4, primitive design to realize filling generation algorithm)
    2020-09-10 13:08:00下载
    积分:1
  • water_hammer
    本程序采用了特征线法计算管道阀门关闭时的水锤(This program uses a water hammer characteristic line method to calculate the pipe when the valve is closed)
    2020-10-16 10:17:28下载
    积分:1
  • ENVI
    ENVI是比较常用的遥感图像处理软件,使用该插件,可以使ENVI软件支持HDF5格式的遥感影像,HDF5数据格式是科学计算一体化数据格式,常用于卫星遥感影像的外部存储。(Envi is more commonly used in remote sensing image processing software, use the plugin can enable envi software support the HDF5 format of remote sensing images, the HDF5 data format is scientific computing integration data format, commonly used in satellite remote sensing image of the external storage. )
    2016-07-22 10:52:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载