用户名: 密码: 验证码:
交通事故现场俯视摄影图几何校正的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
近年来,汽车工业和交通运输业高速发展,车辆保有量急剧增加,由此导
    致了车辆与道路比例的严重失调,加之交通管理不善等原因,造成交通事故频
    繁。随着人们法制意识的提高,对交通事故分析提出了更高的要求。事故现场
    勘查及现场图绘制是证实事故发生经过事实或查获肇事车辆的基础,是分析鉴
    定事故责任的主要依据。实用、高效的交通事故现场测绘系统是快速、全面、
    准确地记录交通事故现场,为事故处理提供各种准确的现场数据的有效手段。
    在分析了国内外有关事故现场测绘系统、计算机图像处理技术、计算机图
    形学等文献的基础上,本研究提出了结合事故现场俯视摄影、计算机图像处理
    技术及计算机绘图技术的事故现场测绘方法,建立了事故现场俯视摄影图几何
    校正模型,开发了相应软件,最后对几何校正模型和软件是否适于事故现场图
    处理进行了实验检验。
    事故现场俯视摄影图几何校正问题属于图像处理技术几何运算的范畴,图
    像的几何运算由图像空间坐标变换和像点象素值确定两部分组成。最简单的图
    像几何变换模型是线性模型(即针孔成像模型)。本研究以照相机的线性模型
    为基础,分析了照相机的成像过程,结合事故现场的特殊性,确立了适于本研
    究的事故现场俯视摄影图几何校正空间坐标变换的数学模型:
     ?=C1x + C2y + C3
     ??
     ?XC7x + C8y +1 (1)
     ?YC4x + C5y + C6
     ??
     =
     C7x + C8y +1
    式中,C1 ~C8-待定系数;
    x 、 y -事故现场俯视摄影图中任一点的横、纵坐标;
    X 、Y -目标图像中对应点的横、纵坐标。
     79
    
    
    吉林大学硕士学位论文
    该数学模型既非简单线性模型,也非二元多项式模型,而是参数未定的二
    元非线性数学模型。其中有 8 个系数需要确定,如果已知 4 个以上标定参考点
    的空间位置及其在图像上对应点的位置,就可用最小二乘法确定 8 个未知系
    数,从而确定空间平面和图像平面的坐标变换关系。
    由式(1)可知,运用几何校正数学模型求解坐标变换未知参数的过程,
    即为运用控制点的实际坐标和输入图像坐标反解方程的过程。因此,控制点的
    现场坐标和输入图像坐标的获取精度对几何校正软件最后的校正精度起着至
    关重要的作用。对于控制点现场坐标的获取,本研究提出了一种控制点现场坐
    标的快速获取方法-四点法。此方法通过控制点间的现场距离确定控制点的现
    场坐标,既减少了传统获取方法控制点提取过程中所耗费的大量时间,简化了
    实际事故现场距离测量的工作,同时也减少了导致测量误差产生的因素,使得
    从控制点坐标来源上产生的误差影响尽可能小。对于控制点输入图像坐标的获
    取,本研究使用手工获取和自动获取相结合的方法。利用鼠标在图像上直接点
    取的手工方法简单实用,可以较快速地获取所需的坐标数据,适合能够容易在
    拍摄照片中定位控制点中心位置,且控制点的形状可以清晰获得的情况;结合
    数学形态学的自动获取方法得到的坐标较为精确,但对拍摄现场控制点的形状
    和颜色有较高的要求,且抗干扰能力差,对于用眼睛不能准确定位控制点的情
    况使用效果比较理想。
    像点象素值的确定分灰度插值和灰度值映射两个步骤进行。常用的灰度插
    值方法有最近邻点法、双线性内插法和三次卷积法。前两种方法简单,计算量
    较小,图像处理效果基本上可以满足本研究的使用。三次卷积法比较复杂,计
    算量较大,但处理效果较好。考虑到从交通事故现场所获得的照片中图像信息
    较多,且对处理后图像的纹理特征要求不是很高,所以本研究采用最近邻点法
    进行象素值的灰度插值。
    象素值映射方法有向前映射法和向后映射法。采用向前映射法时,输入象
    素可能映射到输出图像的边界之外,还要涉及多次计算,故向前映射算法有些
    浪费。向后映射算法逐象素、逐行地输出图像,每个象素的灰度级由最多四个
    象素参与的插值所唯一确定。向后映射法不会漏掉象素点,也不会计算界外象
     80
    
    
    摘 要
    素点,比向前映射法简练。所以,本研究采用向后映射法实现象素灰度值映射。
    对于彩色图像,几何校正时不能直接应用灰度插值方法。本研究先把象素
    分成不同亮度等级的红、绿、蓝三原色,然后分别运用灰度级插值算法确定各
    自的亮度等级,最后把三原色亮度等级值组合起来,形成校正后像点象素值的
    方法处理彩色图像。
    为解决校正后图像所包含事故现场信息与反映现场细节这一矛盾问题,校
    正时需要对图像进行配准。本研究提出的输入图像水平线配准法较好地解决了
    这一问题。水平线法是以俯视摄影图上的一条水平线象素为基准,进行坐标变
    换后能保证目标图像上同一位置水平线上象素值与其相同。这样,既可使感兴
    趣的部分在基准点的周围,有效区域不会因为处于目标图像的边缘且超出图像
    边界而被裁剪掉,又保证了校正后图像的显示效果。
    本研究以事故现场俯视摄影图几何校正模型为基础,在 Visual C++ 6.0 环
    境下开发了相应软件。该软件具有事故现场俯视摄影图几何校正、校正后图像
    比例尺绘制、事故现场示意图形符号绘制及量取事故现场重要数据四项?
With the high development of automobile industry and transportation, the
    number of vehicle increased rapidly in recent years. This status leaded to the ratio
    of vehicle and roadway maladjusted. Additionally, Road traffic accident occurs
    frequently because of the bad traffic management. Traffic accident analysis must be
    dealt with higher requirement to meet the person’s legal consciousness that enhance
    unceasingly. The perambulation and draft of accident scene are the basis of
    approving the accident process, and also they are the main evidence of judging
    accident responsibility. A kind of traffic accident mapping system that is applied
    and efficient is a necessary instrument to acquire the accurate data of accident
    scene.
     On basis of analyzing the documents such as the domestic and international
    relevant measurement system of accident scene, the Computer aided image
    handling technology and the computer graphics etc., this paper put forwards a
    method used for measuring accident scene and the method integrates
    bird’s-eye-photo taking, computer aided image handling and computer drawing
    technology. Secondly, the paper given geometry correction model and developed
    corresponding software. Finally, the paper carried out experiment to verify the
    model and the software.
     The bird’s-eye-photo geometry correction belongs to geometry operation of
    image handling technology. The image geometry operation is made up of
    transformation of image space coordinate and determination of pixel value. The
    linear geometry transform model is the simplest. Based on the linear model, the
     82
    
    
    摘 要
    process of camera imaging analyzed in details and mathematics model established
    for bird’s-eye-photo geometry correction. The mathematics model is followed as:
     ? = C1x + C2y + C3
     ??
     ?X C7x + C8y +1
     (1)
     ?Y C4x + C5y + C6
     ?? =
     C7x + C8y +1
     WhereC1 ~C8 are Undetermined coefficients; x , y are the point’s coordinates
    of bird’s-eye-photo ; and X , Y are the corresponding point’s coordinates in
    destination image.
     The mathematics model is neither simple linear model nor binary polynomial
    model, but nonlinear binary polynomials model whose coefficients are
    undetermined. In the model, there are 8 coefficients needed to be determined. If
    there are 4 or more reference points whose space position and image position have
    already been acquired, the 8 coefficients can be determined by making use of
    least-square technique, and then the coordinate transform relation of space plane
    and image plane can be determined.
     According to the mathematic model, the coefficient determination is the
    process of solving the mathematic equation by making use of reference point’s
    coordinate. Therefore, the coordinate precision of reference point is important for
    software correction result. For the reference point coordinate of accident scene, the
    paper put forwards a method (called four point method) that can acquire point
    coordinate quickly. The method acquires the reference point’s coordinate of
    accident scene by the distance between reference points. This method shortens the
    time of acquiring reference point coordinate taken by traditional method, simplifies
    the process of distance measurement, and decreases the factors that lead to the
    measurement error, so the method makes the error little as far as possible from the
    source of reference point acquirement. For the reference point coordinate of image,
    two methods can be applied, one is manual method, and the other is auto method.
     83
    
    
    吉林大学硕士学位论文
    The former can acquire coordinate required quickly by clicking mouse on computer
    screen. It’s very simple and practical for application. This method can adapt t
引文
参考文献
    [1]许洪国,等.交通事故分析与处理[M].人民交通出版社,2003:9,125,
     159-164,167-168.
    [2]王澍权.道路交通事故分析与处理方法[M].人民交通出版社,1998:46.
    [3]丁立民.道路交通管理[M].警官教育出版社,1999.
    [4]]Microsoft 著,希望图书创作室译.Visual C++6.0 类库参考手册[M].北
     京希望电子出版社,1999.
    [5]Donald F.Rudny and David W.Sallmann.The Use of Electronic Survey
     Equipment in the Creation of Accident Scene Diagrams.SAE 950361.
    [6]Jean-Louis Comeau,Dainius J.Dalmotas.Crush Measurement for Side Impacts
     Using a Total Station.SAE 960100.
    [7]William F.Fincham.The Use of High Resolution Accident Data Recorder in the
     Field.SAE 950351.
    [8]Terry D.Day and Randall L.Hargens.A Personal Computer Program for
     Drawing Accident Sites.SAE 880068.
    [9]颜志刚.摄影技艺教程(第三版)[M].复旦大学出版社,1997:221-225.
    [10]杨小冈,等.图像几何校正控制点的自动确定方法[J].红外与激光工程,
     2002,31(3):194-196.
    [11]倪明田,吴良芝.计算机图形学[M].北京大学出版社,1999:126-148.
    [12]何斌,马天予,王运坚,朱红莲.Visual C++ 数字图像处理[M].人民邮
     电出版社,2001:156-206,335-387.
    [13]向世明.Visual C++ 数字图像与图形处理[M].电子工业出版社,2002:
     11,11-78,217-242,279-321.
    [14]刘榴娣,刘明奇,党长民.实用数字图像处理[M].北京理工大学出版社,
     1998:132-134.
     75
    
    
    吉林大学硕士学位论文
    [15]崔屹.图像处理与分析——数学形态学方法及应用[M].科学出版社,2000:
     1-29.
    [16]王士元.C 高级使用程序设计[M].清华大学出版社,1996.
    [17]James W. McCord 著,王旭,张军,孙燕译.Microsoft Windows3.1 程序员
     参考手册[M].清华大学出版社,1993.
    [18]潘志庚.Windows 环境下图形图像程序设计[M].清华大学出版社,1995.
    [19]孙家广,杨长贵.计算机图形学(新版)[M].清华大学出版社,1995.
    [20]李于剑.Visual C++实践与提高[M].中国铁道出版社,2001.
    [21]斯图尔特?迈耶著,周鎏元,顾兆良译.科技工作中的数据分析[M].原子
     能出版社,1983:9-10.
    [22]孙炳耀.数据处理与误差分析基础[M].河南大学出版社,1990,4.
    [23]常砚阁.简明道路路线设计与测设手册[M].人民交通出版社,1996,59
     -60.
    [24]杨春风.道路工程[M].中国建材工业出版社,2000,34-37.
    [25]李孟山,李少元,李继平.一种快速处理交通事故的方法[J].铁路航测,
     1997,(3):19-21.
    [26]T. K. KOO, Y. B. AW, A Three-dimensional Visualization Approach to Traffic
     Accident mapping. PE&RS, JULY 1990.
    [27]International Road Traffic and Accident Database (OECD) Issue:June 2001 .
    [28]钱能.C++程序设计教程[M].清华大学出版社,1999.
    [29]谭浩强.C 程序设计[M].清华大学出版社,1998.
    [30]王清辉,王彪.Visual C++CAD 应用程序开发技术[M].机械工业出版
     社,2003.
    [31]Jon Bates,Tim Tompkins 著,何健辉,董方鹏 译.实用 Visual C++6.0
     教程[M].清华大学出版社,2000.
     76
    
    
    参考文献
    [32]杨枝灵,王开等.Visual C++数字图像获取、处理及实践应用[M].人民
     邮电出版社,2003.
    [33]黄维通.Visual C++面向对象与可视化程序设计[M].清华大学出版社,
     2000.
    [34]牛允鹏.数据库及其应用.南京大学出版社,1999.
    [35]戴天时编.矩阵论[M].吉林科学技术出版社,1994.
    [36]徐涛.数值计算方法[M].吉林大学出版社,2002.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700