登录
首页 » matlab » chepaidingwei

chepaidingwei

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

  • image
    给定一幅图像,输出其直方图。给定一个线性变换函数(可以输入不同的参数),实现图像的灰度拉伸;实现对图像的均衡化。 实验测试图像:任意 (histogram;Gray stretch;Image equalization)
    2016-05-25 17:42:35下载
    积分:1
  • 素分割 Matlab
    使用matlab对图像进行超像素分割,附带可执行程序。(Using MATLAB for ultra pixel segmentation of the image, accompanied by executable program.)
    2020-10-07 09:57:37下载
    积分:1
  • Saolei
    一个扫雷应用程序,在VC下开发,用来提高编程水平(A de-mining applications, developed in the VC used to improve the programming level)
    2007-11-23 11:11:51下载
    积分:1
  • image-processing
    1.设计一个程序,对一幅灰度图像的实现如下几何变换,1)放大为原图1.5倍 2)绕中心旋转30度(CW) 3)采用偏移量插值实现一个透视变换. 灰度差值用最近邻插值和双线性插值 2. 绘制一幅灰度图像的梯度幅度图像(三点法求梯度),针对梯度幅度图像合理的选择一个阈值(通过试验即可)将其二值化,以获得图像边缘检测图像。 ((1) design a program, a grayscale image as geometric transformation, zoom 1) for 1.5 times the original 2) around the center of rotation of 30 degrees (CW) 3) interpolation of the offset to achieve a perspective transformation.gray level difference between the nearest neighbor interpolation and bilinear interpolation (2) draw a grayscale image of the gradient magnitude image (three-point method seeking gradient), the gradient magnitude image is reasonable to select a threshold value (the test can be) the second value to the image edge detection image.)
    2012-03-13 23:16:59下载
    积分:1
  • Compressionmotionestimate
    对视频序列图像的压缩编码,采用了运动预测以增大压缩率(video image sequence coding used to forecast the movement increased compression rate)
    2006-09-09 17:14:46下载
    积分:1
  • C/C++、C#、PHP相机开发实例 大恒相机SDK
    C/C 、C#、PHP相机开发实例 大恒相机SDK
    2019-08-10下载
    积分:1
  • OMP2D
    二维的OMP算法,封装完成的函数,可独立调用(Two dimensional OMP algorithm, wrapped function can be called independently.)
    2020-12-28 17:09:01下载
    积分:1
  • imnoise1
    对一幅图片批量添加20个级别的噪声,支持添加高斯白噪声和椒盐噪声两种噪声。(Add a picture batch 20 levels of noise, two noise support the addition of white Gaussian noise and salt and pepper noise.)
    2013-05-11 09:18:34下载
    积分:1
  • 匹配,将两幅不同的角度拍的的对应点都找到as
    图像匹配,将两幅不同的角度拍的图像的对应点都找到(Corner detection)
    2020-07-14 00:08:56下载
    积分:1
  • ZhengNan5
    图像的逆滤波 维纳滤波 同时可以对图像进行模糊处理比如运动模糊 卷积模糊(Using C++ to complete images of conversion, processing and compression process, is to learn good reference digital image processing program!)
    2011-05-14 20:02:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载