CN103473756B - Autoregistration merges the method for Aerial Images and close shot image - Google Patents
Autoregistration merges the method for Aerial Images and close shot image Download PDFInfo
- Publication number
- CN103473756B CN103473756B CN201310410587.9A CN201310410587A CN103473756B CN 103473756 B CN103473756 B CN 103473756B CN 201310410587 A CN201310410587 A CN 201310410587A CN 103473756 B CN103473756 B CN 103473756B
- Authority
- CN
- China
- Prior art keywords
- image
- close
- aerial
- range
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000004927 fusion Effects 0.000 claims abstract description 39
- 230000009466 transformation Effects 0.000 claims abstract description 20
- 238000006243 chemical reaction Methods 0.000 claims abstract description 11
- 238000011524 similarity measure Methods 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims abstract description 5
- 239000011159 matrix material Substances 0.000 claims description 9
- 238000005314 correlation function Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 5
- 238000006073 displacement reaction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000005311 autocorrelation function Methods 0.000 claims description 3
- 239000003086 colorant Substances 0.000 claims description 3
- 238000009499 grossing Methods 0.000 abstract 1
- 206010039203 Road traffic accident Diseases 0.000 description 13
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000007499 fusion processing Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
技术领域technical field
本发明涉及交通事故现场信息处理领域,具体涉及一种自动配准融合航拍图像和近景图像的方法。The invention relates to the field of traffic accident scene information processing, in particular to a method for automatically registering and fusing aerial images and close-range images.
背景技术Background technique
航拍图像在交通事故现场勘测中具有重要作用,它能够高效地还原事故现场各要素,但是航拍图像为了获取全局信息,拍摄位置往往较高,因此对地面较细小痕迹信息分辨能力不足。近景图像在交通事故现场勘测中以较高的分辨率提供了各要素细节信息,但无法反映其在整个场景的位置情况。为了更好的进行事故分析,利用配准融合技术综合航拍图像和近景图像信息是未来的发展趋势,将多种交通事故现场勘查图像结合起来,充分利用不同勘查图像的特点,在一幅图像上同时表达来自事故现场的多方面信息,使事故现场中的关键元素位置、关键元素细节等多方面的状况通过配准融合后的图像反映出来,从而更加直观地提供交通事故现场信息。Aerial images play an important role in traffic accident scene surveys. They can efficiently restore various elements of the accident scene. However, in order to obtain global information, aerial images are often shot at a high location, so the ability to distinguish small traces on the ground is insufficient. The close-range image provides detailed information of each element with a higher resolution in traffic accident scene survey, but it cannot reflect its position in the whole scene. In order to better analyze accidents, it is the future development trend to use registration and fusion technology to synthesize aerial images and close-range image information. Combining various traffic accident scene survey images, making full use of the characteristics of different survey images, and combining them on one image At the same time, it expresses various information from the accident scene, so that the location of key elements and details of key elements in the accident scene can be reflected through the images after registration and fusion, so as to provide more intuitive information on the scene of traffic accidents.
目前可以采用人工方式搜索定位航拍图像和近景图像中的特征物体,进而利用特征物体实现航拍图像和近景图像的人工配准融合。但近景图像较多的情况下,人工方式就显得费时费力,而且准确度不高。因此,一种用于自动配准融合航拍图像和近景图像的标志物以及实现方法非常必要。At present, it is possible to manually search and locate feature objects in aerial images and close-range images, and then use feature objects to realize artificial registration and fusion of aerial images and close-range images. However, when there are many close-range images, the manual method is time-consuming and laborious, and the accuracy is not high. Therefore, a marker and an implementation method for automatic registration and fusion of aerial images and close-range images are very necessary.
发明内容Contents of the invention
本发明旨在至少解决现有技术中存在的技术问题,特别创新地提出了一种自动配准融合航拍图像和近景图像的方法。The present invention aims to at least solve the technical problems existing in the prior art, and particularly innovatively proposes a method for automatically registering and fusing aerial images and close-range images.
为了实现本发明的上述目的,本发明提供了一种自动配准融合航拍图像和近景图像的方法,其关键在于,包括如下步骤:In order to achieve the above object of the present invention, the present invention provides a method for automatic registration and fusion of aerial images and close-range images, the key of which is to include the following steps:
步骤1,对采集到的航拍图像和设置标志板近景图像进行平滑、锐化,消减航拍图像和设置标志板近景图像的噪声,增强航拍图像和设置标志板近景图像的边缘,然后进行坐标转换处理获取图像增强后的航拍图像和设置标志板近景图像俯视图;Step 1: Smooth and sharpen the collected aerial image and the close-range image of the signboard, reduce the noise of the aerial image and the close-up image of the signboard, enhance the edge of the aerial image and the close-up image of the signboard, and then perform coordinate conversion processing Obtain the image-enhanced aerial image and set the top view of the close-range image of the sign board;
步骤2,根据航拍图像和设置标志板近景图像俯视图中标志板尺寸所确定的数学转换比例关系,将设置标志板近景图像转换到航拍图像的坐标系中,完成统一坐标变换;Step 2, according to the mathematical conversion ratio relationship determined by the aerial image and the sign plate size in the top view of the close-range image of the set sign plate, the close-range image of the set sign plate is converted into the coordinate system of the aerial image, and the unified coordinate transformation is completed;
步骤3,在航拍图像中搜索定位所述设置标志板近景图像的对应位置,根据互相关相似性测度确定两幅图像之间的配准变换关系;Step 3, searching and locating the corresponding position of the close-range image of the set sign board in the aerial image, and determining the registration transformation relationship between the two images according to the cross-correlation similarity measure;
步骤4,采用图像像素RGB值加权法实现航拍图像和设置标志板近景图像重叠区域的融合。Step 4, using the image pixel RGB value weighting method to realize the fusion of the overlapping area of the aerial image and the close-range image of the set sign board.
上述技术方案的有益效果为:经过融合配准之后的图像,其具有更丰富全面的现场信息,能够更好地反应事故现场整体和关键局部场景状况,便于交通事故现场信息的分析和利用。The beneficial effect of the above technical solution is that the image after fusion and registration has richer and more comprehensive scene information, can better reflect the overall and key local scene conditions of the accident scene, and is convenient for the analysis and utilization of traffic accident scene information.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述步骤3包括:The method for automatic registration and fusion of aerial images and close-range images, preferably, said step 3 includes:
步骤3-1,根据设置标志板近景图像的标志板颜色具有旋转不变性和尺度不变性,将所述标志板结构颜色作为所述设置标志板近景图像的索引特征对其在航拍图像中进行搜索定位,获得设置标志板近景图像在航拍图像中的位置区域;Step 3-1: According to the fact that the color of the signboard in the close-range image of the set signboard has rotation invariance and scale invariance, the structural color of the signboard is used as the index feature of the close-range image of the set signboard to search for it in the aerial image Positioning, to obtain the position area of the close-range image of the set sign board in the aerial image;
步骤3-2,通过采用Harris角点检测算法将所述标志板扇形结构所在圆的圆心作为设置标志板近景图像与航拍图像的配准控制点;Step 3-2, using the Harris corner detection algorithm to use the center of the circle where the fan-shaped structure of the signboard is located as the registration control point for setting the close-range image of the signboard and the aerial image;
步骤3-3,根据航拍图像和设置标志板近景图像均为RGB彩色图像,选择采用图像RGB值互相关配准,获得最佳配准位置。Step 3-3, according to the aerial image and the close-range image of the sign board are all RGB color images, choose to use the image RGB value cross-correlation registration to obtain the best registration position.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述配准控制点算法为:In the method for automatic registration and fusion of aerial images and close-range images, preferably, the registration control point algorithm is:
E(u,v)=∑x,yw(x,y)[I(x+u,y+v)-I(x,y)]2 E(u,v)=∑ x,y w(x,y)[I(x+u,y+v)-I(x,y)] 2
其中,w(x,y)为窗函数,[I(x+u,y+v)-I(x,y)]2为图像的梯度值,w(x,y)为矩形窗或高斯窗,对于每个位移量(u,v),上式中双线性近似表示为,Among them, w(x,y) is the window function, [I(x+u,y+v)-I(x,y)] 2 is the gradient value of the image, and w(x,y) is a rectangular window or a Gaussian window , for each displacement (u, v), the bilinear approximation in the above formula is expressed as,
M是2*2的矩阵,具体公式为,M is a 2*2 matrix, the specific formula is,
Ix,Iy分别为图像x、y方向的梯度值;E近似作为局部互相关函数,M描述了在这点上的形状,设λ1、λ2是矩阵M的两个特征值,则λ1、λ2可表示局部自相关函数的曲率,由于各向同性,所以M保持旋转不变性,其中A、B、C代表矩阵M的元素值。Ix and Iy are the gradient values in the x and y directions of the image respectively; E is approximated as a local cross-correlation function, and M describes the shape at this point. Let λ 1 and λ 2 be the two eigenvalues of the matrix M, then λ 1 , λ 2 can represent the curvature of the local autocorrelation function. Due to isotropy, M maintains rotation invariance, where A, B, and C represent the element values of matrix M.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述互相关配准算法为:In the method for automatic registration and fusion of aerial images and close-range images, preferably, the cross-correlation registration algorithm is:
在航拍图像上选择一临时窗口W(l,m),在设置标志板近景图像S(i,j)上寻找与其对应的最相似的窗口,其为旋转变换窗口,用互相关相似性测度为,其中l、m为正整数,Select a temporary window W(l,m) on the aerial image, and find the most similar window corresponding to it on the close-range image S(i,j) of the sign board , which is the rotation transformation window, measured by cross-correlation similarity, where l and m are positive integers,
其中W(i,j)是大小为M×M的窗口图像,是航拍图像中的临时窗口,窗口图像W(i,j)在搜索设置标志板近景图像S中以扫描方式自动搜索,寻找该过程中相关函数值RN(i,j)中最大值点的位置(i*,j*),并认为此处就是最佳配准位置。where W(i,j) is a window image of size M×M, is a temporary window in the aerial image, and the window image W(i,j) is automatically searched in a scanning manner in the close-range image S of the search setting sign board to find the maximum point of the correlation function value R N (i,j) in the process position (i * , j * ), and think that this is the best registration position.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述步骤4包括:The method for automatic registration and fusion of aerial images and close-range images, preferably, said step 4 includes:
步骤4-1,将航拍图像的RGB值R1(i,j)、G1(i,j)、B1(i,j)和设置标志板近景图像的RGB值R2(i,j)、G2(i,j)、B2(i,j)各自乘上一个权系数,融合而成新的图像F(i,j),Step 4-1, the RGB value R 1 (i,j), G 1 (i,j), B 1 (i,j) of the aerial image and the RGB value R 2 (i,j) of the close-range image of the sign board are set , G 2 (i,j), and B 2 (i,j) are each multiplied by a weight coefficient, and fused to form a new image F(i,j),
F(i,j)=aI1(i,j)+(1-a)I2(i,j),F(i,j)=aI 1 (i,j)+(1-a)I 2 (i,j),
其中,a为权重因子,且0≤a≤1,I1为航拍图像,I2为设置标志板近景图像。Among them, a is the weight factor, and 0≤a≤1, I 1 is the aerial image, and I 2 is the close-up image of the sign board.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述标志板为直角扇形结构。In the method for automatically registering and fusing aerial images and close-range images, preferably, the sign board is a right-angle fan-shaped structure.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述标志板的颜色各不相同。In the method for automatic registration and fusion of aerial images and close-range images, preferably, the colors of the sign boards are different.
综上所述,由于采用了上述技术方案,本发明的有益效果是:In summary, owing to adopting above-mentioned technical scheme, the beneficial effect of the present invention is:
经过融合配准之后的图像,其具有更丰富全面的现场信息,能够更好地反应事故现场整体和关键局部场景状况,便于交通事故现场信息的分析和利用;The image after fusion and registration has richer and more comprehensive scene information, which can better reflect the overall and key local scene conditions of the accident scene, and facilitate the analysis and utilization of traffic accident scene information;
利用配准融合技术综合航拍图像和设置标志板近景图像信息,将多种交通事故现场勘查图像结合起来,充分利用不同勘查图像的特点,在一幅图像上同时表达来自事故现场的多方面信息;Using registration and fusion technology to synthesize aerial images and close-range image information of sign boards, combine multiple traffic accident scene survey images, make full use of the characteristics of different survey images, and express multiple aspects of information from the accident scene on one image at the same time;
使事故现场中的关键元素位置、关键元素细节等多方面的状况通过配准融合后的图像反映出来,从而更加直观地提供交通事故现场信息。The location of key elements and details of key elements in the accident scene can be reflected through the images after registration and fusion, so as to provide traffic accident scene information more intuitively.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and comprehensible from the description of the embodiments in conjunction with the following drawings, wherein:
图1是本发明自动配准融合航拍图像和近景图像的方法流程图;Fig. 1 is a flow chart of the method for automatically registering and fusing aerial images and close-range images of the present invention;
图2是本发明自动配准融合航拍图像和近景图像的方法中航拍图像和设置标志板近景图像配准融合示意图;Fig. 2 is a schematic diagram of the registration and fusion of the aerial image and the close-range image of the sign board in the method for automatic registration and fusion of the aerial image and the close-range image of the present invention;
图3是本发明自动配准融合航拍图像和近景图像的方法中航拍图像和设置标志板近景图像自动配准流程图;Fig. 3 is a flow chart of automatic registration of aerial images and close-range images of sign boards in the method for automatic registration and fusion of aerial images and close-range images of the present invention;
图4是本发明自动配准融合航拍图像和近景图像的方法用于自动配准融合航拍图像和近景图像的标志板。Fig. 4 is a sign board used for automatic registration and fusion of aerial images and close-range images by the method of automatic registration and fusion of aerial images and close-range images of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.
在本发明的描述中,需要理解的是,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In describing the present invention, it should be understood that the terms "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", The orientation or positional relationship indicated by "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than Nothing indicating or implying that a referenced device or element must have a particular orientation, be constructed, and operate in a particular orientation should therefore not be construed as limiting the invention.
在本发明的描述中,除非另有规定和限定,需要说明的是,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be mechanical connection or electrical connection, or two The internal communication of each element may be directly connected or indirectly connected through an intermediary. Those skilled in the art can understand the specific meanings of the above terms according to specific situations.
本发明技术方案对事故现场放置的标志板进行图案再设计,提出用标志板颜色作为设置标志板近景图像的索引特征,利用图像角点检测算法确定设置标志板近景图像在航拍图像中的对应位置,通过互相关相似性测度确定设置标志板近景图像与航拍图像之间的配准变换关系,最后采用图像像素RGB值加权法实现设置标志板近景图像与航拍图像的融合。The technical scheme of the present invention redesigns the pattern of the sign board placed at the accident site, proposes to use the color of the sign board as the index feature for setting the close-range image of the sign board, and uses the image corner detection algorithm to determine the corresponding position of the close-range image of the set sign board in the aerial image The registration transformation relationship between the close-range image of the sign board and the aerial image is determined by the cross-correlation similarity measure. Finally, the fusion of the close-range image of the sign board and the aerial image is realized by using the image pixel RGB value weighting method.
如图1所示,本发明提供了一种自动配准融合航拍图像和近景图像的方法,其关键在于,包括如下步骤:As shown in Figure 1, the present invention provides a method for automatic registration and fusion of aerial images and close-range images, the key of which is to include the following steps:
步骤1,对采集到的航拍图像和设置标志板近景图像进行平滑、锐化,消减航拍图像和设置标志板近景图像的噪声,增强航拍图像和设置标志板近景图像的边缘,然后进行坐标转换处理获取图像增强后的航拍图像和设置标志板近景图像俯视图;Step 1: Smooth and sharpen the collected aerial image and the close-range image of the signboard, reduce the noise of the aerial image and the close-up image of the signboard, enhance the edge of the aerial image and the close-up image of the signboard, and then perform coordinate conversion processing Obtain the image-enhanced aerial image and set the top view of the close-range image of the sign board;
步骤2,根据航拍图像和设置标志板近景图像俯视图中标志板尺寸所确定的数学转换比例关系,将设置标志板近景图像转换到航拍图像的坐标系中,完成统一坐标变换;Step 2, according to the mathematical conversion ratio relationship determined by the aerial image and the sign plate size in the top view of the close-range image of the set sign plate, the close-range image of the set sign plate is converted into the coordinate system of the aerial image, and the unified coordinate transformation is completed;
步骤3,在航拍图像中搜索定位所述设置标志板近景图像的对应位置,根据互相关相似性测度确定两幅图像之间的配准变换关系;Step 3, searching and locating the corresponding position of the close-range image of the set sign board in the aerial image, and determining the registration transformation relationship between the two images according to the cross-correlation similarity measure;
步骤4,采用图像像素RGB值加权法实现航拍图像和设置标志板近景图像重叠区域的融合。Step 4, using the image pixel RGB value weighting method to realize the fusion of the overlapping area of the aerial image and the close-range image of the set sign board.
上述技术方案的有益效果为:经过融合配准之后的图像,其具有更丰富全面的现场信息,能够更好地反应事故现场整体和关键局部场景状况,便于交通事故现场信息的分析和利用。The beneficial effect of the above technical solution is that the image after fusion and registration has richer and more comprehensive scene information, can better reflect the overall and key local scene conditions of the accident scene, and is convenient for the analysis and utilization of traffic accident scene information.
所述的自动配准融合航拍图像和近景图像的方法,优选的,所述步骤3包括:The method for automatic registration and fusion of aerial images and close-range images, preferably, said step 3 includes:
步骤3-1,根据设置标志板近景图像的标志板颜色具有旋转不变性和尺度不变性,将所述标志板结构颜色作为所述设置标志板近景图像的索引特征对其在航拍图像中进行搜索定位,获得设置标志板近景图像在航拍图像中的位置区域;Step 3-1: According to the fact that the color of the signboard in the close-range image of the set signboard has rotation invariance and scale invariance, the structural color of the signboard is used as the index feature of the close-range image of the set signboard to search for it in the aerial image Positioning, to obtain the position area of the close-range image of the set sign board in the aerial image;
步骤3-2,通过采用Harris角点检测算法将所述标志板扇形结构所在圆的圆心作为设置标志板近景图像与航拍图像的配准控制点;Step 3-2, using the Harris corner detection algorithm to use the center of the circle where the fan-shaped structure of the signboard is located as the registration control point for setting the close-range image of the signboard and the aerial image;
步骤3-3,根据航拍图像和设置标志板近景图像均为RGB彩色图像,选择采用图像RGB值互相关配准,获得最佳配准位置。Step 3-3, according to the aerial image and the close-range image of the sign board are all RGB color images, choose to use the image RGB value cross-correlation registration to obtain the best registration position.
在本发明的更多细节及特征描述将在下面进一步展示:More details and feature descriptions of the present invention will be further shown below:
1、图像预处理:对采集到的航拍图像和设置标志板近景图像进行平滑、锐化,消减航拍图像和设置标志板近景图像的噪声,增强航拍图像和设置标志板近景图像的边缘,然后进行坐标转换处理获取图像增强后的航拍图像和设置标志板近景图像俯视图。利用齐次坐标变换将所述航拍图像和设置标志板近景图像变换至俯视图像,采用的齐次坐标变换方程为:1. Image preprocessing: smooth and sharpen the collected aerial image and the close-range image of the signboard, reduce the noise of the aerial image and the close-up image of the signboard, enhance the edge of the aerial image and the close-up image of the signboard, and then perform Coordinate transformation processing acquires the enhanced aerial image and sets the top view of the close-range image of the sign board. Utilize the homogeneous coordinate transformation to transform the aerial image and the close-range image of the sign board to the top-view image, and the homogeneous coordinate transformation equation adopted is:
其中,a,b,c,d,e,f,u,v为坐标转换参数,x,y为坐标向量,x′,y′为待求解的坐标向量;Among them, a, b, c, d, e, f, u, v are coordinate conversion parameters, x, y are coordinate vectors, and x′, y′ are coordinate vectors to be solved;
2、统一坐标:根据航拍图像和设置标志板近景图像俯视图中标志板尺寸所确定的数学转换比例关系,将设置标志板近景图像转换到航拍图像的坐标系中,完成统一坐标变换。2. Unified coordinates: According to the mathematical conversion ratio relationship determined by the aerial image and the signboard size in the overhead view of the close-up image of the set signboard, the close-up image of the set signboard is converted into the coordinate system of the aerial image to complete the unified coordinate transformation.
3、图像配准:搜索定位设置标志板近景图像的标志板在航拍图像中的对应位置,根据互相关相似性测度确定两幅图像之间的配准变换关系。3. Image registration: Search and locate the corresponding position of the sign board in the aerial image of the close-range image of the sign board, and determine the registration transformation relationship between the two images according to the cross-correlation similarity measure.
3.1根据标志板颜色特征具有旋转不变性和尺度不变性,将标志板扇形结构颜色作为设置标志板近景图像的索引特征对其在航拍图像中进行搜索定位,获得设置标志板近景图像在航拍图像中的位置区域;3.1 According to the rotation invariance and scale invariance of the color feature of the sign board, the fan-shaped structure color of the sign board is used as the index feature of the close-range image of the sign board to search and locate it in the aerial image, and the close-up image of the sign board is obtained in the aerial image the location area of
3.2根据配准控制点应较为明确、稳定,并且为航拍图像和设置标志板近景图像上都容易辨认且目标较小的突出特征点,通过采用Harris角点检测算法将标志板扇形结构所在圆的圆心作为设置标志板近景图像与航拍图像的配准控制点。其算法的数学公式为:3.2 According to the fact that the registration control points should be clear and stable, and they are prominent feature points that are easily identifiable on the aerial image and the close-range image of the sign board, and the target is small, by using the Harris corner detection algorithm, the circle where the fan-shaped structure of the sign board is located The center of the circle is used as the registration control point for setting the close-range image of the sign board and the aerial image. The mathematical formula of its algorithm is:
E(u,v)=∑x,yw(x,y)[I(x+u,y+v)-I(x,y)]2式(1)E(u,v)=∑ x,y w(x,y)[I(x+u,y+v)-I(x,y)] 2 formula (1)
其中,w(x,y)为窗函数,[I(x+u,y+v)-I(x,y)]2为图像的梯度值。w(x,y)为矩形窗或高斯窗,对于每个小的位移量(u,v),u、v分别代表位移量,式(1)可双线性近似表示为Among them, w(x,y) is the window function, and [I(x+u,y+v)-I(x,y)] 2 is the gradient value of the image. w(x, y) is a rectangular window or a Gaussian window. For each small displacement (u, v), u and v represent the displacement respectively. Equation (1) can be expressed as a bilinear approximation
M是2*2的矩阵:M is a 2*2 matrix:
Ix,Iy分别为图像x、y方向的梯度值;E可近似作为局部互相关函数,M描述了在这点上的形状。设λ1、λ2是矩阵M的两个特征值,则λ1、λ2可表示局部自相关函数的曲率。由于各向同性,所以M保持旋转不变性,其中A、B、C代表矩阵M的元素值。Ix and Iy are the gradient values in the x and y directions of the image respectively; E can be approximated as a local cross-correlation function, and M describes the shape at this point. Let λ 1 and λ 2 be the two eigenvalues of the matrix M, then λ 1 and λ 2 can represent the curvature of the local autocorrelation function. Due to isotropy, M maintains rotation invariance, where A, B, and C represent the element values of matrix M.
3.3根据航拍图像和设置标志板近景图像均为RGB彩色图像,选择采用图像RGB值互相关配准。在航拍图像上选择一临时窗口W(l,m),在设置标志板近景图像S(i,j)上寻找与其对应的最相似的窗口(旋转变换窗口),用互相关相似性测度为:3.3 According to the fact that the aerial image and the close-range image of the set sign board are all RGB color images, choose to use the image RGB value cross-correlation registration. Select a temporary window W(l,m) on the aerial image, and find the most similar window corresponding to it on the close-range image S(i,j) of the sign board (rotation transformation window), using the cross-correlation similarity measure as:
其中W(i,j)是大小为M×M的窗口图像,是航拍图像中的临时窗口。窗口图像W(i,j)在搜索设置标志板近景图像S中以扫描方式自动搜索,寻找该过程中相关函数值RN(i,j)中最大值点的位置(i*,j*),并认为此处就是最佳配准位置,其中l、m为正整数,下标N为正整数。where W(i,j) is a window image of size M×M, is a temporary window in the aerial image. The window image W(i,j) is automatically searched in a scanning manner in the close-range image S of the search setting sign board, and the position (i * ,j * ) of the maximum point in the correlation function value R N (i,j) is found in the process , and think that this is the best registration position, where l and m are positive integers, and the subscript N is a positive integer.
4、图像融合:采用图像像素RGB值加权法实现航拍图像和设置标志板近景图像重叠区域的融合。方法为将航拍图像I1的RGB值R1(i,j)、G1(i,j)、B1(i,j)和设置标志板近景图像I2的RGB值R2(i,j)、G2(i,j)、B2(i,j)各自乘上一个权系数,融合而成新的图像F(i,j)。4. Image fusion: The image pixel RGB value weighting method is used to realize the fusion of the overlapping area of the aerial image and the close-range image of the sign board. The method is to combine the RGB values R 1 (i,j), G 1 (i,j), B 1 (i,j) of the aerial image I 1 and the RGB values R 2 (i,j) of the close-range image I 2 of the sign board ), G 2 (i,j), and B 2 (i,j) are each multiplied by a weight coefficient, and fused to form a new image F(i,j).
F(i,j)=aI1(i,j)+(1-a)I2(i,j)式(5)F(i,j)=aI 1 (i,j)+(1-a)I 2 (i,j)Formula (5)
其中:a为权重因子,且0≤a≤1,可以根据需要调节a的大小。Where: a is a weight factor, and 0≤a≤1, and the size of a can be adjusted as required.
如图2所示,为使用上述方法的具体实施例,设置标志板近景图像1为使用蓝色标志板的融合过程,设置标志板近景图像2为使用红色标志板的融合过程,具体实施过程中,并不限于图2所示的融合方式。As shown in Figure 2, to use the specific embodiment of the above-mentioned method, the close-range image 1 of the signboard is set as the fusion process using the blue signboard, and the close-up image 2 of the signboard is set as the fusion process using the red signboard. In the specific implementation process , is not limited to the fusion method shown in FIG. 2 .
如图3所示,对于配准的方法为,As shown in Figure 3, the method for registration is,
S1,首先预处理标志板近景图像I2;确定配准控制点初始变换值为R;S1, firstly preprocess the close-range image I 2 of the sign board; determine the initial transformation value of the registration control point R;
S2,旋转变换初始变换值R,其变换后的图像为I*=R(I2);S2, rotate and transform the initial transformation value R, and the transformed image is I * =R(I 2 );
S3,对设置标志板近景图像与航拍图像I1配准控制点所确定的图像窗口进行分析,得出相似度测度评价;S3, analyzing the image window determined by the registration control point of the close-range image of the signboard and the aerial image I1 , and obtaining a similarity measure evaluation;
S4,确定变换值R是否最优,如果最优,执行结束,如果未达最优,继续更新变换值R,直到达到最优R。S4. Determine whether the transformation value R is optimal. If it is optimal, the execution ends. If it is not optimal, continue to update the transformation value R until the optimal value R is reached.
如图4所示,1为蓝色直角扇形结构、2为绿色直角扇形结构、3为红色直角扇形结构、4为黄色直角扇形结构,但是图4只是示例性说明,实际操作中并不限于上述颜色的种类,直角扇形结构为优选的扇形结构。图4为将4张设置标志板近景图像融合到航拍图像的一套标志板。所述标志板颜色各不相同,根据事故现场场景状况能够设置不止一套4个标志板,还可以设置N套标志板。As shown in Figure 4, 1 is a blue right-angle fan structure, 2 is a green right-angle fan-shaped structure, 3 is a red right-angle fan-shaped structure, and 4 is a yellow right-angle fan-shaped structure, but Figure 4 is just an example, and the actual operation is not limited to the above The type of color, the right-angle fan-shaped structure is the preferred fan-shaped structure. Figure 4 is a set of sign boards that fuse 4 close-range images of set sign boards into aerial images. The colors of the signboards are different, and not only one set of four signboards, but also N sets of signboards can be set according to the scene conditions of the accident scene.
本发明的有益效果是:The beneficial effects of the present invention are:
经过融合配准之后的图像,其具有更丰富全面的现场信息,能够更好地反应事故现场整体和关键局部场景状况,便于交通事故现场信息的分析和利用;The image after fusion and registration has richer and more comprehensive scene information, which can better reflect the overall and key local scene conditions of the accident scene, and facilitate the analysis and utilization of traffic accident scene information;
利用配准融合技术综合航拍图像和设置标志板近景图像信息,将多种交通事故现场勘查图像结合起来,充分利用不同勘查图像的特点,在一幅图像上同时表达来自事故现场的多方面信息;Using registration and fusion technology to synthesize aerial images and close-range image information of sign boards, combine multiple traffic accident scene survey images, make full use of the characteristics of different survey images, and express multiple aspects of information from the accident scene on one image at the same time;
使事故现场中的关键元素位置、关键元素细节等多方面的状况通过配准融合后的图像反映出来,从而更加直观地提供交通事故现场信息。The location of key elements and details of key elements in the accident scene can be reflected through the images after registration and fusion, so as to provide traffic accident scene information more intuitively.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principle and spirit of the present invention. The scope of the invention is defined by the claims and their equivalents.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410587.9A CN103473756B (en) | 2013-09-11 | 2013-09-11 | Autoregistration merges the method for Aerial Images and close shot image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410587.9A CN103473756B (en) | 2013-09-11 | 2013-09-11 | Autoregistration merges the method for Aerial Images and close shot image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103473756A CN103473756A (en) | 2013-12-25 |
CN103473756B true CN103473756B (en) | 2016-01-20 |
Family
ID=49798590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310410587.9A Expired - Fee Related CN103473756B (en) | 2013-09-11 | 2013-09-11 | Autoregistration merges the method for Aerial Images and close shot image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103473756B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721751A (en) * | 2016-03-28 | 2016-06-29 | 中国人民解放军第三军医大学第三附属医院 | Method for collecting information of night traffic accident scene |
CN106600561B (en) * | 2016-12-22 | 2020-04-07 | 中国人民解放军第三军医大学第三附属医院 | Aerial image perspective distortion automatic correction method based on projection mapping |
JP6749504B2 (en) * | 2017-11-06 | 2020-09-02 | Eizo株式会社 | Image processing apparatus, image processing method, and image processing program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339658A (en) * | 2008-08-12 | 2009-01-07 | 北京航空航天大学 | A Fast and Robust Registration Method for Aerial Traffic Video |
CN102842134A (en) * | 2012-07-16 | 2012-12-26 | 西安电子科技大学 | Rapid scene matching method based on SAR (Synthetic Aperture Radar) image |
CN103186892A (en) * | 2013-04-01 | 2013-07-03 | 中国人民解放军第三军医大学第三附属医院 | Method and system for generating equal proportion live field map with aerial images |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8457437B2 (en) * | 2010-03-23 | 2013-06-04 | Raytheon Company | System and method for enhancing registered images using edge overlays |
-
2013
- 2013-09-11 CN CN201310410587.9A patent/CN103473756B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339658A (en) * | 2008-08-12 | 2009-01-07 | 北京航空航天大学 | A Fast and Robust Registration Method for Aerial Traffic Video |
CN102842134A (en) * | 2012-07-16 | 2012-12-26 | 西安电子科技大学 | Rapid scene matching method based on SAR (Synthetic Aperture Radar) image |
CN103186892A (en) * | 2013-04-01 | 2013-07-03 | 中国人民解放军第三军医大学第三附属医院 | Method and system for generating equal proportion live field map with aerial images |
Also Published As
Publication number | Publication date |
---|---|
CN103473756A (en) | 2013-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111046744B (en) | Method and device for detecting attention area, readable storage medium and terminal equipment | |
Yang et al. | Automatic registration of large-scale urban scene point clouds based on semantic feature points | |
Fan et al. | Registration of optical and SAR satellite images by exploring the spatial relationship of the improved SIFT | |
US10867189B2 (en) | Systems and methods for lane-marker detection | |
CN104376548B (en) | A kind of quick joining method of image based on modified SURF algorithm | |
Cai et al. | Perspective-SIFT: An efficient tool for low-altitude remote sensing image registration | |
CN107563438A (en) | The multi-modal Remote Sensing Images Matching Method and system of a kind of fast robust | |
US7869667B1 (en) | Method for automatic alignment of raster data with vector data in a geographic information system | |
CN105956058A (en) | Method for quickly discovering changed land by adopting unmanned aerial vehicle remote sensing images | |
CN105513038A (en) | Image matching method and mobile phone application test platform | |
CN101512601A (en) | Method for determining a depth map from images, device for determining a depth map | |
Timofte et al. | Multi-view manhole detection, recognition, and 3D localisation | |
CN103106661B (en) | Two, space intersecting straight lines linear solution parabolic catadioptric camera intrinsic parameter | |
CN105701827A (en) | Method and device for jointly calibrating parameters of visible light camera and infrared camera | |
CN106529452B (en) | A fast identification method of mobile intelligent terminal buildings based on building 3D model | |
CN110490839A (en) | The method, apparatus and computer equipment of failure area in a kind of detection highway | |
CN103400362B (en) | Accident close-range figure and Aerial Images merge the method obtaining clear scene graph mutually | |
Wu et al. | Remote sensing image registration based on local structural information and global constraint | |
CN106600561B (en) | Aerial image perspective distortion automatic correction method based on projection mapping | |
CN105354832A (en) | Method for automatically registering mountainous area satellite image to geographical base map | |
CN103473756B (en) | Autoregistration merges the method for Aerial Images and close shot image | |
CN101957916A (en) | Method for extracting affine invariant feature of image by using M-band wavelet | |
CN105374037A (en) | Checkerboard angular point automatic screening method of corner detection | |
CN109727279A (en) | An automatic registration method of vector data and remote sensing images | |
CN114549780A (en) | Point cloud data-based intelligent detection method for large complex component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160120 Termination date: 20180911 |