[go: up one dir, main page]

TWI702577B - A method for generating a driving assistance image utilizing in a vehicle and a system thereof - Google Patents

A method for generating a driving assistance image utilizing in a vehicle and a system thereof Download PDF

Info

Publication number
TWI702577B
TWI702577B TW108124209A TW108124209A TWI702577B TW I702577 B TWI702577 B TW I702577B TW 108124209 A TW108124209 A TW 108124209A TW 108124209 A TW108124209 A TW 108124209A TW I702577 B TWI702577 B TW I702577B
Authority
TW
Taiwan
Prior art keywords
processing module
vehicle
dimensional projection
projection model
driving assistance
Prior art date
Application number
TW108124209A
Other languages
Chinese (zh)
Other versions
TW202103118A (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 TW108124209A priority Critical patent/TWI702577B/en
Application granted granted Critical
Publication of TWI702577B publication Critical patent/TWI702577B/en
Publication of TW202103118A publication Critical patent/TW202103118A/en

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Image Processing (AREA)

Abstract

A method for generating a driving assistance image utilizing in a vehicle, comprising : (a) determining whether an object on the road is existing based on a detected result; (b) determining whether a distance between the object and the vehicle is more than a threshold value based on the detected result, when the object is existed; (c) selecting a first 3-dimention projection model when the distance between the object and the vehicle is equal or less than the threshold value; (d) selecting a second 3-dimention projection model when the distance between the object and the vehicle is more than the threshold value; (e) projecting an image surrounding the vehicle to the selected first 3-dimention projection model or the second 3-dimention projection model; and (f) generating a first field of view driving assistance image or a second field of view driving assistance image based on the result of step (e).

Description

行車輔助影像產生方法及系統Method and system for generating driving auxiliary image

本發明是有關於一種影像產生方法,特別是指一種用於車輛的行車輔助影像產生方法。The invention relates to an image generation method, in particular to a driving assistance image generation method for vehicles.

汽車環景顯示(around-view)系統是先進駕駛輔助系統(ADAS)技術的一種,能夠即時為駕駛者顯示一車輛及其周圍環境的鳥瞰360度全景影像,以確保在停車或其他低速行駛情況下的駕駛安全。現有的汽車環景顯示系統係藉由分別設置於車輛前後及兩側的數個廣角攝影機來獲得該車輛之周遭環境的影像,接著根據固定的三維投影模型透過一逆透視投影轉換來將該等廣角攝影機所獲得之影像轉換為一三維投影模型,之後在透過一虛擬的攝影機以不同視角對該三維投影模型進行一透視投影轉換來獲得不同觀察視角的二維影像。The car around-view system is a kind of advanced driver assistance system (ADAS) technology, which can instantly show the driver a bird's-eye 360-degree panoramic image of a vehicle and its surroundings to ensure parking or other low-speed driving conditions Driving safety. The existing car surround view display system obtains the image of the surrounding environment of the vehicle by using several wide-angle cameras installed at the front and rear and on both sides of the vehicle, and then converts these images through an inverse perspective projection based on a fixed three-dimensional projection model. The image obtained by the wide-angle camera is converted into a three-dimensional projection model, and then a perspective projection conversion is performed on the three-dimensional projection model from different viewing angles through a virtual camera to obtain two-dimensional images with different viewing angles.

然而,現有的汽車環景顯示系統所採用之三維投影模型之形狀與尺寸皆是固定的,無法依駕駛情境之改變而動態調整,故在使用上無法提供良好的使用體驗。However, the shape and size of the three-dimensional projection model used in the existing automotive surround view display system are fixed, and cannot be dynamically adjusted according to changes in the driving situation, so it cannot provide a good user experience in use.

因此,本發明的目的,即在提供一種能依駕駛情境之改變而動態調整三維投影模型之函式與參數,以提供較佳之使用體驗的行車輔助影像產生方法及其系統。Therefore, the object of the present invention is to provide a driving assistance image generation method and system that can dynamically adjust the functions and parameters of the three-dimensional projection model according to changes in the driving situation to provide a better user experience.

於是,本發明行車輔助影像產生方法,適用於一車輛,並藉由一處理模組來實施,該處理模組電連接一拍攝單元,及一障礙物偵測模組,該拍攝單元用於拍攝並傳送該車輛之至少一周遭影像至該處理模組,該障礙物偵測模組用於產生並傳送相關於該車輛所對應之一障礙物的一障礙物偵測結果至該處理模組,該方法包含以下步驟:Therefore, the driving assistance image generation method of the present invention is suitable for a vehicle and is implemented by a processing module that is electrically connected to a photographing unit and an obstacle detection module. The photographing unit is used for photographing. And transmitting at least a surrounding image of the vehicle to the processing module, and the obstacle detection module is used to generate and transmit an obstacle detection result related to an obstacle corresponding to the vehicle to the processing module; The method includes the following steps:

(A)該處理模組判定該障礙物偵測結果是否指示出存在該障礙物;(A) The processing module determines whether the obstacle detection result indicates the existence of the obstacle;

(B)當該處理模組判定出存在該障礙物時,其中該障礙物偵測結果包括該障礙物與該車輛間之一障礙物距離,該處理模組判定該障礙物距離是否大於一距離閥值;(B) When the processing module determines that the obstacle exists, wherein the obstacle detection result includes an obstacle distance between the obstacle and the vehicle, the processing module determines whether the obstacle distance is greater than a distance Threshold

(C)當該處理模組判定出該障礙物距離小於等於該距離閥值時,該處理模組選擇具有一橢圓弧線的一第一三維投影模型;(C) When the processing module determines that the obstacle distance is less than or equal to the distance threshold, the processing module selects a first three-dimensional projection model with an elliptical arc;

(D)當該處理模組判定出該障礙物距離大於該距離閥值時,該處理模組選擇具有一圓弧線的一第二三維投影模型;(D) When the processing module determines that the obstacle distance is greater than the distance threshold, the processing module selects a second three-dimensional projection model with a circular arc;

(E)該處理模組根據所選擇的該第一三維投影模型或該第二三維投影模型,利用一逆透視投影轉換法,將該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型;及(E) The processing module uses an inverse perspective projection conversion method according to the selected first three-dimensional projection model or the second three-dimensional projection model to map the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model Two and three-dimensional projection model; and

(F) 該處理模組利用一透視投影轉換法將步驟(E)結果轉換成對應的一第一視野行車輔助影像或一第二視野行車輔助影像。(F) The processing module uses a perspective projection conversion method to convert the result of step (E) into a corresponding first-view driving assistance image or a second-view driving assistance image.

於是,本發明行車輔助影像產生系統,可用於執行上述行車輔助影像產生方法。Therefore, the driving assistance image generating system of the present invention can be used to implement the above driving assistance image generating method.

本發明的功效在於:藉由該處理模組根據該障礙物與該車輛間之障礙物距離或車速來採用不同的三維投影模型,藉此達成因應駕駛情境之改變而動態調整三維投影模型之函式與參數,而分別對應情境提供不同視野行車影像,進而提供駕駛者較佳之使用體驗。此外,更能根據車輛資訊預測車輛下一行駛位置,提供預判之行車輔助影像。The effect of the present invention is that the processing module adopts different three-dimensional projection models according to the obstacle distance between the obstacle and the vehicle or the speed of the vehicle, thereby achieving a function of dynamically adjusting the three-dimensional projection model in response to changes in the driving situation Formulas and parameters, respectively corresponding to the situation to provide driving images of different fields of view, thereby providing the driver with a better experience. In addition, it can predict the next driving position of the vehicle based on the vehicle information and provide predictive driving assistance images.

參閱圖1,本發明行車輔助影像產生系統的實施例,適用於一車輛。該行車輔助影像產生系統包含一拍攝單元11、一障礙物偵測模組12、一感測模組13、一電連接該拍攝單元11的車道線偵測模組14,及一電連接該拍攝單元11、該障礙物偵測模組12、該感測模組13與該車道線偵測模組14的處理模組15。Referring to FIG. 1, an embodiment of the driving assistance image generation system of the present invention is applicable to a vehicle. The driving assistance image generation system includes a shooting unit 11, an obstacle detection module 12, a sensing module 13, a lane line detection module 14 electrically connected to the shooting unit 11, and an electrical connection to the shooting The processing module 15 of the unit 11, the obstacle detection module 12, the sensing module 13 and the lane line detection module 14.

該拍攝單元11包含四個分別設置於該車輛之一前方保險桿、一後方保險桿、一左後照鏡,與一右後照鏡的拍攝模組(圖未示),每一拍攝模組例如為一魚眼攝影機,該等拍攝模組用於拍攝該車輛四周之環境,以分別產生並傳送四張相關於該車輛之周遭環境的周遭影像至該處理模組15。The photographing unit 11 includes four photographing modules (not shown in the figure) respectively arranged on a front bumper, a rear bumper, a left rear mirror, and a right rear mirror of the vehicle. For example, it is a fisheye camera. The shooting modules are used to photograph the surrounding environment of the vehicle to generate and transmit four surrounding images related to the surrounding environment of the vehicle to the processing module 15 respectively.

該障礙物偵測模組12用於產生並傳送一相關於該車輛所對應之一障礙物的障礙物偵測結果至該處理模組15。其中,該障礙物偵測模組12係利用一習知的障礙物偵測技術來判定是否存在對應於該車輛的該障礙物,當判定出存在該障礙物時,還偵測出該障礙物與該車輛間之一障礙物距離,及該障礙物相對於該車輛之一障礙物方位角,並產生指示出存在該障礙物,且包含該障礙物距離與該障礙物方位角的該障礙物偵測結果;而當判定出不存在該障礙物時,產生指示出不存在該障礙物的該障礙物偵測結果。在本實施方式中,該障礙物偵測模組12包含一雷達偵測器(圖未示),藉由該雷達偵測器來偵測出該障礙物與該車輛間之該障礙物距離,及該障礙物相對於該車輛之該障礙物方位角;然而,在其他實施方式中,該障礙物偵測模組12也可根據該拍攝單元11所拍攝之對應於該車輛之前方環境的周遭影像,來獲得該障礙物與該車輛間之該障礙物距離,及該障礙物相對於該車輛之該障礙物方位角,但不以此為限。The obstacle detection module 12 is used to generate and transmit an obstacle detection result related to an obstacle corresponding to the vehicle to the processing module 15. Wherein, the obstacle detection module 12 uses a conventional obstacle detection technology to determine whether there is an obstacle corresponding to the vehicle, and when it is determined that the obstacle exists, it also detects the obstacle An obstacle distance from the vehicle and an obstacle azimuth angle of the obstacle relative to the vehicle, and the obstacle indicating the existence of the obstacle and including the obstacle distance and the obstacle azimuth angle is generated Detection result; and when it is determined that the obstacle does not exist, the obstacle detection result indicating that the obstacle does not exist is generated. In this embodiment, the obstacle detection module 12 includes a radar detector (not shown in the figure), and the distance between the obstacle and the vehicle is detected by the radar detector. And the obstacle azimuth angle of the obstacle relative to the vehicle; however, in other embodiments, the obstacle detection module 12 may also be based on the surrounding surroundings corresponding to the vehicle's previous environment captured by the photographing unit 11 Image to obtain the obstacle distance between the obstacle and the vehicle, and the obstacle azimuth angle of the obstacle relative to the vehicle, but not limited to this.

該感測模組13用於感測並傳送相關於該車輛的一車輛資訊至該處理模組15,其中該車輛資訊包含該車輛的一車速、指示出該車輛之多個方向燈是否開啟的一方向燈參數組,及該車輛的一轉角訊號。由於本發明之特徵並不在於熟知此技藝者所已知的該感測模組13如何獲得該車輛資訊之方式,為了簡潔,故在此省略了他們的細節。The sensing module 13 is used for sensing and transmitting a vehicle information related to the vehicle to the processing module 15, wherein the vehicle information includes a speed of the vehicle, indicating whether the vehicle's direction lights are turned on A turn signal parameter group, and a corner signal of the vehicle. Since the feature of the present invention does not lie in the manner in which the sensor module 13 obtains the vehicle information known to those skilled in the art, for the sake of brevity, their details are omitted here.

該車道線偵測模組14用於根據該拍攝單元11所拍攝之對應於該車輛之前方環境的周遭影像,產生並傳送相關於該車輛所行駛之車道的一車道線偵測結果至該處理模組15。其中,該車道線偵測模組14利用一習知的車道線辨識技術,來判定對應於該車輛之前方環境的周遭影像中是否存在對應於該車道的至少一車道線,當判定出存在該至少一車道線時,產生指示出存在該至少一車道線且包含所辨識出之該至少一車道線的該車道線偵測結果;而當判定出不存在該障礙物時,產生指示出不存在該至少一車道線的該車道線偵測結果。The lane line detection module 14 is used to generate and transmit a lane line detection result related to the lane on which the vehicle is traveling to the processing based on the surrounding image corresponding to the environment in front of the vehicle captured by the shooting unit 11 Module 15. Wherein, the lane line detection module 14 uses a conventional lane line recognition technology to determine whether there is at least one lane line corresponding to the lane in the surrounding image corresponding to the environment in front of the vehicle. When there is at least one lane line, a detection result of the lane line indicating the presence of the at least one lane line and including the identified at least one lane line is generated; and when it is determined that the obstacle does not exist, an indication is generated indicating the absence The lane line detection result of the at least one lane line.

以下將配合本發明行車輔助影像產生方法之實施例,來說明該行車輔助影像產生系統中各元件的運作細節,本實施例依序包含有一投影模型決定程序及一行車輔助影像產生程序。The operation details of the components in the driving assistance image generation system will be described below in conjunction with the embodiment of the driving assistance image generation method of the present invention. This embodiment sequentially includes a projection model determination program and a row assistance image generation program.

參閱圖1與圖2,該行車輔助影像產生系統實施本發明行車輔助影像產生方法之投影模型決定程序與行車輔助影像產生程序,並包含下列步驟。該投影模型決定程序說明了如何因應駕駛情境之不同來選擇不同的三維投影模型,該行車輔助影像產生程序說明了如何獲得不同的視野行車輔助影像。1 and 2, the driving assistance image generation system implements the projection model determination procedure and the driving assistance image generation procedure of the driving assistance image generation method of the present invention, and includes the following steps. The projection model determination program explains how to choose different three-dimensional projection models according to different driving situations, and the driving assistance image generation program explains how to obtain driving assistance images with different fields of view.

在步驟201中,該障礙物偵測模組12持續地產生並傳送相關於該車輛所對應之該障礙物的該障礙物偵測結果至該處理模組15。In step 201, the obstacle detection module 12 continuously generates and transmits the obstacle detection result related to the obstacle corresponding to the vehicle to the processing module 15.

在步驟202中,該感測模組13持續地產生並傳送相關於該車輛的該車輛資訊至該處理模組15。In step 202, the sensing module 13 continuously generates and transmits the vehicle information related to the vehicle to the processing module 15.

在步驟203中,該車道線偵測模組14持續地產生並傳送相關於該車輛所行駛之車道的該車道線偵測結果至該處理模組15。In step 203, the lane line detection module 14 continuously generates and transmits the lane line detection results related to the lane in which the vehicle is traveling to the processing module 15.

在步驟204中,該處理模組15判定所接收的該障礙物偵測結果是否指示出存在該障礙物。當該處理模組15判定出該障礙物偵測結果指示出存在該障礙物時,流程進行步驟205;當該處理模組15判定出該障礙物偵測結果指示出不存在該障礙物時,流程進行步驟208。In step 204, the processing module 15 determines whether the received obstacle detection result indicates the presence of the obstacle. When the processing module 15 determines that the obstacle detection result indicates that the obstacle exists, the process proceeds to step 205; when the processing module 15 determines that the obstacle detection result indicates that the obstacle does not exist, The process proceeds to step 208.

在步驟205中,該處理模組15判定該障礙物偵測結果中的該障礙物距離是否大於一距離閥值。當該處理模組15判定出該障礙物距離小於等於該距離閥值時,流程進行步驟206;當該處理模組15判定出該障礙物距離大於該距離閥值時,流程進行步驟207。值得一提的是,該距離閥值為該車輛的該車速與一預設時間之乘積,該預設時間可以為抵達一最後煞車點的時間(time to last point to brake),在本實施方式中,該預設時間為2.5秒。該處理模組15係先根據該感測模組13所感測到的該車速與該預設時間獲得該距離閥值後,再判定該障礙物距離是否大於該距離閥值。In step 205, the processing module 15 determines whether the obstacle distance in the obstacle detection result is greater than a distance threshold. When the processing module 15 determines that the obstacle distance is less than or equal to the distance threshold, the process proceeds to step 206; when the processing module 15 determines that the obstacle distance is greater than the distance threshold, the process proceeds to step 207. It is worth mentioning that the distance threshold is the product of the speed of the vehicle and a preset time, and the preset time may be the time to last point to brake. In this embodiment , The preset time is 2.5 seconds. The processing module 15 first obtains the distance threshold value according to the vehicle speed sensed by the sensing module 13 and the preset time, and then determines whether the obstacle distance is greater than the distance threshold value.

在步驟206中,該處理模組15選擇具有一橢圓弧線的一第一三維投影模型(見圖3),該第一三維投影模型在一由一X軸及一Z軸構成之第一平面上的投影如圖4所示,該第一三維投影模型在一由一Y軸及該Z軸構成之第二平面上的投影如圖5所示,該第一三維投影模型在一由該X軸及該Y軸構成之第三平面上的投影如圖6所示。其中,該第一三維投影模型之曲面在該第一平面上投影出之曲線501(見圖4),與在該第二平面上投影出之曲線502 (見圖5)皆為一橢圓弧線。其中,該第一三維投影模型之函式可被表示為以下公式(1)。

Figure 02_image001
…(1) In step 206, the processing module 15 selects a first three-dimensional projection model with an elliptical arc (see FIG. 3), and the first three-dimensional projection model is on a first plane formed by an X axis and a Z axis The projection of the first three-dimensional projection model is shown in Figure 4, and the projection of the first three-dimensional projection model on a second plane formed by a Y axis and the Z axis is shown in Figure 5. The projection on the third plane formed by the Y axis is shown in FIG. 6. Wherein, the curve 501 (see FIG. 4) projected on the first plane by the curved surface of the first three-dimensional projection model and the curve 502 (see FIG. 5) projected on the second plane are both an elliptical arc. The function of the first three-dimensional projection model can be expressed as the following formula (1).
Figure 02_image001
…(1)

其中,

Figure 02_image003
為車輛之長度,H為對應於該第一三維投影模型之一虛擬相機701的高度,
Figure 02_image005
Figure 02_image007
Figure 02_image009
為該車輛之寬度,
Figure 02_image011
為一預設距離。在本實施方式中該預設距離
Figure 02_image011
設定為2公尺,然而,
Figure 02_image011
之值可視使用需求而調整,並不以此為限,
Figure 02_image011
之值越大,該第一三維投影模型之曲面在該第一平面上投影出之橢圓弧線,與在該第二平面上投影出之橢圓弧線皆越扁平;
Figure 02_image011
之值越小,該第一三維投影模型之曲面在該第一平面上投影出之橢圓弧線,與在該第二平面上投影出之橢圓弧線皆越接近圓弧線。當
Figure 02_image011
之值設為0時,該第一三維投影模型之曲面在該第一平面上投影出之曲線,與在該第二平面上投影出之曲線即為圓弧線。 among them,
Figure 02_image003
Is the length of the vehicle, H is the height of a virtual camera 701 corresponding to the first three-dimensional projection model,
Figure 02_image005
,
Figure 02_image007
,
Figure 02_image009
Is the width of the vehicle,
Figure 02_image011
Is a preset distance. In this embodiment, the preset distance
Figure 02_image011
Set to 2 meters, however,
Figure 02_image011
The value can be adjusted according to the needs of use, and is not limited to this.
Figure 02_image011
The larger the value, the flatter the elliptical arc projected on the first plane by the curved surface of the first three-dimensional projection model and the elliptical arc projected on the second plane;
Figure 02_image011
The smaller the value is, the elliptical arc projected by the curved surface of the first three-dimensional projection model on the first plane and the elliptical arc projected on the second plane are closer to the circular arc. when
Figure 02_image011
When the value is set to 0, the curve projected by the curved surface of the first three-dimensional projection model on the first plane and the curve projected on the second plane are arc lines.

在步驟207中,該處理模組15選擇具有一圓弧線的一第二三維投影模型(見圖7),該第二三維投影模型在該第一平面上的投影如圖8所示,該第二三維投影模型在該第二平面上的投影如圖9所示,該第二三維投影模型在該第三平面上的投影如圖10所示。其中,該第二三維投影模型之曲面在該第一平面上投影出之曲線503(見圖8),與在該第二平面上投影出之曲線504 (見圖9)皆為一圓弧線。其中,該第二三維投影模型之函式可被表示為以下公式(2)。

Figure 02_image013
...(2) In step 207, the processing module 15 selects a second three-dimensional projection model with a circular arc line (see FIG. 7). The projection of the second three-dimensional projection model on the first plane is as shown in FIG. The projection of the second three-dimensional projection model on the second plane is shown in FIG. 9, and the projection of the second three-dimensional projection model on the third plane is shown in FIG. 10. Wherein, the curve 503 (see FIG. 8) projected on the first plane by the curved surface of the second three-dimensional projection model and the curve 504 (see FIG. 9) projected on the second plane are both a circular arc. . The function of the second three-dimensional projection model can be expressed as the following formula (2).
Figure 02_image013
...(2)

其中,H’對應於該第二三維投影模型之一虛擬相機701的高度,

Figure 02_image015
,在本實施方式中,該第一三維投影模型之該虛擬相機701的高度與該第二三維投影模型之該虛擬相機701的高度相同,亦即H’= H。類似地,該第二三維投影模型中的
Figure 02_image011
之值亦可視使用需求而調整,並不以此為限,
Figure 02_image011
之值越大,該第二三維投影模型之曲面在該第一平面上投影出之圓弧線,與在該第二平面上投影出之圓弧線皆越接近直線。當
Figure 02_image011
之值趨近無窮大時,該第二三維投影模型概呈圓柱型。 Wherein, H'corresponds to the height of a virtual camera 701 of the second three-dimensional projection model,
Figure 02_image015
In this embodiment, the height of the virtual camera 701 of the first three-dimensional projection model is the same as the height of the virtual camera 701 of the second three-dimensional projection model, that is, H′=H. Similarly, the second three-dimensional projection model
Figure 02_image011
The value can also be adjusted according to the needs of use, and is not limited to this.
Figure 02_image011
The larger the value, the closer the arc line projected by the curved surface of the second three-dimensional projection model on the first plane to the arc line projected on the second plane. when
Figure 02_image011
When the value of is approaching infinity, the second three-dimensional projection model is almost cylindrical.

在步驟208中,該處理模組15判定所接收的該車輛資訊中的該車速是否大於一速度閥值。當該處理模組15判定出該車速不大於該速度閥值時,流程進行步驟209;當該處理模組15判定出該車速大於該速度閥值時,流程進行步驟210。In step 208, the processing module 15 determines whether the vehicle speed in the received vehicle information is greater than a speed threshold. When the processing module 15 determines that the vehicle speed is not greater than the speed threshold, the process proceeds to step 209; when the processing module 15 determines that the vehicle speed is greater than the speed threshold, the process proceeds to step 210.

在步驟209中,該處理模組15選擇該第一三維投影模型(見圖3)。In step 209, the processing module 15 selects the first three-dimensional projection model (see FIG. 3).

在步驟210中,該處理模組15選擇該第二三維投影模型(見圖7)。In step 210, the processing module 15 selects the second three-dimensional projection model (see FIG. 7).

在步驟211中,該處理模組15根據所選擇的該第一三維投影模型或該第二三維投影模型,利用一逆透視投影轉換法,將該等周遭影像映射至該第一三維投影模型或該第二三維投影模型。In step 211, the processing module 15 uses an inverse perspective projection transformation method according to the selected first three-dimensional projection model or the second three-dimensional projection model to map the surrounding images to the first three-dimensional projection model or The second three-dimensional projection model.

當該障礙物距離小於等於該距離閥值時,選擇該第一三維投影模型之優點在於,根據該第一三維投影模型所獲得的第一視野行車輔助影像(見圖14)具有較大近處可視範圍;當該障礙物距離大於該距離閥值時,選擇該第二三維投影模型之優點在於,根據該第二三為投影模型所獲得的第二視野行車輔助影像(見圖15)具有將遠處物體放大的效果。若不存在該障礙物時,由於基於該第一三維投影模型所獲得的第一視野輔助行車影像具有較大近處可視範圍,故在該車速低時,採用該第一三維投影模型會有較佳的視覺體驗;由於基於該第二三維投影模型所獲得的第二視野行車輔助影像具有將遠處物體放大效果,故在該車速高時,採用該第二三維投影模型會有較佳的視覺體驗。因此,由圖11、圖14及圖15可知,採用該第一三維投影模型(見圖11實線處102)的成像會具有較大近處可視範圍,採用該第二三維投影模型(見圖11虛線處101)的成像會具有將遠處物體放大效果,因而因應不同的障礙物距離切換不同的三維投影模型可提供駕駛者較佳之視覺體驗。When the obstacle distance is less than or equal to the distance threshold, the advantage of selecting the first three-dimensional projection model is that the first-view driving assistance image (see Figure 14) obtained according to the first three-dimensional projection model has a relatively large proximity Visual range; when the obstacle distance is greater than the distance threshold, the advantage of selecting the second three-dimensional projection model is that the second-view driving assistance image (see Figure 15) obtained according to the second and third projection model The effect of magnifying distant objects. If the obstacle does not exist, since the first-view auxiliary driving image obtained based on the first three-dimensional projection model has a larger near-view range, when the vehicle speed is low, the first three-dimensional projection model will be more Good visual experience; because the second-view driving assistance image obtained based on the second three-dimensional projection model has the effect of magnifying distant objects, when the vehicle speed is high, the second three-dimensional projection model will have better vision Experience. Therefore, it can be seen from Figure 11, Figure 14 and Figure 15 that the imaging using the first three-dimensional projection model (see the solid line 102 in Figure 11) will have a larger near visual range, and the second three-dimensional projection model (see Figure 11) The imaging at the dotted line 101) will have the effect of magnifying distant objects. Therefore, switching between different 3D projection models according to different obstacle distances can provide a better visual experience for the driver.

在步驟212中,該處理模組15利用一透視投影轉換法將該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果轉換成對應的一第一視野行車輔助影像或一第二視野行車輔助影像。In step 212, the processing module 15 converts the result of mapping the surrounding images to the first three-dimensional projection model or the second three-dimensional projection model into a corresponding first-view driving assistance image or A second-view driving assistance image.

以下將配合所附圖示說明該行車輔助影像產生程序之細節,該行車輔助影像產生程序可因應駕駛情境之不同將所產生的三維投影模型投影成視角不同的行車輔助影像,其中,因應於該障礙物偵測結果是否指示出存在該障礙物,該行車輔助影像產生程序可進一步細分為一第一產生流程,與一第二產生流程。The following will describe the details of the driving assistance image generation program with the attached illustration. The driving assistance image generation program can project the generated three-dimensional projection model into driving assistance images with different viewing angles according to different driving situations. Whether the obstacle detection result indicates the existence of the obstacle, the driving assistance image generation process can be further subdivided into a first generation process and a second generation process.

參閱圖1與圖12,當該障礙物偵測結果指示出存在該障礙物時,該行車輔助影像產生系統利用該第一產生流程來獲得不同的視野行車輔助影像,並包含以下步驟。1 and 12, when the obstacle detection result indicates that the obstacle exists, the driving assistance image generation system uses the first generation process to obtain driving assistance images of different fields of view, and includes the following steps.

在步驟301中,該處理模組15根據該障礙物偵測結果的該障礙物距離,與該虛擬相機701(見圖3、圖7)之高度,計算一相關於該虛擬相機701俯向拍攝的第一俯攝角度。In step 301, the processing module 15 calculates a relationship related to the height of the virtual camera 701 (see FIG. 3 and FIG. 7) based on the obstacle distance of the obstacle detection result and the height of the virtual camera 701. The first tilt angle.

在步驟302中,該處理模組15根據該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、該第一俯攝角度及該障礙物方位角,利用透視投影轉換以轉換出對應之二維的一第一視野行車輔助影像或一第二視野行車輔助影像。In step 302, the processing module 15 uses perspective projection conversion based on the results of the surrounding images being mapped to the first three-dimensional projection model or the second three-dimensional projection model, the first pan angle and the obstacle azimuth To convert a corresponding two-dimensional first-view driving assistance image or a second-view driving assistance image.

值得一提的是,該透視投影轉換之運算公式如以下公式(3)。

Figure 02_image017
…(3) It is worth mentioning that the calculation formula of the perspective projection conversion is as the following formula (3).
Figure 02_image017
…(3)

其中,(

Figure 02_image019
)為該第一三維投影模型或該第二三維投影模型中待投影至該第一視野行車輔助影像或該第二視野行車輔助影像的點,(u,v)為(
Figure 02_image019
)經投影後的二維點,[R]=
Figure 02_image021
Figure 02_image023
=0,
Figure 02_image025
為該第一俯攝角度,
Figure 02_image027
為該障礙物方位角,[T]=
Figure 02_image029
,(
Figure 02_image031
)為該虛擬相機701的位置,
Figure 02_image033
Figure 02_image035
表示該虛擬相機701在對應二維點(u,v)之U、V軸的焦距,
Figure 02_image037
Figure 02_image039
表示第一視野行車輔助影像或該第二視野行車輔助影像的圖像中心點。 among them,(
Figure 02_image019
) Is a point in the first three-dimensional projection model or the second three-dimensional projection model to be projected to the first-view driving auxiliary image or the second-view driving auxiliary image, (u, v) is (
Figure 02_image019
) Two-dimensional point after projection, [R]=
Figure 02_image021
,
Figure 02_image023
=0,
Figure 02_image025
Is the first tilt angle,
Figure 02_image027
Is the azimuth angle of the obstacle, [T]=
Figure 02_image029
, (
Figure 02_image031
) Is the position of the virtual camera 701,
Figure 02_image033
,
Figure 02_image035
Indicates the focal length of the virtual camera 701 on the U and V axes corresponding to the two-dimensional point (u, v),
Figure 02_image037
,
Figure 02_image039
Represents the image center point of the first-view driving assistance image or the second-view driving assistance image.

參閱圖1與圖13,當該障礙物偵測結果指示出不存在該障礙物時,該行車輔助影像產生系統利用該第二產生流程來獲得不同的視野行車輔助影像,並包含以下步驟。1 and 13, when the obstacle detection result indicates that there is no obstacle, the driving assistance image generation system uses the second generation process to obtain driving assistance images of different fields of view, and includes the following steps.

在步驟304中,該處理模組15根據該車輛資訊的該方向燈參數組判定該車輛之其中一方向燈是否開啟。當該處理模組15判定出該方向燈被開啟時,流程進行步驟305;當該處理模組15判定出該等方向燈皆未被開啟時,流程進行步驟307。In step 304, the processing module 15 determines whether one of the turn signals of the vehicle is turned on according to the turn signal parameter group of the vehicle information. When the processing module 15 determines that the direction lights are turned on, the process proceeds to step 305; when the processing module 15 determines that the direction lights are not turned on, the process proceeds to step 307.

在步驟305中,該處理模組15根據該方向燈參數組所指示之開啟的該方向燈,計算對應於被開啟之該方向燈的一轉向方位角。In step 305, the processing module 15 calculates a steering azimuth corresponding to the turned-on turn-on light according to the turned-on turn-on light indicated by the turn-on light parameter group.

在步驟306中,該處理模組15根據該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、一預設的第二俯攝角度及該轉向方位角,利用該透視投影轉換以轉換出對應之二維的該第一視野行車輔助影像或該第二視野行車輔助影像。其中,該透視投影轉換之運算公式與公式(3)相同,且

Figure 02_image023
=0,
Figure 02_image025
為該第二俯攝角度,
Figure 02_image027
為該轉向方位角。 In step 306, the processing module 15 uses the result of mapping the surrounding images to the first three-dimensional projection model or the second three-dimensional projection model, a preset second panning angle, and the steering azimuth angle. The perspective projection conversion is used to convert the corresponding two-dimensional first-view driving assistance image or the second-view driving assistance image. Among them, the calculation formula of the perspective projection conversion is the same as formula (3), and
Figure 02_image023
=0,
Figure 02_image025
Is the second pan angle,
Figure 02_image027
Is the steering azimuth.

在步驟307中,該處理模組15判定該車道線偵測結果是否指示出至少一車道線。當該處理模組15判定該車道線偵測結果指示出該至少一車道線時,流程進行步驟308;當該處理模組15判定出該車道線偵測結果不指示出任一車道線時,流程進行步驟314。In step 307, the processing module 15 determines whether the lane line detection result indicates at least one lane line. When the processing module 15 determines that the lane line detection result indicates the at least one lane line, the process proceeds to step 308; when the processing module 15 determines that the lane line detection result does not indicate any lane line, the process Go to step 314.

在步驟308中,該處理模組15根據該至少一車道線判定該車道是否為一交叉路口。當該處理模組15判定出該車道為該交叉路口時,流程進行步驟309;當該處理模組15判定出該車道非為該交叉路口時,流程進行步驟311。In step 308, the processing module 15 determines whether the lane is an intersection according to the at least one lane line. When the processing module 15 determines that the lane is the intersection, the process proceeds to step 309; when the processing module 15 determines that the lane is not the intersection, the process proceeds to step 311.

在步驟309中,該處理模組15根據該車道的該至少一車道線,利用習知的巷弄視角取得方式,計算對應該交叉路口的一巷弄視角(Alley View)。In step 309, the processing module 15 calculates an Alley View corresponding to the intersection based on the at least one lane line of the lane, using the conventional way of obtaining the lane view angle.

在步驟310中,該處理模組15根據該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果,與該巷弄視角,利用該透視投影轉換以轉換出對應之二維的該第一視野行車輔助影像或該第二視野行車輔助影像。In step 310, the processing module 15 uses the perspective projection to convert the results of the surrounding images to the first three-dimensional projection model or the second three-dimensional projection model to convert the corresponding two The first visual field driving assistance image or the second visual field driving assistance image.

在步驟311中,該處理模組15根據該車輛資訊的該車速,與該至少一車道線,預測該車輛的一下一行駛位置。In step 311, the processing module 15 predicts the next driving position of the vehicle based on the vehicle speed of the vehicle information and the at least one lane line.

在步驟312中,該處理模組15根據該下一行駛位置,與該虛擬相機701(見圖3、圖7)的高度,計算一相關於該虛擬相機701俯向拍攝的第三俯攝角度,並根據該下一行駛位置計算該下一行駛位置相對於該車輛之一第一行駛方位角。In step 312, the processing module 15 calculates a third pan angle related to the virtual camera 701's tilt shooting based on the next driving position and the height of the virtual camera 701 (see Figures 3 and 7) , And calculate a first driving azimuth angle of the next driving position relative to the vehicle according to the next driving position.

在步驟313中,該處理模組15根據該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果,與該第三俯攝角度及該第一行駛方位角,利用該透視投影轉換以轉換出對應之二維的該第一視野行車輔助影像或該第二視野行車輔助影像。其中,該透視投影轉換之運算公式與公式(3)相同,且

Figure 02_image023
=0,
Figure 02_image025
為該第三俯攝角度,
Figure 02_image027
為該第一行駛方位角。 In step 313, the processing module 15 uses the result of mapping the surrounding images to the first three-dimensional projection model or the second three-dimensional projection model, and the third pan angle and the first driving azimuth angle. The perspective projection conversion is used to convert the corresponding two-dimensional first-view driving assistance image or the second-view driving assistance image. Among them, the calculation formula of the perspective projection conversion is the same as formula (3), and
Figure 02_image023
=0,
Figure 02_image025
Is the third pan angle,
Figure 02_image027
Is the first driving azimuth.

在步驟314中,該處理模組15根據該車速及該轉角訊號,預測該車輛的一下一行駛位置。值得一提的是,本實施方式係利用如,卡爾曼濾波器(Kalman Filter)來追蹤預測該車輛的該下一行駛位置。In step 314, the processing module 15 predicts the next driving position of the vehicle based on the vehicle speed and the corner signal. It is worth mentioning that this embodiment uses, for example, a Kalman Filter to track and predict the next driving position of the vehicle.

在步驟315中,該處理模組15根據該下一行駛位置,與該虛擬相機701的高度,計算一相關於該虛擬相機701俯向拍攝的第四俯攝角度,並根據該下一行駛位置計算該下一行駛位置相對於該車輛之一第二行駛方位角。In step 315, the processing module 15 calculates a fourth panning angle related to the virtual camera 701's tilt shooting based on the next driving position and the height of the virtual camera 701, and according to the next driving position Calculate the second driving azimuth angle of the next driving position relative to one of the vehicles.

在步驟316中,該處理模組15根據該等周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果,與該第四俯攝角度及該第二行駛方位角,利用該透視投影轉換以轉換出對應之二維的該第一視野行車輔助影像或該第二視野行車輔助影像。其中,該透視投影轉換之運算公式與公式(3)相同,且

Figure 02_image023
=0,
Figure 02_image025
為該第四俯攝角度,
Figure 02_image027
為該第二行駛方位角。 In step 316, the processing module 15 uses the result of mapping the surrounding images to the first three-dimensional projection model or the second three-dimensional projection model, and the fourth panning angle and the second driving azimuth angle. The perspective projection conversion is used to convert the corresponding two-dimensional first-view driving assistance image or the second-view driving assistance image. Among them, the calculation formula of the perspective projection conversion is the same as formula (3), and
Figure 02_image023
=0,
Figure 02_image025
Is the fourth tilt angle,
Figure 02_image027
Is the second driving azimuth.

本實施方式之行車輔助影像產生程序在產生該行車輔助影像時係依據不同的駕駛情境來決定該虛擬相機701的觀察視角,當存在障礙物時,至少根據該障礙物方位角來轉換出對應之視野行車輔助影像,藉此來提醒該駕駛留意障礙物以免碰撞,當駕駛有轉向之舉動時,至少根據該轉向方位來轉換出對應之視野行車輔助影像,藉此來協助該駕駛注意轉彎時之道路情況。此外,該處理模組15可依該駕駛之行車軌跡或車身訊號,來預測該車輛的下一行駛位置,提前將觀察視角設為該下一行駛位置,以讓該駕駛可預先得知路況,提前因應。然而,在本發明之其他實施方式中,步驟304與307的優先次序可依駕駛之需求進行調整,並不以此為限。The driving assistance image generation program of this embodiment determines the viewing angle of the virtual camera 701 according to different driving situations when generating the driving assistance image. When there is an obstacle, at least the corresponding one is converted according to the azimuth of the obstacle. The visual field driving assistance image is used to remind the driver to pay attention to obstacles to avoid collision. When the driver is turning, the corresponding visual field driving assistance image is converted at least according to the steering direction to assist the driver to pay attention to turning. Road conditions. In addition, the processing module 15 can predict the next driving position of the vehicle based on the driving trajectory or body signal, and set the observation angle to the next driving position in advance, so that the driver can know the road conditions in advance. Respond in advance. However, in other embodiments of the present invention, the priority of steps 304 and 307 can be adjusted according to driving needs, and is not limited thereto.

綜上所述,本發明行車輔助影像產生方法,藉由該處理模組15根據該障礙物位置與該車速選擇不同的三維投影模型,使得成像因應駕駛情境之不同更為真實地呈現,此外,藉由該處理模組15因應不同的駕駛情境來決定該虛擬相機701的觀察視角,以產生更符合駕駛情境之行車輔助影像,該處理模組15還可預測該車輛的下一行駛位置,提前將觀察視角設為該下一行駛位置,以讓該駕駛提前得知路況,作出因應,進而提供駕駛者較佳之使用體驗,故確實能達成本發明的目的。In summary, the driving assistance image generation method of the present invention uses the processing module 15 to select different three-dimensional projection models according to the obstacle position and the vehicle speed, so that the imaging is more realistically presented in response to the difference in driving situations. In addition, The processing module 15 determines the viewing angle of the virtual camera 701 in response to different driving situations to generate driving assistance images that are more suitable for the driving situation. The processing module 15 can also predict the next driving position of the vehicle in advance. Setting the viewing angle to the next driving position allows the driver to know the road conditions in advance and make a response, thereby providing the driver with a better user experience, so the objective of the invention can indeed be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent for the present invention.

11:拍攝單元 12:障礙物偵測模組 13:感測模組 14:車道線偵測模組 15:處理模組 501~502:橢圓弧線 503~504:圓弧線 701:虛擬相機

Figure 02_image041
:車輛之長度
Figure 02_image043
:車輛之寬度 H、H’:虛擬相機的高度
Figure 02_image045
:預設距離 15:處理模組
Figure 02_image047
:橢圓弧線所對應之橢圓的長軸
Figure 02_image049
:橢圓弧線所對應之橢圓的短軸
Figure 02_image051
:圓弧線所對應之圓的半徑 101:第二三維投影模型 102:第一三維投影模型 201~212:步驟 301~302:步驟 304~316:步驟11: Shooting unit 12: Obstacle detection module 13: Sensing module 14: Lane line detection module 15: Processing module 501~502: Elliptical arc 503~504: Circular arc 701: Virtual camera
Figure 02_image041
: Length of vehicle
Figure 02_image043
: The width of the vehicle H, H': the height of the virtual camera
Figure 02_image045
: Preset distance 15: Processing module
Figure 02_image047
: The major axis of the ellipse corresponding to the arc of the ellipse
Figure 02_image049
: The minor axis of the ellipse corresponding to the arc of the ellipse
Figure 02_image051
: The radius of the circle corresponding to the arc 101: the second three-dimensional projection model 102: the first three-dimensional projection model 201~212: steps 301~302: steps 304~316: steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本發明一行車輔助影像產生系統之實施例; 圖2是一流程圖,說明本發明行車輔助影像產生方法之實施例; 圖3是一立體示意圖,說明一第一三維投影模型; 圖4是一前視示意圖,說明該第一三維投影模型在一第一平面之投影; 圖5是一側視示意圖,說明該第一三維投影模型在一第二平面之投影; 圖6是一俯視示意圖,說明該第一三維投影模型在一第三平面之投影; 圖7是一立體示意圖,說明一第二三維投影模型; 圖8是一前視示意圖,說明該第二三維投影模型在該第一平面之投影; 圖9是一側視示意圖,說明該第二三維投影模型在該第二平面之投影; 圖10是一俯視示意圖,說明該第二三維投影模型在該第三平面之投影; 圖11是一示意圖,說明不同障礙物距離與該第一及第二三維投影模型之關係; 圖12是一流程圖,說明本發明行車輔助影像產生方法之實施例的一行車輔助影像產生程序之一第一產生流程; 圖13是一流程圖,說明本發明行車輔助影像產生方法之實施例的該行車輔助影像產生程序之一第二產生流程; 圖14是一實驗示意圖,顯示應用本發明第一三維投影模型後所呈現之第一視野行車輔助影像;及 圖15是一實驗示意圖,顯示應用本發明第二三維投影模型後所呈現之第二視野行車輔助影像。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a block diagram illustrating an embodiment of the auxiliary image generation system for a one-line vehicle of the present invention; Figure 2 is a flowchart illustrating an embodiment of the driving assistance image generation method of the present invention; Figure 3 is a three-dimensional schematic diagram illustrating a first three-dimensional projection model; 4 is a schematic front view illustrating the projection of the first three-dimensional projection model on a first plane; 5 is a schematic side view illustrating the projection of the first three-dimensional projection model on a second plane; 6 is a schematic top view illustrating the projection of the first three-dimensional projection model on a third plane; Figure 7 is a three-dimensional schematic diagram illustrating a second three-dimensional projection model; Figure 8 is a schematic front view illustrating the projection of the second three-dimensional projection model on the first plane; Figure 9 is a schematic side view illustrating the projection of the second three-dimensional projection model on the second plane; 10 is a schematic top view illustrating the projection of the second three-dimensional projection model on the third plane; Figure 11 is a schematic diagram illustrating the relationship between different obstacle distances and the first and second three-dimensional projection models; 12 is a flowchart illustrating a first generation process of one of the driving assistance image generating procedures of the driving assistance image generating method of the present invention; FIG. 13 is a flowchart illustrating a second generation process of the driving assistance image generating program in the embodiment of the driving assistance image generating method of the present invention; FIG. 14 is a schematic diagram of an experiment showing the first-view driving assistance image presented after applying the first three-dimensional projection model of the present invention; and FIG. 15 is a schematic diagram of an experiment showing the second-view driving assistance image presented after applying the second three-dimensional projection model of the present invention.

201~212:步驟 201~212: Steps

Claims (11)

一種行車輔助影像產生方法,適用於一車輛,並藉由一處理模組來實施,該處理模組電連接一拍攝單元,及一障礙物偵測模組,該拍攝單元用於產生並傳送相關於該車輛之周遭環境的至少一周遭影像至該處理模組,該障礙物偵測模組用於產生並傳送相關於該車輛所對應之一障礙物的一障礙物偵測結果至該處理模組,該行車輔助影像產生方法包含以下步驟: (A)該處理模組判定該障礙物偵測結果是否指示出存在該障礙物; (B)當該處理模組判定出存在該障礙物時,其中該障礙物偵測結果包括該障礙物與該車輛間之一障礙物距離,該處理模組判定該障礙物距離是否大於一距離閥值; (C)當該處理模組判定出該障礙物距離小於等於該距離閥值時,該處理模組選擇具有一橢圓弧線的一第一三維投影模型; (D)當該處理模組判定出該障礙物距離大於該距離閥值時,該處理模組選擇具有一圓弧線的一第二三維投影模型; (E)該處理模組根據所選擇的該第一三維投影模型或該第二三維投影模型,利用一逆透視投影轉換法,將該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型;及 (F)該處理模組利用一透視投影轉換法將步驟(E)結果轉換成對應的一第一視野行車輔助影像或一第二視野行車輔助影像。 A driving assistance image generation method is suitable for a vehicle and is implemented by a processing module that is electrically connected to a shooting unit and an obstacle detection module. The shooting unit is used to generate and transmit related Images of at least one perimeter of the surrounding environment of the vehicle are sent to the processing module, and the obstacle detection module is used to generate and transmit an obstacle detection result related to an obstacle corresponding to the vehicle to the processing module Group, the driving assistance image generation method includes the following steps: (A) The processing module determines whether the obstacle detection result indicates the existence of the obstacle; (B) When the processing module determines that the obstacle exists, wherein the obstacle detection result includes an obstacle distance between the obstacle and the vehicle, the processing module determines whether the obstacle distance is greater than a distance Threshold (C) When the processing module determines that the obstacle distance is less than or equal to the distance threshold, the processing module selects a first three-dimensional projection model with an elliptical arc; (D) When the processing module determines that the obstacle distance is greater than the distance threshold, the processing module selects a second three-dimensional projection model with a circular arc; (E) The processing module uses an inverse perspective projection conversion method according to the selected first three-dimensional projection model or the second three-dimensional projection model to map the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model Two and three-dimensional projection model; and (F) The processing module uses a perspective projection conversion method to convert the result of step (E) into a corresponding first-view driving assistance image or a second-view driving assistance image. 如請求項1所述的行車輔助影像產生方法,該處理模組還電連接一感測模組,該感測模組用於感測並傳送相關於該車輛的一車輛資訊至該處理模組,其中,在該步驟(B)中,該車輛資訊包括該車輛的一車速,該距離閥值為該車速與一預設時間之乘積。According to the driving assistance image generation method of claim 1, the processing module is also electrically connected to a sensing module, and the sensing module is used for sensing and transmitting a vehicle information related to the vehicle to the processing module , Wherein, in the step (B), the vehicle information includes a vehicle speed of the vehicle, and the distance threshold value is the product of the vehicle speed and a predetermined time. 如請求項1所述的行車輔助影像產生方法,其中,在該步驟(C)中,該第一三維投影模型之函式表示如下:
Figure 03_image001
, 其中,
Figure 03_image053
為車輛之長度,H為對應於該第一三維投影模型之一虛擬相機的高度,
Figure 03_image055
Figure 03_image057
Figure 03_image059
為該車輛之寬度,
Figure 03_image061
為一預設距離。
The driving assistance image generation method of claim 1, wherein, in the step (C), the function of the first three-dimensional projection model is expressed as follows:
Figure 03_image001
, among them,
Figure 03_image053
Is the length of the vehicle, H is the height of a virtual camera corresponding to the first three-dimensional projection model,
Figure 03_image055
,
Figure 03_image057
,
Figure 03_image059
Is the width of the vehicle,
Figure 03_image061
Is a preset distance.
如請求項1所述的行車輔助影像產生方法,其中,在該步驟(D)中,該第二三維投影模型之函式表示如下:
Figure 03_image063
, 其中,
Figure 03_image053
為車輛之長度,H為對應於該第二三維投影模型之一虛擬相機的高度,
Figure 03_image065
Figure 03_image059
為該車輛之寬度,
Figure 03_image061
為一預設距離。
The driving assistance image generation method of claim 1, wherein, in the step (D), the function of the second three-dimensional projection model is expressed as follows:
Figure 03_image063
, among them,
Figure 03_image053
Is the length of the vehicle, H is the height of a virtual camera corresponding to the second three-dimensional projection model,
Figure 03_image065
,
Figure 03_image059
Is the width of the vehicle,
Figure 03_image061
Is a preset distance.
如請求項1所述的行車輔助影像產生方法,其中,該步驟(F)包含以下子步驟: (F-1)該處理模組根據該障礙物偵測結果的該障礙物距離,與對應於所選擇之該第一三維投影模型或該第二三維投影模型的一虛擬相機之高度,計算相關於該虛擬相機俯向拍攝的一俯攝角度,其中該障礙物偵測結果還包括該障礙物相對於該車輛之一障礙物方位角;及 (F-2) 該處理模組根據該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、該俯攝角度及該障礙物方位角,獲得對應的該第一視野行車輔助影像或該第二視野行車輔助影像。 The driving assistance image generation method of claim 1, wherein the step (F) includes the following sub-steps: (F-1) The processing module calculates the correlation between the obstacle distance of the obstacle detection result and the height of a virtual camera corresponding to the selected first three-dimensional projection model or the second three-dimensional projection model A panoramic angle taken by the virtual camera, wherein the obstacle detection result also includes an obstacle azimuth angle of the obstacle relative to the vehicle; and (F-2) The processing module obtains the corresponding first three-dimensional projection model or the second three-dimensional projection model based on the result of mapping the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model, the pan angle, and the obstacle azimuth angle. The visual field driving assistance image or the second visual field driving assistance image. 如請求項1所述的行車輔助影像產生方法,該處理模組還電連接一感測模組,該感測模組用於感測並傳送相關於該車輛的一車輛資訊至該處理模組,該行車輔助影像產生方法在步驟(A)之後還包含以下步驟: (G)當該處理模組判定出不存在該障礙物時,其中該車輛資訊包括該車輛的一車速,該處理模組判定該車速是否大於一速度閥值; (H)當該處理模組判定出該車速小於等於該速度閥值時,該處理模組選擇該第一三維投影模型;及 (I)當該處理模組判定出該車速大於該速度閥值時,該處理模組選擇該第二三維投影模型。 According to the driving assistance image generation method of claim 1, the processing module is also electrically connected to a sensing module, and the sensing module is used for sensing and transmitting a vehicle information related to the vehicle to the processing module , The driving assistance image generation method further includes the following steps after step (A): (G) When the processing module determines that there is no obstacle, wherein the vehicle information includes a speed of the vehicle, the processing module determines whether the speed is greater than a speed threshold; (H) When the processing module determines that the vehicle speed is less than or equal to the speed threshold, the processing module selects the first three-dimensional projection model; and (I) When the processing module determines that the vehicle speed is greater than the speed threshold, the processing module selects the second three-dimensional projection model. 如請求項1所述的行車輔助影像產生方法,該處理模組還電連接一感測模組,該感測模組用於感測並傳送相關於該車輛的一車輛資訊至該處理模組,其中,該步驟(F)包含以下子步驟: (F-1)該車輛資訊包括指示出該車輛之多個方向燈是否開啟的一方向燈參數組,該處理模組根據該方向燈參數組判定該車輛之其中一方向燈是否開啟; (F-2)當該處理模組判定出該方向燈被開啟時,計算對應於該方向燈的一轉向方位角;及 (F-3) 該處理模組根據該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、預設的一俯攝角度及該轉向方位角,獲得對應的該第一視野行車輔助影像或該第二視野行車輔助影像。 According to the driving assistance image generation method of claim 1, the processing module is also electrically connected to a sensing module, and the sensing module is used for sensing and transmitting a vehicle information related to the vehicle to the processing module , Where this step (F) includes the following sub-steps: (F-1) The vehicle information includes a turn signal parameter group indicating whether multiple turn signals of the vehicle are turned on, and the processing module determines whether one of the turn signals of the vehicle is turned on according to the turn signal parameter group; (F-2) When the processing module determines that the direction light is turned on, calculate a steering azimuth angle corresponding to the direction light; and (F-3) The processing module obtains the corresponding one according to the result of mapping the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model, a preset panoramic angle and the steering azimuth The first-view driving assistance image or the second-view driving assistance image. 如請求項1所述的行車輔助影像產生方法,該處理模組還電連接一車道線偵測模組,該車道線偵測模組用於產生並傳送相關於該車輛所行駛之一車道的一車道線偵測結果至該處理模組,其中,該步驟(F)包含以下子步驟: (F-1)該處理模組判定該車道線偵測結果是否指示出至少一車道線; (F-2)當該處理模組判定該車道線偵測結果指示出該至少一車道線時,該處理模組根據該至少一車道線判定該車道是否為一交叉路口; (F-3)當步驟(F-2)的判定結果為是時,該處理模組根據該至少一車道線計算對應該交叉路口的一巷弄視角;及 (F-4)該處理模組根據該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果,及該巷弄視角,獲得對應的該第一視野行車輔助影像或該第二視野行車輔助影像。 According to the driving assistance image generation method of claim 1, the processing module is also electrically connected to a lane line detection module, and the lane line detection module is used to generate and transmit information related to a lane of the vehicle. The detection result of a lane line is sent to the processing module, wherein the step (F) includes the following sub-steps: (F-1) The processing module determines whether the lane line detection result indicates at least one lane line; (F-2) When the processing module determines that the lane line detection result indicates the at least one lane line, the processing module determines whether the lane is an intersection according to the at least one lane line; (F-3) When the determination result of step (F-2) is yes, the processing module calculates a view angle of an alley corresponding to the intersection according to the at least one lane line; and (F-4) The processing module obtains the corresponding first-view driving assistance image or the result of mapping the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model, and the lane angle of view. The second-view driving assistance image. 如請求項8所述的行車輔助影像產生方法,該處理模組還電連接一感測模組,該感測模組用於感測並傳送相關於該車輛的一車輛資訊至該處理模組,其中,在步驟(F-2)後,還包含以下子步驟: (F-5)當步驟(F-2)的判定結果為否時,該車輛資訊包括該車輛的一車速,該處理模組根據該至少一車道線,及該車速,預測該車輛的一下一行駛位置; (F-6) 該處理模組根據該下一行駛位置,與對應於所選擇之該第一三維投影模型或該第二三維投影模型的一虛擬相機之高度,計算相關於該虛擬相機俯向拍攝的一俯攝角度,並根據該下一行駛位置計算該下一行駛位置相對於該車輛之一行駛方位角;及 (F-7)該處理模組根據該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、該俯攝角度及該行駛方位角,獲得對應的該第一視野行車輔助影像或該第二視野行車輔助影像。 According to the driving assistance image generation method of claim 8, the processing module is also electrically connected to a sensing module, and the sensing module is used for sensing and transmitting a vehicle information related to the vehicle to the processing module , Where, after step (F-2), it also includes the following sub-steps: (F-5) When the result of step (F-2) is no, the vehicle information includes a speed of the vehicle, and the processing module predicts the next one of the vehicle based on the at least one lane line and the speed of the vehicle. Driving position (F-6) The processing module calculates the height of a virtual camera corresponding to the selected first three-dimensional projection model or the second three-dimensional projection model according to the next driving position Take a panoramic angle, and calculate the driving azimuth angle of the next driving position relative to the vehicle according to the next driving position; and (F-7) The processing module obtains the corresponding first field of view according to the result of mapping the at least surrounding image to the first three-dimensional projection model or the second three-dimensional projection model, the pan angle and the driving azimuth angle The driving assistance image or the second view driving assistance image. 如請求項8所述的行車輔助影像產生方法,該處理模組還電連接一感測模組,該感測模組用於感測並傳送相關於該車輛的一車輛資訊至該處理模組,其中,在步驟(F-1)後,還包含以下子步驟: (F-8)當該處理模組判定出該車道線偵測結果不指示出任一車道線時,該車輛資訊包括該車輛的一車速,與該車輛的一轉角訊號,該處理模組根據該車速及該轉角訊號,預測該車輛的一下一行駛位置; (F-9) 該處理模組根據該下一行駛位置,與對應於所選擇之該第一三維投影模型或該第二三維投影模型的一虛擬相機之高度,計算相關於該虛擬相機俯向拍攝的一俯攝角度,並根據該下一行駛位置計算該下一行駛位置相對於該車輛之一行駛方位角;及 (F-10)該處理模組根據該至少一周遭影像映射至該第一三維投影模型或該第二三維投影模型之結果、該俯攝角度及該行駛方位角,獲得對應的該第一視野行車輔助影像或該第二視野行車輔助影像。 According to the driving assistance image generation method of claim 8, the processing module is also electrically connected to a sensing module, and the sensing module is used for sensing and transmitting a vehicle information related to the vehicle to the processing module , Where, after step (F-1), it also includes the following sub-steps: (F-8) When the processing module determines that the lane line detection result does not indicate any lane line, the vehicle information includes a speed of the vehicle, and a corner signal of the vehicle, and the processing module is based on the The vehicle speed and the corner signal predict the next driving position of the vehicle; (F-9) The processing module calculates the height of a virtual camera corresponding to the selected first three-dimensional projection model or the second three-dimensional projection model based on the next driving position and the elevation of the virtual camera Take a panoramic angle, and calculate the driving azimuth angle of the next driving position relative to the vehicle according to the next driving position; and (F-10) The processing module obtains the corresponding first field of view according to the result of the at least surrounding image being mapped to the first three-dimensional projection model or the second three-dimensional projection model, the pan angle and the driving azimuth The driving assistance image or the second view driving assistance image. 一種行車輔助影像產生系統,用於執行如請求項1~10所述之行車輔助影像產生方法。A driving assistance image generation system for executing the driving assistance image generation method described in claim items 1-10.
TW108124209A 2019-07-10 2019-07-10 A method for generating a driving assistance image utilizing in a vehicle and a system thereof TWI702577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108124209A TWI702577B (en) 2019-07-10 2019-07-10 A method for generating a driving assistance image utilizing in a vehicle and a system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108124209A TWI702577B (en) 2019-07-10 2019-07-10 A method for generating a driving assistance image utilizing in a vehicle and a system thereof

Publications (2)

Publication Number Publication Date
TWI702577B true TWI702577B (en) 2020-08-21
TW202103118A TW202103118A (en) 2021-01-16

Family

ID=73003288

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108124209A TWI702577B (en) 2019-07-10 2019-07-10 A method for generating a driving assistance image utilizing in a vehicle and a system thereof

Country Status (1)

Country Link
TW (1) TWI702577B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202038230U (en) * 2011-03-24 2011-11-16 信亿科技股份有限公司 Panoramic driving assistant monitor
JP2012239157A (en) * 2011-05-10 2012-12-06 Harman Becker Automotive Systems Gmbh Surround view camera automatic calibration with extrinsic parameters only
CN103809876A (en) * 2012-11-13 2014-05-21 义晶科技股份有限公司 Vehicle image system and image display control method thereof
TWM524490U (en) * 2016-01-20 2016-06-21 Hua Chuang Automobile Information Technical Ct Co Ltd Driving ring assist device
TW201739647A (en) * 2016-05-05 2017-11-16 威盛電子股份有限公司 Method and apparatus for processing surrounding images of vehicle
JP2018139107A (en) * 2017-01-20 2018-09-06 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Method for displaying view around vehicle
CN108765496A (en) * 2018-05-24 2018-11-06 河海大学常州校区 A kind of multiple views automobile looks around DAS (Driver Assistant System) and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202038230U (en) * 2011-03-24 2011-11-16 信亿科技股份有限公司 Panoramic driving assistant monitor
JP2012239157A (en) * 2011-05-10 2012-12-06 Harman Becker Automotive Systems Gmbh Surround view camera automatic calibration with extrinsic parameters only
CN103809876A (en) * 2012-11-13 2014-05-21 义晶科技股份有限公司 Vehicle image system and image display control method thereof
TWM524490U (en) * 2016-01-20 2016-06-21 Hua Chuang Automobile Information Technical Ct Co Ltd Driving ring assist device
TW201739647A (en) * 2016-05-05 2017-11-16 威盛電子股份有限公司 Method and apparatus for processing surrounding images of vehicle
JP2018139107A (en) * 2017-01-20 2018-09-06 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Method for displaying view around vehicle
CN108765496A (en) * 2018-05-24 2018-11-06 河海大学常州校区 A kind of multiple views automobile looks around DAS (Driver Assistant System) and method

Also Published As

Publication number Publication date
TW202103118A (en) 2021-01-16

Similar Documents

Publication Publication Date Title
WO2019192359A1 (en) Vehicle panoramic video display system and method, and vehicle controller
JP6675448B2 (en) Vehicle position detecting method and device
US9858639B2 (en) Imaging surface modeling for camera modeling and virtual view synthesis
JP5455124B2 (en) Camera posture parameter estimation device
CN108496178B (en) System and method for estimating future path
US9151626B1 (en) Vehicle position estimation system
JP6819681B2 (en) Imaging control devices and methods, and vehicles
CN108638999B (en) Anti-collision early warning system and method based on 360-degree look-around input
KR100414708B1 (en) Picture composing apparatus and method
JP6819680B2 (en) Imaging control devices and methods, and vehicles
JP6690559B2 (en) Vehicle control device
CN103991448B (en) Dynamic lane line detection system and method
US20170096106A1 (en) Video synthesis system, video synthesis device, and video synthesis method
WO2020061794A1 (en) Vehicle driver assistance device, vehicle and information processing method
CN104802710B (en) A kind of intelligent automobile reversing aid system and householder method
WO2010067770A1 (en) Three-dimensional object emergence detection device
JP6981377B2 (en) Vehicle display control device, vehicle display control method, and control program
WO2015156821A1 (en) Vehicle localization system
CN114572113B (en) Imaging system, imaging device, and driving support device
WO2022062000A1 (en) Driver assistance method based on transparent a-pillar
CN108528337A (en) A kind of lubrication groove difference intelligent early-warning system and method for early warning based on video projection
JP2006279752A (en) Undervehicle image display controlling apparatus and its display controlling program
CN103673977B (en) The method and apparatus of rear dead zone of vehicle detection
KR20190067578A (en) Collision warning device and method using heterogeneous cameras having overlapped capture area
TWI702577B (en) A method for generating a driving assistance image utilizing in a vehicle and a system thereof