TWI831445B - Method and system for obtaining parameters ofan image capture device - Google Patents

Method and system for obtaining parameters ofan image capture device Download PDF

Info

Publication number
TWI831445B
TWI831445B TW111140936A TW111140936A TWI831445B TW I831445 B TWI831445 B TW I831445B TW 111140936 A TW111140936 A TW 111140936A TW 111140936 A TW111140936 A TW 111140936A TW I831445 B TWI831445 B TW I831445B
Authority
TW
Taiwan
Prior art keywords
image
vertex
image capture
capture device
traffic sign
Prior art date
Application number
TW111140936A
Other languages
Chinese (zh)
Other versions
TW202418219A (en
Inventor
任庭緯
Original Assignee
新馳科技股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 新馳科技股份有限公司 filed Critical 新馳科技股份有限公司
Priority to TW111140936A priority Critical patent/TWI831445B/en
Application granted granted Critical
Publication of TWI831445B publication Critical patent/TWI831445B/en
Publication of TW202418219A publication Critical patent/TW202418219A/en

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A method and system for obtaining parameters of an image capture device, wherein the method includes the following steps: obtaining a plurality of continuous street view images captured by an image capture device at an image capture location, wherein each continuous street view image includes at least one traffic sign image; obtaining a vertex image position of the plurality of the at least one traffic sign image; obtaining a vertex map position of at least one traffic sign of the at least one traffic sign image at the image capture location from a high-precision map system; comparing the vertex image position and the vertex map position to obtain a complex internal parameters and a complex radial distortion coefficients of the image capturing device; and calculating the parameters of the image capturing device by using the complex parameters and the complex radial distortion coefficients.

Description

影像擷取裝置參數取得方法及系統 Image capture device parameter acquisition method and system

本發明關於一種影像擷取裝置參數取得之方法與系統,特別關一種由複數影像中取得擷取該複數影像之影像擷取裝置之參數之方法與系統。 The present invention relates to a method and system for obtaining parameters of an image capture device, and in particular, to a method and system for obtaining parameters of an image capture device from a plurality of images to capture the plurality of images.

傳統上,所取得的街景影像若用於定位或建圖演算時,需先取得相機內部參數如:焦距(focal length)、主點(principle point)、徑向畸變(radial distortion)、切向畸變(tangential distortion)方可使用。而取得相機參數的方式為,先利用相機已取得的基準影像(此影像並非用於定位或建圖演算的影像)為基準,使用盤格(chess board)做相機標定,透過棋盤格上的直線與直線相交的呈直角的幾何關係,以及事先量測好棋盤格內格子真實尺度大小,即可計算出相機內部參數,日後當完成標定的相機擷取街景影像後,便可將該些街影影像搭配所對應的相機內部參數用於定位或建圖的演算中。 Traditionally, when the obtained street view images are used for positioning or mapping calculations, internal camera parameters such as focal length, principal point, radial distortion, and tangential distortion need to be obtained first. (tangential distortion) can be used. The way to obtain camera parameters is to first use the reference image obtained by the camera (this image is not an image used for positioning or mapping calculations) as a benchmark, use a chess board for camera calibration, and use the straight lines on the chessboard The geometric relationship at right angles to the intersection of the straight line, and the actual size of the grid in the checkerboard are measured in advance, and the internal parameters of the camera can be calculated. In the future, when the calibrated camera captures street view images, these street images can be The internal parameters of the camera corresponding to the image are used in the calculation of positioning or mapping.

然,因為用於定位或建圖演算的街景影像必須正式進行建圖或定位取像前,就先利用棋盤格校正好相機內部參數,若於影像拍攝過程中,擷取影像的相機的內部參數改變,則利用基準影棋盤格定位的取得相機內部參數無法用於相機的內部參數改所取的影像資料,造成該些影像資料(如:影片或圖片)因為沒有相機內部參數而無法用於做定位或是建圖相關演算的情況。舉例來說,如果想利用街景車隊上沒有相機內參的行車紀錄器來達成眾包成圖,但又沒辦法把街景車隊裡所有車子叫回工廠進行相機標定工作,則街景車隊上沒有相機內參的行車紀錄器取得影像資訊就無法用於定位或是建圖相關演算,因此有改進之必要。 Of course, because the street view images used for positioning or mapping calculations must be calibrated using a checkerboard before the official mapping or positioning and imaging, if the internal parameters of the camera that captures the image are not corrected during the image shooting process, If the image data is changed, the internal parameters of the camera obtained by using the checkerboard positioning of the reference image cannot be used to change the internal parameters of the camera, resulting in the image data (such as videos or pictures) being unable to be used for processing because there are no internal parameters of the camera. Positioning or mapping related calculations. For example, if you want to use a driving recorder in the Street View fleet that does not have internal camera parameters to achieve crowdsourcing, but there is no way to call all the cars in the Street View fleet back to the factory for camera calibration, then there is no internal camera reference in the Street View fleet. The image information obtained by the driving recorder cannot be used for positioning or mapping related calculations, so there is a need for improvement.

本發明之主要目的係在提供一種由複數影像中取得擷取該複數影像之影像擷取裝置之參數之方法。 The main purpose of the present invention is to provide a method for obtaining parameters of an image capturing device for capturing the plural images from the plural images.

本發明之另一主要目的係在提供一種由複數影像中取得擷取該複數影像之影像擷取裝置之參數之系統。 Another main object of the present invention is to provide a system for obtaining parameters of an image capturing device for capturing the plural images from the plural images.

為達成上述之目的,本發明之影像擷取裝置參數取得方法,包括下列步驟:取得一影像擷取裝置於一影像擷取地點擷取之複數連續街景影像,其中各連續街景影像皆包括至少一交通標誌影像;取得複數至少一交通標誌影像之頂點影像位置;從一高精地圖系統中取得影像擷取地點對應該至少一交通標誌影像之至少一交通標誌之一頂點地圖位置;比對頂點影像位置及該頂點地圖位置以取得影像擷取裝置之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient);以及,藉由複數內部參數K及複數徑向畸變係數D計算影像擷取裝置之參數。 In order to achieve the above object, the method for obtaining parameters of an image capturing device of the present invention includes the following steps: obtaining a plurality of continuous street view images captured by an image capturing device at an image capturing location, where each continuous street view image includes at least one Traffic sign images; obtain a vertex image position of a plurality of at least one traffic sign image; obtain a vertex map position of at least one traffic sign corresponding to the image capture location from a high-precision map system; compare the vertex images The position and the vertex map position are used to obtain the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion) of the image capture device. coefficient); and, calculate the parameters of the image capture device through the complex internal parameter K and the complex radial distortion coefficient D.

本發明另提供一種影像擷取裝置參數取得系統,包括記憶體、影像資訊取得模組、高精地圖圖資取得模組、比對模組及計算模組。記憶體儲存由一影像擷取裝置於一影像擷取地點擷取之複數連續街景影像,其中各連續街景影像皆包括至少一交通標誌影像。影像資訊取得模組訊號連接記憶體,影像資訊取得模組取得複數至少一交通標誌影像之頂點影像位置。高精地圖圖資取得模組訊號連接一高精地圖系統,高精地圖圖資取得模組從一高精地圖系統中取得影像擷取地點對應該至少一交通標誌影像之至少一交通標誌之一頂點地圖位置。比對模組訊號連接影像資訊取得模組及高精地圖圖資取得模組,比對模組比對頂點影像位置及頂點地圖位置以取得影像擷取裝置之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)。計算模組訊號連接比對模組,計算模組藉由複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)計算影像擷取裝置之參數。 The present invention also provides an image capture device parameter acquisition system, which includes a memory, an image information acquisition module, a high-precision map information acquisition module, a comparison module and a calculation module. The memory stores a plurality of continuous street view images captured by an image capture device at an image capture location, where each continuous street view image includes at least one traffic sign image. The image information acquisition module signal is connected to the memory, and the image information acquisition module acquires the vertex image position of a plurality of at least one traffic sign image. The high-precision map information acquisition module signal is connected to a high-precision map system. The high-precision map information acquisition module obtains one of at least one traffic sign corresponding to the image capture location corresponding to the at least one traffic sign image from a high-precision map system. Vertex map location. The comparison module signal is connected to the image information acquisition module and the high-precision map information acquisition module. The comparison module compares the vertex image position and the vertex map position to obtain the plural internal parameters K (intrinsic parameters) of the image capture device and Complex radial distortion coefficient D (radial distortion coefficient). The calculation module signal is connected to the comparison module. The calculation module calculates the parameters of the image capture device through the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient).

本方法利用高精地圖中的路牌標誌以及對圖像中的相對應的路牌標誌進行投影比對運算找出標牌在圖像中的頂點,即可進行配對,透過高精地圖所提供的尺度資訊,即可計算出相機內部參數。因此本方法可以解決無法使用沒有事先取得機內部參數的取像裝置所擷取的影像資料的問題。 This method uses the street signs in the high-precision map and performs a projection comparison operation on the corresponding street signs in the image to find the vertex of the sign in the image, and then matches it. Through the scale information provided by the high-precision map , the internal parameters of the camera can be calculated. Therefore, this method can solve the problem of being unable to use image data captured by an imaging device without obtaining the internal parameters of the machine in advance.

本案利用矩形之路牌標誌的四邊為直線,且同一個路牌標誌同邊的頂點兩兩間的水平距離或垂直距離相同的特點,利用影像擷取裝置 取得多個複數連續街景影像,可找出路牌標誌影像與該路牌標誌於高精地圖中(真實世界)位置的對應關係,也就是相同位置之相同路牌標誌於高精地圖系統中的經緯度位置,藉此找出拍攝該些連續街景影像的影像擷取裝置800的複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)。藉此於取得街景影像後,再由比對影像中矩形之路牌標誌之影像位置與該矩形之路牌標於高精地圖系統中對應之位置可算出取得該街景影像的相機的內部參數,增加了建圖所需街景影像的取得來源,讓由未知內部參數的相機(如:行車紀錄器)取得之街景影像也可被使用,解決了先前技術中,僅能使用已知相機內部參數之影像擷取裝置所取得之街景影像的侷限。 This project takes advantage of the fact that the four sides of a rectangular road sign are straight lines, and the horizontal or vertical distance between two vertices of the same side of the same road sign is the same, using an image capture device By obtaining multiple continuous street view images, the corresponding relationship between the street sign image and the position of the street sign in the high-precision map (real world) can be found, that is, the longitude and latitude position of the same street sign at the same location in the high-precision map system. In this way, the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) of the image capturing device 800 that captures the continuous street view images are found. In this way, after acquiring the street view image, the internal parameters of the camera that acquired the street view image can be calculated by comparing the image position of the rectangular road sign in the image with the corresponding position of the rectangular road sign in the high-precision map system. The source of the street view image required for the picture allows street view images obtained by cameras with unknown internal parameters (such as driving recorders) to be used, which solves the problem in the previous technology that only image capture with known internal parameters of the camera can be used. The limitations of the street view images obtained by the installation.

1:影像擷取裝置參數取得系統 1: Image capture device parameter acquisition system

10:記憶體 10:Memory

20:影像資訊取得模組 20:Image information acquisition module

30:高精地圖圖資取得模組 30: High-precision map information acquisition module

40:比對模組 40:Comparison module

50:計算模組 50:Computing module

60:優化模組 60:Optimize module

700:高精地圖系統 700: High-precision map system

710、710a、710b、710c:頂點地圖位置 710, 710a, 710b, 710c: Vertex map location

911:交通標誌影像 911: traffic sign images

21、21a、21b、21c:頂點影像位置 21, 21a, 21b, 21c: vertex image position

930:交通標誌 930:Traffic signs

800:影像擷取裝置 800:Image capture device

900:影像擷取地點 900: Image capture location

910、910a:連續街景影像 910, 910a: continuous street view images

圖1係本發明之影像擷取裝置參數取得系統之一實施例之硬體架構示意圖。 FIG. 1 is a schematic diagram of the hardware architecture of an embodiment of the image capture device parameter acquisition system of the present invention.

圖2A係影像擷取裝置於影像擷取地點擷取之複數連續街景影像之其中之一。 Figure 2A is one of a plurality of continuous street view images captured by the image capture device at the image capture location.

圖2B係影像擷取裝置於影像擷取地點擷取之複數連續街景影像之其中之二。 Figure 2B is one of two consecutive street view images captured by the image capture device at the image capture location.

圖3係高精地圖系統中該影像擷取地點之圖之地圖資訊。 Figure 3 is the map information of the image capture location in the high-precision map system.

圖4係本發明之影像擷取裝置參數取得方法之一實施例之步驟流程圖。 Figure 4 is a step flow chart of one embodiment of a method for obtaining parameters of an image capture device according to the present invention.

為能更瞭解本發明之技術內容,特舉較佳具體實施例說明如下。以下請一併參考圖1、圖2A、圖2B、圖3與圖4關於本發明之影像擷取裝置參數取得系統之一實施例之硬體架構示意圖、影像擷取裝置於影像擷取地點擷取之複數連續街景影像及高精地圖系統中該影像擷取地點之圖之地圖資訊。 In order to better understand the technical content of the present invention, preferred specific embodiments are described below. Please refer to Figure 1, Figure 2A, Figure 2B, Figure 3 and Figure 4 below for a schematic diagram of the hardware architecture of one embodiment of the image capture device parameter acquisition system of the present invention, and the image capture device captures at the image capture location. Take multiple continuous street view images and the map information of the map of the location captured by the image in the high-precision map system.

如圖1、圖2A與圖2B所示,在本實施例中,本發明之影像擷取裝置參數取得系統1包括記憶體10、影像資訊取得模組20、高精地圖圖資取得模組30、比對模組40、計算模組50及優化模組60,其中記憶體10儲存由一影像擷取裝置800於一影像擷取地點900擷取之複數連續街景影像910、910',其中各連續街景影像910、910'皆包括至少一交通標誌影像911、912、913、911'、912'、913'。在本實施例中,影像擷取裝置800可以相機、行車紀錄器、或其他可用於擷取影像之光學或電子裝置,交通標誌影像911、912、913、911'、912'、913'為矩形路牌標誌之影像,連續影像指的是,影像擷取裝置800沿某一方向持續移動,也可理解成,取景車在車道上持續移動,而車上的影像擷取裝置800於取景車移動過程中持續拍攝街景影像(如圖2A與圖2B)。影像資訊取得模組20訊號連接記憶體10,影像資訊取得模組20取得複數交通標誌影像911、912、913、911'、912'、913'之頂點影像位置,在本實施例中,交通標誌影像911、912、913、911'、912'、913'呈矩形,交通標誌影像911具有四個頂點影像位置911a、911b、911c、911d;交通標誌影像912具有四個頂點影像位置912a、912b、912c、912d;交通標誌影像913具有四個頂點影像位置913a、913b、913c、913d;交通標誌影像911'具有四個頂點影像位置911a'、911b'、911c'、911d';交通標誌影 像912'具有四個頂點影像位置912a'、912b'、912c'、912d';交通標誌影像913'具有四個頂點影像位置913a'、913b'、913c'、913d'。在本實施例中,交通標誌影像911、912、913、911'、912'、913'之頂點影像位置(如頂點影像位置911a、912a、913a、911a'、912a'、913a'...)為該些頂點於所屬街景影像910、910'中使用盤格(chess board)或者像素(pixel)位置所標出的該些頂點在各自所屬之影像的影像位置。 As shown in Figure 1, Figure 2A and Figure 2B, in this embodiment, the image capture device parameter acquisition system 1 of the present invention includes a memory 10, an image information acquisition module 20, and a high-precision map information acquisition module 30 , comparison module 40, calculation module 50 and optimization module 60, wherein the memory 10 stores a plurality of continuous street view images 910, 910 ' captured by an image capture device 800 at an image capture location 900, wherein each The continuous street view images 910 and 910 ' each include at least one traffic sign image 911, 912, 913, 911 ' , 912 ' , and 913 ' . In this embodiment, the image capture device 800 can be a camera, a driving recorder, or other optical or electronic devices that can be used to capture images. The traffic sign images 911, 912, 913, 911 ' , 912 ' , and 913 ' are rectangular. The continuous image of the road sign refers to the continuous movement of the image capture device 800 in a certain direction, which can also be understood as the continuous movement of the viewfinder car on the lane, and the image capture device 800 on the car during the movement of the viewfinder car. Continuously capture street view images (Figure 2A and Figure 2B). The image information acquisition module 20 is connected to the memory 10 with a signal. The image information acquisition module 20 acquires the vertex image positions of a plurality of traffic sign images 911, 912, 913, 911 ' , 912 ' , and 913 ' . In this embodiment, the traffic sign Images 911, 912, 913, 911 ' , 912 ' , and 913 ' are in a rectangular shape. The traffic sign image 911 has four vertex image positions 911a, 911b, 911c, and 911d; the traffic sign image 912 has four vertex image positions 912a, 912b, 912c, 912d; the traffic sign image 913 has four vertex image positions 913a, 913b, 913c, 913d; the traffic sign image 911 ' has four vertex image positions 911a ' , 911b ' , 911c ' , 911d ' ; the traffic sign image 912 ' It has four vertex image positions 912a ' , 912b ' , 912c ' , 912d ' ; the traffic sign image 913 ' has four vertex image positions 913a ' , 913b ' , 913c ' , 913d ' . In this embodiment, the vertex image positions of the traffic sign images 911 , 912, 913, 911 ' , 912', 913 ' (such as the vertex image positions 911a, 912a, 913a, 911a ' , 912a ' , 913a ' ...) For these vertices in the corresponding street view images 910, 910 ' , the image positions of the vertices in the respective images to which they belong are marked using chess board or pixel positions.

如圖1與圖3所示,高精地圖圖資取得模組30訊號連接一高精地圖系統700,以便高精地圖圖資取得模組30從高精地圖系統700中取得影像擷取地點900對應交通標誌影像911、912、913之交通標誌711、712、713之一頂點地圖位置710,其中頂點地圖位置710包括交通標誌711具有四個頂點地圖位置711a、711b、711c、711d、交通標誌712具有四個頂點地圖位置712a、712b、712c、712d、及交通標誌713具有四個頂點地圖位置713a、713b、713c、713d,其中高精地圖系統700所提供之頂點地圖位置710包括各交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置,換句話說,也就是該些頂點在真實世界中的位置。 As shown in Figures 1 and 3, the high-precision map information acquisition module 30 is connected to a high-precision map system 700 through signals, so that the high-precision map information acquisition module 30 obtains the image capture location 900 from the high-precision map system 700. One of the vertex map positions 710 of the traffic signs 711, 712, and 713 corresponding to the traffic sign images 911, 912, and 913, where the vertex map position 710 includes the traffic sign 711 and has four vertex map positions 711a, 711b, 711c, 711d, and the traffic sign 712 There are four vertex map locations 712a, 712b, 712c, 712d, and traffic signs 713. There are four vertex map locations 713a, 713b, 713c, and 713d. The vertex map location 710 provided by the high-precision map system 700 includes each traffic sign 711. , 712, and 713 correspond to the longitude and latitude positions of the vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, and 713d. In other words, these vertices are in the real world. location in.

比對模組40訊號連接影像資訊取得模組20及高精地圖圖資取得模組30,比對模組40比對頂點影像位置911a、911b、911c、911d、12a、912b、912c、912d、913a、913b、913c、913d、911a'、911b'、911c'、911d'、912a'、912b'、912c'、912d'、913a'、913b'、913c'、913d'及頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d以取得影像擷取裝置800之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)。高精地圖系統700之頂點地圖位置(如:711a、711b、711c、...)與交通標誌影像(如:911、912、913、911'、912'、913之頂點影像位置911a、911b、911c、911d、12a、912b、912c、...)間之對應關係為:

Figure 111140936-A0305-02-0009-1
,其中
Figure 111140936-A0305-02-0009-27
Figure 111140936-A0305-02-0009-28
為各該交通標誌影像911、912、913、911'、912'、913之四個頂點位置於各該街景影像910、910a之頂點影像位置,如:頂點影像位置911a、911b、911c、911d、...於所屬街景影像910、910'中使用盤格(chess board)所標出的位置;x、y為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置,[h1 h2 h3]為交通標誌影像911之頂點位置與高精地圖系統700之頂點地圖尺度資訊(如:經緯度位置)的轉換關係。 The signal of the comparison module 40 is connected to the image information acquisition module 20 and the high-precision map information acquisition module 30. The comparison module 40 compares the vertex image positions 911a, 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a, 913b, 913c, 913d, 911a ' , 911b ' , 911c ' , 911d ' , 912a ' , 912b ' , 912c ' , 912d ' , 913a ' , 913b ' , 913c ' , 913d ' and vertex map positions 711a, 711b , 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d to obtain the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) of the image capturing device 800. The vertex map positions (such as: 711a, 711b, 711c,...) of the high-precision map system 700 and the vertex image positions 911a, 911b, of the traffic sign images (such as: 911, 912, 913, 911 ' , 912 ' , 913 The corresponding relationship between 911c, 911d, 12a, 912b, 912c,...) is:
Figure 111140936-A0305-02-0009-1
,in
Figure 111140936-A0305-02-0009-27
,
Figure 111140936-A0305-02-0009-28
The four vertex positions of each of the traffic sign images 911, 912 , 913, 911 ' , 912', and 913 are located at the vertex image positions of each of the street view images 910 and 910a, such as: vertex image positions 911a, 911b, 911c, 911d, ...the positions marked by chess boards in the corresponding street view images 910 and 910 ' ; x and y are the corresponding traffic sign images 911, 912 and 913 at the image capture location 900 in the high-precision map system 700 The latitude and longitude positions of the vertex map positions 711a , 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d corresponding to the traffic signs 711, 712, and 713 of 911 ' , 912', and 913, [ h 1 h 2 h 3] is the conversion relationship between the vertex position of the traffic sign image 911 and the vertex map scale information (such as longitude and latitude position) of the high-precision map system 700.

計算模組50訊號連接比對模組40,計算模組50藉由複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)計算影像擷取裝置800之參數,其中複數內部參數

Figure 111140936-A0305-02-0009-2
,複數徑向畸變係數D=[k1 k2 k3 p1 p2]。本實施例之複數內部參數K(intrinsic parameter)及該複數徑向畸變係數D(radial distortion coefficient)由單應性矩陣(homography matrix)計算比對得出,其中內部參數K與h1、h2、h3的關係為:
Figure 111140936-A0305-02-0009-16
Figure 111140936-A0305-02-0009-17
Figure 111140936-A0305-02-0009-4
,藉由奇異值分解(SVD decomposition)與前述對應關係,即 可算出內部參數K。畸變係數D之k1、k2、k3係由下列算式取得:
Figure 111140936-A0305-02-0010-23
=x+x[k 1×(x 2+y 2)+k 2×(x 2+y 2)2+k 3×(x 2+y 2)3]、
Figure 111140936-A0305-02-0010-24
=y+y[k 1×(x 2+y 2)+k 2×(x 2+y 2)2+k 3×(x 2+y 2)3]。
Figure 111140936-A0305-02-0010-25
Figure 111140936-A0305-02-0010-26
為各該交通標誌影像911、912、913、911'、912'、913之四個頂點位置於各街景影像910、910a之頂點影像位置,x、y為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置。 The calculation module 50 is connected to the comparison module 40 via a signal. The calculation module 50 calculates the parameters of the image capture device 800 through a complex internal parameter K (intrinsic parameter) and a complex radial distortion coefficient D (radial distortion coefficient), where the complex internal parameter parameters
Figure 111140936-A0305-02-0009-2
, complex radial distortion coefficient D=[ k 1 k 2 k 3 p 1 p 2]. In this embodiment, the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) are calculated and compared with the homography matrix (homography matrix), where the internal parameter K and h1, h2, h3 The relationship is:
Figure 111140936-A0305-02-0009-16
,
Figure 111140936-A0305-02-0009-17
Figure 111140936-A0305-02-0009-4
, through the singular value decomposition (SVD decomposition) and the aforementioned correspondence, the internal parameter K can be calculated. The k1, k2, and k3 of the distortion coefficient D are obtained by the following formula:
Figure 111140936-A0305-02-0010-23
= x + x [ k 1 ×( x 2 + y 2 )+ k 2 ×( x 2 + y 2 ) 2 + k 3 ×( x 2 + y 2 ) 3 ],
Figure 111140936-A0305-02-0010-24
= y + y [ k 1 ×( x 2 + y 2 )+ k 2 ×( x 2 + y 2 ) 2 + k 3 ×( x 2 + y 2 ) 3 ].
Figure 111140936-A0305-02-0010-25
,
Figure 111140936-A0305-02-0010-26
are the four vertex positions of the traffic sign images 911, 912 , 913, 911', 912 ' , and 913 in the vertex image positions of the street view images 910 and 910a, x and y are the image capture in the high-precision map system 700 The location 900 corresponds to the traffic sign images 911, 912 , 913, 911 ' , 912', and 913. The traffic signs 711, 712, and 713 correspond to the vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, The latitude and longitude positions of 713a, 713b, 713c, and 713d.

優化模組60訊號連接計算模組50,優化模組60用來最佳化投影誤差(projection error)並用藉由萊文伯格-馬夸特演算法(Levenberg-Marquardt algorithm)來最小化代價函數

Figure 111140936-A0305-02-0010-6
以算出畸變係數D之p1、p2,其中F為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d於街景影像910或街景影像910'中的投影,其中i為第i張影像,如:i=1代表街景影像910,i=2代表街景影像910'b ij 為頂點影像位置911a、911b、911c、911d、12a、912b、912c、912d、913a、913b、913c、913d、911a'、911b'、911c'、911d'、912a'、912b'、912c'、912d'、913a'、913b'、913c'、913d'的於各自所屬影像(街景影像910或街景影像910')之畫素點(pixel point),也就是各頂點於所屬影像中的位置,R i ,t i 為從單應性矩陣擷取之第i張影像街景影像之相機姿態(camera pose)。通常來說,會先給予代價函數
Figure 111140936-A0305-02-0010-8
F(K,D,R i ,t i ,M j )∥2至3個起始值讓代價函數進行運算以找出畸變係數D之p1、p2。至此,複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)可全部計算得出,供建圖或定位使用。由先前段所列算式可知,若影像擷取裝置800連續取得包括相同交通標誌的影像愈多,則所取得之畸變係數D越準確。在本實施例中,影像擷取裝置800之參數亦可包括焦距(focal point)、主點(principle point)、徑向畸變(radial distortion)及切向畸變(tangential distortion),而當複數連續街景影像910、910'做為利用視覺同時定位與地圖建構技術重建或更新高精地圖時使用之影像時,前述的內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)係用於校正複數連續街景影像910、910'中各項物件的位置。 The optimization module 60 is signal-connected to the calculation module 50. The optimization module 60 is used to optimize the projection error and minimize the cost function through the Levenberg-Marquardt algorithm.
Figure 111140936-A0305-02-0010-6
To calculate p1 and p2 of the distortion coefficient D, where F is the traffic signs 711, 712, and 713 corresponding to the traffic sign images 911, 912, 913, 911 ' , 912 ' , and 913 at the image capture location 900 in the high-precision map system 700. The projection of the corresponding vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d in the street view image 910 or the street view image 910 ' , where i is the i-th image , for example: i=1 represents street view image 910, i=2 represents street view image 910 ' . b ij is the vertex image position 911a, 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a, 913b, 913c, 913d, 911a ' , 911b ' , 911c ' , 911d ' , 912a ' , 912b ' , 912c ' , 912d ' , 913a ' , 913b ' , 913c ' , 913d ' are the pixel points of their respective images (street view image 910 or street view image 910 ' ), that is, the position of each vertex in the image to which they belong, R i , t i are the camera poses of the i-th street view image extracted from the homography matrix. Generally speaking, the cost function is first given
Figure 111140936-A0305-02-0010-8
F ( K,D,R i ,t i ,M j )∥2 to 3 starting values allow the cost function to operate to find p1 and p2 of the distortion coefficient D. At this point, the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) can all be calculated for mapping or positioning. It can be seen from the calculation formula listed in the previous paragraph that if the image capture device 800 continuously acquires more images including the same traffic sign, the obtained distortion coefficient D will be more accurate. In this embodiment, the parameters of the image capture device 800 may also include focal point, principal point, radial distortion and tangential distortion. When multiple continuous street scenes When images 910 and 910 are used to reconstruct or update high-precision maps using simultaneous visual positioning and map construction technology, the aforementioned internal parameter K (intrinsic parameter) and complex radial distortion coefficient D (radial distortion coefficient) are used Correcting the positions of various objects in multiple continuous street view images 910, 910 ' .

如圖1所示,本發明之影像擷取裝置參數取得系統1譬如是一台或數台電腦伺服器。需注意的是,上述各個模組除可配置為硬體裝置、軟體程式、韌體或其組合外,亦可藉電路迴路或其他適當型式配置;並且,各個模組除可以單獨之型式配置外,亦可以結合之型式配置。一個較佳實施例是各模組皆為軟體程式儲存於記憶體上,藉由影像擷取裝置參數取得系統1中的一處理器(圖未示)執行各模組以達成本發明之功能。此外,本實施方式僅例示本發明之較佳實施例,為避免贅述,並未詳加記載所有可能的變化組合。然而,本領域之通常知識者應可理解,上述各模組或元件未必皆為必要。且為實施本發明,亦可能包含其他較細節之習知模組或元件。各模組或元件皆可能視需求加以省略或修改,且任兩模組間未必不存在其他模組或元件。 As shown in Figure 1, the image capture device parameter acquisition system 1 of the present invention is, for example, one or several computer servers. It should be noted that, in addition to being configured as hardware devices, software programs, firmware, or a combination thereof, each of the above modules can also be configured by circuit loops or other appropriate types; and, in addition to being configured as separate modules, each module can also be configured in a separate form. , and can also be configured in combination. A preferred embodiment is that each module is a software program stored in the memory, and a processor (not shown) in the system 1 is used to obtain the parameters of the image capture device to execute each module to achieve the functions of the present invention. In addition, this embodiment only illustrates the preferred embodiments of the present invention. To avoid redundancy, all possible combinations of changes are not described in detail. However, those of ordinary skill in the art should understand that not all of the above-mentioned modules or components are necessary. In order to implement the present invention, other more detailed conventional modules or components may also be included. Each module or component may be omitted or modified as needed, and there may not be other modules or components between any two modules.

如圖4所示,本發明之影像擷取裝置參數取得方法用於重建或精確高經地圖統,該方法包括步驟S1至步驟S5,以下將詳細說明各步驟。 As shown in FIG. 4 , the image capture device parameter acquisition method of the present invention is used for reconstruction or precise high-altitude map system. The method includes steps S1 to S5. Each step will be described in detail below.

步驟S1:取得一影像擷取裝置於一影像擷取地點擷取之複數連續街景影像,其中各該連續街景影像皆包括至少一交通標誌影像。 Step S1: Obtain a plurality of continuous street view images captured by an image capturing device at an image capturing location, where each continuous street view image includes at least one traffic sign image.

在本實施例中,影像擷取裝置800可以相機、行車紀錄器、或其他可用於擷取影像之光學裝置或電子裝置,用於一影像擷取地點900擷取之複數連續街景影像910、910',其中各連續街景影像910、910'皆包括至少一交通標誌影像911、912、913、911'、912'、913',且交通標誌影像911、912、913、911'、912'、913'為矩形之路牌標誌。連續影像指的是,影像擷取裝置800沿某一方向持續移動,也可理解成,取景車在車道上持續移動,而車上的影像擷取裝置800於取景車移動過程中持續拍攝街景影像(如圖2A與圖2B)。 In this embodiment, the image capture device 800 can be a camera, a driving recorder, or other optical devices or electronic devices that can be used to capture images, for a plurality of continuous street view images 910, 910 captured at an image capture location 900. ' , each of the continuous street view images 910 and 910 ' includes at least one traffic sign image 911, 912, 913, 911 ' , 912 ' , 913 ' , and the traffic sign images 911, 912, 913, 911 ' , 912 ' , 913 ' is a rectangular road sign. Continuous images refer to the continuous movement of the image capture device 800 in a certain direction, which can also be understood as the continuous movement of the viewfinder car on the lane, and the image capture device 800 on the car continues to capture street view images while the viewfinder car is moving. (Figure 2A and Figure 2B).

步驟S2:取得複數該至少一交通標誌影像之頂點位置資料。 Step S2: Obtain a plurality of vertex position data of the at least one traffic sign image.

取得各連續街景影像910、910'中複數交通標誌影像911、912、913、911'、912'、913'之頂點影像位置,在本實施例中,交通標誌影像911、912、913、911'、912'、913'呈矩形,故交通標誌影像911具有四個頂點影像位置911a、911b、911c、911d;交通標誌影像912有四個頂點影像位置912a、912b、912c、912d;交通標誌影像913有四個頂點影像位置913a、913b、913c、913d;交通標誌影像911'有四個頂點影像位置911a'、911b'、911c'、911d';交通標誌影像912'有四個頂點影像位置912a'、912b'、912c'、912d';交通標誌影像913'有四個頂點影像位置913a'、913b'、913c'、913d'。在本實施例中,交通標誌影像911、912、913、911'、912'、 913'之頂點影像位置(如頂點影像位置911a、912a、913a、911a'、912a'、913a'...)為該些頂點於所屬街景影像910、910'中使用盤格(chess board)或者像素(pixel)位置所標出的該些頂點在各自所屬之影像的影像位置。 Obtain the vertex image positions of a plurality of traffic sign images 911, 912, 913, 911 ' , 912 ' , and 913' in each continuous street view image 910, 910'. In this embodiment, the traffic sign images 911, 912, 913, 911 ' , 912 ' , 913 ' are rectangular, so the traffic sign image 911 has four vertex image positions 911a, 911b, 911c, 911d; the traffic sign image 912 has four vertex image positions 912a, 912b, 912c, 912d; the traffic sign image 913 There are four vertex image positions 913a, 913b, 913c, 913d; the traffic sign image 911 ' has four vertex image positions 911a ' , 911b ' , 911c ' , 911d ' ; the traffic sign image 912 ' has four vertex image positions 912a ' , 912b ' , 912c ' , 912d ' ; the traffic sign image 913 ' has four vertex image positions 913a ' , 913b ' , 913c ' , 913d ' . In this embodiment, the vertex image positions of the traffic sign images 911 , 912, 913, 911 ' , 912', 913 ' (such as the vertex image positions 911a, 912a, 913a, 911a ' , 912a ' , 913a ' ...) For these vertices in the corresponding street view images 910, 910 ' , the image positions of the vertices in the respective images to which they belong are marked using chess board or pixel positions.

步驟S3:從一高精地圖系統中取得該影像擷取地點之該至少一交通標誌之一頂點地圖資訊。 Step S3: Obtain the vertex map information of the at least one traffic sign at the image capture location from a high-precision map system.

從高精地圖系統700中取得影像擷取地點900對應交通標誌影像911、912、913之交通標誌711、712、713之一頂點地圖位置710,其中頂點地圖位置710包括交通標誌711之頂點地圖位置711a、711b、711c、711d、交通標誌712之頂點地圖位置712a、712b、712c、712d、及交通標誌713之頂點地圖位置713a、713b、713c、713d,其中高精地圖系統700所提供之頂點地圖位置710包括各交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置,換句話說,也就該些頂點在真實世界中的位置。 Obtain a vertex map position 710 of the traffic signs 711 , 712 , and 713 corresponding to the traffic sign images 911 , 912 , and 913 at the image capture location 900 from the high-precision map system 700 , where the vertex map position 710 includes the vertex map position of the traffic sign 711 711a, 711b, 711c, 711d, the vertex map positions 712a, 712b, 712c, 712d of the traffic sign 712, and the vertex map positions 713a, 713b, 713c, 713d of the traffic sign 713, among which the vertex map provided by the high-precision map system 700 The position 710 includes the longitude and latitude positions of the vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d corresponding to the traffic signs 711, 712, 713. In other words, It is the location of these vertices in the real world.

步驟S4:比對該頂點位置資料及該頂點地圖資訊以取得該影像擷取裝置之複數內部參數K及複數徑向畸變係數D。 Step S4: Compare the vertex position data and the vertex map information to obtain the complex internal parameters K and the complex radial distortion coefficient D of the image capture device.

比對頂點影像位置911a、911b、911c、911d、12a、912b、912c、912d、913a、913b、913c、913d、911a'、911b'、911c'、911d'、912a'、912b'、912c'、912d'、913a'、913b'、913c'、913d'及頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d以取得影像擷取裝置800之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)。高精地圖系統700之 頂點地圖位置(如:711a、711b、711c、711d、...)與交通標誌影像911、912、913、911'、912'、913之頂點影像位置(如:911a、911b、911c、911d、12a、912b、912c、912d、913a、913b、913c、913d、911a'...)間之對應關係為:

Figure 111140936-A0305-02-0014-9
,其中
Figure 111140936-A0305-02-0014-20
Figure 111140936-A0305-02-0014-21
為各該交通標誌影像911、912、913、911'、912'、913之四個頂點位置於各該街景影像910、910a之頂點影像位置,如:頂點影像位置911a、911b、911c、911d、12a、912b、912c、912d、913a...於所屬街景影像910、910'中使用盤格(chess board)所標出的位置;x、y為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置,[h1 h2 h3]為交通標誌影像911之頂點位置與高精地圖系統700之頂點地圖尺度資訊(如:經緯度位置)的轉換關係。 Compare vertex image positions 911a, 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a, 913b, 913c, 913d, 911a ' , 911b ' , 911c ' , 911d ' , 912a ' , 912b ' , 912c ' , 912d ' , 913a ' , 913b ' , 913c ' , 913d ' and vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d to obtain the plurality of image capture devices 800 Internal parameter K (intrinsic parameter) and complex radial distortion coefficient D (radial distortion coefficient). The vertex map positions of the high-precision map system 700 (such as: 711a, 711b, 711c, 711d,...) and the vertex image positions of the traffic sign images 911, 912, 913, 911 ' , 912 ' , 913 (such as: 911a, The corresponding relationship between 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a, 913b, 913c, 913d, 911a ' ...) is:
Figure 111140936-A0305-02-0014-9
,in
Figure 111140936-A0305-02-0014-20
,
Figure 111140936-A0305-02-0014-21
The four vertex positions of each of the traffic sign images 911, 912 , 913, 911 ' , 912', and 913 are located at the vertex image positions of each of the street view images 910 and 910a, such as: vertex image positions 911a, 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a... are the positions marked using chess boards in the corresponding street view images 910 and 910 ' ; x and y are the image capture locations 900 in the high-precision map system 700 The vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, corresponding to the traffic signs 711, 712 , and 713 corresponding to the traffic sign images 911, 912, 913, 911' , 912', and 913 The longitude and latitude positions of 713b, 713c, and 713d, [ h 1 h 2 h 3 ], are the conversion relationship between the vertex position of the traffic sign image 911 and the vertex map scale information (such as the longitude and latitude position) of the high-precision map system 700 .

藉由複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)計算影像擷取裝置800之參數,其中複數內部參數

Figure 111140936-A0305-02-0014-10
,複數徑向畸變係數D=[k1 k2 k3 p1 p2]。本實施例之複數內部參數K(intrinsic parameter)及該複數徑向畸變係數D(radial distortion coefficient)由單應性矩陣(homography matrix)計算比對得出,其中內部參數K與h1、h2、h3的關係為:
Figure 111140936-A0305-02-0014-11
Figure 111140936-A0305-02-0014-13
,藉由奇異值分解(SVD decomposition)與前述對應關係,即可算出內部參數K。畸變係數D之k1、k2、k3係由下列算式取得:
Figure 111140936-A0305-02-0014-22
=x+x[k 1×(x 2+y 2)+k 2×(x 2+y 2)2+k 3× (x 2+y 2)3]、
Figure 111140936-A0305-02-0015-29
=y+y[k 1×(x 2+y 2)+k 2×(x 2+y 2)2+k 3×(x 2+y 2)3]。
Figure 111140936-A0305-02-0015-18
Figure 111140936-A0305-02-0015-31
為各該交通標誌影像911、912、913、911'、912'、913之四個頂點位置於各街景影像910、910a之頂點影像位置,x、y為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d之經緯度位置。 The parameters of the image capture device 800 are calculated by the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient), where the complex internal parameter
Figure 111140936-A0305-02-0014-10
, complex radial distortion coefficient D=[ k 1 k 2 k 3 p 1 p 2]. In this embodiment, the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) are calculated and compared with the homography matrix (homography matrix), where the internal parameter K and h1, h2, h3 The relationship is:
Figure 111140936-A0305-02-0014-11
,
Figure 111140936-A0305-02-0014-13
, through the singular value decomposition (SVD decomposition) and the aforementioned correspondence, the internal parameter K can be calculated. The k1, k2, and k3 of the distortion coefficient D are obtained by the following formula:
Figure 111140936-A0305-02-0014-22
= x + x [ k 1 × ( x 2 + y 2 ) + k 2 × ( x 2 + y 2 ) 2 + k 3 × ( x 2 + y 2 ) 3 ],
Figure 111140936-A0305-02-0015-29
= y + y [ k 1 ×( x 2 + y 2 )+ k 2 ×( x 2 + y 2 ) 2 + k 3 ×( x 2 + y 2 ) 3 ].
Figure 111140936-A0305-02-0015-18
,
Figure 111140936-A0305-02-0015-31
are the four vertex positions of the traffic sign images 911, 912 , 913, 911', 912 ' , and 913 in the vertex image positions of the street view images 910 and 910a, x and y are the image capture in the high-precision map system 700 The location 900 corresponds to the traffic sign images 911, 912 , 913, 911 ' , 912', and 913. The traffic signs 711, 712, and 713 correspond to the vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, The latitude and longitude positions of 713a, 713b, 713c, and 713d.

步驟S5:藉由該複數內部參數K及該複數徑向畸變係數D計算該影像擷取裝置之參數。 Step S5: Calculate parameters of the image capturing device based on the complex internal parameter K and the complex radial distortion coefficient D.

此步驟為最佳化投影誤差(projection error)並用藉由萊文伯格-馬夸特演算法(Levenberg-Marquardt algorithm)來最小化代價函數

Figure 111140936-A0305-02-0015-14
以算出畸變係數D之p1、p2,其中F為高精地圖系統700中於影像擷取地點900對應交通標誌影像911、912、913、911'、912'、913之交通標誌711、712、713對應之各該頂點地圖位置711a、711b、711c、711d、712a、712b、712c、712d、713a、713b、713c、713d於街景影像910或街景影像910'中的投影,其中i為第i張影像,如:i=1代表街景影像910,i=2代表街景影像910'b ij 為頂點影像位置911a、911b、911c、911d、12a、912b、912c、912d、913a、913b、913c、913d、911a'、911b'、911c'、911d'、912a'、912b'、912c'、912d'、913a'、913b'、913c'、913d'的於各自所屬影像(街景影像910或街景影像910')之畫素點(pixel point),也就是各頂點於所屬影像中的位置,R i ,t i 為從單應性矩陣擷取之第i張影像街景影像之相機姿態(camera pose)。通常來說,會先給予代價函數
Figure 111140936-A0305-02-0015-32
2至3個起始值讓代價函數進行運算以找出 畸變係數D之p1、p2。至此,複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)可全部計算得出,供建圖或定位使用。由先前段所列算式可知,若影像擷取裝置800連續取得包括相同交通標誌的影像愈多,則所取得之畸變係數D越準確,此外,根據本發明之另一實施例,若影像擷取裝置800連續取得矩形(如不同交通標誌)的影像(不需要是相同一個交通標誌)越多,則所取得之畸變係數D也會越準確。在本實施例中,影像擷取裝置800之參數亦可包括焦距(focal point)、主點(principle point)、徑向畸變(radial distortion)及切向畸變(tangential distortion),而當複數連續街景影像910、910'做為利用視覺同時定位與地圖建構技術重建或更新高精地圖時使用之影像時,前述的內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)係用於校正複數連續街景影像910、910'中各項物件的位置。 This step is to optimize the projection error and minimize the cost function using the Levenberg-Marquardt algorithm.
Figure 111140936-A0305-02-0015-14
To calculate p1 and p2 of the distortion coefficient D, where F is the traffic signs 711, 712, and 713 corresponding to the traffic sign images 911, 912, 913, 911 ' , 912 ' , and 913 at the image capture location 900 in the high-precision map system 700. The projection of the corresponding vertex map positions 711a, 711b, 711c, 711d, 712a, 712b, 712c, 712d, 713a, 713b, 713c, 713d in the street view image 910 or the street view image 910 ' , where i is the i-th image , for example: i=1 represents street view image 910, i=2 represents street view image 910 ' . b ij is the vertex image position 911a, 911b, 911c, 911d, 12a, 912b, 912c, 912d, 913a, 913b, 913c, 913d, 911a ' , 911b ' , 911c ' , 911d ' , 912a ' , 912b ' , 912c ' , 912d ' , 913a ' , 913b ' , 913c ' , 913d ' are the pixel points of their respective images (street view image 910 or street view image 910 ' ), that is, the position of each vertex in the image to which they belong, R i , t i are the camera poses of the i-th street view image extracted from the homography matrix. Generally speaking, the cost function is first given
Figure 111140936-A0305-02-0015-32
2 to 3 starting values allow the cost function to operate to find p1 and p2 of the distortion coefficient D. At this point, the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) can all be calculated for mapping or positioning. It can be seen from the calculation formula listed in the previous paragraph that if the image capture device 800 continuously acquires more images including the same traffic sign, the obtained distortion coefficient D will be more accurate. In addition, according to another embodiment of the present invention, if the image capture device 800 The more images of rectangles (such as different traffic signs) that the device 800 continuously acquires (not necessarily the same traffic sign), the more accurate the obtained distortion coefficient D will be. In this embodiment, the parameters of the image capture device 800 may also include focal point, principal point, radial distortion and tangential distortion. When multiple continuous street scenes When images 910 and 910 are used to reconstruct or update high-precision maps using simultaneous visual positioning and map construction technology, the aforementioned internal parameter K (intrinsic parameter) and complex radial distortion coefficient D (radial distortion coefficient) are used Correcting the positions of various objects in multiple continuous street view images 910, 910 ' .

本案利用矩形之路牌標誌的四邊為直線,且同一個路牌標誌同邊的頂點兩兩間的水平距離或垂直距離相同的特點,利用影像擷取裝置800取得多個複數連續街景影像,可找出路牌標誌與該路牌標誌於真實世界位置的對應關係,也就是相同位置之相同路牌標誌於高經地圖系統中的經緯度位置,藉此找出拍攝該些連續街景影像的影像擷取裝置800的複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient)。藉此於取得街景影像後,再由比對影像中矩形之路牌標誌之影像位置與該矩形之路牌標於高精地圖系統中對應之位置可算出取得該街景影像的相機的內部參數,增加了建圖所需街景影像的取得來源,讓由未 知內部參數的相機(如:行車紀錄器)取得之街景影像也可被使用,解決了先前技術中,僅能使用已知取像相機內部參數所取得之街景影像的侷限。 This case takes advantage of the fact that the four sides of a rectangular road sign are straight lines, and the horizontal or vertical distance between two vertices of the same side of the same road sign is the same. The image capture device 800 is used to obtain multiple plural continuous street scene images. It can be found The corresponding relationship between the street sign and the real-world location of the street sign, that is, the longitude and latitude position of the same street sign at the same location in the high-longitude map system, thereby finding the plurality of image capture devices 800 that captured the continuous street view images. Internal parameter K (intrinsic parameter) and complex radial distortion coefficient D (radial distortion coefficient). In this way, after acquiring the street view image, the internal parameters of the camera that acquired the street view image can be calculated by comparing the image position of the rectangular road sign in the image with the corresponding position of the rectangular road sign in the high-precision map system. The source of the street view images required for the image is unknown. Street view images obtained by cameras with known internal parameters (such as driving recorders) can also be used, which solves the limitation of the previous technology that only street view images obtained by known internal parameters of the imaging camera can be used.

應注意的是,上述諸多實施例僅係為了便於說明而舉例而已,本發明所主張之權利範圍自應以申請專利範圍所述為準,而非僅限於上述實施例。 It should be noted that the above-mentioned embodiments are only examples for convenience of explanation, and the scope of rights claimed by the present invention should be subject to the scope of the patent application and is not limited to the above-mentioned embodiments.

步驟S1至步驟S5 Step S1 to Step S5

Claims (10)

一種影像擷取裝置參數取得方法,包括下列步驟:取得一影像擷取裝置於一影像擷取地點擷取之複數連續街景影像,其中各該連續街景影像皆包括至少一交通標誌影像;取得複數該至少一交通標誌影像之頂點影像位置;從一高精地圖系統中取得該影像擷取地點對應該至少一交通標誌影像之該至少一交通標誌之一頂點地圖位置;比對該頂點影像位置及該頂點地圖位置以取得該影像擷取裝置之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient);以及藉由該複數內部參數K及該複數徑向畸變係數D計算該影像擷取裝置之參數。 A method for obtaining parameters of an image capture device, including the following steps: obtain a plurality of continuous street view images captured by an image capture device at an image capture location, wherein each of the continuous street view images includes at least one traffic sign image; obtain a plurality of the The vertex image position of at least one traffic sign image; obtaining the vertex map position of the at least one traffic sign corresponding to the image capture location from a high-precision map system; comparing the vertex image position with the The vertex map position is used to obtain the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) of the image capture device; and the complex internal parameter K and the complex radial distortion coefficient D are used to calculate the Parameters of the image capture device. 如請求項1所述之影像擷取裝置參數取得方法,其中該至少一交通標誌影像呈一矩形,且於該複數連續街景影像中取得該矩形之四個頂點位置於各該街景影像之頂點影像位置。 The image capture device parameter acquisition method as described in claim 1, wherein the at least one traffic sign image is in the shape of a rectangle, and the four vertex positions of the rectangle in the plurality of continuous street view images are obtained in the vertex images of each of the street view images. Location. 如請求項2所述之影像擷取裝置參數取得方法,其中該頂點地圖位置為四個頂點地圖位置,該四個頂點地圖位置分別對應該高精地圖系統中該影像擷取地點,與該至少一交通標誌影像對應之該至少一交通標誌之四個頂點之頂點地圖位置。 The method for obtaining parameters of an image capture device as described in claim 2, wherein the vertex map position is four vertex map positions, and the four vertex map positions respectively correspond to the image capture location in the high-precision map system and the at least one A traffic sign image corresponds to the vertex map positions of four vertices of the at least one traffic sign. 如請求項3所述之影像擷取裝置參數取得方法,其中該複數內部參數K(intrinsic parameter)及該複數徑向畸變係數D(radial distortion coefficient)由單應性矩陣(homography matrix)計算得出。 The method for obtaining image capture device parameters as described in claim 3, wherein the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) are calculated from a homography matrix (homography matrix) . 如請求項1至請求項4任一項所述之影像擷取裝置參數取得方法,更包括藉由萊文伯格-馬夸特演算法(Levenberg-Marquardt algorithm)優化該影像擷取裝置之參數。 The method for obtaining parameters of an image capture device as described in any one of Claims 1 to 4, further comprising optimizing the parameters of the image capture device through Levenberg-Marquardt algorithm. . 一種影像擷取裝置參數取得系統,包括:一記憶體,儲存由一影像擷取裝置於一影像擷取地點擷取之複數連續街景影像,其中各該連續街景影像皆包括至少一交通標誌影像;一影像資訊取得模組,訊號連接該記憶體,該影像資訊取得模組取得複數該至少一交通標誌影像之頂點影像位置;一高精地圖圖資取得模組,訊號連接一高精地圖系統,該高精地圖圖資取得模組從一高精地圖系統中取得該影像擷取地點對應該至少一交通標誌影像之該至少一交通標誌之一頂點地圖位置;一比對模組,訊號連接該影像資訊取得模組及該高精地圖圖資取得模組,該比對模組比對該頂點影像位置及該頂點地圖位置以取得該影像擷取裝置之複數內部參數K(intrinsic parameter)及複數徑向畸變係數D(radial distortion coefficient);以及一計算模組,訊號連接該比對模組,該計算模組藉由該複數內部參數K(intrinsic parameter)及該複數徑向畸變係數D(radial distortion coefficient)計算該影像擷取裝置之參數。 An image capture device parameter acquisition system includes: a memory that stores a plurality of continuous street view images captured by an image capture device at an image capture location, wherein each of the continuous street view images includes at least one traffic sign image; An image information acquisition module, the signal is connected to the memory, the image information acquisition module acquires a plurality of vertex image positions of the at least one traffic sign image; a high-precision map information acquisition module, the signal is connected to a high-precision map system, The high-precision map information acquisition module obtains a vertex map position of the at least one traffic sign corresponding to the image capture location from a high-precision map system; a comparison module is connected to the signal The image information acquisition module and the high-precision map information acquisition module, the comparison module compares the vertex image position and the vertex map position to obtain the plural internal parameters K (intrinsic parameters) and plural numbers of the image capture device Radial distortion coefficient D (radial distortion coefficient); and a calculation module, the signal is connected to the comparison module, the calculation module uses the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) distortion coefficient) to calculate the parameters of the image capture device. 如請求項6所述之影像擷取裝置參數取得系統,其中該至少一交通標誌影像呈一矩形,且該影像資訊取得模組於該複數連續街景影像中取得該矩形之四個頂點位置於各該街景影像之頂點影像位置。 The image capture device parameter acquisition system as described in claim 6, wherein the at least one traffic sign image is in the shape of a rectangle, and the image information acquisition module acquires the four vertex positions of the rectangle in each of the plurality of continuous street view images. The vertex image position of the street view image. 如請求項7所述之影像擷取裝置參數取得系統,其中該頂點地圖位置為四個頂點地圖位置,該四個頂點地圖位置分別對應該高精地圖系統中該影像擷取地點,與該至少一交通標誌影像對應之該至少一交通標誌之四個頂點之頂點地圖位置。 The image capture device parameter acquisition system as described in claim 7, wherein the vertex map location is four vertex map locations, and the four vertex map locations respectively correspond to the image capture location in the high-precision map system and the at least A traffic sign image corresponds to the vertex map positions of four vertices of the at least one traffic sign. 如請求項8所述之影像擷取裝置參數取得系統,其中該複數內部參數K(intrinsic parameter)及該複數徑向畸變係數D(radial distortion coefficient)由比對模組利用單應性矩陣(homography matrix)計算比對得出。 The image capture device parameter acquisition system as described in claim 8, wherein the complex internal parameter K (intrinsic parameter) and the complex radial distortion coefficient D (radial distortion coefficient) are determined by the comparison module using a homography matrix. ) calculated and compared. 如請求項6至請求項9任一項所述之影像擷取裝置參數取得系統,更包括一優化模組,訊號連接該計算模組,該優化模組藉由萊文伯格-馬夸特演算法(Levenberg-Marquardt algorithm)優化該影像擷取裝置之參數。 The image capture device parameter acquisition system as described in any one of claims 6 to 9 further includes an optimization module, the signal is connected to the calculation module, and the optimization module uses Levenberg-Marquardt An algorithm (Levenberg-Marquardt algorithm) optimizes the parameters of the image capture device.
TW111140936A 2022-10-27 2022-10-27 Method and system for obtaining parameters ofan image capture device TWI831445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111140936A TWI831445B (en) 2022-10-27 2022-10-27 Method and system for obtaining parameters ofan image capture device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111140936A TWI831445B (en) 2022-10-27 2022-10-27 Method and system for obtaining parameters ofan image capture device

Publications (2)

Publication Number Publication Date
TWI831445B true TWI831445B (en) 2024-02-01
TW202418219A TW202418219A (en) 2024-05-01

Family

ID=90824610

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111140936A TWI831445B (en) 2022-10-27 2022-10-27 Method and system for obtaining parameters ofan image capture device

Country Status (1)

Country Link
TW (1) TWI831445B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915532A (en) * 2011-06-30 2013-02-06 哈曼贝克自动系统股份有限公司 Method of determining extrinsic parameters of a vehicle vision system and vehicle vision system
TWI705292B (en) * 2020-02-14 2020-09-21 致伸科技股份有限公司 Method of determining assembly quality of camera module
JP2021517680A (en) * 2018-04-03 2021-07-26 モービルアイ ビジョン テクノロジーズ リミテッド Systems and methods for determining navigation parameters
CN114187339A (en) * 2021-12-09 2022-03-15 中国科学院自动化研究所 Neural navigation assistance method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915532A (en) * 2011-06-30 2013-02-06 哈曼贝克自动系统股份有限公司 Method of determining extrinsic parameters of a vehicle vision system and vehicle vision system
JP2021517680A (en) * 2018-04-03 2021-07-26 モービルアイ ビジョン テクノロジーズ リミテッド Systems and methods for determining navigation parameters
TWI705292B (en) * 2020-02-14 2020-09-21 致伸科技股份有限公司 Method of determining assembly quality of camera module
CN114187339A (en) * 2021-12-09 2022-03-15 中国科学院自动化研究所 Neural navigation assistance method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111145238B (en) Three-dimensional reconstruction method and device for monocular endoscopic image and terminal equipment
WO2021227359A1 (en) Unmanned aerial vehicle-based projection method and apparatus, device, and storage medium
CN111750820B (en) Image positioning method and system
JP4268206B2 (en) Fisheye lens camera device and image distortion correction method thereof
US10764496B2 (en) Fast scan-type panoramic image synthesis method and device
WO2018235163A1 (en) Calibration device, calibration chart, chart pattern generation device, and calibration method
CN109587556B (en) Video processing method, video playing method, device, equipment and storage medium
JP2008048443A (en) Fisheye lens camera apparatus and image extraction method thereof
CN111243033A (en) Method for optimizing external parameters of binocular camera
CN112734860A (en) Arc-screen prior information-based pixel-by-pixel mapping projection geometric correction method
CN111461963A (en) Fisheye image splicing method and device
CN103500471A (en) Method for realizing high-resolution augmented reality system
JP2004228824A (en) Stack projection device and its adjusting method
CN113516719B (en) Camera calibration method, system and storage medium based on multiple homography matrixes
CN113259642B (en) Film visual angle adjusting method and system
CN111131801A (en) Projector correction system and method and projector
TWI831445B (en) Method and system for obtaining parameters ofan image capture device
JP7489253B2 (en) Depth map generating device and program thereof, and depth map generating system
CN109801339B (en) Image processing method, apparatus and storage medium
TW202418219A (en) Method and system for obtaining parameters ofan image capture device
JP2003317033A (en) Affine transformation coefficient calculating method for image processing and image processor
CN110213500B (en) Wide dynamic graph generation method for multi-lens shooting
CN114494445A (en) Video synthesis method and device and electronic equipment
KR100321904B1 (en) An apparatus and method for extracting of camera motion in virtual studio
Yuan et al. A novel method for geometric correction of multi-cameras in panoramic video system