摘要
讨论一种结合车辆阴影自身特征和阴影几何模型的阴影消除算法。使用VC 6.0结合OPENCV平台实现。该算法在分析车辆阴影自身特征的基础上,结合阴影几何模型,对相关像素按照提取出的车道线的方向进行坐标变换,在新的坐标系下寻找阴影与车身的边界位置后对阴影进行切除,然后再变换回原坐标系下,实验结果表明该方法对车辆阴影的去除效果很好。
This article discusses a new eliminate algorithm of vehicle shadow.That is combination of the vehicle shadow characteristics and geometric model.And it is realized by OPENCV and VC 6.0 platforms.The algorithm bases on the analysis of the characteristics of vehicle shadow,and combines the shadow geometric model,transforms the coordinate of the relevant pixels,according the direction of driveway line which has been extracted,finds the critical of vehicle and shadow in the new coordinate,and then eliminates the shadow and transforms back to the original coordinate.Experimental results show that the effect of this method of vehicle shadow remove is very good.
出处
《计算机与现代化》
2011年第9期30-32,共3页
Computer and Modernization
关键词
阴影消除
阴影特征
几何模型
坐标变换
shadow eliminate
characteristics of shadow
geometric model
coordinate transformation