TW201808042A - Method and system for indoor positioning and device for creating indoor maps thereof - Google Patents
Method and system for indoor positioning and device for creating indoor maps thereof Download PDFInfo
- Publication number
- TW201808042A TW201808042A TW105136161A TW105136161A TW201808042A TW 201808042 A TW201808042 A TW 201808042A TW 105136161 A TW105136161 A TW 105136161A TW 105136161 A TW105136161 A TW 105136161A TW 201808042 A TW201808042 A TW 201808042A
- Authority
- TW
- Taiwan
- Prior art keywords
- dimensional
- feature points
- indoor
- electronic device
- portable electronic
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 239000011159 matrix material Substances 0.000 claims description 67
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000001965 increasing effect Effects 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- RKTYLMNFRDHKIL-UHFFFAOYSA-N copper;5,10,15,20-tetraphenylporphyrin-22,24-diide Chemical compound [Cu+2].C1=CC(C(=C2C=CC([N-]2)=C(C=2C=CC=CC=2)C=2C=CC(N=2)=C(C=2C=CC=CC=2)C2=CC=C3[N-]2)C=2C=CC=CC=2)=NC1=C3C1=CC=CC=C1 RKTYLMNFRDHKIL-UHFFFAOYSA-N 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Instructional Devices (AREA)
Abstract
Description
本發明是有關於一種室內定位方法,且特別是有關於一種在室內環境下定位可攜式電子裝置的室內定位方法、室內定位系統及其室內地圖建立裝置。The present invention relates to an indoor positioning method, and more particularly to an indoor positioning method, an indoor positioning system, and an indoor map establishing device for locating a portable electronic device in an indoor environment.
隨著無線行動設備的日漸普及,越來越多使用者透過行動裝置完成生活上的各種活動,而各種無線上網環境也與之遽增。隨著無線環境的成熟,各個設備廠商也著重在無線環境的加值應用,其中一項就是以提供位置資訊的位置感知服務,透過位置感知服務,使用者可以獲得在其附近的各種資訊與服務,以迅速找到自己的目標。另一方面,對於商家或服務商而言,則希望可利用位置感知以在使用者在其營業場所內(例如,賣場、餐廳、停車場及百貨公司等)推送訊息(例如廣告)給使用者。基於上述需求,必須要有一種能夠在室內迅速定位及導航的室內定位導航系統,以利商家或服務商與使用者之間進行資料的交換。With the increasing popularity of wireless mobile devices, more and more users have completed various activities in their lives through mobile devices, and various wireless Internet environments have also increased. As the wireless environment matures, each device manufacturer also focuses on value-added applications in the wireless environment. One of them is location-aware services that provide location information. Through location-aware services, users can obtain various information and services in their vicinity. To quickly find your own goals. On the other hand, for merchants or service providers, it is desirable to utilize location awareness to push messages (e.g., advertisements) to users within their business premises (e.g., stores, restaurants, parking lots, department stores, etc.). Based on the above requirements, there must be an indoor positioning navigation system that can quickly locate and navigate indoors, so as to exchange information between merchants or service providers and users.
目前的商用定位系統,例如全球定位系統(global positioning system,GPS)基本上是用於進行室外定位,其可以在信號良好的環境中達到較高的定位準確度以及較快的定位速度。由於衛星的信號在室內會大幅地衰減,從而導致這些室外定位系統較難應用於室內定位的情境中。而目前應用於室內的三維物體定位或三維物體追蹤技術亦受限於無法接收GPS訊號,而採用具有無線通訊功能(例如,藍芽、WIFI等)的使用者裝置發射訊號並根據訊號強度指標值來判別其與周遭物體的距離,或者將具有無線通訊功能的標籤配置於室內物件上,以利用近距離無線通訊技術通過無線電訊號讀寫相關數據並識別特定目標。然而,由於此些三維物體定位技術亦是基於訊號的接收與訊號強弱的判別來實現,因此也容易受限於環境的影響而導致訊號不穩定,進而影響三維物體定位的正確性。此外,無線射頻辨識功能事實上僅能透過標籤來識別特定的目標,而無法判別使用者裝置與周遭物體的距離,且標籤配置的多寡亦會受限於成本預算。Current commercial positioning systems, such as the Global Positioning System (GPS), are basically used for outdoor positioning, which can achieve higher positioning accuracy and faster positioning speed in a well-signaled environment. Since the satellite signals are greatly attenuated indoors, these outdoor positioning systems are more difficult to apply in indoor positioning situations. The three-dimensional object positioning or three-dimensional object tracking technology currently applied indoors is also limited by the inability to receive GPS signals, and the user device having wireless communication functions (for example, Bluetooth, WIFI, etc.) transmits signals according to the signal strength index values. To determine the distance from the surrounding objects, or to configure the wireless communication function tag on the indoor object to use the short-range wireless communication technology to read and write related data through radio signals and identify specific targets. However, since the three-dimensional object localization technology is also realized based on the signal reception and the strength of the signal, it is also easily limited by the influence of the environment, resulting in unstable signals, thereby affecting the correctness of the three-dimensional object positioning. In addition, the RFID function can only identify a specific target through the tag, and cannot determine the distance between the user device and the surrounding object, and the number of tag configurations is also limited by the cost budget.
再者,利用基地台來進行定位也是一種常見的方法,例如,定位設備(例如使用者的行動裝置)可透過計算信號到達基地台的時間來計算出當前的位置。然而,由於這種方法的誤差可能高達數百公尺,因此同樣不適於應用在室內定位的情境中。Furthermore, the use of a base station for positioning is also a common method. For example, a positioning device (such as a user's mobile device) can calculate the current position by calculating the time at which the signal arrives at the base station. However, since the error of this method may be as high as several hundred meters, it is also not suitable for use in indoor positioning situations.
基於上述可知,基於無線網路的定位方式較適用於寬敞的室外或大型體育場等無障礙的室外空間,室內、走廊等建築物內的定位效果皆不好。並且,上述各種技術都較適用於平面定位,並無法達到精確的三維定位。顯然地,上述各種定位技術並無法滿足室內定位的需求,因此至今仍沒有一套可廣為大眾所使用的室內定位系統。Based on the above, the positioning method based on the wireless network is more suitable for a barrier-free outdoor space such as a spacious outdoor or large stadium, and the positioning effects in buildings such as indoors and corridors are not good. Moreover, the above various techniques are more suitable for planar positioning, and cannot achieve accurate three-dimensional positioning. Obviously, the above various positioning technologies cannot meet the needs of indoor positioning, so there is still no indoor positioning system that can be widely used by the public.
本發明提供一種室內定位方法、室內定位系統及其室內地圖建立裝置,在離線狀態下以電腦快速地建置室內地圖並上傳至伺服器端,且在連線狀態下以使用者端的可攜式電子裝置下載室內地圖,即可透過比對其可攜式電子裝置所擷取的即時影像與室內地圖來定位可攜式電子裝置,據此,不僅提升使用者即時獲得定位服務的品質與效率,更有效率地提供給使用者相應的資訊,進而提升使用者更方便的操作體驗。The invention provides an indoor positioning method, an indoor positioning system and an indoor map establishing device thereof, wherein an indoor map is quickly built by a computer and uploaded to a server end in an offline state, and is portable at a user end in a connected state. By downloading the indoor map, the electronic device can locate the portable electronic device through the instant image and the indoor map captured by the portable electronic device, thereby improving the quality and efficiency of the user's instant access service. More efficient delivery of user-specific information, thereby enhancing the user's more convenient operating experience.
本發明的一範例實施例提出一種室內定位方法,用於定位一可攜式電子裝置,所述室內定位方法包括:將對應一室內環境的環場影像轉換為多個透視影像,並擷取所述透視影像中的多個參考特徵點與此些參考特徵點的描述矩陣;以拍攝環場影像的拍攝位置為原點,記錄對應每一個透視影像的中心位置的多個三維參考座標值;根據此些三維參考座標值計算所述參考特徵點相對於所述原點的三維座標值,並將所述參考特徵點的三維座標值與所述參考特徵點的描述矩陣儲存為對應室內環境的室內地圖;以及根據所述室內地圖定位可攜式電子裝置於所述室內環境中相對於原點的三維目標座標值。An exemplary embodiment of the present invention provides an indoor positioning method for locating a portable electronic device. The indoor positioning method includes: converting a ring image corresponding to an indoor environment into a plurality of fluoroscopic images, and capturing the same a plurality of reference feature points in the fluoroscopic image and a description matrix of the reference feature points; taking a shooting position of the shooting ring image as an origin, recording a plurality of three-dimensional reference coordinate values corresponding to a central position of each fluoroscopic image; The three-dimensional reference coordinate values calculate a three-dimensional coordinate value of the reference feature point relative to the origin, and store a three-dimensional coordinate value of the reference feature point and a description matrix of the reference feature point as an indoor environment corresponding to the indoor environment a map; and locating a three-dimensional target coordinate value of the portable electronic device relative to the origin in the indoor environment according to the indoor map.
在本發明的一範例實施例中,所述以拍攝環場影像的拍攝位置為原點,記錄對應每一個透視影像的中心位置的三維參考座標值的步驟包括:取得每一個透視影像的中心位置的縱軸方向上與橫軸方向上的多個參考畫素,並將所述參考畫素的三維座標值記錄為三維參考座標值。In an exemplary embodiment of the present invention, the step of recording a three-dimensional reference coordinate value corresponding to a center position of each fluoroscopic image by taking a shooting position of the shooting ring image as an origin includes: obtaining a center position of each fluoroscopic image A plurality of reference pixels in the direction of the horizontal axis and the direction of the horizontal axis, and the three-dimensional coordinate values of the reference pixels are recorded as three-dimensional reference coordinate values.
在本發明的一範例實施例中,所述每一個參考特徵點對應至其透視影像中的一特徵點畫素,且根據三維參考座標值計算所述一特徵點相對於原點的三維座標值的步驟包括:取得所述縱軸方向上對應所述特徵點畫素的第一參考畫素與所述橫軸方向上對應所述特徵點畫素的第二參考畫素;以及根據第一參考畫素的三維參考座標值與第二參考畫素的三維參考座標值計算所述特徵點畫素的三維座標值。In an exemplary embodiment of the present invention, each of the reference feature points corresponds to a feature pixel in the fluoroscopic image, and the three-dimensional coordinate value of the feature point relative to the origin is calculated according to the three-dimensional reference coordinate value. The step of: obtaining a first reference pixel corresponding to the feature point pixel in the vertical axis direction and a second reference pixel corresponding to the feature point pixel in the horizontal axis direction; and according to the first reference The three-dimensional reference coordinate value of the pixel and the three-dimensional reference coordinate value of the second reference pixel calculate a three-dimensional coordinate value of the feature point pixel.
在本發明的一範例實施例中,所述建立室內地圖的操作是在離線模式中執行,且所述離線模式為與網際網路不連接的狀態。In an exemplary embodiment of the present invention, the operation of establishing an indoor map is performed in an offline mode, and the offline mode is a state that is not connected to the Internet.
在本發明的一範例實施例中,所述室內地圖儲存於一定位資料庫,且根據所述室內地圖定位可攜式電子裝置於室內環境中相對於原點的三維目標座標值的步驟包括:透過可攜式電子裝置取得即時影像,並擷取即時影像中的多個目標特徵點與此些目標特徵點的描述矩陣;比對所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣,且在所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣之間的差異值符合預設容忍值時,從定位資料庫中取出與所述目標特徵點的描述矩陣之間的差異值符合預設容忍值的參考特徵點的三維座標值;以及利用從所述定位資料庫中所取出的參考特徵點的三維座標值計算三維目標座標值與可攜式電子裝置的旋轉角度。In an exemplary embodiment of the present invention, the indoor map is stored in a positioning database, and the step of locating the three-dimensional target coordinate value of the portable electronic device relative to the origin in the indoor environment according to the indoor map includes: Obtaining an instant image through the portable electronic device, and capturing a plurality of target feature points in the instant image and a description matrix of the target feature points; comparing the description matrix of the reference feature point with the description of the target feature point a matrix, and when a difference value between the description matrix of the reference feature point and the description matrix of the target feature point conforms to a preset tolerance value, is taken from a positioning database and a description matrix of the target feature point The difference value conforms to the three-dimensional coordinate value of the reference feature point of the preset tolerance value; and calculates the three-dimensional target coordinate value and the rotation angle of the portable electronic device by using the three-dimensional coordinate value of the reference feature point taken out from the positioning database .
在本發明的一範例實施例中,所述定位可攜式電子裝置於室內環境中相對於原點的三維目標座標值的操作是在連線模式中執行,且連線模式為與網際網路相連接的狀態。在比對所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣之前的步驟更包括:透過網際網路判定可攜式電子裝置所在的室內環境,並下載對應所述室內環境的室內地圖至所述可攜式電子裝置。In an exemplary embodiment of the present invention, the operation of positioning the portable electronic device in the indoor environment relative to the three-dimensional target coordinate value of the origin is performed in the connection mode, and the connection mode is the Internet. The state of the connection. The step of comparing the description matrix of the reference feature point with the description matrix of the target feature point further comprises: determining an indoor environment in which the portable electronic device is located through the Internet, and downloading an indoor corresponding to the indoor environment A map to the portable electronic device.
本發明的一範例實施例提出一種室內定位系統,包括:攝影裝置、可攜式電子裝置,以及室內地圖建立裝置。其中所述攝影裝置用以拍攝對應室內環境的環場影像,且室內地圖建立裝置連接所述攝影裝置。所述室內地圖建立裝置包括:儲存裝置與處理器。所述儲存裝置儲存定位資料庫,而所述處理器耦接儲存裝置,且用以將環場影像轉換為多個透視影像,並擷取此些透視影像中的多個參考特徵點與此些參考特徵點的描述矩陣。處理器更用以拍攝環場影像的拍攝位置為原點,記錄對應每一個透視影像的中心位置的多個三維參考座標值。此外,處理器更用以根據此些三維參考座標值計算所述參考特徵點相對於原點的三維座標值,並將由所述參考特徵點的三維座標值與所述參考特徵點的描述矩陣所組成的對室內環境的室內地圖儲存至定位資料庫中。所述可攜式電子裝置用以根據室內地圖定位可攜式電子裝置於室內環境中相對於原點的三維目標座標值。An exemplary embodiment of the present invention provides an indoor positioning system, including: a photographing device, a portable electronic device, and an indoor map establishing device. The photographing device is configured to capture a ring image corresponding to an indoor environment, and the indoor map establishing device is connected to the photographing device. The indoor map establishing device includes: a storage device and a processor. The storage device stores a positioning database, and the processor is coupled to the storage device, and is configured to convert the ring image into a plurality of fluoroscopic images, and capture a plurality of reference feature points in the fluoroscopic images and the Refer to the description matrix of the feature points. The processor is further configured to take a shooting position of the ring image as an origin, and record a plurality of three-dimensional reference coordinate values corresponding to the center position of each of the fluoroscopic images. In addition, the processor is further configured to calculate a three-dimensional coordinate value of the reference feature point relative to the origin according to the three-dimensional reference coordinate values, and the three-dimensional coordinate value of the reference feature point and the description matrix of the reference feature point are The indoor map of the indoor environment is stored in the location database. The portable electronic device is configured to locate a three-dimensional target coordinate value of the portable electronic device relative to the origin in the indoor environment according to the indoor map.
在本發明的一範例實施例中,所述處理器更用以取得每一個透視影像的中心位置的縱軸方向上與橫軸方向上的多個參考畫素,並將此些參考畫素的三維座標值記錄為所述三維參考座標值。In an exemplary embodiment of the present invention, the processor is further configured to obtain a plurality of reference pixels in a direction of a longitudinal axis and a direction of a horizontal axis of a center position of each fluoroscopic image, and to use the reference pixels The three-dimensional coordinate value is recorded as the three-dimensional reference coordinate value.
在本發明的一範例實施例中,所述每一個參考特徵點對應至其透視影像中的一特徵點畫素,且處理器更用以取得縱軸方向上對應所述特徵點畫素的第一參考畫素與橫軸方向上對應所述特徵點畫素的第二參考畫素。並且,處理器更用以根據所述第一參考畫素的三維參考座標值與所述第二參考畫素的三維參考座標值計算所述特徵點畫素的三維座標值。In an exemplary embodiment of the present invention, each of the reference feature points corresponds to a feature pixel in the fluoroscopic image, and the processor is further configured to obtain a corresponding pixel of the feature point in the vertical axis direction. A reference pixel and a second reference pixel corresponding to the feature point pixel in the horizontal axis direction. Moreover, the processor is further configured to calculate a three-dimensional coordinate value of the feature point pixel according to the three-dimensional reference coordinate value of the first reference pixel and the three-dimensional reference coordinate value of the second reference pixel.
在本發明的一範例實施例中,所述可攜式電子裝置更用以取得即時影像,並擷取此即時影像中的多個目標特徵點與此些目標特徵點的描述矩陣。所述可攜式電子裝置更用以透過網際網路判定可攜式電子裝置所在的室內環境,並下載對應此室內環境的室內地圖至可攜式電子裝置。所述可攜式電子裝置更用以比對所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣,且在所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣之間的差異值符合一預設容忍值時,從所述定位資料庫中取出與此些目標特徵點的描述矩陣之間的差異值符合所述預設容忍值的參考特徵點的三維座標值。並且,可攜式電子裝置更用以利用從定位資料庫中所取出的所述參考特徵點的三維座標值計算三維目標座標值與可攜式電子裝置的旋轉角度。In an exemplary embodiment of the present invention, the portable electronic device is further configured to obtain an instant image, and capture a plurality of target feature points and a description matrix of the target feature points in the instant image. The portable electronic device is further configured to determine an indoor environment in which the portable electronic device is located through the Internet, and download an indoor map corresponding to the indoor environment to the portable electronic device. The portable electronic device is further configured to compare a description matrix of the reference feature point with a description matrix of the target feature point, and a description matrix of the reference feature point and a description matrix of the target feature point When the difference value meets a preset tolerance value, the three-dimensional coordinate value of the reference feature point that matches the description matrix of the target feature points from the positioning database is in accordance with the preset tolerance value. Moreover, the portable electronic device is further configured to calculate the three-dimensional target coordinate value and the rotation angle of the portable electronic device by using the three-dimensional coordinate value of the reference feature point taken out from the positioning database.
在本發明的一範例實施例中,所述處理器操作於離線模式中且所述可攜式電子裝置操作於連線模式,其中離線模式為與網際網路不連接的狀態,而連線模式為與網際網路相連接的狀態。In an exemplary embodiment of the present invention, the processor operates in an offline mode and the portable electronic device operates in a connection mode, wherein the offline mode is a state that is not connected to the Internet, and the connection mode is The state of being connected to the Internet.
本發明的一範例實施例提出一種室內地圖建立裝置,其包括儲存裝置與處理器。儲存裝置儲存一定位資料庫與多個模組,處理器耦接至儲存裝置,載入並執行儲存於儲存裝置中的多個模組,且處理器操作於離線模式中。所述模組包括:輸入模組、影像處理模組、特徵擷取模組與運算模組。輸入模組用以接收對應室內環境的環場影像;影像處理模組用以將環場影像轉換為多個透視影像;特徵擷取模組用以擷取所述透視影像中的多個參考特徵點與此些參考特徵點的描述矩陣;以及運算模組用以以拍攝所述環場影像的拍攝位置為原點,記錄對應每一個透視影像的中心位置的多個三維參考座標值。此外所述運算模組更用以根據所述三維參考座標值計算所述參考特徵點相對於原點的三維座標值,並將由所述參考特徵點的三維座標值與所述參考特徵點的描述矩陣所組成的對應室內環境的室內地圖儲存至定位資料庫中。An exemplary embodiment of the present invention provides an indoor map establishing device including a storage device and a processor. The storage device stores a positioning database and a plurality of modules. The processor is coupled to the storage device, loads and executes a plurality of modules stored in the storage device, and the processor operates in an offline mode. The module includes: an input module, an image processing module, a feature capture module, and an operation module. The input module is configured to receive a ring image corresponding to the indoor environment; the image processing module is configured to convert the ring image into a plurality of perspective images; and the feature capturing module is configured to capture a plurality of reference features in the perspective image And a description matrix of the reference feature points; and the operation module is configured to record a plurality of three-dimensional reference coordinate values corresponding to the center position of each of the fluoroscopic images with the shooting position of the image of the ring image as an origin. In addition, the computing module is further configured to calculate a three-dimensional coordinate value of the reference feature point relative to an origin according to the three-dimensional reference coordinate value, and describe a three-dimensional coordinate value of the reference feature point and the reference feature point. The indoor map of the corresponding indoor environment composed of the matrix is stored in the positioning database.
在本發明的一範例實施例中,所述運算模組更用以取得每一個透視影像的中心位置的縱軸方向上與橫軸方向上的多個參考畫素,並將此些參考畫素的三維座標值記錄為所述三維參考座標值。In an exemplary embodiment of the present invention, the computing module is further configured to obtain a plurality of reference pixels in a direction of a longitudinal axis and a direction of a horizontal axis of a center position of each fluoroscopic image, and use the reference pixels The three-dimensional coordinate value is recorded as the three-dimensional reference coordinate value.
在本發明的一範例實施例中,每一個參考特徵點對應至其透視影像中的一特徵點畫素,且所述運算模組更用以取得縱軸方向上對應所述特徵點畫素的第一參考畫素與橫軸方向上對應所述特徵點畫素的第二參考畫素。並且運算模組更用以根據所述第一參考畫素的三維參考座標值與所述第二參考畫素的三維參考座標值計算所述特徵點畫素的三維座標值。In an exemplary embodiment of the present invention, each of the reference feature points corresponds to a feature pixel in the fluoroscopic image, and the operation module is further configured to obtain a pixel corresponding to the feature point in the vertical axis direction. The first reference pixel and the second reference pixel corresponding to the feature point pixel in the horizontal axis direction. And the computing module is further configured to calculate a three-dimensional coordinate value of the feature point pixel according to the three-dimensional reference coordinate value of the first reference pixel and the three-dimensional reference coordinate value of the second reference pixel.
在本發明的一範例實施例中,所述離線模式為與網際網路不連接的狀態。In an exemplary embodiment of the present invention, the offline mode is a state that is not connected to the Internet.
基於上述,上述範例實施例是藉由在離線模式中藉由僅記錄環場影像所展開之透視影像之中心位置的縱軸方向上與橫軸方向上的多個參考畫素的三維參考座標值的技術方案,達到有效地節省儲存裝置的記憶體空間,且提升取得透視影像中每一特徵點的三維座標的效能,進而快速地建置室內地圖。據此,可攜式電子裝置可在連線模式中快速地比對其自身所擷取的即時影像與室內地圖來定位使用者之可攜式電子裝置。Based on the above, the above exemplary embodiment is a three-dimensional reference coordinate value of a plurality of reference pixels in the vertical axis direction and the horizontal axis direction by the center position of the fluoroscopic image developed by recording only the ring image in the offline mode. The technical solution achieves an effective saving of the memory space of the storage device, and improves the performance of obtaining the three-dimensional coordinates of each feature point in the fluoroscopic image, thereby rapidly establishing the indoor map. Accordingly, the portable electronic device can quickly locate the portable electronic device of the user in the connection mode by comparing the instant image and the indoor map captured by itself.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.
為了提供使用者可以在室內環境中快速且方便地找到自己的目的地或目標物,以及提供業者可在室內環境中透過定位及導航功能與使用者之間進行資料交換的功能,本發明藉由離線分析所取得的360度環場影像(亦稱為全景影像)來建置室內地圖,並透過影像辨識技術比對使用者之可攜式電子裝置所擷取的畫面與室內地圖,進而定位使用者之可攜式電子裝置。由此使得可攜式電子裝置的定位並不受限於基於無線網路與空間障礙所導致的訊號不穩定與定位不正確的情況。基此,有效地提升使用者即時獲得定位服務的品質與效率。The present invention provides a user with the ability to quickly and easily find their own destination or object in an indoor environment, and to provide a function for the operator to exchange data with the user through the positioning and navigation functions in an indoor environment. Offline analysis of the 360-degree circular image (also known as panoramic image) to build an indoor map, and compare the images and indoor maps captured by the user's portable electronic device through image recognition technology, thereby positioning and using Portable electronic device. Therefore, the positioning of the portable electronic device is not limited to the situation that the signal is unstable and the positioning is incorrect due to the wireless network and the space barrier. Based on this, the quality and efficiency of the user's instant access to the location service are effectively improved.
圖1是根據本發明一實施例所繪示之室內定位系統的示意圖。請參照圖1,室內定位系統100包括室內地圖建立裝置200、攝影裝置110與可攜式電子裝置120。所述攝影裝置110例如是凸透鏡及單眼攝影機所組成的反射式攝影機(catadioptric camera),然而,本發明並不限於此,例如,攝影裝置110可以是其他可以可拍攝出360度環場影像的全景攝影機(omni-directional camera)。可攜式電子裝置120可以是行動裝置、個人數位助理(Personal Digital Assistant,PDA)、平板電腦等,或是其他可使用無線通訊網路連接至網際網路102,並與室內地圖建立裝置200進行通訊與資料傳輸的電子裝置等。此外,網際網路102例如為無線保真(Wireless Fidelity,WiFi)網路或全球行動通信系統(Global System for Mobile,GSM)網路。然而,必須了解的是,網際網路102亦可以是其他合適的網路通訊協定,本發明不加以限制。FIG. 1 is a schematic diagram of an indoor positioning system according to an embodiment of the invention. Referring to FIG. 1 , the indoor positioning system 100 includes an indoor map establishing device 200 , a photographing device 110 , and a portable electronic device 120 . The photographing device 110 is, for example, a catadioptric camera composed of a convex lens and a monocular camera. However, the present invention is not limited thereto. For example, the photographing device 110 may be another panorama that can capture a 360-degree surround image. Omni-directional camera. The portable electronic device 120 can be a mobile device, a personal digital assistant (PDA), a tablet computer, or the like, or can be connected to the Internet 102 using a wireless communication network, and communicate with the indoor map establishing device 200. Electronic devices such as data transmission. In addition, the Internet 102 is, for example, a Wireless Fidelity (WiFi) network or a Global System for Mobile (GSM) network. However, it must be understood that the Internet 102 can also be other suitable network communication protocols, and the invention is not limited.
舉例而言,室內地圖建立裝置200會被操作於一離線模式,並且室內地圖建立裝置200會從攝影裝置110接收環場影像,以根據環場影像來建置室內地圖;而可攜式電子裝置120會被操作於一連線模式,以透過網際網路102從室內地圖建立裝置200下載室內地圖以進行對可攜式電子裝置120的定位操作,其中所述離線模式為與網際網路102不連接的狀態,而連線模式為與網際網路102相連接的狀態。必須了解的是,本範例以一個可攜式電子裝置為例進行說明,但本發明並不限於此。例如,室內定位系統100可包括更多個可攜式電子裝置,且各個可攜式電子裝置皆可進行定位計算以獲得自身於室內環境中的三維座標值。For example, the indoor map establishing device 200 is operated in an offline mode, and the indoor map establishing device 200 receives the ring image from the photographing device 110 to construct an indoor map according to the ring image; and the portable electronic device 120 will be operated in a connection mode to download an indoor map from the indoor map establishing device 200 via the Internet 102 to perform a positioning operation on the portable electronic device 120, wherein the offline mode is not with the Internet 102 The state of the connection, and the connection mode is a state of being connected to the Internet 102. It should be understood that the present example is described by taking a portable electronic device as an example, but the present invention is not limited thereto. For example, the indoor positioning system 100 can include more portable electronic devices, and each portable electronic device can perform positioning calculation to obtain a three-dimensional coordinate value in the indoor environment.
圖2是根據本發明一實施例所繪示之室內地圖建立裝置的方塊圖。請參照圖2,室內地圖建立裝置200包括儲存裝置202以及處理器204。在本實施例中,室內地圖建立裝置200可以是具有運算功能的伺服器或電腦系統。2 is a block diagram of an indoor map establishing apparatus according to an embodiment of the invention. Referring to FIG. 2, the indoor map establishing device 200 includes a storage device 202 and a processor 204. In the present embodiment, the indoor map establishing device 200 may be a server or a computer system having an arithmetic function.
儲存裝置202可以是任何型態的固定式或可移動式隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、固態硬碟(Solid State Drive,SSD)或類似元件或上述元件的組合。在本實施例中,儲存裝置202用以儲存輸入模組210、影像處理模組220、特徵擷取模組230、運算模組240以及定位資料庫250等軟體程式。The storage device 202 can be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, Solid State Drive (SSD) or similar components or a combination of the above. In this embodiment, the storage device 202 is configured to store software programs such as the input module 210, the image processing module 220, the feature capturing module 230, the computing module 240, and the positioning database 250.
處理器204係耦接至儲存裝置202。處理器204可以是具有單核心或多核心的中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。在本範例實施例中,處理器204用以存取並執行上述儲存裝置202中所記錄的輸入模組210、影像處理模組220、特徵擷取模組230、運算模組240以及定位資料庫250,藉以實現本發明實施例的室內定位方法。為了更清楚地描述本發明之室內定位系統100及其室內地圖建立裝置200與可攜式電子裝置120的運作,以下將參照圖1、圖2與圖3以一範例來進行說明。The processor 204 is coupled to the storage device 202. The processor 204 can be a central processing unit (CPU) with a single core or multiple cores, or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (Digital Signal) Processor, DSP), programmable controller, Application Specific Integrated Circuit (ASIC) or other similar components or a combination of the above. In the exemplary embodiment, the processor 204 is configured to access and execute the input module 210, the image processing module 220, the feature capturing module 230, the computing module 240, and the positioning database recorded in the storage device 202. 250, by which the indoor positioning method of the embodiment of the present invention is implemented. In order to more clearly describe the operation of the indoor positioning system 100 of the present invention and its indoor map establishing device 200 and portable electronic device 120, an example will be described below with reference to FIGS. 1, 2 and 3.
圖3是根據本發明一實施例所繪示之室內定位方法的流程圖。請同時參照圖1~圖3,室內地圖建立裝置200的輸入模組210會從攝影裝置110接收一環場影像,並且在步驟S301中,影像處理模組220會將從輸入模組210所接收的環場影像轉換為多個透視影像,而特徵擷取模組230會擷取此些透視影像中的多個特徵點(feature points)(亦稱為參考特徵點)與此些參考特徵點的描述矩陣(descriptors)。FIG. 3 is a flow chart of an indoor positioning method according to an embodiment of the invention. Referring to FIG. 1 to FIG. 3 simultaneously, the input module 210 of the indoor map establishing device 200 receives a ring image from the photographing device 110, and in step S301, the image processing module 220 receives the image received from the input module 210. The ring image is converted into a plurality of fluoroscopic images, and the feature capturing module 230 captures a plurality of feature points (also referred to as reference feature points) in the fluoroscopic images and descriptions of the reference feature points. Descriptors.
具體而言,環場影像可分為球體型全景影像、圓柱型全景影像與四方體全景影像,在本範例實施例中,攝影裝置110所拍攝的環場影像是屬於圓柱型全景影像。由於圓柱型全景影像可展開成僅有左右邊界有曲度變型的透視影像,因此採用圓柱型全景影像可以保留畫面大部分特徵點的原始狀態。Specifically, the ring image can be divided into a spherical panoramic image, a cylindrical panoramic image, and a tetragonal panoramic image. In the present exemplary embodiment, the circular field image captured by the imaging device 110 belongs to a cylindrical panoramic image. Since the cylindrical panoramic image can be expanded into a fluoroscopic image with only curvature changes on the left and right borders, the cylindrical panoramic image can retain the original state of most of the feature points of the picture.
在本發明範例實施例中,是利用比對使用者之可攜式電子裝置120所擷取之即時影像的目標特徵點與轉換為透視影像後之環場影像的參考特徵點,進而根據比對到之相同的特徵點的三維座標來定位可攜式電子裝置120。由於可攜式電子裝置120所擷取的即時影像是採用笛卡兒座標系統(Cartesians Coordinate System),而圓柱型全景影像是採用圓柱座標系統(Cylindrical Coordinate System),因此,當對上述兩者進行比對時,會因其座標系統的不同,導致所計算出來的特徵點之個數與位置不會完全符合,而得到不準確的比對結果。此外,由於一個環場影像並無法直接轉換為一整張屬於笛卡兒座標系統的影像。據此,在上述步驟S301中,影像處理模組220會將所接收的環場影像轉換為多個透視影像。In the exemplary embodiment of the present invention, the target feature points of the real-time image captured by the portable electronic device 120 of the user and the reference feature points of the ring image converted into the fluoroscopic image are used, and then the comparison is performed according to the comparison. The three-dimensional coordinates of the same feature points are used to locate the portable electronic device 120. Since the live image captured by the portable electronic device 120 is a Cartesian Coordinate System, and the cylindrical panoramic image is a Cylindrical Coordinate System, when the two are performed on the two When the comparison is made, the number of the calculated feature points will not be completely consistent with the position due to the difference in the coordinate system, and the inaccurate comparison result will be obtained. In addition, because a ring image cannot be directly converted into an entire image belonging to the Cartesian coordinate system. Accordingly, in the above step S301, the image processing module 220 converts the received surround image into a plurality of fluoroscopic images.
圖4A~4D是根據本發明一實施例所繪示之將環場影像轉換為多個透視影像的示意圖。4A-4D are schematic diagrams of converting a ring image into a plurality of fluoroscopic images according to an embodiment of the invention.
請參照圖4A~4D,攝影裝置110所拍攝的環場影像400的中心點為攝影裝置110所在的拍攝位置,換言之,如圖4A所示,所述攝影裝置110的拍攝位置即為環場影像400的原點410。在本範例實施例中,如圖4B所示,影像處理模組220會將環場影像400切割成8張等寬的條狀透視影像400a~400h,而每張條狀的透視影像會涵蓋從圓柱型環場影像400的原點410所看到的45度水平視角(Field-of-View)。值得一提的是,本範例實施例中是基於市面上的行動裝置(例如,智慧型手機)的視角大約為45度,因此採用以45度水平視角作為切割標準,但本發明並不欲加以限制作為切割標準之水平視角的大小,例如,在另一範例實施例中,亦可視實際需求而將切割標準設為大於或小於45度的水平視角。Referring to FIGS. 4A-4D, the center point of the ring image 400 captured by the photographing device 110 is the photographing position where the photographing device 110 is located. In other words, as shown in FIG. 4A, the photographing position of the photographing device 110 is the loop image. The origin 410 of 400. In the exemplary embodiment, as shown in FIG. 4B, the image processing module 220 cuts the ring image 400 into eight strip-shaped fluoroscopic images 400a-400h of equal width, and each strip-shaped fluoroscopic image will cover A 45-degree horizontal view (Field-of-View) seen by the origin 410 of the cylindrical toroidal image 400. It is worth mentioning that, in the exemplary embodiment, the viewing angle based on a commercially available mobile device (for example, a smart phone) is about 45 degrees, so a 45-degree horizontal viewing angle is used as a cutting standard, but the present invention does not intend to The size of the horizontal viewing angle as the cutting standard is limited. For example, in another exemplary embodiment, the cutting standard may be set to a horizontal viewing angle greater than or less than 45 degrees depending on actual needs.
如上所述,由於可攜式電子裝置120所擷取的即時影像是採用笛卡兒座標系統,而圓柱型全景影像是採用圓柱座標系統,因此,圓柱型環場影像400展開為透視影像的過程中,會牽涉到兩個座標系統的轉換。如圖4C所示,以透視影像400a為例,轉換為笛卡兒座標系統後的透視影像400a的頂部與底部呈現一凹狀區域,此亦導致透視影像400a的左右邊界成為具有曲度變型的影像,例如,透視影像400a中會存在尚未填灰階顏色之畫素所構成的條狀線條(未繪示),此稱為失真效應(Aliasing effect)。有鑑於此,在本發明範例實施例中,影像處理模組220會對透視影像400a進行影像處理以將上述尚未填灰階顏色之畫素所構成的條狀線條賦予其左右相鄰之畫素的平均值。As described above, since the live image captured by the portable electronic device 120 is a Cartesian coordinate system, and the cylindrical panoramic image is a cylindrical coordinate system, the process of expanding the cylindrical annular image 400 into a fluoroscopic image is performed. In the middle, it will involve the conversion of two coordinate systems. As shown in FIG. 4C, taking the fluoroscopic image 400a as an example, the top and bottom of the fluoroscopic image 400a converted to the Cartesian coordinate system exhibit a concave region, which also causes the left and right boundaries of the fluoroscopic image 400a to have a curvature variation. For example, in the fluoroscopic image 400a, there will be a strip line (not shown) composed of pixels that have not been filled with gray color, which is called an Aliasing effect. In view of this, in an exemplary embodiment of the present invention, the image processing module 220 performs image processing on the fluoroscopic image 400a to assign a strip line composed of the pixels of the gray-filled color to the left and right adjacent pixels. average value.
特別是,在本發明範例實施例中,影像處理模組220在將環場影像400轉換為多個透視影像的操作中會產生兩組對應環場影像400的展開透視影像420與展開透視影像420’(如圖4D所示),其中展開透視影像420是將依照圖4B所示之切割角度切割而成得的透視影像400a~400h展開所獲得的,而展開透視影像420’是將與圖4B所示之切割角度相差22.5度的切割角度切割而成得的透視影像400i~400p展開所獲得的。藉由此兩組展開透視影像(即,展開透視影像420與展開透視影像420’)可改善每一個透視影像之左右邊界的曲度變型所造成的比對不精確問題,並增加後續對透視影像中特徵點之運算的準確性。例如,以透視影像400b為例,其左右邊界的曲度變型所造成的比對不精確問題,可利用透視影像400i與透視影像400j所產生的參考特徵點來彌補。In particular, in an exemplary embodiment of the present invention, the image processing module 220 generates two sets of the expanded perspective image 420 and the expanded perspective image 420 of the corresponding toroidal image 400 in the operation of converting the ring image 400 into a plurality of perspective images. '(As shown in FIG. 4D), wherein the unfolded fluoroscopic image 420 is obtained by unfolding the fluoroscopic images 400a-400h cut according to the cutting angle shown in FIG. 4B, and the unfolded fluoroscopic image 420' is compared with FIG. 4B. The oscillating images 400i~400p obtained by cutting the cutting angles with a cutting angle of 22.5 degrees are obtained. By performing the fluoroscopic images (ie, unfolding the fluoroscopic image 420 and expanding the fluoroscopic image 420 ′) by the two groups, the alignment inaccuracy caused by the curvature variation of the left and right boundaries of each fluoroscopic image can be improved, and the subsequent fluoroscopic images are added. The accuracy of the operation of the feature points. For example, taking the fluoroscopic image 400b as an example, the problem of inaccurate alignment caused by the curvature modification of the left and right boundaries can be compensated by using the reference feature points generated by the fluoroscopic image 400i and the fluoroscopic image 400j.
另外,在上述步驟S301中,特徵擷取模組230所執行之擷取透視影像400a~400h中的多個參考特徵點與此些參考特徵點的描述矩陣的操作,例如是採用BRIEF (Binary Robust Independent Elementary Features)、ORB (Oriented FAST and Rotated BRIEF)或BRISK (Binary Robust Invariant Scalable Keypoints)等以二位元字串作為描述矩陣向量的演算法來進行特徵擷取的操作。具體而言,BRIEF演算法是在特徵點之鄰近範圍內選取若干個畫素對,通過對這些畫素對的灰度值比較,以將比較的結果組合成一個二位元字串用來描述特徵點。並且,使用漢明距離(Hamming Distance)來計算特徵描述矩陣是否匹配。而ORB 演算法針對BRIEF演算法所獲的之特徵點不具旋轉不變性、尺度不變性及對雜訊敏感的缺陷進行改良,其對影像進行高斯模糊並產生尺度空間使特徵點具有尺度不變性,接著再對特徵點進行矩向量(Moment vector)運算,使得特徵點具備方向不變性,最後再對特徵點進行 BRIEF 特徵描述,讓所取得的特徵點具有旋轉不變性、尺度縮放不變性以及不易受雜訊干擾等優點。類似地,BRISK演算法亦是基於BRIEF所改良之其特徵點具有尺度不變性與旋轉不變性的演算法。In addition, in the foregoing step S301, the operation of the plurality of reference feature points in the fluoroscopic images 400a-400h and the description matrix of the reference feature points performed by the feature capture module 230 is performed, for example, by using a BRIEF (Binary Robust) Independent Elementary Features), ORB (Oriented FAST and Rotated BRIEF) or BRISK (Binary Robust Invariant Scalable Keypoints) perform a feature extraction operation using a binary string as an algorithm for describing a matrix vector. Specifically, the BRIEF algorithm selects a plurality of pixel pairs in the vicinity of the feature points, and compares the gray values of the pixel pairs to combine the comparison results into a two-dimensional string for describing Feature points. Also, the Hamming Distance is used to calculate whether the feature description matrix matches. However, the ORB algorithm improves the feature points of theRIEF algorithm without rotation invariance, scale invariance and noise-sensitive defects. It performs Gaussian blur on the image and generates scale space to make the feature points have scale invariance. Then, the Moment vector operation is performed on the feature points, so that the feature points have direction invariance. Finally, the feature points are described by the BRIEF feature, so that the obtained feature points have rotation invariance, scale-scale invariance, and are not susceptible to Noise interference and other advantages. Similarly, the BRISK algorithm is also based on the improved algorithm of the feature points with scale invariance and rotation invariance.
接著,在步驟S303中,運算模組240會以拍攝環場影像400的拍攝位置為原點410,記錄對應每一個透視影像400a~400h的中心位置的多個三維座標值(亦稱為三維參考座標值)。換言之,運算模組240所記錄的三維參考座標值是相對於原點410之三維座標值的相對座標位置。在此,所述之對應每一個透視影像400a~400h的中心位置的多個三維參考座標值指的是每一個透視影像400a~400h的中心位置的縱軸方向上與橫軸方向上的多個畫素(亦稱為多個參考畫素)所對應的座標值。Next, in step S303, the computing module 240 records the plurality of three-dimensional coordinate values corresponding to the center position of each of the fluoroscopic images 400a-400h (also referred to as a three-dimensional reference) with the shooting position of the shooting ring image 400 as the origin 410. Coordinate value). In other words, the three-dimensional reference coordinate value recorded by the computing module 240 is a relative coordinate position relative to the three-dimensional coordinate value of the origin 410. Here, the plurality of three-dimensional reference coordinate values corresponding to the center position of each of the fluoroscopic images 400a to 400h refer to a plurality of vertical axis directions and horizontal axis directions of the center position of each of the fluoroscopic images 400a to 400h. The coordinate value corresponding to the pixel (also known as multiple reference pixels).
圖5是根據本發明一實施例所繪示之記錄對應透視影像之中心位置的多個三維參考座標值的示意圖。FIG. 5 is a schematic diagram of recording a plurality of three-dimensional reference coordinate values corresponding to a center position of a fluoroscopic image according to an embodiment of the invention.
請參照圖5,在本範例實施例中,以環場影像400所展開之透視影像400d為例,運算模組240會取得透視影像400d的中心位置500的縱軸方向502上與橫軸方向504上的多個參考畫素,並且僅記錄此些參考畫素的三維參考座標值。類似地,運算模組240亦會僅記錄其他透視影像(即,透視影像400a~400c、400e~400h)的中心位置500的縱軸方向502上與橫軸方向504上的多個參考畫素的三維參考座標值。由於運算模組240不需記錄每一個透視影像中所有畫素的三維座標值,因此可有效地節省儲存裝置202的記憶體空間。Referring to FIG. 5 , in the exemplary embodiment, the fluoroscopic image 400 d developed by the ring image 400 is taken as an example, and the computing module 240 obtains the vertical axis direction 502 and the horizontal axis direction 504 of the center position 500 of the fluoroscopic image 400 d . Multiple reference pixels on the top, and only record the three-dimensional reference coordinate values of these reference pixels. Similarly, the computing module 240 will also record only a plurality of reference pixels on the longitudinal axis direction 502 and the horizontal axis direction 504 of the center position 500 of the other perspective images (ie, the fluoroscopic images 400a-400c, 400e-400h). 3D reference coordinate value. Since the computing module 240 does not need to record the three-dimensional coordinate values of all the pixels in each fluoroscopic image, the memory space of the storage device 202 can be effectively saved.
特別是,在將圓柱型環場影像400展開為多個透視影像400a~400h的過程中,縱軸方向502上之參考畫素在座標系統轉換的操作中其三維參考座標值事實上並未改變,而橫軸方向504上之參考畫素在座標系統轉換的操作中僅有接近邊緣處的參考畫素略有變型。換言之,每一個透視影像的中心位置500的縱軸方向502上與橫軸方向504上的參考畫素,可視為透視影像中不會產生曲度變型的畫素,因此,運算模組240可進一步地藉由此些沒有產生曲度變型之畫素的三維座標值,透過線性內插法來推算特徵擷取模組230所擷取之透視影像中的多個參考特徵點的三維座標值。舉例而言,在步驟S305中,運算模組240會根據所述三維參考座標值計算參考特徵點相對於原點410的三維座標值,並將由參考特徵點的三維座標值與參考特徵點的描述矩陣所組成的對應室內環境的一室內地圖儲存至定位資料庫250中。在此,本發明範例實施例中所述的室內地圖是由具有三維座標值的特徵點及其描述矩陣所構成的,而此些特徵點的三維座標值是相對於原點410之三維座標值的相對座標位置。In particular, in the process of expanding the cylindrical toroidal image 400 into a plurality of fluoroscopic images 400a-400h, the reference pixel on the vertical axis direction 502 does not actually change in the coordinate system conversion operation. The reference pixel on the horizontal axis direction 504 has only a slight variation in the reference pixel near the edge in the coordinate system conversion operation. In other words, the reference pixel on the vertical axis direction 502 and the horizontal axis direction 504 of the center position 500 of each fluoroscopic image can be regarded as a pixel that does not have a curvature change in the fluoroscopic image. Therefore, the operation module 240 can further The three-dimensional coordinate values of the plurality of reference feature points in the fluoroscopic image captured by the feature capturing module 230 are estimated by linear interpolation by using the three-dimensional coordinate values of the pixels without the curvature variation. For example, in step S305, the operation module 240 calculates a three-dimensional coordinate value of the reference feature point relative to the origin 410 according to the three-dimensional reference coordinate value, and describes the three-dimensional coordinate value of the reference feature point and the reference feature point. An indoor map of the corresponding indoor environment composed of the matrix is stored in the location database 250. Here, the indoor map described in the exemplary embodiment of the present invention is composed of feature points having three-dimensional coordinate values and a description matrix thereof, and the three-dimensional coordinate values of the feature points are three-dimensional coordinate values with respect to the origin 410. Relative coordinate position.
圖6是根據本發明一實施例所繪示之根據透視影像中對應中心位置之三維參考座標值計算特徵點的三維座標值的示意圖。FIG. 6 is a schematic diagram of calculating a three-dimensional coordinate value of a feature point according to a three-dimensional reference coordinate value of a corresponding center position in a fluoroscopic image according to an embodiment of the invention.
詳言之,特徵擷取模組230從透視影像中所擷取之每一個參考特徵點皆屬於透視影像中的畫素,亦即,每一個參考特徵點會對應至其透視影像中的一個畫素(亦稱為特徵點畫素)。在此,仍以環場影像400所展開之透視影像400d為例來說明如何獲得特徵點的三維座標值。請參照圖6,在此假設透視影像400d中的特徵點畫素500a為特徵擷取模組230所擷取到的一個特徵點,則運算模組240會取得縱軸方向502上對應此特徵點畫素500a的參考畫素500b(亦稱為第一參考畫素500b)與橫軸方向504上對應此特徵點畫素500a的參考畫素500c(亦稱為第二參考畫素500c),而第一參考畫素500b的三維參考座標值與第二參考畫素500c的三維參考座標值已在步驟S303中由運算模組240所記錄。據此,運算模組240可根據第一參考畫素500b的三維參考座標值與第二參考畫素500c的三維參考座標值快速地計算出特徵點畫素500a的三維座標值。In detail, each of the reference feature points captured by the feature capture module 230 from the fluoroscopic image belongs to a pixel in the fluoroscopic image, that is, each reference feature point corresponds to one of the fluoroscopic images. Prime (also known as feature dot pixels). Here, the perspective image 400d developed by the ring image 400 is taken as an example to illustrate how to obtain the three-dimensional coordinate value of the feature point. Referring to FIG. 6 , it is assumed that the feature pixel 500a in the fluoroscopic image 400d is a feature point captured by the feature capture module 230, and the operation module 240 obtains the feature point corresponding to the vertical axis direction 502. a reference pixel 500b (also referred to as a first reference pixel 500b) of the pixel 500a and a reference pixel 500c (also referred to as a second reference pixel 500c) corresponding to the feature pixel 500a in the horizontal axis direction 504, and The three-dimensional reference coordinate value of the first reference pixel 500b and the three-dimensional reference coordinate value of the second reference pixel 500c have been recorded by the arithmetic module 240 in step S303. Accordingly, the operation module 240 can quickly calculate the three-dimensional coordinate value of the feature point pixel 500a according to the three-dimensional reference coordinate value of the first reference pixel 500b and the three-dimensional reference coordinate value of the second reference pixel 500c.
圖7A是根據本發明一實施例所繪示之圓柱座標系統與笛卡兒座標系統之對應關係的示意圖。圖7B是根據本發明一實施例所繪示之環場影像的俯視圖。圖7C是根據本發明一實施例所繪示之環場影像的側視圖。圖7D是根據本發明一實施例所繪示之圓柱座標系統之對稱性的示意圖。FIG. 7A is a schematic diagram showing the correspondence between a cylindrical coordinate system and a Cartesian coordinate system according to an embodiment of the invention. 7B is a top plan view of a ring image as illustrated in accordance with an embodiment of the invention. 7C is a side view of a ring image as depicted in accordance with an embodiment of the invention. 7D is a schematic diagram showing the symmetry of a cylindrical coordinate system according to an embodiment of the invention.
請先參照圖7A~圖7C,圖7A繪示為上述範例實施例中環場影像400之圓柱座標系統與笛卡兒座標系統之對應關係,而圖7B與圖7C分別為環場影像400的俯視圖與側視圖,在此,以環場影像400展開後之透視影像400a為例進行說明,其中環場影像400上之圓柱座標(r ,θ,h )對應至環場影像400所展開之透視影像400a上之笛卡兒座標系統的三維座標(x ,y ,z )。而在本發明上述範例實施例的步驟S303中,運算模組240所記錄的每一個透視影像400a~400h中的多個三維參考座標值即是透過以下方程式(1)~方程式(3)而獲得的。Referring to FIG. 7A to FIG. 7C , FIG. 7A illustrates the correspondence between the cylindrical coordinate system of the ring image 400 and the Cartesian coordinate system in the above exemplary embodiment, and FIG. 7B and FIG. 7C respectively show the top view of the ring image 400. And a side view, here, the perspective image 400a after the ring image 400 is expanded is taken as an example, wherein the cylindrical coordinates ( r , θ, h ) on the ring image 400 correspond to the fluoroscopic image of the ring image 400 . The three-dimensional coordinates ( x , y , z ) of the Cartesian coordinate system on the 400a. In step S303 of the above exemplary embodiment of the present invention, the plurality of three-dimensional reference coordinate values in each of the fluoroscopic images 400a-400h recorded by the computing module 240 are obtained by the following equations (1) to (3). of.
…方程式(1) ...equation (1)
…方程式(2) ... equation (2)
…方程式(3) ... equation (3)
以下將參照圖7A~7D,詳細地說明本發明是如何推算出方程式(1)~方程式(3)。Hereinafter, how the present invention derives equations (1) to (3) will be described in detail with reference to Figs. 7A to 7D.
請參照圖7A~圖7D,由於圓柱型環場影像400的周長即為其環場影像400的寬度,而圓周長的方程式為,其中c代表圓柱型環場影像400的周長。因此,圓柱座標(r ,θ , h)的輻射距離r 可以表示成以下方程式(4)。Referring to FIG. 7A to FIG. 7D, since the circumference of the cylindrical ring image 400 is the width of the ring image 400, the equation of the circumference length is Where c represents the perimeter of the cylindrical toroidal image 400. Therefore, the radiation distance r of the cylindrical coordinates ( r , θ , h) can be expressed as the following equation (4).
…方程式(4) ... equation (4)
接著,在本發明範例實施例中,假設圓柱座標系之方位角θ 的弧長為l ,而弧長的方程式為。因此,圓柱座標系之方位角θ 可以表示成以下方程式(5)。Next, in an exemplary embodiment of the present invention, it is assumed that the arc length of the azimuth angle θ of the cylindrical coordinate system is l , and the equation of the arc length is . Therefore, the azimuth angle θ of the cylindrical coordinate system can be expressed as the following equation (5).
…方程式(5) ... equation (5)
特別是,基於圓柱的對稱性,因此,如圖7D所示,θ 的值會介於-22.5度與22.5度之間,亦即,-22.5˚<θ <22.5˚。而如上所述,本發明範例實施例是採用以45度水平視角作為切割標準來將環場影像400切割成8張等寬的條狀透視影像400a~400h,據此,22.5˚所涵蓋的角度為每個條狀透視影像的一半。In particular, based on the symmetry of the cylinder, therefore, as shown in Fig. 7D, the value of θ will be between -22.5 degrees and 22.5 degrees, that is, -22.5 ̊ < θ < 22.5 ̊. As described above, the exemplary embodiment of the present invention uses a 45 degree horizontal viewing angle as a cutting standard to cut the ring image 400 into eight equal-width strip-shaped fluoroscopic images 400a-400h, according to which the angle covered by 22.5 ̊ Half of the image for each strip of perspective.
之後,根據方程式(4)、(5),並藉由標準的三角函式計算與線性比例關係,可進一步地計算出上述方程式(1)~(3)以獲得環場影像400之圓柱座標(r,θ , h)所對應的笛卡兒座標(x, y, z)。具體而言,在本範例實施例中,影像處理模組220將環場影像400轉換為透視影像400a的過程中,會依序地掃描對應至透視影像400a的環場影像400上的畫素以依序地對此些畫素進行座標的轉換,其中影像處理模組220的掃描順序為由左而右、由上而下。由於掃描順序為由左而右、由上而下,因此,笛卡兒座標(x ,y ,z )會以x 、y 、z 的順序被計算出來。Then, according to equations (4), (5), and by the standard trigonometric calculation and the linear proportional relationship, the above equations (1) to (3) can be further calculated to obtain the cylindrical coordinates of the ring image 400 ( The Cartesian coordinates (x, y, z) corresponding to r, θ , h). Specifically, in the exemplary embodiment, the image processing module 220 sequentially scans the pixels on the ring image 400 corresponding to the fluoroscopic image 400a during the process of converting the ring image 400 into the fluoroscopic image 400a. The pixels are sequentially converted into coordinates, wherein the scanning order of the image processing module 220 is from left to right and from top to bottom. Since the scanning order is from left to right and from top to bottom, the Cartesian coordinates ( x , y , z ) are calculated in the order of x , y , z .
請再參照圖7B,圖7B中的L 為影像處理模組220掃描透視影像400a至角度β時,由座標原點至透視影像400a的距離,由於,因此,。接著,根據三角函數可以求得以下x的方程式(6)。Referring to FIG. 7B again, L in FIG. 7B is the distance from the coordinate origin to the fluoroscopic image 400a when the image processing module 220 scans the fluoroscopic image 400a to the angle β. ,therefore, . Next, the following equation (6) of x can be obtained from the trigonometric function.
…方程式(6)。 ... equation (6).
此外,在本範例實施例中,每個透視影像400a~400h之中心線的夾角為45度,亦即,α=45˚,因此,方程式(6)可以改寫為,由此即得到上述的方程式(1)。應注意的是,方程式(1)中的n 表示為第n 個透視影像,例如,在此範例中,影像處理模組220是將環場影像400切割成8張等寬的條狀透視影像400a~400h,也就是說,第0個透視影像即為透視影像400a、第1個透視影像400b,並且以此類推,第2~7個透視影像即為透視影像400c~400h,換言之,在此範例實施例中,n =0, 1, 2 , 3, 4, 5, 6, 7。In addition, in the present exemplary embodiment, the angle of the center line of each fluoroscopic image 400a~400h is 45 degrees, that is, α=45 ̊, therefore, equation (6) can be rewritten as Thus, the above equation (1) is obtained. It should be noted that n in the equation (1) is represented as the nth fluoroscopic image. For example, in this example, the image processing module 220 is to cut the circular field image 400 into eight equal-width strip-shaped fluoroscopic images 400a. ~400h, that is, the 0th perspective image is the perspective image 400a, the first perspective image 400b, and so on, the 2nd to 7th perspective images are the perspective images 400c~400h, in other words, in this example In the embodiment, n =0, 1, 2, 3, 4, 5, 6, 7.
同理,根據三角函數可以求得上述y 的方程式,即,方程式(2)。Similarly, according to the trigonometric function, the above equation of y can be obtained. That is, equation (2).
最後,請再參照圖7C,根據z 與h 的線性比例關係可以求得上述z 的方程式(3)。由於,因此,,即,方程式(3)。Finally, again referring to Figure 7C, the linear relationship between the ratio of z to h can be determined in Equation (3) of z. due to ,therefore, That is, equation (3).
值得注意的是,在上述步驟S301~S305中,室內地圖建立裝置200是在離線模式中執行建置室內地圖的操作,並且所述室內地圖會被儲存於定位資料庫250中。藉此,可攜式電子裝置120的定位計算可由可攜式電子裝置120自行完成。具體而言,請再參照圖3,在步驟S307中,可攜式電子裝置120會根據在步驟S301~S305中所建立之室內地圖來定位可攜式電子裝置120於室內環境中相對於原點410的三維座標值(亦稱為三維目標座標值)。換言之,可攜式電子裝置120的姿態(即,可攜式電子裝置120的三維座標值與旋轉角度)不須透過伺服器端的室內地圖建立裝置200來計算。此外,本發明範例實施例中的室內地圖建立裝置200是透過離線分析所取得的360度環場影像來建置室內地圖,據此,本發明的技術相較於傳統上透過雷射反彈、點雲技術、訊號強度指標值、GPS等需搭配網際網路來建置室內外地圖的技術,不僅有效地節省建置室內地圖的運算資源,更提升室內地圖的準確性。It is to be noted that, in the above steps S301 to S305, the indoor map establishing device 200 performs an operation of building an indoor map in an offline mode, and the indoor map is stored in the positioning database 250. Thereby, the positioning calculation of the portable electronic device 120 can be completed by the portable electronic device 120. Specifically, referring to FIG. 3, in step S307, the portable electronic device 120 locates the portable electronic device 120 relative to the origin in the indoor environment according to the indoor map established in steps S301-S305. The three-dimensional coordinate value of 410 (also known as the three-dimensional target coordinate value). In other words, the posture of the portable electronic device 120 (ie, the three-dimensional coordinate value and the rotation angle of the portable electronic device 120) need not be calculated by the indoor map establishing device 200 at the server end. In addition, the indoor map establishing apparatus 200 in the exemplary embodiment of the present invention constructs an indoor map by using a 360-degree circular field image obtained by off-line analysis, and accordingly, the technology of the present invention rebounds and points through a laser compared with the conventional one. Cloud technology, signal strength indicator values, GPS and other technologies that need to be paired with the Internet to build indoor and outdoor maps not only effectively save computing resources for building indoor maps, but also improve the accuracy of indoor maps.
在本範例實施例中,可攜式電子裝置120會被操作於一連線模式中,由此可攜式電子裝置120可不斷地取得當前的即時影像,並擷取即時影像中的多個特徵點(亦稱為目標特徵點)與此些目標特徵點的描述矩陣。應注意,在本發明範例實施例中,為了方便說明,因此將室內地圖建立裝置200從環場影像400所展開之透視影像400a~400h中所擷取的特徵點皆稱為參考特徵點,而可攜式電子裝置120從即時影像中所擷取的特徵點皆稱為目標特徵點。In the exemplary embodiment, the portable electronic device 120 is operated in a connection mode, so that the portable electronic device 120 can continuously obtain the current real-time image and capture multiple features in the instant image. A description matrix of points (also known as target feature points) and such target feature points. It should be noted that, in the exemplary embodiment of the present invention, for convenience of description, the feature points captured by the indoor map establishing device 200 from the fluoroscopic images 400a-400h deployed by the ring image 400 are referred to as reference feature points, and The feature points captured by the portable electronic device 120 from the live image are referred to as target feature points.
具體而言,當使用者持著其可攜式電子裝置120且欲進入某個特定的室內環境(例如,便利商店)時,可攜式電子裝置120會透過網際網路102判定可攜式電子裝置120所在的室內環境,並從室內地圖建立裝置200下載對應此室內環境的室內地圖至可攜式電子裝置120。例如,可攜式電子裝置120是透過GPS得知使用者目前欲進入哪一個便利商店,以從伺服器端之室內地圖建立裝置200的定位資料庫250下載屬於此便利商店的室內地圖至使用者端的可攜式電子裝置120。Specifically, when the user holds his portable electronic device 120 and wants to enter a specific indoor environment (for example, a convenience store), the portable electronic device 120 determines the portable electronic device through the Internet 102. The indoor environment in which the device 120 is located is downloaded from the indoor map establishing device 200 to the indoor map corresponding to the indoor environment to the portable electronic device 120. For example, the portable electronic device 120 knows which convenience store the user currently wants to enter through the GPS, and downloads the indoor map belonging to the convenience store from the location database 250 of the indoor map establishing device 200 on the server side to the user. The portable electronic device 120 at the end.
接著,可攜式電子裝置120會比對所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣,且在參考特徵點的描述矩陣與目標特徵點的描述矩陣之間的差異值符合一預設容忍值時,從定位資料庫250中取出與此些目標特徵點的描述矩陣之間的差異值符合預設容忍值的參考特徵點的三維座標值。舉例而言,利用BRISK演算法是以圓形環的結構方式繞著特徵點周圍來進行取樣的特性,可進而透過兩個取樣點之間的灰階值差異來計算特徵點的描述矩陣,此外,最內圈的取樣點比較值對於兩個特徵描述矩陣的相似度有決定性的影響,亦即,由最內圈至最外圈的取樣點比較值所對應的識別特性呈現由高至低,且描述矩陣中是依序地記錄最內圈至最外圈之取樣點比較值所對應的位元值。Next, the portable electronic device 120 compares the description matrix of the reference feature point with the description matrix of the target feature point, and the difference value between the description matrix of the reference feature point and the description matrix of the target feature point. When a preset tolerance value is obtained, the three-dimensional coordinate value of the reference feature point whose difference value from the description matrix of the target feature points is in accordance with the preset tolerance value is taken out from the positioning database 250. For example, the BRISK algorithm uses a circular ring structure to sample around the feature points, and can further calculate the description matrix of the feature points by the difference in grayscale values between the two sample points. The comparison value of the sample points of the innermost circle has a decisive influence on the similarity of the two feature description matrices, that is, the recognition characteristics corresponding to the comparison values of the sample points from the innermost circle to the outermost circle are from high to low. And in the description matrix, the bit values corresponding to the sample point comparison values of the innermost circle to the outermost circle are sequentially recorded.
承上,所述比對所述參考特徵點的描述矩陣與所述目標特徵點的描述矩陣的操作,是利用漢明距離以決定兩個描述矩陣的相似性,特別是,在本範例實施例中,可攜式電子裝置120是由內圈往外圈依序計算參考特徵點的描述矩陣與目標特徵點的描述矩陣之間的漢明距離,舉例而言,當可攜式電子裝置120判定兩個描述矩陣之目前圈內之位元組的漢明距離小於預設容忍值時,才會進一步計算下一圈(即,目前圈的下一個外圈)的兩個描述矩陣的相似性,例如,當參考特徵點之描述矩陣的每一圈位元值與目標特徵點之描述矩陣的每一圈位元值之間的差異值(即,漢明距離)皆符合預設容忍值時,可攜式電子裝置120會從定位資料庫250中取出與此些目標特徵點的描述矩陣之間的差異值符合預設容忍值的參考特徵點的三維座標值;否則,可攜式電子裝置120會判定兩個描述矩陣不相似且停止判斷此兩個描述矩陣之相似性的運算。The operation of comparing the description matrix of the reference feature point with the description matrix of the target feature point is to utilize the Hamming distance to determine the similarity between the two description matrices, in particular, in the present exemplary embodiment. The portable electronic device 120 calculates the Hamming distance between the description matrix of the reference feature point and the description matrix of the target feature point by the inner circle to the outer circle. For example, when the portable electronic device 120 determines two If the Hamming distance of the byte in the current circle of the description matrix is less than the preset tolerance value, the similarity of the two description matrices of the next circle (ie, the next outer circle of the current circle) is further calculated, for example When the difference value between each bit value of the description matrix of the reference feature point and each circle bit value of the description matrix of the target feature point (ie, the Hamming distance) is consistent with the preset tolerance value, The portable electronic device 120 removes the three-dimensional coordinate value of the reference feature point that is different from the description matrix of the target feature points from the positioning database 250 according to the preset tolerance value; otherwise, the portable electronic device 120 Determine two descriptions The operations in which the matrices are not similar and stop determining the similarity of the two description matrices.
之後,可攜式電子裝置120即可利用從定位資料庫250中所取出的參考特徵點的三維座標值計算可攜式電子裝置120的三維目標座標值與旋轉角度。例如,在本發明範例實施例中,可攜式電子裝置120是先將與此些目標特徵點的描述矩陣之間的漢明距離符合預設容忍值的參考特徵點的三維座標值帶入EPnP公式,再利用Ransac演算法過濾掉錯誤的三維座標值,以獲得所述可攜式電子裝置120的三維目標座標值與旋轉角度。Then, the portable electronic device 120 can calculate the three-dimensional target coordinate value and the rotation angle of the portable electronic device 120 by using the three-dimensional coordinate values of the reference feature points taken out from the positioning database 250. For example, in the exemplary embodiment of the present invention, the portable electronic device 120 firstly carries the three-dimensional coordinate value of the reference feature point that meets the preset tolerance value between the description matrix of the target feature points into the EPnP. The Ransac algorithm is used to filter out the erroneous three-dimensional coordinate values to obtain the three-dimensional target coordinate value and the rotation angle of the portable electronic device 120.
根據上述可知,本發明之範例實施例可分為由室內地圖建立裝置200於離線模式所執行的建立室內地圖的操作(亦稱為第一階段),以及由可攜式電子裝置120於連線模式所執行的定位操作(亦稱為第二階段)。值得一提的是,藉由第一階段中僅記錄透視影像之中心位置的縱軸方向上與橫軸方向上的多個參考畫素的三維參考座標值的技術方案,不僅可有效地節省儲存裝置的記憶體空間,更可達到快速地由此些參考座標值求得透視影像中每一特徵點的三維座標,以在定位資料庫中記錄由此些特徵點的三維座標所構成的室內地圖。並且,藉由在第一階段中儲存對應不同室內環境的室內地圖,可攜式電子裝置可在第二階段中僅下載對應當前室內環境的室內地圖來與其所擷取的即時影像進行比對。特別是,在第二階段中透過可攜式電子裝置依據特徵點之描述矩陣的特性,對室內地圖與即時影像所執行的描述矩陣比對操作,可快速地過濾掉不符合的描述矩陣,進而有效率且準確地定位出可攜式電子裝置的姿態(即,可攜式電子裝置120)的三維座標值與旋轉角度)。As can be seen from the above, the exemplary embodiments of the present invention can be divided into an operation of establishing an indoor map (also referred to as a first stage) performed by the indoor map establishing device 200 in an offline mode, and connected by the portable electronic device 120. The positioning operation performed by the mode (also known as the second phase). It is worth mentioning that, by the technical solution of recording the three-dimensional reference coordinate values of the plurality of reference pixels in the longitudinal direction and the horizontal axis direction of the central position of the fluoroscopic image in the first stage, the storage can be effectively saved. The memory space of the device can further achieve the three-dimensional coordinates of each feature point in the fluoroscopic image by using the reference coordinate values to record the indoor map formed by the three-dimensional coordinates of the feature points in the positioning database. . Moreover, by storing the indoor map corresponding to different indoor environments in the first stage, the portable electronic device can download only the indoor map corresponding to the current indoor environment in the second stage to compare with the captured instant image. In particular, in the second stage, the portable electronic device can quickly filter out the non-conforming description matrix by comparing the description matrix of the indoor map and the instant image according to the characteristics of the description matrix of the feature points. The three-dimensional coordinate value and the rotation angle of the posture of the portable electronic device (ie, the portable electronic device 120) are efficiently and accurately located.
綜上所述,本發明實施例所提出的室內定位方法、室內定位系統及其室內地圖建立裝置能夠在離線模式中分析所取得的360度環場影像,並快速地建置室內地圖;如此一來,可攜式電子裝置可在連線模式中自行比對其自身所擷取的即時影像與室內地圖來定位使用者之可攜式電子裝置。另一方面,本發明之可攜式電子裝置可快速地過濾掉室內地圖與即時影像之間不符合的描述矩陣以快速地定位出可攜式電子裝置的姿態,據此,可有效率地提供給使用者相應的資訊,進而提升使用者更方便的操作體驗。In summary, the indoor positioning method, the indoor positioning system, and the indoor map establishing device thereof according to the embodiments of the present invention can analyze the obtained 360-degree circular field image in an offline mode, and quickly construct an indoor map; In addition, the portable electronic device can locate the user's portable electronic device in the connection mode by comparing the instant image and the indoor map captured by itself. On the other hand, the portable electronic device of the present invention can quickly filter out a description matrix that does not match between the indoor map and the live image to quickly locate the posture of the portable electronic device, thereby providing an efficient manner. Give users the corresponding information, which will enhance the user's more convenient operation experience.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
100‧‧‧室內定位系統100‧‧‧ indoor positioning system
102‧‧‧網際網路102‧‧‧Internet
110‧‧‧攝影裝置110‧‧‧Photographing device
120‧‧‧可攜式電子裝置120‧‧‧Portable electronic devices
200‧‧‧室內地圖建立裝置200‧‧‧ indoor map building device
202‧‧‧儲存裝置202‧‧‧Storage device
204‧‧‧處理器204‧‧‧ Processor
210‧‧‧輸入模組210‧‧‧Input module
220‧‧‧影像處理模組220‧‧‧Image Processing Module
230‧‧‧特徵擷取模組230‧‧‧Feature capture module
240‧‧‧運算模組240‧‧‧ Computing Module
250‧‧‧定位資料庫250‧‧‧Location database
S301、S303、S305、S307‧‧‧室內定位方法的步驟S301, S303, S305, S307‧‧‧ steps of indoor positioning method
400‧‧‧環場影像400‧‧‧ ring image
410‧‧‧原點410‧‧‧ origin
400a~400h、400i~400p‧‧‧透視影像400a~400h, 400i~400p‧‧‧ perspective image
420、420’‧‧‧展開透視影像420, 420’ ‧ ‧ Vision image
500‧‧‧中心位置500‧‧‧ central location
502‧‧‧縱軸方向502‧‧‧ vertical axis direction
504‧‧‧橫軸方向504‧‧‧ horizontal axis direction
500a‧‧‧特徵點畫素500a‧‧‧Characteristics
500b‧‧‧第一參考畫素500b‧‧‧ first reference pixel
500c‧‧‧第二參考畫素500c‧‧‧second reference pixel
圖1是根據本發明一實施例所繪示之室內定位系統的示意圖。 圖2是根據本發明一實施例所繪示之室內地圖建立裝置的方塊圖。 圖3是根據本發明一實施例所繪示之室內定位方法的流程圖。 圖4A~4D是根據本發明一實施例所繪示之將環場影像轉換為多個透視影像的示意圖。 圖5是根據本發明一實施例所繪示之記錄對應透視影像之中心位置的多個三維參考座標值的示意圖。 圖6是根據本發明一實施例所繪示之根據透視影像中對應中心位置之三維參考座標值計算特徵點的三維座標值的示意圖。 圖7A是根據本發明一實施例所繪示之圓柱座標系統與笛卡兒座標系統之對應關係的示意圖。 圖7B是根據本發明一實施例所繪示之環場影像的俯視圖。 圖7C是根據本發明一實施例所繪示之環場影像的側視圖。 圖7D是根據本發明一實施例所繪示之圓柱座標系統之對稱性的示意圖。FIG. 1 is a schematic diagram of an indoor positioning system according to an embodiment of the invention. 2 is a block diagram of an indoor map establishing apparatus according to an embodiment of the invention. FIG. 3 is a flow chart of an indoor positioning method according to an embodiment of the invention. 4A-4D are schematic diagrams of converting a ring image into a plurality of fluoroscopic images according to an embodiment of the invention. FIG. 5 is a schematic diagram of recording a plurality of three-dimensional reference coordinate values corresponding to a center position of a fluoroscopic image according to an embodiment of the invention. FIG. 6 is a schematic diagram of calculating a three-dimensional coordinate value of a feature point according to a three-dimensional reference coordinate value of a corresponding center position in a fluoroscopic image according to an embodiment of the invention. FIG. 7A is a schematic diagram showing the correspondence between a cylindrical coordinate system and a Cartesian coordinate system according to an embodiment of the invention. 7B is a top plan view of a ring image as illustrated in accordance with an embodiment of the invention. 7C is a side view of a ring image as depicted in accordance with an embodiment of the invention. 7D is a schematic diagram showing the symmetry of a cylindrical coordinate system according to an embodiment of the invention.
Claims (15)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/436,862 US10169914B2 (en) | 2016-08-26 | 2017-02-20 | Method and system for indoor positioning and device for creating indoor maps thereof |
| CN201710140292.2A CN107782322B (en) | 2016-08-26 | 2017-03-10 | Indoor positioning method and system and indoor map establishing device thereof |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201662379753P | 2016-08-26 | 2016-08-26 | |
| US62/379,753 | 2016-08-26 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201808042A true TW201808042A (en) | 2018-03-01 |
| TWI631861B TWI631861B (en) | 2018-08-01 |
Family
ID=62189806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105136161A TWI631861B (en) | 2016-08-26 | 2016-11-07 | Method and system for indoor positioning and device for creating indoor maps thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI631861B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI679512B (en) * | 2018-10-05 | 2019-12-11 | 東元電機股份有限公司 | Automated guided vehicle |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| MY147904A (en) * | 2009-07-29 | 2013-01-31 | Mimos Bhd | Optical device and method therefor |
| KR101329111B1 (en) * | 2012-05-02 | 2013-11-14 | 한국과학기술연구원 | System and method for indoor navigation |
| US9646384B2 (en) * | 2013-09-11 | 2017-05-09 | Google Technology Holdings LLC | 3D feature descriptors with camera pose information |
| CN104333675B (en) * | 2014-10-20 | 2017-09-05 | 长春理工大学 | A Method of Panoramic Electronic Image Stabilization Based on Spherical Projection |
-
2016
- 2016-11-07 TW TW105136161A patent/TWI631861B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| TWI631861B (en) | 2018-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107782322B (en) | Indoor positioning method and system and indoor map establishing device thereof | |
| JP6676082B2 (en) | Indoor positioning method and system, and device for creating the indoor map | |
| US10740975B2 (en) | Mobile augmented reality system | |
| US8494553B2 (en) | Position determination using horizontal angles | |
| CN111046125A (en) | Visual positioning method, system and computer readable storage medium | |
| CN113345028B (en) | Method and equipment for determining target coordinate transformation information | |
| US8369578B2 (en) | Method and system for position determination using image deformation | |
| US20130328931A1 (en) | System and Method for Mobile Identification of Real Property by Geospatial Analysis | |
| CN110703805A (en) | Stereo object surveying and mapping route planning method, device, equipment, unmanned aerial vehicle and medium | |
| US10482571B2 (en) | Dual fisheye, hemispherical image projection and stitching method, device and computer-readable medium | |
| CN104102732B (en) | Picture showing method and device | |
| CN107193820B (en) | Location information acquisition method, device and device | |
| US9852542B1 (en) | Methods and apparatus related to georeferenced pose of 3D models | |
| TWI631861B (en) | Method and system for indoor positioning and device for creating indoor maps thereof | |
| CN115439328A (en) | Image splicing method and device, electronic equipment and storage medium | |
| CN110852132A (en) | Two-dimensional code space position confirmation method and device | |
| CN108335329B (en) | Position detection method and device applied to aircraft and aircraft | |
| Sahin | The geometry and usage of the supplementary fisheye lenses in smartphones | |
| US20250173941A1 (en) | Method and augmented reality device for providing augmented reality operating instructions for operating an apparatus | |
| EP4089646B1 (en) | Image positioning device and method | |
| CN114926371B (en) | Vertical correction and vanishing point detection method and device for panorama and storage medium | |
| CN114758082B (en) | Map construction method, device, equipment and storage medium | |
| CN110675446A (en) | Positioning method and device | |
| CN107747938A (en) | A mobile surveying and mapping platform | |
| Lee | A hybrid positioning system for indoor navigation on mobile phones using panoramic images. |