TWI453373B - A method and preview system for previewing video files - Google Patents

A method and preview system for previewing video files Download PDF

Info

Publication number
TWI453373B
TWI453373B TW100137801A TW100137801A TWI453373B TW I453373 B TWI453373 B TW I453373B TW 100137801 A TW100137801 A TW 100137801A TW 100137801 A TW100137801 A TW 100137801A TW I453373 B TWI453373 B TW I453373B
Authority
TW
Taiwan
Prior art keywords
path
panoramic
image
panoramic image
reality
Prior art date
Application number
TW100137801A
Other languages
Chinese (zh)
Other versions
TW201317547A (en
Original Assignee
Nat Univ Chung Hsing
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 Nat Univ Chung Hsing filed Critical Nat Univ Chung Hsing
Priority to TW100137801A priority Critical patent/TWI453373B/en
Publication of TW201317547A publication Critical patent/TW201317547A/en
Application granted granted Critical
Publication of TWI453373B publication Critical patent/TWI453373B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

產生全景實境路徑預覽影片檔之方法及預覽系統Method and preview system for generating panoramic reality path preview video file

本發明與實境路徑預覽有關,特別是有關於一種產生全景實境路徑預覽影片檔之方法及預覽系統。The present invention relates to a real-world path preview, and more particularly to a method and a preview system for generating a panoramic reality path preview movie file.

在習用的車載GPS導航系統大部分皆為2D平面圖資,無法呈現道路的真實場景,使用者使用電子地圖查詢地理位置時,僅能藉由路徑規劃與聽取導航機指示以達目的地。另外,電子地圖僅可提供關於路徑的平面圖文資料和地標間的關連,並無法提供行車路徑上之任何影像供使用者參考。Most of the conventional car GPS navigation systems are 2D floor plan, which can not present the real scene of the road. When users use the electronic map to query the geographical location, they can only use the path planning and listening to the navigation machine to reach the destination. In addition, the electronic map can only provide information about the path of the plan and the connection between the landmarks, and can not provide any image on the driving path for the user's reference.

由於習用車載GPS導航系統無法產生一規劃路徑之實境路徑預覽影像或影片,使用者在行車前對該規劃路徑上之路況不能先有所了解,因此,在導航過程中,常會因電子地圖與道路的真實場景有所差距而發生錯過路口的情形,或者在錯誤之路口轉彎或進入非預期的道路,使用者不但沒有以最短路徑行駛,反而增加了更多的行車成本。Since the conventional vehicle-mounted GPS navigation system cannot generate a real-life path preview image or video of a planned path, the user cannot know the road condition on the planned route before driving. Therefore, in the navigation process, the electronic map is often used. If there is a gap in the real scene of the road and the situation of missing the intersection, or turning at the wrong intersection or entering the unexpected road, the user not only does not drive on the shortest path, but increases the cost of driving.

本發明之目的在於提供一種產生全景實境路徑預覽影片檔之方法,可依據一規劃路徑產生對應之街道預覽全景影像。The object of the present invention is to provide a method for generating a panoramic reality path preview movie file, which can generate a corresponding street preview panoramic image according to a planned path.

本發明之另一目的在於提供一種全景實境路徑影片預覽系統,可產生一規劃路徑之全景實境路徑預覽影片檔並播放,讓使用者在行車前可事先預覽該規劃路徑之街道全景影像以對路況有所了解,並可視路況改變其行車路徑。Another object of the present invention is to provide a panoramic reality path movie preview system, which can generate a panoramic path preview movie file of a planned path and play it, so that the user can preview the street panoramic image of the planned path before driving. Have an understanding of the road conditions and change the driving path depending on the road conditions.

為達上述目的,本發明提供之產生全景實境路徑預覽影片檔之方法包括以下步驟:(a)沿一區域中之街道以一第一方向拍攝全景影像且每經一間隔時間擷取一影像座標,每一段間隔時間內係拍攝複數個全景影像,該等全景影像及該等影像座標並儲存至一資料庫,且依據各段間隔時間擷取之二影像座標計算各段間隔時間內拍攝之複數個全景影像之影像座標,將每一全景影像與對應之影像座標整合為一整合全景影像並儲存至該資料庫;(b)於一電子地圖中依據使用者輸入之一起點及一終點產生一規劃路徑,該規劃路徑包括複數個路徑座標,該等路徑座標形成一路徑座標序列,並將該路徑座標序列依序匯出,該規劃路徑上具有若干節點且每一節點對應一路徑座標,該等節點包含該規劃路徑二端之起點與終點,起點與終點間之節點係為路口節點;(c)由該資料庫中搜尋出最接近該起點之路徑坐標之整合全景影像作為起始影像;(d)沿起點至終點方向之順序判斷該規劃路徑中相鄰節點間之路徑方向是否與該第一方向相同,若是,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像並加以排序為一區段全景影像序列,若否,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像,並將每一整合全景影像分割為左幅影像及右幅影像且左右置換後組合為一重組全景影像,並加以排序為一區段全景影像序列;(e)判斷該規劃路徑上是否有下一個路口節點,若是,回到步驟(d),若否,進行步驟(f);及(f)將該規劃路徑上各相鄰節點間之區段全景影像序列合成為一全景實境路徑預覽影片檔。To achieve the above objective, the method for generating a panoramic reality path preview movie file provided by the present invention includes the following steps: (a) taking a panoramic image in a first direction along a street in an area and capturing an image every interval time. At each interval, a plurality of panoramic images are captured, and the panoramic images and the image coordinates are stored in a database, and the image coordinates are calculated according to the interval between the two images. Image coordinates of a plurality of panoramic images, each panoramic image and corresponding image coordinates are integrated into an integrated panoramic image and stored in the database; (b) generated in an electronic map according to a starting point and an ending point of the user input a planning path, the planning path includes a plurality of path coordinates, the path coordinates form a path coordinate sequence, and the path coordinate sequence is sequentially exported, the planning path has a plurality of nodes and each node corresponds to a path coordinate, The nodes include the starting point and the ending point of the two ends of the planning path, and the nodes between the starting point and the ending point are intersection nodes; (c) from the database Searching for the integrated panoramic image of the path coordinate closest to the starting point as the starting image; (d) determining whether the path direction between adjacent nodes in the planned path is the same as the first direction in the order of the starting point to the ending direction, and if so, Searching, according to the sequence of path coordinate sequences between the adjacent nodes, the corresponding integrated panoramic images are sorted into a segment panoramic image sequence, and if not, according to the path coordinate sequence between the adjacent nodes Searching for the corresponding integrated panoramic image in the database, and dividing each integrated panoramic image into a left image and a right image and combining the left and right images into a reconstructed panoramic image and sorting them into a segment panoramic image sequence; e) determining whether there is a next intersection node on the planned path, and if so, returning to step (d), if not, performing step (f); and (f) panorama of the sections between adjacent nodes on the planned path The image sequence is synthesized into a panoramic reality path preview movie file.

為達上述目的,本發明提供之全景實境路徑影片預覽系統包括一資料庫、一影片產生模組及一播放器。該影片產生模組用以執行以下步驟:(a)整合沿一區域中之街道拍攝之複數個全景影像及每經一間隔時間擷取之影像座標為複數個整合全景影像並儲存至該資料庫,其中該等全景影像係以一第一方向拍攝,每一段間隔時間內係拍攝複數個全景影像,該等全景影像及該等影像座標儲存至該資料庫,且依據各段間隔時間擷取之二影像座標計算各段間隔時間內拍攝之複數個全景影像之影像座標,將每一全景影像與對應之影像座標整合為該整合全景影像;(b)於一電子地圖中依據使用者輸入之一起點及一終點產生一規劃路徑,該規劃路徑包括複數個路徑座標,該等路徑座標形成一路徑座標序列,並將該路徑座標序列依序匯出,該規劃路徑上具有若干節點且每一節點對應一路徑座標,該等節點包含該規劃路徑二端之起點與終點,起點與終點間之節點係為路口節點;(c)由該資料庫中搜尋出最接近該起點之路徑坐標之整合全景影像作為起始影像;(d)沿起點至終點方向之順序判斷該規劃路徑中相鄰節點間之路徑方向是否與該第一方向相同,若是,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像並加以排序為一區段全景影像序列,若否,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像,並將每一整合全景影像分割為左幅影像及右幅影像且左右置換後組合為一重組全景影像,並加以排序為一區段全景影像序列;(e)判斷該規劃路徑上是否有下一個路口節點,若是,回到步驟(d),若否,進行步驟(f);及(f)將該規劃路徑上各相鄰節點間之區段全景影像序列合成為一全景實境路徑預覽影片檔並儲存至該資料庫。該播放器用以播放該全景實境路徑預覽影片檔。To achieve the above objective, the panoramic reality path movie preview system provided by the present invention comprises a database, a movie production module and a player. The video production module is configured to perform the following steps: (a) integrating a plurality of panoramic images taken along a street in an area and image coordinates captured at intervals of time into a plurality of integrated panoramic images and stored in the database The panoramic image is captured in a first direction, and a plurality of panoramic images are captured during each interval, and the panoramic images and the image coordinates are stored in the database, and are captured according to intervals of time. The two image coordinates calculate the image coordinates of the plurality of panoramic images captured during each interval, and integrate each panoramic image and the corresponding image coordinates into the integrated panoramic image; (b) according to the user input in an electronic map The point and the end point generate a planning path, the planning path includes a plurality of path coordinates, the path coordinates form a path coordinate sequence, and the path coordinate sequence is sequentially exported, the planning path has a plurality of nodes and each node Corresponding to a path coordinate, the nodes include the starting point and the ending point of the two ends of the planning path, and the node between the starting point and the ending point is an intersection node (c) by using the database to search for the integrated panoramic image of the path coordinate closest to the starting point as the starting image; (d) determining whether the path direction between adjacent nodes in the planned path is in the order of the starting point to the ending direction The first direction is the same. If yes, the corresponding integrated panoramic image is searched by the database according to the path coordinate sequence between the adjacent nodes and sorted into a segment panoramic image sequence. If not, according to the adjacent node. The sequence of the path coordinate sequence is searched for the corresponding integrated panoramic image by the database, and each integrated panoramic image is divided into a left image and a right image, and the left and right replacements are combined into a recombined panoramic image, and are sorted as a segment of the panoramic image sequence; (e) determining whether there is a next intersection node on the planned path, and if so, returning to step (d), if not, performing step (f); and (f) The segment panoramic image sequence between adjacent nodes is synthesized into a panoramic reality path preview video file and stored in the database. The player is used to play the panoramic reality path preview movie file.

為了更瞭解本發明的特徵,以下列舉較佳實施例並配合圖式說明於後,其中:第一圖為本發明一較佳實施例之產生全景實境路徑預覽影片檔之方法流程圖;及第二圖為本發明一較佳實施例全景實境路徑影片預覽系統之示意圖。In order to better understand the features of the present invention, the following is a description of the preferred embodiments and the accompanying drawings, wherein: FIG. 1 is a flow chart showing a method for generating a panoramic reality path preview movie file according to a preferred embodiment of the present invention; The second figure is a schematic diagram of a panoramic reality path movie preview system according to a preferred embodiment of the present invention.

配合參考第一圖及第二圖,本發明一較佳實施例之產生全景實境路徑預覽影片檔之方法包括以下步驟。首先進行步驟S11,沿一區域中之街道以一第一方向拍攝全景影像且每經一間隔時間擷取一影像座標(經緯度),每一段間隔時間內係拍攝複數個全景影像,該等全景影像及該等影像座標並儲存至一資料庫10,且依據各段間隔時間擷取之二影像座標計算各段間隔時間內拍攝之複數個全景影像之影像座標,將每一全景影像與對應之影像座標整合為一整合全景影像並儲存至該資料庫10。With reference to the first and second figures, a method for generating a panoramic reality path preview movie file according to a preferred embodiment of the present invention includes the following steps. First, in step S11, a panoramic image is captured in a first direction along a street in an area, and an image coordinate (latitude and longitude) is captured every interval time, and a plurality of panoramic images are captured in each interval, and the panoramic images are captured. And storing the image coordinates and storing them in a database 10, and calculating image coordinates of the plurality of panoramic images captured during each interval according to the two image coordinates captured at intervals, and each panoramic image and the corresponding image The coordinates are integrated into an integrated panoramic image and stored to the database 10.

在本實施例中,係應用全景攝影機Ladybug2每秒拍攝15幅全景影像,並以全球衛星定位系統Garmin60CSx導航系統每秒接收1次GPS訊號並取得一影像座標。每一秒間隔時間內之15幅全景影像係採用內插之方式,依據每秒間隔時間擷取之二影像座標計算其對應之影像座標。In this embodiment, the panoramic camera Ladybug2 is used to take 15 panoramic images per second, and the GPS satellite system Garmin60CSx navigation system receives the GPS signal once per second and obtains an image coordinate. The 15 panoramic images in the interval of each second are interpolated, and the corresponding image coordinates are calculated according to the two image coordinates captured at intervals of each second.

接著進行步驟S12,於一電子地圖中依據使用者輸入之一起點及一終點產生一規劃路徑,該規劃路徑包括複數個路徑座標,該等路徑座標形成一路徑座標序列,並將該路徑座標序列依序匯出,該規劃路徑上具有若干節點且每一節點對應一路徑座標,該等節點包含該規劃路徑二端之起點與終點,起點與終點間之節點係為路口節點。該規劃路徑上可僅包括起點及終點二節點,或該規劃路徑上可包括起點及終點二節點以及其間之至少一路口節點。在本實施例中,係利用Google地圖產生該規劃路徑,可理解的是,亦可利用UrMap或其他電子地圖產生該規劃路徑。要強調的是,在本發明之方法中,該起點可以不必為街道之轉角處或路口,該等全景影像不必以二路口節點間之整段影像為單位進行儲存,可避免以不必要路段之全景影像進行影片合成,節省影片合成時間與儲存空間。Then, in step S12, a planning path is generated in an electronic map according to a starting point and an ending point of the user input, the planning path includes a plurality of path coordinates, the path coordinates form a path coordinate sequence, and the path coordinate sequence is Sequentially, the planning path has a plurality of nodes and each node corresponds to a path coordinate, the nodes include a starting point and an ending point of the two ends of the planning path, and the node between the starting point and the ending point is an intersection node. The planned path may include only the starting point and the ending point two nodes, or the planned path may include the starting point and the ending point two nodes and at least one intersection node therebetween. In this embodiment, the planning path is generated by using Google Map. It can be understood that the planning path can also be generated by using UrMap or other electronic maps. It should be emphasized that, in the method of the present invention, the starting point may not necessarily be a corner of a street or an intersection, and the panoramic images do not need to be stored in units of the entire image between the nodes of the two intersections, thereby avoiding unnecessary sections. The panoramic image is used for film synthesis, saving film synthesis time and storage space.

接著進行步驟S13,由該資料庫10中搜尋出最接近該起點之路徑坐標之整合全景影像作為起始影像。Next, in step S13, the integrated panoramic image of the path coordinate closest to the starting point is searched by the database 10 as a starting image.

接著進行步驟S14,沿起點至終點方向之順序判斷該規劃路徑中相鄰節點間之路徑方向是否與該第一方向相同,若是,依照該相鄰節點間之路徑坐標序列順序由該資料庫10中搜尋出對應之整合全景影像並加以排序為一區段全景影像序列,若否,依照該相鄰節點間之路徑坐標序列順序由該資料庫10中搜尋出對應之整合全景影像,並將每一整合全景影像分割為左幅影像及右幅影像且左右置換後組合為一重組全景影像,並加以排序為一區段全景影像序列。Next, proceeding to step S14, determining whether the path direction between adjacent nodes in the planned path is the same as the first direction in the order of the starting point to the ending direction, and if so, in accordance with the path coordinate sequence between the adjacent nodes, the database 10 is sequentially executed. Searching for the corresponding integrated panoramic image and sorting it into a segment panoramic image sequence. If not, searching for the corresponding integrated panoramic image from the database 10 in the order of the path coordinate sequence between the adjacent nodes, and An integrated panoramic image is divided into a left image and a right image and combined to form a recombined panoramic image, and sorted into a segment panoramic image sequence.

為避免同一段道路拍攝兩次全景影像,增加該資料庫10的儲存負擔,以及避免使用者在預覽街景影像時會有路段呈現倒退撥放之情形(因本發明之方法中每一路段僅以該第一方向拍攝全景影像),因此在步驟S14中若該規劃路徑中相鄰節點間之路徑方向與該第一方向不同,則將每一整合全景影像分割後重組並加以排序為一區段全景影像序列,亦即使用者可以車尾方向(與該第一方向相反)為行進方向進行街景預覽,如此可提升使用者預覽時之視覺流暢度。In order to avoid capturing the panoramic image twice in the same road, the storage burden of the database 10 is increased, and the user is prevented from having a reversed playback when the street view image is previewed (since each segment in the method of the present invention is only The first direction captures the panoramic image. Therefore, if the path direction between adjacent nodes in the planned path is different from the first direction in step S14, each integrated panoramic image is segmented, reorganized, and sorted into a segment. The panoramic image sequence, that is, the user can preview the street view for the direction of travel in the rear direction (opposite the first direction), thereby improving the visual fluency of the user during preview.

接著進行步驟S15,判斷該規劃路徑上是否有下一個路口節點,若是,回到步驟S14,若否,進行步驟S16。Next, in step S15, it is determined whether there is a next intersection node on the planned route, and if so, the process returns to step S14, and if not, the process proceeds to step S16.

在步驟S16中,係將該規劃路徑上各相鄰節點間之區段全景影像序列合成為一全景實境路徑預覽影片檔。其中,該全景實境路徑預覽影片檔可為avi、wmv、mp4等格式。In step S16, the segment panoramic image sequence between adjacent nodes on the planned path is synthesized into a panoramic reality path preview movie file. The panoramic reality path preview video file may be in a format such as avi, wmv, or mp4.

在本發明另一較佳實施例中,每一整合全景影像可另具有一影像序號及一方向判斷碼,其中該影像序號係依據該第一方向依序增加,該方向判斷碼用以表示該第一方向。In another preferred embodiment of the present invention, each integrated panoramic image may further have an image serial number and a direction determining code, wherein the image serial number is sequentially added according to the first direction, and the direction determining code is used to indicate the The first direction.

舉例說明,若於一路段係由A點向B點前進,則所拍攝之全景影像之影像序號依序為00001、00002、00003…,而該等整合全景影像之影像序號及方向判斷碼依序紀錄為00001AB、00002AB、00003AB…,其中AB即表示A點至B點之方向。如此,在上述之步驟S14中,若該規劃路徑中之一相鄰節點間之路徑方向與AB表示之方向相同,則由該資料庫10中依序搜尋出紀錄為00001AB、00002AB、00003AB…之整合全景影像,並加以排序為一區段全景影像序列;若該規劃路徑中之一相鄰節點間之路徑方向與AB表示之方向不同(即路徑方向為B點至A點之方向),則由該資料庫10中依序搜尋出紀錄為…00003AB、00002AB、00001AB之整合全景影像,並將每一整合全景影像分割後重組並加以排序為一區段全景影像序列。當該等整合全景影像被整合成為一區段全景影像序列,且各區段全景影像序列合成為一全景實境路徑影片預覽檔案,即可由一播放器將其播放並顯示於一顯示裝置上,在播放影片之同時,可對任一全景影像進行檢視或編輯,例如改變檢視之視角、影像縮小或放大、或將任一全景影像輸出(可經過改變視角後)。For example, if a road segment moves from point A to point B, the image number of the captured panoramic image is sequentially 00001, 00002, 00003..., and the image serial number and direction judgment code of the integrated panoramic image are sequentially The records are 00001AB, 00002AB, 00003AB..., where AB is the direction from point A to point B. Thus, in the above step S14, if the path direction between one of the adjacent nodes in the planned path is the same as the direction indicated by AB, the records in the database 10 are sequentially searched for the records 00001AB, 00002AB, 00003AB... Integrating the panoramic images and sorting them into a segment panoramic image sequence; if the path direction between one of the adjacent nodes in the planned path is different from the direction indicated by AB (ie, the path direction is from the B point to the A point), then The integrated panoramic images recorded as ...00003AB, 00002AB, and 00001AB are sequentially searched by the database 10, and each integrated panoramic image is segmented, recombined, and sorted into a segment panoramic image sequence. When the integrated panoramic images are integrated into a segment panoramic image sequence, and the segment panoramic image sequences are combined into a panoramic reality path movie preview file, the player can play and display it on a display device by using a player. While playing a movie, you can view or edit any of the panoramic images, such as changing the viewing angle of the view, reducing or enlarging the image, or outputting any of the panoramic images (after changing the viewing angle).

本發明另提供一種全景實境路徑影片預覽系統100,該全景實境路徑影片預覽系統100包括一資料庫10、一影片產生模組20及一播放器30。該資料庫10用以儲存沿一區域中之街道拍攝之複數個全景影像及每經一間隔時間擷取之影像座標、複數個整合全景影像以及由整合全景影像合成之全景實境路徑預覽影片檔。The present invention further provides a panoramic reality path movie preview system 100. The panoramic reality path movie preview system 100 includes a database 10, a movie production module 20, and a player 30. The database 10 is configured to store a plurality of panoramic images captured along a street in an area, and image coordinates captured by each interval, a plurality of integrated panoramic images, and a panoramic reality path preview video file synthesized by the integrated panoramic image. .

該影片產生模組20用以產生對應一規劃路徑之全景實境路徑預覽影片檔,該規劃路徑係於一電子地圖中依據使用者輸入之一起點及一終點而產生。The video generating module 20 is configured to generate a panoramic real-world path preview video file corresponding to a planned path, where the planning path is generated in an electronic map according to a starting point and an ending point of the user input.

該影片產生模組20產生該全景實境路徑預覽影片檔之方法說明如下。該影片產生模組20先整合沿一區域中之街道以一第一方向拍攝之複數個全景影像及每經一間隔時間擷取之影像座標為複數個整合全景影像並儲存至該資料庫10,且計算各段間隔時間內拍攝之複數個全景影像之影像座標,再將每一全景影像與對應之影像座標整合為一整合全景影像。形成該等整合全景影像及計算該等影像座標之方式請參閱上述關於步驟S11之詳細說明,在此不再加以敘述。The method for generating the panoramic reality path preview movie file by the video production module 20 is as follows. The video generating module 20 first integrates a plurality of panoramic images captured in a first direction along a street in an area, and image coordinates captured at intervals of time are stored in a plurality of integrated panoramic images and stored in the database 10. And calculating the image coordinates of the plurality of panoramic images captured during each interval, and then integrating each panoramic image with the corresponding image coordinates into an integrated panoramic image. For the manner of forming the integrated panoramic images and calculating the image coordinates, please refer to the above detailed description of step S11, which will not be described here.

接著,該影片產生模組20執行如前所述之步驟S12至S16,以產生對應該規劃路徑之全景實境路徑預覽影片檔。其中步驟S12至S16已於產生全景實境路徑預覽影片檔之方法中詳細說明,在此不再加以敘述。Next, the film production module 20 performs steps S12 to S16 as described above to generate a panoramic reality path preview movie file corresponding to the planned path. Steps S12 to S16 have been described in detail in the method of generating a panoramic virtual path preview movie file, which will not be described here.

該播放器30用以播放該全景實境路徑預覽影片檔。在本實施例中,該播放器30係自動播放該全景實境路徑預覽影片檔。該播放器30播放該全景實境路徑預覽影片檔時,該規劃路徑上之一路徑座標位置(電子地圖上之一座標位置)係與對應該路徑座標位置之全景影像同步改變,並且,該播放器30播放該全景實境路徑預覽影片檔停駐於一全景影像時,可進行環場檢視、調整檢視之方向或/及縮放全景影像之尺寸。The player 30 is configured to play the panoramic reality path preview movie file. In this embodiment, the player 30 automatically plays the panoramic reality path preview movie file. When the player 30 plays the panoramic reality path preview movie file, one of the path coordinate positions on the planned path (one coordinate position on the electronic map) is synchronously changed with the panoramic image corresponding to the path coordinate position, and the playback is performed. When the player 30 plays the panoramic reality path and previews the video file, it can perform the ring view, adjust the direction of the view, or/and zoom the size of the panoramic image.

較佳地,該播放器30係為互動式,其中:使用者可選擇以全景影像模式或環場影像模式撥放,環場影像模式為一影像四周變形、影像中央校正還原為無變形之真實影像,使用者並可設定全景影像撥放速度(例如:0.5、2或4倍速);可由任意時點倒退撥放該全景實境路徑預覽影片檔;可停駐於任意時點進行環場影像檢視、調整檢視影像之方向、影像放大進行細部檢視,達成真正的全景預覽;及可輸出單一全景影像(單一全景影像可調整檢視角度後再輸出)或完整之該全景實境路徑預覽影片檔。Preferably, the player 30 is interactive, wherein: the user can select to play in the panoramic image mode or the ring image mode, and the ring image mode is an image around the image deformation, and the image center correction is restored to the real shape without deformation. The image can be set by the user (for example, 0.5, 2 or 4 times speed); the panoramic reality path can be previewed by any time point; the ring image can be viewed at any time. Adjust the direction of the view image, zoom in on the image for detailed view, and achieve a true panoramic preview; and output a single panoramic image (a single panoramic image can be adjusted after the viewing angle is output) or complete the panoramic reality path to preview the video file.

本發明產生全景實境路徑預覽影片檔之方法,可依據一規劃路徑產生對應之全景實境路徑預覽影片檔,其中該規劃路徑之起點可以不必為街道之轉角處或路口節點。並且,本發明之全景實境路徑影片預覽系統可播放該全景實境路徑預覽影片檔,讓使用者在行車前可事先預覽該規劃路徑之街道全景影像以對路況有所了解,並可視路況改變其行車路徑。The method for generating a panoramic virtual path preview movie file can generate a corresponding panoramic real path preview movie file according to a planned path, wherein the starting point of the planned path does not have to be a corner of the street or a junction node. Moreover, the panoramic reality path movie preview system of the present invention can play the panoramic reality path preview movie file, so that the user can preview the street panoramic image of the planned path in advance to understand the road condition and change the visual condition. Its driving path.

以上實施例僅為本發明的示例性實施例,不用於限制本發明,本發明的保護範圍由請求項書限定。本領域技術人員可以在本發明的實質和保護範圍內,對本發明做出各種修改或等同替換,這種修改或等同替換也應視為落在本發明的保護範圍內。The above embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. A person skilled in the art can make various modifications or equivalents to the invention within the spirit and scope of the invention, and such modifications or equivalents are also considered to fall within the scope of the invention.

10...資料庫10. . . database

20...影片產生模組20. . . Video production module

30...播放器30. . . player

100...全景實境路徑影片預覽系統100. . . Panorama Reality Path Movie Preview System

S11~S16...本發明之方法的步驟S11~S16. . . Steps of the method of the invention

第一圖為本發明一較佳實施例之產生全景實境路徑預覽影片檔之方法流程圖;及The first figure is a flowchart of a method for generating a panoramic reality path preview movie file according to a preferred embodiment of the present invention; and

第二圖為本發明一較佳實施例全景實境路徑影片預覽系統之示意圖。The second figure is a schematic diagram of a panoramic reality path movie preview system according to a preferred embodiment of the present invention.

S11~S16...本發明之方法的步驟S11~S16. . . Steps of the method of the invention

Claims (10)

一種產生全景實境路徑預覽影片檔之方法,包括以下步驟:(a) 沿一區域中之街道以一第一方向拍攝全景影像且每經一間隔時間擷取一影像座標,每一段間隔時間內係拍攝複數個全景影像,該等全景影像及該等影像座標並儲存至一資料庫,且依據各段間隔時間擷取之二影像座標計算各段間隔時間內拍攝之複數個全景影像之影像座標,將每一全景影像與對應之影像座標整合為一整合全景影像並儲存至該資料庫;(b) 於一電子地圖中依據使用者輸入之一起點及一終點產生一規劃路徑,該規劃路徑包括複數個路徑座標,該等路徑座標形成一路徑座標序列,並將該路徑座標序列依序匯出,該規劃路徑上具有若干節點且每一節點對應一路徑座標,該等節點包含該規劃路徑二端之起點與終點,起點與終點間之節點係為路口節點;(c) 由該資料庫中搜尋出最接近該起點之路徑坐標之整合全景影像作為起始影像;(d) 沿起點至終點方向之順序判斷該規劃路徑中相鄰節點間之路徑方向是否與該第一方向相同,若是,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像並加以排序為一區段全景影像序列,若否,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像,並將每一整合全景影像分割為左幅影像及右幅影像且左右置換後組合為一重組全景影像,並加以排序為一區段全景影像序列;(e) 判斷該規劃路徑上是否有下一個路口節點,若是,回到步驟(d),若否,進行步驟(f);及(f) 將該規劃路徑上各相鄰節點間之區段全景影像序列合成為一全景實境路徑預覽影片檔。A method for generating a panoramic reality path preview movie file, comprising the steps of: (a) taking a panoramic image in a first direction along a street in an area and capturing an image coordinate every time interval, each interval time Taking a plurality of panoramic images, the panoramic images and the image coordinates are stored in a database, and the image coordinates of the plurality of panoramic images captured during each interval are calculated according to the two image coordinates captured at intervals Integrating each panoramic image with the corresponding image coordinates into an integrated panoramic image and storing it in the database; (b) generating a planning path according to a starting point and an ending point of the user input in an electronic map, the planning path The method includes a plurality of path coordinates, and the path coordinates form a path coordinate sequence, and the path coordinate sequence is sequentially exported. The planned path has a plurality of nodes and each node corresponds to a path coordinate, and the nodes include the planned path. The starting point and the ending point of the two ends, the node between the starting point and the ending point is the intersection node; (c) the closest searched by the database The integrated panoramic image of the path coordinate of the starting point is used as the starting image; (d) determining whether the path direction between adjacent nodes in the planned path is the same as the first direction in the order of the starting point to the ending direction, and if so, according to the adjacent node The sequence of the path coordinate sequence is searched by the database for the corresponding integrated panoramic image and sorted into a segment panoramic image sequence. If not, the database is searched according to the path coordinate sequence between the adjacent nodes. Correspondingly integrating the panoramic image, and dividing each integrated panoramic image into a left image and a right image and combining the left and right images into a reconstructed panoramic image and sorting them into a segment panoramic image sequence; (e) judging the plan Whether there is a next intersection node on the path, and if so, returning to step (d), if not, performing step (f); and (f) synthesizing the segment panoramic image sequence between adjacent nodes on the planned path into one The panorama real path previews the video file. 如請求項1所述的產生全景實境路徑預覽影片檔之方法,在步驟(a)中係採用內插方式計算各段間隔時間內拍攝之全景影像之影像座標。In the method for generating a panoramic reality path preview video file according to claim 1, in step (a), the image coordinates of the panoramic image captured in each interval interval are calculated by interpolation. 如請求項1所述的產生全景實境路徑預覽影片檔之方法,其中該電子地圖係為Google地圖。The method for generating a panoramic reality path preview movie file according to claim 1, wherein the electronic map is a Google map. 如請求項1所述的產生全景實境路徑預覽影片檔之方法,其中每一整合全景影像另具有一影像序號及一方向判斷碼,該影像序號係依據該第一方向依序增加,該方向判斷碼用以表示該第一方向。The method for generating a panoramic reality path preview video file according to claim 1, wherein each integrated panoramic image further has an image serial number and a direction determining code, wherein the image serial number is sequentially increased according to the first direction, the direction The judgment code is used to indicate the first direction. 一種全景實境路徑影片預覽系統,包括:一資料庫;一影片產生模組,用以執行以下步驟:(a) 整合沿一區域中之街道拍攝之複數個全景影像及每經一間隔時間擷取之影像座標為複數個整合全景影像並儲存至該資料庫,其中該等全景影像係以一第一方向拍攝,每一段間隔時間內係拍攝複數個全景影像,該等全景影像及該等影像座標儲存至該資料庫,且依據各段間隔時間擷取之二影像座標計算各段間隔時間內拍攝之複數個全景影像之影像座標,將每一全景影像與對應之影像座標整合為該整合全景影像;(b) 於一電子地圖中依據使用者輸入之一起點及一終點產生一規劃路徑,該規劃路徑包括複數個路徑座標,該等路徑座標形成一路徑座標序列,並將該路徑座標序列依序匯出,該規劃路徑上具有若干節點且每一節點對應一路徑座標,該等節點包含該規劃路徑二端之起點與終點,起點與終點間之節點係為路口節點;(c) 由該資料庫中搜尋出最接近該起點之路徑坐標之整合全景影像作為起始影像;(d) 沿起點至終點方向之順序判斷該規劃路徑中相鄰節點間之路徑方向是否與該第一方向相同,若是,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像並加以排序為一區段全景影像序列,若否,依照該相鄰節點間之路徑坐標序列順序由該資料庫中搜尋出對應之整合全景影像,並將每一整合全景影像分割為左幅影像及右幅影像且左右置換後組合為一重組全景影像,並加以排序為一區段全景影像序列;(e) 判斷該規劃路徑上是否有下一個路口節點,若是,回到步驟(d),若否,進行步驟(f);(f) 將該規劃路徑上各相鄰節點間之區段全景影像序列合成為一全景實境路徑預覽影片檔並儲存至該資料庫;及一播放器,用以播放該全景實境路徑預覽影片檔。A panoramic reality path movie preview system includes: a database; a video production module for performing the following steps: (a) integrating a plurality of panoramic images taken along a street in an area and each time interval 撷The image coordinates are a plurality of integrated panoramic images and are stored in the database, wherein the panoramic images are captured in a first direction, and a plurality of panoramic images, the panoramic images and the images are captured at intervals The coordinates are stored in the database, and the image coordinates of the plurality of panoramic images captured during each interval are calculated according to the two image coordinates captured at intervals, and each panoramic image and the corresponding image coordinates are integrated into the integrated panorama. (b) generating a planning path in an electronic map according to a starting point and an ending point of the user input, the planning path includes a plurality of path coordinates, the path coordinates forming a path coordinate sequence, and the path coordinate sequence Sequentially remitted, the planning path has a plurality of nodes and each node corresponds to a path coordinate, and the nodes include the plan The starting point and the ending point of the two ends of the path, the node between the starting point and the ending point is the intersection node; (c) the integrated panoramic image of the path coordinate closest to the starting point is searched by the database as the starting image; (d) along the starting point The order to the end direction determines whether the path direction between adjacent nodes in the planned path is the same as the first direction, and if so, the corresponding integrated panoramic image is searched from the database according to the path coordinate sequence between the adjacent nodes. And sorting into a segment panoramic image sequence, if not, searching for the corresponding integrated panoramic image from the database according to the path coordinate sequence between the adjacent nodes, and dividing each integrated panoramic image into a left image And the right image and the left and right replacements are combined into a recombined panoramic image and sorted into a segment panoramic image sequence; (e) determining whether there is a next intersection node on the planned path, and if so, returning to step (d), If not, proceed to step (f); (f) synthesize the segment panoramic image sequence between adjacent nodes on the planned path into a panoramic reality path preview video file and store To the database; and a player to play the reality panorama path preview video files. 如請求項5所述的全景實境路徑影片預覽系統,其中該影片產生模組係採用內插方式計算各段間隔時間內拍攝之全景影像之影像座標。The panoramic reality path movie preview system according to claim 5, wherein the film generation module calculates an image coordinate of the panoramic image captured in each interval interval by using an interpolation method. 如請求項5所述的全景實境路徑影片預覽系統,其中每一整合全景影像另具有一影像序號及一方向判斷碼,該影像序號係依據該第一方向依序增加,該方向判斷碼用以表示該第一方向。The panoramic reality path movie preview system of claim 5, wherein each integrated panoramic image further has an image serial number and a direction determining code, wherein the image serial number is sequentially increased according to the first direction, and the direction determining code is used by To indicate the first direction. 如請求項5所述的全景實境路徑影片預覽系統,其中該播放器播放該全景實境路徑預覽影片檔時,該規劃路徑上之一路徑座標位置係與對應該路徑座標位置之全景影像同步改變。The panoramic reality path movie preview system according to claim 5, wherein when the player plays the panoramic reality path preview movie file, one of the path coordinate positions on the planned path is synchronized with the panoramic image corresponding to the path coordinate position. change. 如請求項5所述的全景實境路徑影片預覽系統,其中該播放器係自動播放該全景實境路徑預覽影片檔。The panoramic reality path movie preview system of claim 5, wherein the player automatically plays the panoramic reality path preview movie file. 如請求項5所述的全景實境路徑影片預覽系統,其中該播放器播放該全景實境路徑預覽影片檔停駐於一全景影像時,可進行環場檢視、調整檢視之方向或/及縮放全景影像之尺寸。The panoramic reality path movie preview system according to claim 5, wherein the player plays the panoramic real-world path and previews the video file to be parked in a panoramic image, and can perform a ring view, adjust the direction of the view, or/and zoom. The size of the panoramic image.
TW100137801A 2011-10-18 2011-10-18 A method and preview system for previewing video files TWI453373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100137801A TWI453373B (en) 2011-10-18 2011-10-18 A method and preview system for previewing video files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100137801A TWI453373B (en) 2011-10-18 2011-10-18 A method and preview system for previewing video files

Publications (2)

Publication Number Publication Date
TW201317547A TW201317547A (en) 2013-05-01
TWI453373B true TWI453373B (en) 2014-09-21

Family

ID=48871842

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100137801A TWI453373B (en) 2011-10-18 2011-10-18 A method and preview system for previewing video files

Country Status (1)

Country Link
TW (1) TWI453373B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104422458A (en) * 2013-08-30 2015-03-18 深圳富泰宏精密工业有限公司 Vehicle navigation system and vehicle navigation method
TWI520095B (en) 2013-10-21 2016-02-01 財團法人工業技術研究院 Video indexing method, video indexing apparatus and computer readable medium
CN105222773B (en) 2015-09-29 2018-09-21 小米科技有限责任公司 Air navigation aid and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200846627A (en) * 2007-05-18 2008-12-01 Mitac Int Corp Method for navigation and system thereof
CN201576433U (en) * 2009-07-12 2010-09-08 王光明 360-degree panoramic photo digital photo frame
TW201100753A (en) * 2009-06-19 2011-01-01 Chunghwa Telecom Co Ltd Street view dynamic navigation system and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200846627A (en) * 2007-05-18 2008-12-01 Mitac Int Corp Method for navigation and system thereof
TW201100753A (en) * 2009-06-19 2011-01-01 Chunghwa Telecom Co Ltd Street view dynamic navigation system and method thereof
CN201576433U (en) * 2009-07-12 2010-09-08 王光明 360-degree panoramic photo digital photo frame

Also Published As

Publication number Publication date
TW201317547A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
US9858717B2 (en) System and method for producing multi-angle views of an object-of-interest from images in an image dataset
US6950535B2 (en) Image collecting device, image retrieving device, and image collecting and retrieving system
US7386394B2 (en) Navigation and inspection system
US8797402B2 (en) Methods and apparatus for imaging and displaying a navigable path
US8818138B2 (en) System and method for creating, storing and utilizing images of a geographical location
JP5726201B2 (en) Three-dimensional stereoscopic display device, three-dimensional stereoscopic display control device, and LSI circuit
JP4965475B2 (en) Virtual moving display device
JP5861499B2 (en) Movie presentation device
JP2002269592A (en) Image processing device and method
TWI453373B (en) A method and preview system for previewing video files
JP6110780B2 (en) Additional information display system
JPWO2007142084A1 (en) Navigation device
WO2012011244A1 (en) Information processing apparatus, information processing method, program, and recording medium
KR100926231B1 (en) Spatial information construction system and method using spherical video images
JP2004212232A (en) Scenery displaying dynamic image navigation system
JP2007263849A (en) Navigation device
JP6110807B2 (en) Image processing device
KR20090018296A (en) Information service method of using panorama image
JP2004333921A (en) Distance synchronous type stereoscopic image photographing apparatus
JP2007322371A (en) Navigation apparatus
ES2326838T3 (en) PROCEDURE TO PROVIDE AN ANIMATION FROM A SERIES PREVIOUSLY RECORDED OF FIXED IMAGES.
JP5690376B2 (en) Image file creation device
JP5298214B2 (en) Virtual moving display device
KR20090132316A (en) System and method for constructing spatial information using video images
JP5366170B2 (en) Map display device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees