Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7646199B2 - Position measuring device, method and program - Google Patents
[go: Go Back, main page]

JP7646199B2 - Position measuring device, method and program - Google Patents

Position measuring device, method and program Download PDF

Info

Publication number
JP7646199B2
JP7646199B2 JP2021111585A JP2021111585A JP7646199B2 JP 7646199 B2 JP7646199 B2 JP 7646199B2 JP 2021111585 A JP2021111585 A JP 2021111585A JP 2021111585 A JP2021111585 A JP 2021111585A JP 7646199 B2 JP7646199 B2 JP 7646199B2
Authority
JP
Japan
Prior art keywords
optical recognition
depth
code
recognition code
information indicating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021111585A
Other languages
Japanese (ja)
Other versions
JP2023008210A (en
Inventor
葉 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
B Core Inc
Original Assignee
B Core Inc
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 B Core Inc filed Critical B Core Inc
Priority to JP2021111585A priority Critical patent/JP7646199B2/en
Publication of JP2023008210A publication Critical patent/JP2023008210A/en
Application granted granted Critical
Publication of JP7646199B2 publication Critical patent/JP7646199B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、位置計測装置、方法及びプログラムに関する。 The present invention relates to a position measurement device, method, and program.

近年では、自動搬送車(無人搬送車)のような移動体を工場または倉庫等の屋内空間に配置し、運搬物(荷物)を当該移動体に運搬させることによって、業務の効率化を図ることが行われている。 In recent years, mobile objects such as automated guided vehicles (automated transport vehicles) have been deployed in indoor spaces such as factories or warehouses, and items (luggage) are transported by the mobile objects in order to improve the efficiency of business operations.

ところで、効率的に移動体に運搬物を運搬させるためには、当該移動体の位置を適切に管理することが有用であるが、上記したように移動体が屋内空間を移動する場合には、例えばGPS(Global Positioning System)機能等では当該移動体の正確な位置を得ることができない場合がある。 In order to have a mobile object transport goods efficiently, it is useful to properly manage the location of the mobile object. However, as described above, when the mobile object moves through an indoor space, it may not be possible to obtain the exact location of the mobile object using, for example, a GPS (Global Positioning System) function.

なお、このような事情を鑑みて、屋内における位置情報を特定するための技術が開示されている(例えば、特許文献1を参照)。しかしながら、この技術によれば、撮影画像と対象画像とのマッチングを行うため、精度の高い位置を得ることができない場合がある。 In consideration of these circumstances, a technology for identifying indoor position information has been disclosed (see, for example, Patent Document 1). However, this technology involves matching a captured image with a target image, so it may not be possible to obtain a highly accurate position.

これに対して、例えば上記した屋内空間に光学式認識コードを配置し、当該光学式認識コードを移動体に設置されたカメラで撮影することによって、当該移動体の位置を計算するようなことが考えられるが、この場合には、当該屋内空間内の光学式認識コードの位置を予め計測しておく必要があり、当該位置を計測する作業は非常に煩雑である。 In response to this, for example, it is conceivable to place an optical recognition code in the indoor space described above, and to calculate the position of the moving object by photographing the optical recognition code with a camera installed on the moving object. However, in this case, it is necessary to measure the position of the optical recognition code in the indoor space in advance, and the task of measuring the position is very complicated.

特開2016-164518号公報JP 2016-164518 A

そこで、本発明の目的は、移動体の位置を計算するために用いられる光学式認識コードの位置を容易に計測することが可能な位置計測装置、方法及びプログラムを提供することにある。 The object of the present invention is to provide a position measurement device, method, and program that can easily measure the position of an optical recognition code used to calculate the position of a moving object.

本発明の1つの態様によれば、移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置において、前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1光学式認識コードの位置を示す第1位置情報及び第2光学式認識コードの位置を示す第2位置情報を格納する格納手段と、デプスカメラによって前記複数の光学式認識コードのうちの前記第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含むデプス画像を取得する取得手段と、前記格納手段に格納された第1及び第2位置情報と、前記取得されたデプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの位置を計測する計測手段とを具備する位置計測装置が提供される。 According to one aspect of the present invention, a position measurement device that measures the position of an optical recognition code captured by a visible light camera installed on a moving body in order to calculate the position of the moving body is provided, the position measurement device comprising: a storage means for storing first position information indicating the position of a first optical recognition code and second position information indicating the position of a second optical recognition code among a plurality of optical recognition codes arranged in an indoor space in which the moving body moves; an acquisition means for acquiring a depth image including first depth information indicating the depth of the first optical recognition code, second depth information indicating the depth of the second optical recognition code, and third depth information indicating the depth of the third optical recognition code by capturing images of the first and second optical recognition codes among the plurality of optical recognition codes and a third optical recognition code different from the first and second optical recognition codes by a depth camera; and a measurement means for measuring the position of the third optical recognition code based on the first and second position information stored in the storage means and the first to third depth information included in the acquired depth image.

本発明は、移動体の位置を計算するために用いられる光学式認識コードの位置を容易に計測することを可能とする。 The present invention makes it possible to easily measure the position of an optical recognition code that is used to calculate the position of a moving object.

屋内空間を移動する移動体の外観の一例を示す図。FIG. 1 is a diagram showing an example of the appearance of a moving object moving in an indoor space. カラービットコードについて説明するための図。FIG. 13 is a diagram for explaining a color bit code. 移動体の位置を計算する処理手順の一例を示すフローチャート。10 is a flowchart showing an example of a processing procedure for calculating the position of a moving object. カラービットコードの位置を人手により計測する作業について説明するための図。11A and 11B are diagrams for explaining an operation of manually measuring the position of a color bit code. 本発明の実施形態に係る位置計測装置のハードウェア構成の一例を示す図。FIG. 2 is a diagram showing an example of a hardware configuration of a position measurement device according to an embodiment of the present invention. 位置計測装置の機能構成の一例を示す図。FIG. 2 is a diagram showing an example of the functional configuration of a position measurement device. 位置計測装置の処理手順の一例を示すフローチャート。11 is a flowchart showing an example of a processing procedure of a position measurement device. 位置計測装置の動作の概要について説明するための図。FIG. 2 is a diagram for explaining an outline of the operation of the position measurement device. 位置計測装置の動作の概要について説明するための図。FIG. 2 is a diagram for explaining an outline of the operation of the position measurement device. 位置計測装置の動作の概要について説明するための図。FIG. 2 is a diagram for explaining an outline of the operation of the position measurement device.

以下、図面を参照して、本発明の実施形態について説明する。
本実施形態に係る位置計測装置は、例えば屋内空間を移動する移動体の位置を計算するために用いられる光学式認識コードの位置を計測するために用いられるが、当該位置計測装置について説明する前に、本実施形態において当該移動体の位置を得る原理について説明する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
The position measurement device of this embodiment is used to measure the position of an optical recognition code that is used to calculate the position of a moving object moving in an indoor space, for example. Before explaining the position measurement device, the principle of obtaining the position of the moving object in this embodiment will be explained.

図1は、上記した屋内空間を移動する移動体の外観の一例を示す。図1に示すように、移動体1は、例えば車輪等を備えることによって移動可能に構成されている。また、移動体1には、当該移動体1の外部(例えば、進行方向等)を撮像可能な向きにカメラ(撮像装置)1aが設置されている。なお、移動体1に設置されているカメラ1aは、可視光に基づいてカラー画像を撮像する可視光カメラであるものとする。 Figure 1 shows an example of the appearance of a moving body moving in the indoor space described above. As shown in Figure 1, moving body 1 is configured to be movable by being equipped with wheels, for example. In addition, a camera (imaging device) 1a is installed on moving body 1 in a direction that allows it to capture an image of the outside of moving body 1 (for example, the direction of travel, etc.). Note that camera 1a installed on moving body 1 is a visible light camera that captures color images based on visible light.

また、移動体1が移動する屋内空間には、光学式認識コードが配置(貼付、描画、印刷または表示等)されている。なお、光学式認識コードは、屋内空間を形成する例えば壁面等に配置されるが、上記したカメラ1aが撮像可能な位置であれば他の位置に配置されていてもよい。 In addition, an optical recognition code is placed (attached, drawn, printed, displayed, etc.) in the indoor space in which the mobile object 1 moves. The optical recognition code is placed, for example, on a wall surface that forms the indoor space, but may be placed in another position as long as it is a position where the above-mentioned camera 1a can capture an image.

本実施形態においては、上記した移動体1に設置されるカメラ1aによって撮像された光学式認識コードを含む画像に基づいて当該移動体1の位置が計算(取得)される。 In this embodiment, the position of the moving body 1 is calculated (obtained) based on an image including an optical recognition code captured by a camera 1a installed on the moving body 1.

以下、移動体1の位置を計算するために用いられる光学式認識コードについて具体的に説明する。 The optical recognition code used to calculate the position of the moving body 1 is explained in detail below.

本実施形態における光学式認識コードは、例えば複数のエレメントが線状(棒状)に形成されたコード(以下、カラービットコードと表記)を含む。このカラービットコードは、例えば3色以上の色彩のうちの1の色彩が付されたセル(エレメント)が複数配列された構成を有する。このカラービットコードによれば、複数の配列された各セルに付されている色彩の遷移によって識別情報(例えば、ID等)のような特定のデータを表すことができる。 The optical recognition code in this embodiment includes, for example, a code in which multiple elements are formed in a line (rod) shape (hereinafter referred to as a color bit code). This color bit code has a configuration in which multiple cells (elements) are arranged with one color of, for example, three or more colors. According to this color bit code, specific data such as identification information (e.g., ID, etc.) can be represented by the transition of colors assigned to each of the multiple arranged cells.

以下の説明においては、移動体の位置を計算するために用いられる光学式認識コードがカラービットコードであるものとして説明する。 In the following explanation, the optical recognition code used to calculate the position of a moving object is assumed to be a color bit code.

図2を参照して、上記したカラービットコードについて詳細に説明する。なお、図2においては、便宜的にカラービットコードの一部分のみが示されている。 The above-mentioned color bit code will be described in detail with reference to FIG. 2. Note that in FIG. 2, only a portion of the color bit code is shown for convenience.

図2に示すように、カラービットコード2は、例えば赤色、緑色及び青色のうちの1の色彩が付されたセル2aが複数配列されて構成されている。図2において、赤色はR、緑色はG、青色はBとして示されている。なお、図2においては、説明の便宜上、カラービットコード2に3色の色彩(赤色、緑色及び青色)が用いられている例が示されているが、各セル2aには、赤色、緑色及び青色以外の色彩が付されていてもよい。また、各セル2aに付されている色彩の遷移を識別することができるのであれば、4色以上の色彩を用いてカラービットコード2が作成されていてもよい。 As shown in FIG. 2, the color bit code 2 is composed of an array of cells 2a, each of which is colored, for example, with one of the colors red, green, and blue. In FIG. 2, red is indicated as R, green as G, and blue as B. For ease of explanation, FIG. 2 shows an example in which three colors (red, green, and blue) are used in the color bit code 2, but each cell 2a may be colored with a color other than red, green, and blue. Furthermore, the color bit code 2 may be created using four or more colors, as long as the transition of the colors assigned to each cell 2a can be identified.

カラービットコード2を構成するセル2aは、1つの色彩が付される範囲または領域であり、種々の形状を有することができる。図2に示す例では、複数のセル2aの各々は四角形状であるが、例えば丸形状または三角形状等であっても構わない。このような複数のセル2aを線状(直線状または曲線状)に配列することによってカラービットコード2は作成される。 The cells 2a that make up the color bit code 2 are areas or regions to which one color is applied, and can have various shapes. In the example shown in FIG. 2, each of the multiple cells 2a is rectangular, but they can also be round or triangular, for example. The color bit code 2 is created by arranging multiple such cells 2a in a line (straight line or curved line).

なお、カラービットコード2は上記したように色彩の遷移によって特定のデータを表すものであるから、当該カラービットコード2において、隣接するセル2a同士には同色は付されず、異なる色彩が付される。カラービットコード2は、このような条件等に従って作成される。 As described above, the color bit code 2 represents specific data by color transitions, so in the color bit code 2, adjacent cells 2a are not given the same color, but different colors. The color bit code 2 is created according to these conditions.

また、カラービットコード2を構成する複数のセル2aには、端点セルが含まれる。端点セルは、線状に連なったセル2a群から構成されるカラービットコード2の端点(両端)に位置するセル2aである。カラービットコード2内にあるセル2aは、2つのセル2aと隣接するが、端点セルは1つのセル2aとしか隣接しない。このような端点セルはカラービットコード2内に2つ存在する。また、このような2つの端点セルに付される色彩は異なるものとする。これにより、端点セルの各々に付されている色彩によって、当該端点セルが始点となるセル2a(以下、始点セルと表記)であるか終点となるセル2a(以下、終点セルと表記)であるかを判定することが可能である。 The multiple cells 2a that make up the color bit code 2 include end cells. End cells are cells 2a that are located at the end points (both ends) of the color bit code 2 that is made up of a group of cells 2a connected in a line. A cell 2a in the color bit code 2 is adjacent to two cells 2a, but an end cell is adjacent to only one cell 2a. There are two such end cells in the color bit code 2. Also, the colors assigned to these two end cells are different. This makes it possible to determine whether the end cell is a starting cell 2a (hereinafter referred to as a starting cell) or an ending cell 2a (hereinafter referred to as an ending cell) based on the color assigned to each end cell.

上記したようなカラービットコード2によれば例えば3色の色彩の遷移(配列)によって特定のデータを表すことができるため、当該カラービットコード2における各色彩の占める領域の大きさ及び形状の制限は緩く、当該カラービットコード2が例えば凹凸のある表面や柔軟性のある素材上に付されている場合やデジタルサイネージ等の表示装置に表示されている場合であっても、高い読み取り精度を実現することができる。 The color bit code 2 described above can express specific data by, for example, a transition (arrangement) of three colors, so there are fewer restrictions on the size and shape of the area occupied by each color in the color bit code 2, and high reading accuracy can be achieved even when the color bit code 2 is attached to, for example, an uneven surface or a flexible material, or is displayed on a display device such as digital signage.

なお、カラービットコード2によって表されるデータは、例えば当該カラービットコード2に割り当てられた識別情報(以下、コードIDと表記)等を含むが、他のデータであってもよい。 The data represented by the color bit code 2 includes, for example, identification information (hereinafter referred to as a code ID) assigned to the color bit code 2, but may be other data.

次に、図3に示すフローチャートを参照して、移動体の位置を計測する処理手順の一例について説明する。なお、図3に示す処理は、上記した移動体1に設置されているカメラ1aと接続された画像処理装置によって実行される。 Next, an example of a processing procedure for measuring the position of a moving object will be described with reference to the flowchart shown in FIG. 3. Note that the processing shown in FIG. 3 is executed by an image processing device connected to the camera 1a installed on the moving object 1 described above.

図3に示す処理が実行される場合、例えば移動体1に設置されているカメラ1aの電源がオンされ、当該カメラ1aが起動される。このようにカメラ1aが起動されることによって、当該カメラ1aにおける画像(カラー画像)の撮像が可能となる。 When the process shown in FIG. 3 is executed, for example, the power supply of the camera 1a installed on the moving object 1 is turned on and the camera 1a is started. By starting the camera 1a in this manner, it becomes possible to capture an image (color image) with the camera 1a.

ここで、上記したように移動体1が移動する屋内空間には複数のカラービットコード2が配置されている。このため、画像処理装置は、複数のカラービットコード2のうち、屋内空間を移動している移動体1の近傍に配置されているカラービットコード2を含む画像をカメラ1aから取得する(ステップS1)。以下の説明においては、ステップS1において取得された画像を便宜的に対象画像と称する。 As described above, multiple color bit codes 2 are arranged in the indoor space in which the mobile object 1 moves. Therefore, the image processing device acquires from the camera 1a an image including color bit codes 2 that are arranged near the mobile object 1 moving in the indoor space, among the multiple color bit codes 2 (step S1). In the following description, the image acquired in step S1 is conveniently referred to as the target image.

ステップS1の処理が実行されると、画像処理装置は、対象画像に対する画像解析処理を実行する(ステップS2)。なお、このステップS2において実行される画像解析処理は、対象画像に含まれるカラービットコード2に対するデコード処理(読み取り処理)に相当する。これにより、画像処理装置は、対象画像に含まれるカラービットコード2における始点セルから終点セルまでの色の遷移によって表されるコードID(つまり、当該カラービットコード2に割り当てられているコードID)が取得される。 After the process of step S1 is executed, the image processing device executes an image analysis process on the target image (step S2). Note that the image analysis process executed in step S2 corresponds to a decoding process (reading process) on the color bit code 2 included in the target image. As a result, the image processing device acquires a code ID represented by the color transition from the start cell to the end cell in the color bit code 2 included in the target image (i.e., the code ID assigned to the color bit code 2).

以下の説明においては、便宜的に、上記したステップS2の処理が実行されることによって取得されたコードIDを対象コードID、当該対象コードIDによって識別されるカラービットコード2(つまり、対象画像に含まれているカラービットコード2)を対象カラービットコード2と称する。 For the sake of convenience, in the following description, the code ID obtained by executing the processing of step S2 described above will be referred to as the target code ID, and the color bit code 2 identified by the target code ID (i.e., the color bit code 2 contained in the target image) will be referred to as the target color bit code 2.

ステップS2の処理が実行されると、画像処理装置は、対象コードIDに基づいて、対象カラービットコード2の実空間上の位置を取得する(ステップS3)。 When the processing of step S2 is executed, the image processing device obtains the position in real space of the target color bit code 2 based on the target code ID (step S3).

なお、画像処理装置は、例えば移動体1が移動する屋内空間に配置されている複数のカラービットコード2の各々によって表されるコードIDと、当該カラービットコード2の(実空間上の)位置を示す位置情報(以下、コード位置情報と表記)とを対応づけて保持している。これにより、ステップS3において、画像処理装置は、対象コードIDに対応づけられているコード位置情報に基づいて、対象カラービットコード2の実空間上の位置を取得することができる。なお、カラービットコード2の実空間上の位置は例えば3次元座標系で表され、当該カラービットコード2の位置を示すコード位置情報は、当該カラービットコード2の位置に対応するX座標値、Y座標値及びZ座標値を含む。 The image processing device stores, for example, a code ID represented by each of a plurality of color bit codes 2 arranged in an indoor space in which the mobile object 1 moves, in association with position information (hereinafter referred to as code position information) indicating the position (in real space) of the color bit code 2. As a result, in step S3, the image processing device can obtain the position of the target color bit code 2 in real space based on the code position information associated with the target code ID. The position of the color bit code 2 in real space is represented, for example, in a three-dimensional coordinate system, and the code position information indicating the position of the color bit code 2 includes the X coordinate value, Y coordinate value, and Z coordinate value corresponding to the position of the color bit code 2.

ステップS3の処理が実行されると、画像処理装置は、移動体1の位置(移動体1の実空間上の位置)を計算する(ステップS4)。 When the processing of step S3 is executed, the image processing device calculates the position of the moving body 1 (the position of the moving body 1 in real space) (step S4).

ここで、移動体1が移動する屋内空間には、当該移動体1に設置されているカメラ1aの画角内に少なくとも2つのカラービットコード2が包含されるように複数のカラービットコード2が配置されているものとする。 Here, it is assumed that multiple color bit codes 2 are arranged in the indoor space in which the mobile body 1 moves, so that at least two color bit codes 2 are included within the angle of view of the camera 1a installed on the mobile body 1.

この場合、ステップS1において取得される画像(対象画像)には2つのカラービットコード(対象カラービットコード)2が含まれており、ステップS2において実行される画像解析処理においては、2つの対象カラービットコード2の各々の両端セル(始点セル及び終点セル)の対象画像上の位置(XY座標値)を抽出することができるものとする。 In this case, the image (target image) acquired in step S1 contains two color bit codes (target color bit codes) 2, and the image analysis process executed in step S2 is capable of extracting the positions (XY coordinate values) on the target image of the two end cells (start cell and end cell) of each of the two target color bit codes 2.

また、この場合には2つの対象カラービットコード2の各々の実空間上の位置がステップS3において取得されるが、画像処理装置にはカラービットコード2の両端セル(視点セル及び終点セル)の実空間上の位置を示すコード位置情報がカラービットコード2毎に保持されているものとし、当該ステップS3においては、当該2つの対象カラービットコード2の各々の両端セルの実空間上の位置が取得されるものとする。 In this case, the positions in real space of each of the two target color bit codes 2 are obtained in step S3, but the image processing device is assumed to store code position information indicating the positions in real space of the cells at both ends of the color bit code 2 (the viewpoint cell and the end cell) for each color bit code 2, and in step S3, the positions in real space of the cells at both ends of each of the two target color bit codes 2 are assumed to be obtained.

これによれば、上記した2つの対象カラービットコード2の各々の両端セルの対象画像上の位置(対象画像上の4点)及び当該2つの対象カラービットコード2の各々の両端セルの実空間上の位置(実空間上の4点)を透視投影モデルに適用することによって、移動体1の位置を計算することができる。なお、移動体1に設置されているカメラ1aの画角及び当該カメラ1aにおいて撮像される画像の解像度は既知であり、当該画角及び解像度に関する情報は画像処理装置内において管理されているものとする。上記した移動体1の位置を計算する処理においては、この画角及び解像度に関する情報も利用される。 According to this, the position of the moving body 1 can be calculated by applying the positions on the target image of the cells at both ends of each of the two target color bit codes 2 described above (four points on the target image) and the positions in real space of the cells at both ends of each of the two target color bit codes 2 (four points in real space) to the perspective projection model. Note that the angle of view of the camera 1a installed on the moving body 1 and the resolution of the image captured by the camera 1a are known, and information relating to the angle of view and resolution is managed within the image processing device. In the process of calculating the position of the moving body 1 described above, information relating to the angle of view and resolution is also used.

すなわち、画像処理装置においては、対象画像に含まれる2つの対象カラービットコード2の各々の両端セル(つまり、2つの対象カラービットコード2に基づいて抽出される4点)によって規定される空間を利用して移動体1の位置を計算する。この場合、カメラ1aによって撮像される2つの対象カラービットコード2の各々の両端セルが同一平面上にないことが移動体1の位置を計算するための条件であり、移動体1が移動する屋内空間には、当該カメラ1aとの位置関係において当該条件を満たす画像が撮像されるように複数のカラービットコード2が配置されているものとする。 That is, in the image processing device, the position of the moving body 1 is calculated using the space defined by the two end cells of each of the two target color bit codes 2 included in the target image (i.e., four points extracted based on the two target color bit codes 2). In this case, the condition for calculating the position of the moving body 1 is that the two end cells of each of the two target color bit codes 2 captured by the camera 1a are not on the same plane, and in the indoor space in which the moving body 1 moves, multiple color bit codes 2 are arranged so that an image that satisfies this condition is captured in relation to the position of the camera 1a.

なお、ここで説明した移動体1の位置の計算手法は一例であり、他の手法によって移動体1の位置が計算されても構わない。 Note that the method for calculating the position of the moving body 1 described here is just one example, and the position of the moving body 1 may be calculated using other methods.

また、移動体1の位置としては当該位置に対応するX座標値、Y座標値及びZ座標値が計算されればよいが、例えばカメラ1a(が設置されている移動体1)の上下方向の傾き角度、左右方向の傾き角度及び回転角度等が更に計算されても構わない。 Furthermore, for the position of the moving body 1, it is sufficient to calculate the X coordinate value, Y coordinate value, and Z coordinate value corresponding to that position, but for example, the vertical tilt angle, horizontal tilt angle, and rotation angle of the camera 1a (the moving body 1 on which it is installed) may also be calculated.

ステップS4の処理が実行されると、当該ステップS4において計算された移動体1の位置を示す情報(以下、移動体位置情報と表記)は、例えば画像処理装置と通信可能に接続されるサーバ装置等に送信され、例えば当該移動体1の追跡(監視)または当該移動体1の位置の補正等に用いられる。 When the processing of step S4 is executed, information indicating the position of the moving body 1 calculated in step S4 (hereinafter referred to as moving body position information) is transmitted to, for example, a server device communicatively connected to the image processing device, and is used, for example, to track (monitor) the moving body 1 or correct the position of the moving body 1.

ここで、上記したようにカラービットコード2(光学式認識コード)を用いて移動体1の位置を計算する場合、当該カラービットコード2(の実空間上)の位置を予め計測して、当該位置を示すコード位置情報を登録しておく必要がある。 When calculating the position of the moving object 1 using the color bit code 2 (optical recognition code) as described above, it is necessary to measure the position of the color bit code 2 (in real space) in advance and register the code position information indicating that position.

なお、複数のカラービットコード2の各々の位置(X座標値、Y座標値及びZ座標値)は、図4に示すように、移動体1が移動する屋内空間3内の基準となる地点(以下、ベース地点と表記)を確定させ、各種測距機(例えば、メジャー等)を用いて当該ベース地点から当該カラービットコード2までのX方向、Y方向及びZ方向の距離を人手により計測することによって把握される。 The position (X coordinate value, Y coordinate value, and Z coordinate value) of each of the multiple color bit codes 2 is determined by determining a reference point (hereinafter referred to as a base point) in the indoor space 3 through which the mobile object 1 moves, as shown in Figure 4, and manually measuring the distance in the X direction, Y direction, and Z direction from the base point to the color bit code 2 using various distance measuring devices (e.g., a tape measure, etc.).

しかしながら、このようなカラービットコード2の位置を人手により計測する作業は非常に煩雑であり、移動体1が移動する屋内空間の広さによっては、当該作業に非常に多くの時間がかかる。 However, the task of manually measuring the position of such a color bit code 2 is extremely cumbersome, and depending on the size of the indoor space in which the mobile object 1 moves, the task can take a very long time.

更に、上記したようにカラービットコード2の位置を人手により計測する場合、当該計測されたカラービットコード2の位置(つまり、カラービットコードと当該カラービットコードの位置との対応関係)の入力(登録)作業も手動で行う必要があるため、誤入力の可能性がある。カラービットコード2の位置の誤入力は、移動体1の位置の計算精度を低下させる要因となる。 Furthermore, when the position of the color bit code 2 is measured manually as described above, the position of the measured color bit code 2 (i.e., the correspondence between the color bit code and the position of the color bit code) must also be input (registered) manually, which may lead to erroneous input. Incorrect input of the position of the color bit code 2 can reduce the accuracy of calculation of the position of the moving body 1.

そこで、本実施形態に係る位置計測装置は、上記したカラービットコード2の位置の計測の容易性を向上させるために用いられる。 The position measurement device according to this embodiment is therefore used to improve the ease of measuring the position of the color bit code 2 described above.

以下、本実施形態に係る位置計測装置について説明する。なお、以下の説明においては単に「カラービットコード2の位置を計測する」として説明するが、移動体1の位置を計算する際にカラービットコード2の両端セルの位置を用いる場合には、以下に説明する「カラービットコード2の位置」は、上記したようにカラービットコード2の両端セルの位置であるものとする。 The position measurement device according to this embodiment will be described below. Note that in the following description, it will simply be described as "measuring the position of the color bit code 2", but if the positions of the cells at both ends of the color bit code 2 are used when calculating the position of the moving body 1, the "position of the color bit code 2" described below will be the positions of the cells at both ends of the color bit code 2 as described above.

図5は、本実施形態に係る位置計測装置のハードウェア構成の一例を示す。図5に示すように、位置計測装置10は、不揮発性メモリ11、CPU12、メインメモリ13、通信デバイス14及びデプスカメラ15等を備える。 Figure 5 shows an example of the hardware configuration of a position measurement device according to this embodiment. As shown in Figure 5, the position measurement device 10 includes a non-volatile memory 11, a CPU 12, a main memory 13, a communication device 14, and a depth camera 15.

不揮発性メモリ11は、各種プログラムを格納する。不揮発性メモリ11に格納されている各種プログラムには、位置計測装置10上で動作するソフトウェアが含まれる。 The non-volatile memory 11 stores various programs. The various programs stored in the non-volatile memory 11 include software that runs on the position measurement device 10.

CPU12は、例えば不揮発性メモリ11に格納されている各種プログラムを実行する。なお、CPU12は、位置計測装置10全体の制御を司るものである。 The CPU 12 executes various programs stored in, for example, the non-volatile memory 11. The CPU 12 is responsible for controlling the entire position measurement device 10.

メインメモリ13は、例えばCPU12が各種プログラムを実行する際に必要とされるワークエリア等として使用される。 The main memory 13 is used, for example, as a work area required when the CPU 12 executes various programs.

通信デバイス14は、例えば位置計測装置10の外部の機器等との通信を実行する機能を有する。 The communication device 14 has the function of communicating with devices external to the position measurement device 10, for example.

デプスカメラ15は、当該デプスカメラ15によって被写体が撮像された際に当該被写体までの奥行きを示す奥行き情報を取得する深度センサーが内蔵されたカメラである。奥行き情報には、デプスカメラ15から被写体までの距離及び当該デプスカメラ15に対して当該被写体が位置する方向等の情報が含まれる。デプスカメラ15は、被写体を撮像することによって、当該被写体の奥行きを示す奥行き情報を含む画像(以下、デプス画像と表記)を出力するように構成されている。デプスカメラ15は、例えば3次元空間震度計測センサー等とも称される。 The depth camera 15 is a camera with a built-in depth sensor that acquires depth information indicating the depth to a subject when the subject is imaged by the depth camera 15. The depth information includes information such as the distance from the depth camera 15 to the subject and the direction in which the subject is located relative to the depth camera 15. The depth camera 15 is configured to output an image including depth information indicating the depth of the subject (hereinafter referred to as a depth image) by imaging the subject. The depth camera 15 is also referred to as, for example, a three-dimensional spatial seismic intensity measurement sensor.

なお、図5においては、位置計測装置10がデプスカメラ15を備えるものとして説明したが、例えばデプスカメラ15は、位置計測装置10の外部に設けられていてもよい。この場合、位置計測装置10は、デプスカメラ15と通信を実行し、当該デプスカメラ15から出力されたデプス画像を取得することができるように構成されていればよい。 In FIG. 5, the position measurement device 10 is described as being equipped with the depth camera 15, but for example, the depth camera 15 may be provided outside the position measurement device 10. In this case, the position measurement device 10 only needs to be configured to communicate with the depth camera 15 and acquire the depth image output from the depth camera 15.

図6は、位置計測装置10の機能構成の一例を示す。図6に示すように、位置計測装置10は、格納部101、画像取得部102、デコード処理部103、コード位置取得部104、コード位置計測部105及び登録処理部106を含む。 Figure 6 shows an example of the functional configuration of the position measurement device 10. As shown in Figure 6, the position measurement device 10 includes a storage unit 101, an image acquisition unit 102, a decode processing unit 103, a code position acquisition unit 104, a code position measurement unit 105, and a registration processing unit 106.

なお、本実施形態において、格納部101は、例えば図5に示す不揮発性メモリ11等によって実現される。 In this embodiment, the storage unit 101 is realized, for example, by the non-volatile memory 11 shown in FIG. 5.

また、本実施形態において、画像取得部102、デコード処理部103、コード位置取得部104、コード位置計測部105及び登録処理部106は、例えば図5に示すCPU12(つまり、位置計測装置10のコンピュータ)が不揮発性メモリ11に格納されている所定のプログラムを実行すること、つまり、ソフトウェアによって実現されるものとする。なお、このCPU12によって実行されるプログラムは、コンピュータ読み取り可能な記憶媒体に予め格納して頒布されてもよいし、ネットワークを介して位置計測装置10にダウンロードされてもよい。 In addition, in this embodiment, the image acquisition unit 102, the decode processing unit 103, the code position acquisition unit 104, the code position measurement unit 105, and the registration processing unit 106 are realized by, for example, the CPU 12 (i.e., the computer of the position measurement device 10) shown in FIG. 5 executing a predetermined program stored in the non-volatile memory 11, that is, by software. Note that the program executed by this CPU 12 may be distributed by being stored in advance in a computer-readable storage medium, or may be downloaded to the position measurement device 10 via a network.

格納部101には、移動体1が移動する屋内空間に配置されている複数のカラービットコード2のうちの少なくとも2つのカラービットコード2の位置を示すコード位置情報が格納されている。なお、この2つのカラービットコード2の各々の位置を示すコード位置情報は、ベース地点から当該カラービットコード2までのX方向、Y方向及びZ方向の距離を人手により計測しておくことによって予め格納部101に登録されているものとする。コード位置情報は、当該コード位置情報によって位置が示されるカラービットコード2によって表されるコードIDに対応づけて格納部101に格納されている。 The storage unit 101 stores code position information indicating the positions of at least two color bit codes 2 out of a plurality of color bit codes 2 arranged in an indoor space in which the mobile object 1 moves. The code position information indicating the position of each of the two color bit codes 2 is registered in advance in the storage unit 101 by manually measuring the distances from a base point to the color bit code 2 in the X-direction, Y-direction, and Z-direction. The code position information is stored in the storage unit 101 in association with the code ID represented by the color bit code 2 whose position is indicated by the code position information.

画像取得部102は、上記したデプスカメラ15から出力されたデプス画像を取得する。なお、画像取得部102によって取得されるデプス画像は、少なくとも上記した2つのカラービットコード(コード位置情報が既に登録されているカラービットコード)2と、当該2つのカラービットコード2とは異なるカラービットコード(コード位置情報が未だ登録されていないカラービットコード)2とがデプスカメラ15によって撮像されることによって当該デプスカメラ15から出力されたデプス画像である。また、デプスカメラ15には上記した深度センサーが内蔵されているため、画像取得部102によって取得されたデプス画像には、デプスカメラ15によって撮像された3つのカラービットコード2の奥行き(デプスカメラ15からの距離及び方向)を示す奥行き情報が含まれる。 The image acquisition unit 102 acquires a depth image output from the depth camera 15 described above. The depth image acquired by the image acquisition unit 102 is a depth image output from the depth camera 15 by capturing images of at least the two color bit codes 2 described above (color bit codes for which code position information has already been registered) and a color bit code 2 different from the two color bit codes 2 (color bit code for which code position information has not yet been registered). Since the depth camera 15 has the depth sensor described above built in, the depth image acquired by the image acquisition unit 102 includes depth information indicating the depths (distances and directions from the depth camera 15) of the three color bit codes 2 captured by the depth camera 15.

デコード処理部103は、画像取得部102によって取得されたデプス画像に基づいて、デプスカメラ15によって撮像された3つのカラービットコード2を読み取る(デコードする)処理を実行する。なお、デコード処理部103によるデコードは、カラービットコード3における色彩の遷移(つまり、当該カラービットコード2を構成する複数のセル2aの各々に付されている色彩の遷移)に基づいて行われる。これにより、デコード処理部103は、デプスカメラ15によって撮像されたカラービットコード2の各々によって表されるコードIDを取得する。 The decode processing unit 103 executes a process of reading (decoding) the three color bit codes 2 captured by the depth camera 15 based on the depth image acquired by the image acquisition unit 102. The decoding by the decode processing unit 103 is performed based on the color transitions in the color bit codes 3 (i.e., the color transitions applied to each of the multiple cells 2a that make up the color bit code 2). In this way, the decode processing unit 103 acquires the code ID represented by each of the color bit codes 2 captured by the depth camera 15.

コード位置取得部104は、デコード処理部103によって取得されたコードIDに対応づけられているコード位置情報を格納部101から取得する。 The code position acquisition unit 104 acquires code position information associated with the code ID acquired by the decoding processing unit 103 from the storage unit 101.

コード位置計測部105は、格納部101から取得されたコード位置情報と、画像取得部102によって取得されたデプス画像に含まれている奥行き情報とに基づいて、コード位置情報が登録されていないカラービットコードの位置を計測する。 The code position measurement unit 105 measures the position of a color bit code for which code position information is not registered, based on the code position information acquired from the storage unit 101 and the depth information contained in the depth image acquired by the image acquisition unit 102.

登録処理部106は、コード位置計測部105によって計測されたカラービットコード2の位置を示すコード位置情報を格納部101に登録(追加)する。 The registration processing unit 106 registers (adds) the code position information indicating the position of the color bit code 2 measured by the code position measurement unit 105 in the storage unit 101.

以下、図7のフローチャートを参照して、本実施形態に係る位置計測装置10の処理手順の一例について説明する。 Below, an example of the processing procedure of the position measurement device 10 according to this embodiment will be described with reference to the flowchart in Figure 7.

まず、図7の処理が実行される前に、移動体1が移動する屋内空間に、複数のカラービットコード2が配置される。なお、複数のカラービットコード2は、例えば移動体1に設置されているカメラ1aの画角内に少なくとも2つのカラービットコード2が包含される程度の間隔で配置されるものとする。 First, before the process of FIG. 7 is executed, multiple color bit codes 2 are placed in the indoor space in which the mobile object 1 moves. Note that the multiple color bit codes 2 are placed at intervals such that at least two color bit codes 2 are included within the angle of view of the camera 1a installed on the mobile object 1, for example.

上記したように屋内空間に複数のカラービットコード2が配置されると、当該屋内空間においてベース地点を設定(確定)し、当該ベース地点に基づく複数のカラービットコード2のうちの例えば2つのカラービットコード(以下、第1及び第2カラービットコードと表記)2の位置が人手(位置計測装置10を使用する使用者等)により計測される。 When multiple color bit codes 2 are placed in an indoor space as described above, a base point is set (confirmed) in the indoor space, and the positions of, for example, two color bit codes 2 (hereinafter referred to as the first and second color bit codes) 2 among the multiple color bit codes 2 based on the base point are measured manually (such as a user using the position measurement device 10).

上記したように人手により計測された第1カラービットコード2の位置を示すコード位置情報は、初期値として、当該第1カラービットコード2によって表されるコードID(当該カラービットコード2に割り当てられているコードID)に対応づけて格納部101に登録される(ステップS11)。第2カラービットコード2の位置を示すコード位置情報についても同様である。 The code position information indicating the position of the first color bit code 2 measured manually as described above is registered as an initial value in the storage unit 101 in association with the code ID represented by the first color bit code 2 (the code ID assigned to the color bit code 2) (step S11). The same applies to the code position information indicating the position of the second color bit code 2.

ステップS11の処理が実行されると、上記した第1及び第2カラービットコード2以外のカラービットコード2の位置の計測が開始される。ここで第1及び第2カラービットコード2の近傍に第3カラービットコード2が配置されている場合、例えばデプスカメラ15は、上記した使用者の操作に応じて、例えばベース地点から当該第1~第3カラービットコード2(を包含する領域)を撮像する。このようにデプスカメラ15によって第1~第3カラービットコードが撮像されると、画像取得部102は、当該デプスカメラ15から出力されたデプス画像を取得する(ステップS12)。 When the process of step S11 is executed, measurement of the positions of color bit codes 2 other than the first and second color bit codes 2 described above is started. Here, if a third color bit code 2 is placed near the first and second color bit codes 2, for example, the depth camera 15 captures the first to third color bit codes 2 (or the area including them) from, for example, a base point in response to the user's operation described above. When the first to third color bit codes are captured by the depth camera 15 in this manner, the image acquisition unit 102 acquires the depth image output from the depth camera 15 (step S12).

次に、デコード処理部103は、ステップS12において取得されたデプス画像に対する画像解析処理を実行することによって、上記したデプスカメラ15によって撮像されたカラービットコード2によって表されるコードIDを取得する(ステップS13)。なお、ステップS13の処理は、上記した図3に示すステップS2と同様の処理であるため、ここではその詳しい説明を省略する。上記したようにデプスカメラ15が第1~第3カラービットコード2を撮像している場合、デコード処理部103は、当該第1~第3カラービットコード2の各々によって表されるコードIDを取得する。 Next, the decode processing unit 103 executes an image analysis process on the depth image acquired in step S12 to acquire the code ID represented by the color bit code 2 captured by the depth camera 15 (step S13). Note that the process of step S13 is the same as step S2 shown in FIG. 3, and therefore a detailed description thereof will be omitted here. When the depth camera 15 captures the first to third color bit codes 2 as described above, the decode processing unit 103 acquires the code ID represented by each of the first to third color bit codes 2.

ステップS13の処理が実行されると、コード位置取得部104は、ステップS13において取得されたコードIDに対応づけて格納部101に格納されているコード位置情報を取得する(ステップS14)。 When the process of step S13 is executed, the code position acquisition unit 104 acquires the code position information stored in the storage unit 101 in association with the code ID acquired in step S13 (step S14).

ここで、上記したステップS11においては、第1及び第2カラービットコードの位置を示すコード位置情報(以下、第1及び第2カラービットコードのコード位置情報と表記)が格納部101に登録され、第3カラービットコードの位置を示すコード位置情報(以下、第3カラービットコードのコード位置情報と表記)は格納部101に登録されていない。このため、ステップS14においては、第1及び第2カラービットコードのコード位置情報が取得される。 Here, in step S11 described above, code position information indicating the positions of the first and second color bit codes (hereinafter referred to as code position information of the first and second color bit codes) is registered in the storage unit 101, but code position information indicating the position of the third color bit code (hereinafter referred to as code position information of the third color bit code) is not registered in the storage unit 101. Therefore, in step S14, the code position information of the first and second color bit codes is acquired.

次に、コード位置計測部105は、ステップS14において取得されたコード位置情報と、ステップS12において取得されたデプス画像に含まれる第1~第3カラービットコード2の奥行きを示す奥行き情報(以下、第1~第3カラービットコード2の奥行き情報と表記)とに基づいて、第3カラービットコード2の位置を計測(計算)する(ステップS15)。なお、ステップS15においては、例えば第1及び第2カラービットコード2のコード位置情報と第1及び第2カラービットコード2の奥行き情報との対応関係に基づいて、第3カラービットコード2の奥行き情報を、当該第3カラービットコード2のコード位置情報(X座標値、Y座標値及びZ座標値)に変換するような処理が実行される。 Next, the code position measurement unit 105 measures (calculates) the position of the third color bit code 2 based on the code position information acquired in step S14 and the depth information indicating the depth of the first to third color bit codes 2 included in the depth image acquired in step S12 (hereinafter referred to as the depth information of the first to third color bit codes 2) (step S15). Note that in step S15, for example, a process is performed to convert the depth information of the third color bit code 2 into code position information (X coordinate value, Y coordinate value, and Z coordinate value) of the third color bit code 2 based on the correspondence between the code position information of the first and second color bit codes 2 and the depth information of the first and second color bit codes 2.

ステップS15の処理が実行されると、当該ステップS15において計測された第3カラービットコード2の位置を示すコード位置情報(第3カラービットコードのコード位置情報)が、当該第3カラービットコード2によって表されるコードIDに対応づけて格納部101に登録される(ステップS16)。 When the process of step S15 is executed, the code position information (code position information of the third color bit code) indicating the position of the third color bit code 2 measured in step S15 is registered in the storage unit 101 in correspondence with the code ID represented by the third color bit code 2 (step S16).

ステップS16の処理が実行されると、例えばカラービットコード2の位置の計測を終了するか否かが判定される(ステップS17)。 When the process of step S16 is executed, for example, it is determined whether or not to end the measurement of the position of the color bit code 2 (step S17).

ステップS17においては、例えば位置計測装置10を使用する使用者によりカラービットコード2の位置の計測に対する終了が指示された場合には、当該計測を終了すると判定され(ステップS17のYES)、図7に示す処理は終了される。 In step S17, for example, if a user of the position measurement device 10 issues an instruction to end the measurement of the position of the color bit code 2, it is determined that the measurement is to be ended (YES in step S17), and the process shown in FIG. 7 is ended.

一方、カラービットコードの位置の計測を終了しないと判定された場合(ステップS17のNO)、ステップS12に戻って処理が繰り返される。この場合、格納部101には第1~第3カラービットコード2のコード位置情報が登録(格納)されているが、ステップS12においては、第1~第3カラービットコード2のうちの少なくとも2つカラービットコード2と、当該第1~第3カラービットコード2とは異なるカラービットコード(つまり、コード位置情報が登録されていないカラービットコード)をデプスカメラ15が撮像することによって当該デプスカメラ15から出力されたデプス画像が取得される。以下、ステップS13以降の処理が実行されることにより、当該第1~第3カラービットコード2とは異なるカラービットコード2の位置を計測することができる。 On the other hand, if it is determined that the measurement of the positions of the color bit codes is not to be ended (NO in step S17), the process returns to step S12 and is repeated. In this case, the code position information of the first to third color bit codes 2 is registered (stored) in the storage unit 101, but in step S12, the depth camera 15 captures at least two of the first to third color bit codes 2 and a color bit code different from the first to third color bit codes 2 (i.e., a color bit code whose code position information is not registered), thereby acquiring a depth image output from the depth camera 15. Thereafter, the process from step S13 onwards is executed, thereby making it possible to measure the position of the color bit code 2 different from the first to third color bit codes 2.

以下、図8~図10を参照して、本実施形態に係る位置計測装置10の動作の概要について説明する。ここでは、屋内空間3内に配置される複数のカラービットコード2がカラービットコード21~26であるものとする。また、位置計測装置10の初期値として、カラービットコード21及び22のコード位置情報が格納部101に格納(登録)されているものとする。 The operation of the position measurement device 10 according to this embodiment will be outlined below with reference to Figs. 8 to 10. Here, it is assumed that the multiple color bit codes 2 placed in the indoor space 3 are color bit codes 21 to 26. It is also assumed that the code position information of color bit codes 21 and 22 is stored (registered) in the storage unit 101 as the initial value of the position measurement device 10.

なお、図8~図10においては、コード位置情報が既に登録されたカラービットコード2をハッチングにより表現している。 In addition, in Figures 8 to 10, color bit codes 2 for which code position information has already been registered are represented by hatching.

上記した図7において説明したため、詳しい説明を省略するが、カラービットコード21及び22のコード位置情報が格納部101に登録されている場合、図8に示すようにカラービットコード21~23を包含する領域をデプスカメラ15で撮影することによって、カラービットコード23の位置を計測し、当該カラービットコード23のコード位置情報が格納部101に登録される。 As this has been explained above in FIG. 7, a detailed explanation will be omitted, but when the code position information of color bit codes 21 and 22 is registered in storage unit 101, the position of color bit code 23 is measured by photographing the area including color bit codes 21 to 23 with depth camera 15 as shown in FIG. 8, and the code position information of color bit code 23 is registered in storage unit 101.

上記したようにカラービットコード23のコード位置情報が格納部101に登録された場合、図9に示すように例えばカラービットコード22~24を包含する領域をデプスカメラ15で撮影することによって、カラービットコード24の位置を計測し、当該カラービットコード24のコード位置情報が格納部101に登録される。 When the code position information of the color bit code 23 is registered in the storage unit 101 as described above, the position of the color bit code 24 is measured by, for example, photographing an area including the color bit codes 22 to 24 with the depth camera 15 as shown in FIG. 9, and the code position information of the color bit code 24 is registered in the storage unit 101.

上記したようにカラービットコード24のコード位置情報が格納部101に登録された場合、図10に示すように例えばカラービットコード23~26を包含する領域をデプスカメラ15で撮影することによって、カラービットコード25及び26の位置を計測し、当該カラービットコード25及び26のコード位置情報が格納部101に登録される。なお、図10に示す例において、カラービットコード25の位置は、カラービットコード23及び24のコード位置情報とカラービットコード23~25の奥行き情報とを用いて計測される。一方、カラービットコード26の位置は、カラービットコード23及び24のコード位置情報とカラービットコード23、24及び26の奥行き情報とを用いて計測される。 When the code position information of color bit code 24 is registered in storage unit 101 as described above, the positions of color bit codes 25 and 26 are measured by, for example, photographing an area including color bit codes 23 to 26 with depth camera 15 as shown in FIG. 10, and the code position information of color bit codes 25 and 26 is registered in storage unit 101. In the example shown in FIG. 10, the position of color bit code 25 is measured using the code position information of color bit codes 23 and 24 and the depth information of color bit codes 23 to 25. On the other hand, the position of color bit code 26 is measured using the code position information of color bit codes 23 and 24 and the depth information of color bit codes 23, 24, and 26.

すなわち、本実施形態においては、カラービットコード2の位置を計測するために、コード位置情報が登録されている少なくとも2つのカラービットコード2とコード位置情報が登録されていない少なくとも1つのカラービットコード2とがデプスカメラ15によって撮像されればよい。 In other words, in this embodiment, in order to measure the position of the color bit code 2, it is sufficient that at least two color bit codes 2 for which code position information is registered and at least one color bit code 2 for which code position information is not registered are imaged by the depth camera 15.

上記したように本実施形態においては、移動体1が移動する屋内空間に配置された複数のカラービットコード2(光学式認識コード)のうちの第1カラービットコード2のコード位置情報(第1カラービットコード2の位置を示す第1位置情報)及び第2カラービットコード2のコード位置情報(第2カラービットコード2の位置を示す第2位置情報)を格納部101に格納し、デプスカメラ15によって第1~第3カラービットコード2が撮像されることによって、第1~第3カラービットコード2の奥行き情報(第1~第3奥行き情報)を含むデプス画像を取得し、第1及び第2カラービットコード2のコード位置情報と、第1~第3カラービットコード2の奥行き情報とに基づいて、第3カラービットコードの位置を計測する。 As described above, in this embodiment, among the multiple color bit codes 2 (optical recognition codes) arranged in the indoor space in which the mobile object 1 moves, the code position information (first position information indicating the position of the first color bit code 2) of the first color bit code 2 and the code position information (second position information indicating the position of the second color bit code 2) of the second color bit code 2 are stored in the storage unit 101, and the first to third color bit codes 2 are imaged by the depth camera 15 to obtain a depth image including the depth information (first to third depth information) of the first to third color bit codes 2, and the position of the third color bit code is measured based on the code position information of the first and second color bit codes 2 and the depth information of the first to third color bit codes 2.

本実施形態においては、このような構成により、移動体1の位置を計算するために用いられるカラービットコード2(光学式認識コード)の位置を容易に計測することが可能となる。 In this embodiment, this configuration makes it possible to easily measure the position of the color bit code 2 (optical recognition code) used to calculate the position of the moving object 1.

なお、本実施形態においては、上記したようにコード位置情報が登録されている少なくとも2つのカラービットコード2とコード位置情報が登録されていない少なくとも1つのカラービットコード2とをデプスカメラ15で撮影して当該コード位置情報が登録されていないカラービットコード2の位置を計測する動作(処理)を繰り返すことによって、多数のカラービットコード2が広い屋内空間に配置されていたとしても、当該カラービットコード2の各々の位置を容易に計測することができる。 In this embodiment, as described above, by repeating the operation (processing) of photographing at least two color bit codes 2 for which code position information is registered and at least one color bit code 2 for which code position information is not registered with the depth camera 15 and measuring the position of the color bit code 2 for which code position information is not registered, the position of each of the color bit codes 2 can be easily measured even if a large number of color bit codes 2 are placed in a large indoor space.

すなわち、本実施形態においては、複数のカラービットコード2のうちの2つのカラービットコードのみを人手により計測する以外は、デプスカメラ15を用いてカラービットコード2を撮影するのみでよいため、図4において説明したように複数のカラービットコード2の全ての位置を人手により計測する場合と比較して、当該位置計測の容易性を飛躍的に向上させることができる。 In other words, in this embodiment, only two of the multiple color bit codes 2 are manually measured, and the color bit codes 2 only need to be photographed using the depth camera 15, so the ease of position measurement can be dramatically improved compared to the case where all of the positions of the multiple color bit codes 2 are manually measured as described in Figure 4.

また、本実施形態においては、位置計測装置10によって計測されたカラービットコード2の位置を示すコード位置情報が自動で登録されるため、当該位置(コード位置情報)が人手により誤って登録されることを防止することができる。すなわち、本実施形態によれば、人的な作業による誤登録(ミス)を削減することができる。 In addition, in this embodiment, the code position information indicating the position of the color bit code 2 measured by the position measurement device 10 is automatically registered, so that it is possible to prevent the position (code position information) from being erroneously registered manually. In other words, according to this embodiment, it is possible to reduce erroneous registrations (mistakes) caused by human work.

更に、本実施形態においては、位置計測装置10を用いて複数のカラービットコード2の位置が計測され、当該複数のカラービットコード2のコード位置情報が登録された(つまり、移動体1の位置を計算するために画像処理装置を運用した)後に、当該各位置にずれが生じていないか否かを確認する際にも、デプスカメラ15でデプス画像を撮影するのみで良いため、当該位置ずれの確認も容易に行うことができる。 Furthermore, in this embodiment, after the positions of the multiple color bit codes 2 are measured using the position measurement device 10 and the code position information of the multiple color bit codes 2 is registered (i.e., the image processing device is operated to calculate the position of the moving body 1), when checking whether or not there is any deviation in each position, it is only necessary to take a depth image with the depth camera 15, so that the position deviation can be easily checked.

なお、本実施形態においては、少なくとも3つのカラービットコード2(コード位置情報が登録されている2つのカラービットコード2とコード位置情報が登録されていない1つのカラービットコード2)とがデプスカメラ15の画角に包含された状態で撮像されるが、当該3つのカラービットコード2が当該画角に包含されない場合には、例えば当該デプスカメラ15を回転させながら当該3つのカラービットコード2を撮影する(つまり、パノラマ撮影する)ようにしてもよい。 In this embodiment, at least three color bit codes 2 (two color bit codes 2 for which code position information is registered and one color bit code 2 for which code position information is not registered) are captured within the field of view of the depth camera 15. If the three color bit codes 2 are not within the field of view, the three color bit codes 2 may be captured while rotating the depth camera 15 (i.e., panoramic capture).

また、本実施形態においては、ベース地点から遠ざかる(つまり、ベース地点から遠いカラービットコード2の位置を計測する)に従って誤差が大きくなるが、例えばベース地点から遠いカラービットコード2の位置を計測する場合には、当該誤差を極小化させるような所定のアルゴリズムを適用することにより、当該位置の計測精度を向上させるようにしてもよい。 In addition, in this embodiment, the error increases as one moves away from the base point (i.e., measuring the position of the color bit code 2 farther from the base point), but when measuring the position of the color bit code 2 farther from the base point, for example, a predetermined algorithm that minimizes the error may be applied to improve the measurement accuracy of the position.

ところで、本実施形態においては、最初にベース地点を確定させた上で、当該ベース地点に基づく2つのカラービットコードの実空間上の位置を人手により計測する作業(以下、計測作業と表記)を行い、当該2つのカラービットコードの実空間上の位置を示すコード位置情報を初期値として格納部101に登録した後に、デプスカメラ15でカラービットコード2を撮影するものとして説明したが、本実施形態に係る位置計測装置10は、デプスカメラ15でカラービットコード2を撮影した後に上記した計測作業を行うことができるような処理を実行することも可能である。 In the present embodiment, a base point is first determined, and then the positions of the two color bit codes in real space based on the base point are manually measured (hereinafter referred to as measurement work), and the code position information indicating the positions of the two color bit codes in real space is registered as an initial value in the storage unit 101, after which the color bit code 2 is photographed by the depth camera 15. However, the position measurement device 10 according to the present embodiment is also capable of executing a process that enables the above-mentioned measurement work to be performed after photographing the color bit code 2 by the depth camera 15.

以下、デプスカメラ15でカラービットコード2を撮影した後に計測作業を行う場合の位置計測装置10(以下、本実施形態の変形例に係る位置計測装置10と表記)の処理手順について説明する。なお、以下の説明においては、上記した本実施形態に係る位置計測装置10の処理と同様の部分についての詳しい説明を省略する。 The following describes the processing procedure of the position measurement device 10 (hereinafter, referred to as the position measurement device 10 according to the modified example of this embodiment) when performing measurement work after photographing the color bit code 2 with the depth camera 15. Note that in the following description, detailed explanations of parts similar to the processing of the position measurement device 10 according to the present embodiment described above will be omitted.

本実施形態の変形例においては、まず、例えば移動体1が移動する屋内空間内の所定の位置から、当該屋内空間に配置されている複数のカラービットコード2のうちの2つのカラービットコード(第1及び第2カラービットコード2)がデプスカメラ2によって撮像される。このようにデプスカメラ15によって第1及び第2カラービットコード2が撮像されると、画像取得部102は、当該デプスカメラ15から出力されたデプス画像を取得する。 In a modified example of this embodiment, first, from a predetermined position in an indoor space in which a moving object 1 is moving, the depth camera 2 captures an image of two color bit codes (first and second color bit codes 2) out of a plurality of color bit codes 2 arranged in the indoor space. When the first and second color bit codes 2 are captured by the depth camera 15 in this manner, the image acquisition unit 102 acquires the depth image output from the depth camera 15.

次に、デコード処理部103は、画像取得部102によって取得されたデプス画像に対する画像解析処理を実行することによって、上記したデプスカメラ15によって撮像された第1及び第2カラービットコード2の各々によって表されるコードIDを取得する。 Next, the decoding processing unit 103 performs image analysis processing on the depth image acquired by the image acquisition unit 102 to acquire the code ID represented by each of the first and second color bit codes 2 captured by the depth camera 15 described above.

ここで、画像取得部102によって取得されたデプス画像には、第1カラービットコード2の奥行きを示す奥行き情報(第1奥行き情報)及び第2カラービットコードの奥行きを示す奥行き情報(第2奥行き情報)が含まれている。このため、コード位置取得部104は、デプス画像に含まれる第1及び第2奥行き情報に基づいて、例えばデプスカメラ15の位置を基準とした第1及び第2カラービットコード2の仮想空間上の位置を取得する。このようにコード位置取得部104によって取得された第1及び第2カラービットコード2の仮想空間上の位置を示すコード位置情報は、デコード処理部103によって取得された当該第1及び第2カラービットコード2の各々によって表されるコードIDに対応づけて格納部101に格納される。 Here, the depth image acquired by the image acquisition unit 102 includes depth information (first depth information) indicating the depth of the first color bit code 2 and depth information (second depth information) indicating the depth of the second color bit code. Therefore, the code position acquisition unit 104 acquires the positions of the first and second color bit codes 2 in virtual space, for example, based on the position of the depth camera 15, based on the first and second depth information included in the depth image. The code position information indicating the positions of the first and second color bit codes 2 in virtual space acquired by the code position acquisition unit 104 in this manner is stored in the storage unit 101 in association with the code ID represented by each of the first and second color bit codes 2 acquired by the decoding processing unit 103.

次に、第1及び第2カラービットコード2の近傍に第3カラービットコード2が配置されている場合、デプスカメラ15は、当該第1~第3カラービットコード2(を包含する領域)を撮像する。このようにデプスカメラ15によって第1~第3カラービットコードが撮像されると、画像取得部102は、当該デプスカメラ15から出力されたデプス画像を取得する。 Next, when a third color bit code 2 is arranged near the first and second color bit codes 2, the depth camera 15 captures the first to third color bit codes 2 (the area including them). When the first to third color bit codes are captured by the depth camera 15 in this manner, the image acquisition unit 102 acquires the depth image output from the depth camera 15.

次に、デコード処理部103は、画像取得部102によって取得されたデプス画像に対する画像解析処理を実行することによって、デプスカメラ15によって撮像された第1~第3カラービットコードの各々によって表されるコードIDを取得する。 Next, the decode processing unit 103 performs image analysis processing on the depth image acquired by the image acquisition unit 102 to acquire the code ID represented by each of the first to third color bit codes captured by the depth camera 15.

この場合、コード位置取得部104は、上記したデコード処理部103によって取得されたコードIDに基づいて格納部101に登録されたコード位置情報を取得し、当該コード位置情報によって示される第1及び第2カラービットコード2の仮想空間上の位置と、画像取得部102によって取得されたデプス画像に含まれる第1~第3カラービットコード2の各々の奥行きを示す奥行き情報(第1~第3奥行き情報)とに基づいて、第3カラービットコード2の仮想空間上の位置を取得する。なお、この第3カラービットコード2の仮想空間上の位置は、上記した図7に示すステップS15の処理に相当する処理が実行されることによって取得(計算)される。コード位置取得部104によって取得された第3カラービットコード2の仮想空間上の位置を示すコード位置情報は、デコード処理部103によって取得された当該第3カラービットコード2によって表されるコードIDに対応づけて格納部101に格納される。 In this case, the code position acquisition unit 104 acquires the code position information registered in the storage unit 101 based on the code ID acquired by the decoding processing unit 103 described above, and acquires the position of the third color bit code 2 in the virtual space based on the positions of the first and second color bit codes 2 in the virtual space indicated by the code position information and the depth information (first to third depth information) indicating the depths of the first to third color bit codes 2 included in the depth image acquired by the image acquisition unit 102. The position of the third color bit code 2 in the virtual space is acquired (calculated) by executing a process equivalent to the process of step S15 shown in FIG. 7 described above. The code position information indicating the position of the third color bit code 2 in the virtual space acquired by the code position acquisition unit 104 is stored in the storage unit 101 in association with the code ID represented by the third color bit code 2 acquired by the decoding processing unit 103.

以下、コード位置情報(仮想空間上の位置)が登録されている少なくとも2つのカラービットコード2と、コード位置情報(仮想空間上の位置)が登録されていない少なくとも1つのカラービットコード2とをデプスカメラ15で順次撮影することによって、屋内空間に配置されている全てのカラービットコード2の各々の仮想空間上の位置を示すコード位置情報が格納部101に格納される。 Then, by sequentially photographing at least two color bit codes 2 for which code position information (position in virtual space) is registered and at least one color bit code 2 for which code position information (position in virtual space) is not registered using the depth camera 15, code position information indicating the positions in virtual space of each of all color bit codes 2 placed in the indoor space is stored in the storage unit 101.

本実施形態の変形例においては、上記したように格納部101に複数のカラービットコード2の各々の仮想空間上の位置を示すコード位置情報が格納(登録)された後に、当該複数のカラービットコードのうちの2つのカラービットコード(例えば、第1及び第2カラービットコード)の実空間上の位置(ベース地点に基づく位置)が人手により計測される。このように人手により計測された2つのカラービットコードの実空間上の位置を示すコード位置情報は、格納部101に登録(格納)される。なお、ベース地点については、上記した複数のカラービットコード2の各々の仮想空間上の位置を示すコード位置情報が格納部101に格納される前に設定(確定)されていてもよいし、当該コード位置情報が格納部101に格納された後に設定されてもよい。 In a modified example of this embodiment, after the code position information indicating the position in virtual space of each of the multiple color bit codes 2 is stored (registered) in the storage unit 101 as described above, the positions in real space (positions based on the base point) of two color bit codes (e.g., the first and second color bit codes) among the multiple color bit codes are manually measured. The code position information indicating the positions in real space of the two color bit codes thus manually measured is registered (stored) in the storage unit 101. Note that the base point may be set (confirmed) before the code position information indicating the position in virtual space of each of the multiple color bit codes 2 described above is stored in the storage unit 101, or may be set after the code position information is stored in the storage unit 101.

この場合、コード位置計測部105は、上記した第1及び第2カラービットコード2の実空間上の位置に基づいて、格納部101に格納されているコード位置情報によって示される複数のカラービットコード2(第1及び第2カラービットコード2以外のカラービットコード2)の各々仮想空間上の位置を、実空間上の位置に補正する。なお、コード位置計測部105は、例えば第1及び第2カラービットコード2の実空間上の位置と仮想空間上の位置との対応関係に基づいて、他のカラービットコード2の仮想空間上の位置を実空間上の位置に変換するような処理を実行する。 In this case, the code position measurement unit 105 corrects the virtual space positions of each of the multiple color bit codes 2 (color bit codes 2 other than the first and second color bit codes 2) indicated by the code position information stored in the storage unit 101 to positions in real space based on the real space positions of the first and second color bit codes 2 described above. Note that the code position measurement unit 105 executes a process of converting the virtual space positions of the other color bit codes 2 to real space positions, for example, based on the correspondence between the real space positions of the first and second color bit codes 2 and the virtual space positions.

登録処理部106は、コード位置計測部105によって仮想空間上の位置が補正されることによって得られる(つまり、計測される)各カラービットコード2の実空間上の位置を示すコード位置情報を格納部101に登録する。 The registration processing unit 106 registers in the storage unit 101 code position information indicating the position in real space of each color bit code 2 obtained (i.e., measured) by correcting the position in virtual space by the code position measurement unit 105.

上記したように本実施形態の変形例においては、デプスカメラ15によって第1及び第2カラービットコード2が撮像されることによって第1デプス画像が取得され、当該取得された第1デプス画像に含まれる第1及び第2奥行き情報に基づいて第1及び第2カラービットコード2の仮想空間上の位置が取得され、デプスカメラ15によって第1~第3カラービットコード2が撮像されることによって第2デプス画像が取得され、第1及び第2カラービットコード2の仮想空間情報の位置と、当該取得された第2デプス画像に含まれる第1~第3奥行き情報とに基づいて、第3カラービットコードの仮想空間上の位置が取得される。本実施形態の変形例において、第3カラービットコードの実空間上の位置は、人手により計測された第1及び第2カラービットコード2の実空間上の位置と、上記した第1~第3カラービットコード2の仮想空間上の位置とに基づいて当該第3カラービットコード2の仮想空間上の位置を補正することによって計測される。 As described above, in the modified embodiment, the first depth image is acquired by capturing images of the first and second color bit codes 2 by the depth camera 15, and the positions of the first and second color bit codes 2 in the virtual space are acquired based on the first and second depth information included in the acquired first depth image, and the second depth image is acquired by capturing images of the first to third color bit codes 2 by the depth camera 15, and the position of the third color bit code in the virtual space is acquired based on the positions of the virtual space information of the first and second color bit codes 2 and the first to third depth information included in the acquired second depth image. In the modified embodiment, the position of the third color bit code in the real space is measured by correcting the position of the third color bit code 2 in the virtual space based on the positions of the first and second color bit codes 2 in the real space measured manually and the positions of the first to third color bit codes 2 in the virtual space described above.

すなわち、上記した本実施形態に係る位置計測装置10は第1及び第2カラービットコード2の実空間上の位置に対する第3カラービットコード2の奥行き(情報)に基づいて第3カラービットコード2の実空間上の位置を計測するのに対して、本実施形態の変形例に係る位置計測装置10は、第3カラービットコード2の仮想空間上の位置を第1及び第2カラービットコード2の実空間上の位置に基づいて補正することによって第3カラービットコード2の実空間上の位置を計測する点で異なる。 That is, the position measurement device 10 according to the above-described embodiment measures the position of the third color bit code 2 in real space based on the depth (information) of the third color bit code 2 relative to the positions of the first and second color bit codes 2 in real space, whereas the position measurement device 10 according to the modified embodiment of the present invention measures the position of the third color bit code 2 in real space by correcting the position of the third color bit code 2 in virtual space based on the positions of the first and second color bit codes 2 in real space.

上記した本実施形態の変形例に係る位置計測装置10の構成であっても、本実施形態と同様に、移動体1の位置を計算するために用いられるカラービットコード2の位置を容易に計測することが可能である。 Even with the configuration of the position measurement device 10 according to the modified example of this embodiment described above, it is possible to easily measure the position of the color bit code 2 used to calculate the position of the moving body 1, just like in this embodiment.

なお、本実施形態の変形例においては、上記した本実施形態とは異なり、デプスカメラ15でカラービットコード2を撮影する前に2つのカラービットコード2(第1及び第2カラービットコード)の実空間上の位置(を示すコード位置情報)を格納部101に登録しておく必要はない。しかしながら、本実施形態の変形例に係る位置計測装置10は、少なくとも2つのカラービットコード2の実空間上の位置を用いて他のカラービットコード2の仮想空間上の位置を補正する構成であればよく、当該カラービットコード2の実空間上の位置を事前に計測しておくことを妨げるものではない。 Note that in this modified embodiment, unlike the present embodiment described above, it is not necessary to register the real space positions (or the code position information indicating) of the two color bit codes 2 (first and second color bit codes) in the storage unit 101 before photographing the color bit codes 2 with the depth camera 15. However, the position measurement device 10 according to the modified embodiment of the present embodiment only needs to be configured to use the real space positions of at least two color bit codes 2 to correct the virtual space position of other color bit codes 2, and does not prevent the real space position of the color bit code 2 from being measured in advance.

なお、上記した本実施形態においては、位置計測装置10に含まれる格納部101にコード位置情報が登録されるものとして説明したが、当該コード位置情報は、画像処理装置による移動体1の位置の計算に用いられるのであれば、例えば位置計測装置10から外部のサーバ装置(例えば、クラウドコンピューティングサービスを提供するクラウドサーバ)等に送信され、当該サーバ装置で管理されても構わない。 In the above embodiment, the code position information is registered in the storage unit 101 included in the position measurement device 10. However, if the code position information is used by the image processing device to calculate the position of the moving body 1, it may be transmitted from the position measurement device 10 to an external server device (e.g., a cloud server that provides a cloud computing service) and managed by the server device.

また、本実施形態においては移動体1の位置を計算するために屋内空間に配置されたカラービットコード2(光学式認識コード)の位置を計測するものとして説明したが、本実施形態は、電波系の位置測位における各種基準点(に付されたカラービットコード2)の位置を計測するような場合にも利用可能である。具体的には、本実施形態は、例えば屋内位置計測システムにおいて用いられる基準電波装置の初期位置設定作業等に利用されることができる。 In addition, in this embodiment, the position of the color bit code 2 (optical recognition code) arranged in an indoor space is measured to calculate the position of the moving object 1, but this embodiment can also be used to measure the positions of various reference points (color bit codes 2 attached to them) in radio wave-based positioning. Specifically, this embodiment can be used, for example, in the initial position setting work of a reference radio wave device used in an indoor positioning system.

また、本実施形態においては上記したようにカラービットコード2の位置ずれの確認に用いることが可能であるため、本実施形態は、既存システムにおける各種基準点の位置ずれの検証等に用いられてもよい。 In addition, since this embodiment can be used to check the positional misalignment of the color bit code 2 as described above, this embodiment may also be used to verify the positional misalignment of various reference points in existing systems.

なお、本実施形態においては、光学式認識コードとしてカラービットコード2を利用するものとして説明したが、当該光学式認識コードとしては、例えばバーコードまたは2次元コード等の他の光学式認識コード(自動認識技術)が用いられても構わない。 In this embodiment, the color bit code 2 is used as the optical recognition code, but other optical recognition codes (automatic recognition technology), such as bar codes or two-dimensional codes, may also be used as the optical recognition code.

更に、本実施形態において屋内空間に配置される光学式認識コード(の位置を計測したい部分)は、例えば再帰性反射板(テープ)を用いて作成されていてもよい。これによれば、再帰性反射板からの光が再び光源(デプスカメラ15)に向かって戻っていく性質を利用し、当該デプスカメラ15による1回の撮影で位置を計測することができる光学式認識コードの範囲(つまり、当該光学式認識コードまでの距離)を広げることができる。なお、再帰性反射板を利用した場合には、例えば日中の外乱光が屋内空間に入射するような環境下であっても高精度な位置計測を実現することができる。 Furthermore, in this embodiment, the optical recognition code (the part whose position is to be measured) placed in the indoor space may be created using, for example, a retroreflector (tape). This makes it possible to take advantage of the property of light from the retroreflector returning toward the light source (depth camera 15) and to expand the range of optical recognition codes (i.e., the distance to the optical recognition code) whose position can be measured in one shot by the depth camera 15. Note that when a retroreflector is used, highly accurate position measurement can be achieved even in an environment where, for example, ambient light during the day enters the indoor space.

また、本実施形態においては、光学式認識コードの位置を計測するためにデプスカメラ15を用いて取得される当該光学式認識コードの奥行き情報(デプス画像に含まれる奥行き情報)を利用するものとして説明したが、当該光学式認識コードの奥行き情報は、移動体1に設置されているカメラ1aのような可視光カメラを用いて取得されても構わない。この場合、例えば異なる地点で可視光カメラによって撮像された2つの光学式認識コードに対して三角測量の手法を適用することにより、当該光学式認識コードの奥行き情報を得ることができる。 In addition, in this embodiment, the depth information of the optical recognition code (depth information included in the depth image) acquired by the depth camera 15 is used to measure the position of the optical recognition code, but the depth information of the optical recognition code may be acquired by a visible light camera such as the camera 1a installed on the mobile body 1. In this case, for example, the depth information of the optical recognition code can be obtained by applying a triangulation technique to two optical recognition codes captured by a visible light camera at different points.

ここで説明した本実施形態に適用可能な各種構成は、上記した本実施形態の変形例に適用されても構わない。 The various configurations applicable to this embodiment described here may also be applied to the modified examples of this embodiment described above.

なお、上記した実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD-ROM、DVDなど)光磁気ディスク(MO)、半導体メモリなどの記憶媒体に格納して頒布することもできる。 The techniques described in the above embodiments can also be distributed as a program that can be executed by a computer, stored on a storage medium such as a magnetic disk (e.g., a floppy disk, a hard disk, etc.), an optical disk (e.g., a CD-ROM, a DVD), a magneto-optical disk (MO), or a semiconductor memory.

また、この記憶媒体としては、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であってもよい。 In addition, this storage medium may be in any storage format as long as it is capable of storing a program and is computer-readable.

また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフト等のMW(ミドルウェア)等が本実施形態を実現するための各処理の一部を実行してもよい。 In addition, an OS (operating system), database management software, network software, or other MW (middleware) running on a computer may execute some of the processes for implementing this embodiment based on instructions from a program installed on the computer from a storage medium.

更に、本発明における記憶媒体は、コンピュータと独立した媒体に限らず、LANやインターネット等により伝送されたプログラムをダウンロードして記憶または一時記憶した記憶媒体も含まれる。 Furthermore, the storage medium in the present invention is not limited to a medium independent of a computer, but also includes a storage medium that stores or temporarily stores a program downloaded from a LAN, the Internet, etc.

また、記憶媒体は1つに限らず、複数の媒体から本実施形態における処理が実行される場合も本発明における記憶媒体に含まれ、媒体構成は何れの構成であってもよい。 In addition, the number of storage media is not limited to one, and the processing in this embodiment can be performed from multiple media, and the storage media in this invention can have any configuration.

なお、本発明におけるコンピュータは、記憶媒体に記憶されたプログラムに基づき、本実施形態における各処理を実行するものであって、パソコン等の1つからなる装置、複数の装置がネットワーク接続されたシステム等の何れの構成であってもよい。 The computer in the present invention executes each process in this embodiment based on a program stored in a storage medium, and may be configured as either a single device such as a personal computer, or a system in which multiple devices are connected to a network.

また、本発明におけるコンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコン等も含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。 In addition, the computer in this invention is not limited to a personal computer, but also includes an arithmetic processing unit, a microcomputer, etc. included in information processing equipment, and is a general term for equipment or devices that can realize the functions of this invention by a program.

なお、本願発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組合せてもよい。 The present invention is not limited to the above-described embodiment as it is, and in the implementation stage, the components can be modified to the extent that does not deviate from the gist of the invention. In addition, various inventions can be formed by appropriate combinations of multiple components disclosed in the above-described embodiment. For example, some components may be deleted from all of the components shown in the embodiment. Furthermore, components from different embodiments may be appropriately combined.

1…移動体、1a…カメラ(可視光カメラ)、2,21~26…カラービットコード(光学式認識コード)、3…屋内空間、4…ベース地点、10…位置計測装置、11…不揮発性メモリ、12…CPU、13…メインメモリ、14…通信デバイス、15…デプスカメラ、101…格納部、102…画像取得部、103…デコード処理部、104…コード位置取得部、105…コード位置計測部、106…登録処理部。 1...mobile body, 1a...camera (visible light camera), 2, 21-26...color bit code (optical recognition code), 3...indoor space, 4...base point, 10...position measurement device, 11...non-volatile memory, 12...CPU, 13...main memory, 14...communication device, 15...depth camera, 101...storage unit, 102...image acquisition unit, 103...decoding processing unit, 104...code position acquisition unit, 105...code position measurement unit, 106...registration processing unit.

Claims (6)

移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置において、
前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1光学式認識コードの位置を示す第1位置情報及び第2光学式認識コードの位置を示す第2位置情報を格納する格納手段と、
デプスカメラによって前記複数の光学式認識コードのうちの前記第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含むデプス画像を取得する取得手段と、
前記格納手段に格納された第1及び第2位置情報と、前記取得されたデプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの位置を計測する計測手段と
を具備する位置計測装置。
A position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on a moving object in order to calculate the position of the moving object, comprising:
a storage means for storing first position information indicating a position of a first optical recognition code and second position information indicating a position of a second optical recognition code among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves;
an acquisition means for acquiring a depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of the first and second optical recognition codes among the plurality of optical recognition codes and a third optical recognition code different from the first and second optical recognition codes with a depth camera;
and a measuring means for measuring the position of the third optical recognition code based on the first and second position information stored in the storage means and the first to third depth information included in the acquired depth image.
移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置において、
デプスカメラによって前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1及び第2光学式認識コードが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報及び前記第2光学式認識コードの奥行きを示す第2奥行き情報を含む第1デプス画像を取得する第1取得手段と、
前記取得された第1デプス画像に含まれる第1及び第2奥行き情報に基づいて、前記第1及び第2光学式認識コードの仮想空間上の位置を取得する第2取得手段と、
前記デプスカメラによって前記複数の光学式認識コードのうちの第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含む第2デプス画像を取得する第3取得手段と、
前記第1及び第2光学式認識コードの仮想空間上の位置と、前記取得された第2デプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を取得する第4取得手段と、
前記第1光学式認識コードの実空間上の位置を示す第1位置情報及び前記第2光学式認識コードの実空間上の位置を示す第2位置情報を格納する格納手段と、
前記第1~第3光学式認識コードの各々の仮想空間上の位置と、前記格納手段に格納された第1及び第2位置情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を実空間上の位置に補正する補正手段と
を具備する位置計測装置。
A position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on a moving object in order to calculate the position of the moving object, comprising:
a first acquisition means for acquiring a first depth image including first depth information indicating a depth of the first optical recognition code and second depth information indicating a depth of the second optical recognition code by capturing images of first and second optical recognition codes among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves using a depth camera;
a second acquisition means for acquiring positions of the first and second optical recognition codes in a virtual space based on first and second depth information included in the acquired first depth image;
a third acquisition means for acquiring a second depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of first and second optical recognition codes among the plurality of optical recognition codes and a third optical recognition code different from the first and second optical recognition codes by the depth camera;
a fourth acquisition means for acquiring a position of the third optical recognition code in a virtual space based on positions of the first and second optical recognition codes in a virtual space and the first to third depth information included in the acquired second depth image;
a storage means for storing first position information indicating a position of the first optical recognition code in real space and second position information indicating a position of the second optical recognition code in real space;
and a correction means for correcting the position of the third optical recognition code in the virtual space to a position in real space based on the positions of each of the first to third optical recognition codes in the virtual space and the first and second position information stored in the storage means.
移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置が実行する方法であって、
前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1光学式認識コードの位置を示す第1位置情報及び第2光学式認識コードの位置を示す第2位置情報を格納手段に格納するステップと、
デプスカメラによって前記複数の光学式認識コードのうちの前記第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含むデプス画像を取得するステップと、
前記格納手段に格納された第1及び第2位置情報と、前記取得されたデプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの位置を計測するステップと
を具備する方法。
A method for calculating a position of a moving object by a position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on the moving object, the method comprising the steps of:
storing in a storage device first position information indicating a position of a first optical recognition code and second position information indicating a position of a second optical recognition code among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves;
a step of acquiring a depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of the first and second optical recognition codes and a third optical recognition code different from the first and second optical recognition codes with a depth camera;
and measuring the position of the third optical recognition code based on the first and second position information stored in the storage means and the first to third depth information included in the acquired depth image.
移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置が実行する方法であって、
デプスカメラによって前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1及び第2光学式認識コードが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報及び前記第2光学式認識コードの奥行きを示す第2奥行き情報を含む第1デプス画像を取得するステップと、
前記取得された第1デプス画像に含まれる第1及び第2奥行き情報に基づいて、前記第1及び第2光学式認識コードの仮想空間上の位置を取得するステップと、
前記デプスカメラによって前記複数の光学式認識コードのうちの第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含む第2デプス画像を取得するステップと、
前記第1及び第2光学式認識コードの仮想空間上の位置と、前記取得された第2デプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を取得するステップと、
前記第1光学式認識コードの実空間上の位置を示す第1位置情報及び前記第2光学式認識コードの実空間上の位置を示す第2位置情報を格納手段に格納するステップと、
前記第1~第3光学式認識コードの各々の仮想空間上の位置と、前記格納手段に格納された第1及び第2位置情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を実空間上の位置に補正するステップと
を具備する方法。
A method for calculating a position of a moving object by a position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on the moving object, the method comprising the steps of:
a step of acquiring a first depth image including first depth information indicating a depth of the first optical recognition code and second depth information indicating a depth of the second optical recognition code by capturing images of first and second optical recognition codes among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves using a depth camera;
acquiring positions of the first and second optical recognition codes in a virtual space based on first and second depth information included in the acquired first depth image;
a step of acquiring a second depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of first and second optical recognition codes among the plurality of optical recognition codes and a third optical recognition code different from the first and second optical recognition codes by the depth camera;
acquiring a position of the third optical recognition code in a virtual space based on positions of the first and second optical recognition codes in a virtual space and the first to third depth information included in the acquired second depth image;
storing, in a storage means, first position information indicating a position of the first optical recognition code in real space and second position information indicating a position of the second optical recognition code in real space;
and correcting the position of the third optical recognition code in the virtual space to a position in real space based on the positions of each of the first to third optical recognition codes in the virtual space and the first and second position information stored in the storage means.
移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置のコンピュータによって実行されるプログラムであって、
前記コンピュータに、
前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1光学式認識コードの位置を示す第1位置情報及び第2光学式認識コードの位置を示す第2位置情報を格納手段に格納するステップと、
デプスカメラによって前記複数の光学式認識コードのうちの前記第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含むデプス画像を取得するステップと、
前記格納手段に格納された第1及び第2位置情報と、前記取得されたデプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの位置を計測するステップと
を実行させるためのプログラム。
A program executed by a computer of a position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on a moving object in order to calculate the position of the moving object,
The computer includes:
storing in a storage device first position information indicating a position of a first optical recognition code and second position information indicating a position of a second optical recognition code among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves;
a step of acquiring a depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of the first and second optical recognition codes and a third optical recognition code different from the first and second optical recognition codes with a depth camera;
and a step of measuring the position of the third optical recognition code based on the first and second position information stored in the storage means and the first to third depth information included in the acquired depth image.
移動体の位置を計算するために当該移動体に設置された可視光カメラによって撮像される光学式認識コードの位置を計測する位置計測装置のコンピュータによって実行されるプログラムであって、
前記コンピュータに、
デプスカメラによって前記移動体が移動する屋内空間に配置された複数の光学式認識コードのうちの第1及び第2光学式認識コードが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報及び前記第2光学式認識コードの奥行きを示す第2奥行き情報を含む第1デプス画像を取得するステップと、
前記取得された第1デプス画像に含まれる第1及び第2奥行き情報に基づいて、前記第1及び第2光学式認識コードの仮想空間上の位置を取得するステップと、
前記デプスカメラによって前記複数の光学式認識コードのうちの第1及び第2光学式認識コードと、前記第1及び第2光学式認識コードとは異なる第3光学式認識コードとが撮像されることによって、前記第1光学式認識コードの奥行きを示す第1奥行き情報、前記第2光学式認識コードの奥行きを示す第2奥行き情報及び前記第3光学式認識コードの奥行きを示す第3奥行き情報を含む第2デプス画像を取得するステップと、
前記第1及び第2光学式認識コードの仮想空間上の位置と、前記取得された第2デプス画像に含まれる第1~第3奥行き情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を取得するステップと、
前記第1光学式認識コードの実空間上の位置を示す第1位置情報及び前記第2光学式認識コードの実空間上の位置を示す第2位置情報を格納手段に格納するステップと、
前記第1~第3光学式認識コードの各々の仮想空間上の位置と、前記格納手段に格納された第1及び第2位置情報とに基づいて、前記第3光学式認識コードの仮想空間上の位置を実空間上の位置に補正するステップと
を実行させるためのプログラム。
A program executed by a computer of a position measurement device that measures a position of an optical recognition code captured by a visible light camera installed on a moving object in order to calculate the position of the moving object,
The computer includes:
a step of acquiring a first depth image including first depth information indicating a depth of the first optical recognition code and second depth information indicating a depth of the second optical recognition code by capturing images of first and second optical recognition codes among a plurality of optical recognition codes arranged in an indoor space in which the moving object moves using a depth camera;
acquiring positions of the first and second optical recognition codes in a virtual space based on first and second depth information included in the acquired first depth image;
a step of acquiring a second depth image including first depth information indicating a depth of the first optical recognition code, second depth information indicating a depth of the second optical recognition code, and third depth information indicating a depth of the third optical recognition code by capturing images of first and second optical recognition codes among the plurality of optical recognition codes and a third optical recognition code different from the first and second optical recognition codes by the depth camera;
acquiring a position of the third optical recognition code in a virtual space based on positions of the first and second optical recognition codes in a virtual space and the first to third depth information included in the acquired second depth image;
storing, in a storage means, first position information indicating a position of the first optical recognition code in real space and second position information indicating a position of the second optical recognition code in real space;
and a step of correcting the position of the third optical recognition code in the virtual space to a position in real space based on the positions of each of the first to third optical recognition codes in the virtual space and the first and second position information stored in the storage means.
JP2021111585A 2021-07-05 2021-07-05 Position measuring device, method and program Active JP7646199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021111585A JP7646199B2 (en) 2021-07-05 2021-07-05 Position measuring device, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021111585A JP7646199B2 (en) 2021-07-05 2021-07-05 Position measuring device, method and program

Publications (2)

Publication Number Publication Date
JP2023008210A JP2023008210A (en) 2023-01-19
JP7646199B2 true JP7646199B2 (en) 2025-03-17

Family

ID=85112757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021111585A Active JP7646199B2 (en) 2021-07-05 2021-07-05 Position measuring device, method and program

Country Status (1)

Country Link
JP (1) JP7646199B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020009391A (en) 2018-07-09 2020-01-16 株式会社ANswer Method and system for positional information service
JP2021042978A (en) 2019-09-06 2021-03-18 日本電気株式会社 Measuring device and measuring method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020009391A (en) 2018-07-09 2020-01-16 株式会社ANswer Method and system for positional information service
JP2021042978A (en) 2019-09-06 2021-03-18 日本電気株式会社 Measuring device and measuring method

Also Published As

Publication number Publication date
JP2023008210A (en) 2023-01-19

Similar Documents

Publication Publication Date Title
US8532368B2 (en) Method and apparatus for producing 3D model of an environment
Tuttas et al. Acquisition and consecutive registration of photogrammetric point clouds for construction progress monitoring using a 4D BIM
US10360247B2 (en) System and method for telecom inventory management
US8502991B2 (en) Method for the determination of the 3D coordinates of an object
US8259994B1 (en) Using image and laser constraints to obtain consistent and improved pose estimates in vehicle pose databases
CN110967711A (en) Data collection method and system
WO2006082825A1 (en) Mark arrangement measuring method, positional posture estimating method, mark arrangement measuring apparatus and positional posture estimating apparatus
CN112200911B (en) Method and device for constructing regional overlapping three-dimensional map by combining markers
BR112015013804B1 (en) measuring system for three-dimensional measurement of an underwater structure, method for laser triangulation of an underwater structure and non-transient computer-readable medium coded with instructions
CN113409382A (en) Method and device for measuring damaged area of vehicle
CN110717861A (en) Image stitching method, apparatus, electronic device and computer-readable storage medium
KR102576449B1 (en) Device and method of image registration for 3d models
JP2011112556A (en) Search target position locating device, method, and computer program
JP6325834B2 (en) Maintenance support system and maintenance support method
WO2018134866A1 (en) Camera calibration device
JP7646199B2 (en) Position measuring device, method and program
CN117011457A (en) A three-dimensional mapping method, device, electronic equipment and storage medium
CN120593662A (en) A method and device for counting logs and measuring wood cross-sectional area
JP7412260B2 (en) Positioning system, positioning device, positioning method and positioning program
CN112435291A (en) Multi-target volume measurement method and device and storage medium
CN113218392A (en) Indoor positioning navigation method and navigation device
JP7176771B2 (en) Image processing device, image processing system, method, program, moving body and factory or warehouse
KR20240123627A (en) Marker-based Unmanned Aerial Photogrammetry Automatic Calibration Device and Driving Method Thereof
JP2023144812A (en) Image processing device
US20220018950A1 (en) Indoor device localization

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240411

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241217

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250128

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250226

R150 Certificate of patent or registration of utility model

Ref document number: 7646199

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150