JP7826751B2 - Information processing device, measurement device, information processing method, and information processing program - Google Patents
Information processing device, measurement device, information processing method, and information processing programInfo
- Publication number
- JP7826751B2 JP7826751B2 JP2022038004A JP2022038004A JP7826751B2 JP 7826751 B2 JP7826751 B2 JP 7826751B2 JP 2022038004 A JP2022038004 A JP 2022038004A JP 2022038004 A JP2022038004 A JP 2022038004A JP 7826751 B2 JP7826751 B2 JP 7826751B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- dimensional
- dimensional image
- unit
- information processing
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Description
本発明は、情報処理装置、計測装置、情報処理方法、および情報処理プログラムに関する。 The present invention relates to an information processing device, a measurement device, an information processing method, and an information processing program.
近年、レーザースキャナやLiDAR等により実空間である3次元空間の3次元情報を取得することが行われている。3次元情報は、建設、設備保守、および不動産等の業界において、画面中で視覚的に場所を確認しながら寸法等を確認する作業等に利用されている。従来技術には、3次元情報によって表される3次元空間を仮想カメラの仮想視点から視認した2次元画像を表示し、2次元画像の表示面を介してユーザから複数の計測点の入力を受付けることで距離や面積の計測を行うシステムが開示されている。 In recent years, laser scanners, LiDAR, and other technologies have been used to acquire three-dimensional information about real-world three-dimensional space. Three-dimensional information is used in industries such as construction, facility maintenance, and real estate for tasks such as visually confirming locations on a screen while checking dimensions. Prior art discloses a system that displays a two-dimensional image of the three-dimensional space represented by the three-dimensional information viewed from a virtual viewpoint of a virtual camera, and measures distance and area by accepting input of multiple measurement points from the user via the display screen of the two-dimensional image.
しかしながら、従来技術では、3次元情報によって表される3次元空間内の計測対象の位置が仮想カメラの死角に存在する場合、計測対象の位置が画面に表示されずユーザは所望の位置を指定することが困難となる場合があった。 However, with conventional technology, if the position of the measurement target in three-dimensional space represented by three-dimensional information is in the blind spot of the virtual camera, the position of the measurement target is not displayed on the screen, making it difficult for the user to specify the desired position.
本発明は、上記に鑑みてなされたものであって、3次元情報によって表される3次元空間内の計測対象の位置を容易に指定可能な、情報処理装置、計測装置、情報処理方法、および情報処理プログラムを提供することを目的とする。 The present invention has been made in consideration of the above, and aims to provide an information processing device, a measurement device, an information processing method, and an information processing program that enable easy specification of the position of a measurement target within a three-dimensional space represented by three-dimensional information.
上述した課題を解決し、目的を達成するために、本発明は、3次元情報によって表される3次元空間を仮想カメラの仮想視点から視認した2次元画像を表示部に表示する情報処理装置であって、前記3次元空間における第1の位置に関わる第1の位置情報をユーザの入力部への入力により取得し、第2の位置に関わる位置情報を、前記第1の位置情報に基づいて算出する導出部と、前記第1の位置と、前記第2の位置と、を含む前記2次元画像を前記表示部に表示する表示制御部と、を備える。 In order to solve the above-mentioned problems and achieve the object, the present invention provides an information processing device that displays on a display unit a two-dimensional image of a three-dimensional space represented by three-dimensional information viewed from a virtual viewpoint of a virtual camera, and includes: a derivation unit that acquires first position information related to a first position in the three-dimensional space through input by a user to an input unit, and calculates position information related to a second position based on the first position information; and a display control unit that displays the two-dimensional image including the first position and the second position on the display unit.
本発明によれば、3次元情報によって表される3次元空間内の計測対象の位置を容易に指定可能とすることができる、という効果を奏する。 The present invention has the advantage of making it possible to easily specify the position of a measurement target within a three-dimensional space represented by three-dimensional information.
以下に添付図面を参照して、情報処理装置、計測装置、情報処理方法、および情報処理プログラムの実施形態を詳細に説明する。 Embodiments of an information processing device, a measurement device, an information processing method, and an information processing program are described in detail below with reference to the accompanying drawings.
図1は、本実施形態に係る計測システム1の一例のブロック図である。 Figure 1 is a block diagram of an example of a measurement system 1 according to this embodiment.
計測システム1は、情報処理装置10と、撮影装置11と、を備える。情報処理装置10と撮影装置11とは、通信可能に接続されている。 The measurement system 1 includes an information processing device 10 and an imaging device 11. The information processing device 10 and the imaging device 11 are connected so that they can communicate with each other.
撮影装置11は、実空間である3次元空間の3次元情報を得る装置である。本実施形態では、撮影装置11として、撮影によって3次元情報を取得する装置を用いる。撮影装置11は、例えば、ToF(Time-of-Flight)方式のカメラ、ステレオカメラ、などである。ToF方式は、赤外線を計測対象物に照射し、その反射光が戻ってくるまでの時間から距離を求める方式である。ステレオカメラは、2台のカメラの間隔と、2台のカメラの各々で得られた画像の視差情報と、を用いて、奥行情報を距離情報として得るカメラである。 The imaging device 11 is a device that obtains three-dimensional information of a three-dimensional space, which is real space. In this embodiment, a device that obtains three-dimensional information by photographing is used as the imaging device 11. The imaging device 11 is, for example, a ToF (Time-of-Flight) camera or a stereo camera. The ToF method irradiates an object with infrared light and determines distance from the time it takes for the reflected light to return. A stereo camera is a camera that obtains depth information as distance information using the distance between two cameras and the parallax information of the images obtained by each of the two cameras.
なお、撮影装置11は、3次元情報を得る装置であればよく、LiDAR(Light Detection and Ranging)、フォトグラメトリを利用したシステム、等であってもよい。また、撮影装置11は、レーザースキャナやLiDAR等を搭載したスマートフォンであってもよい。 The image capture device 11 may be any device capable of obtaining three-dimensional information, such as a system using LiDAR (Light Detection and Ranging) or photogrammetry. The image capture device 11 may also be a smartphone equipped with a laser scanner or LiDAR.
3次元情報は、実空間である3次元空間を表す情報である。3次元情報のファイル形式は限定されない。3次元情報は、例えば、実空間に含まれる3次元オブジェクトの3次元形状を表す形状データ等によって表される。3次元情報は、例えば、3次元空間を離散的な点で表現した点群形式のファイル、3次元空間を頂点と面により表現したポリゴンメッシュ形式のファイル等である。点群形式のファイルは、デプスマップ、距離画像、等と称される場合がある。 Three-dimensional information is information that represents a three-dimensional space, which is a real space. The file format of the three-dimensional information is not limited. Three-dimensional information is represented, for example, by shape data that represents the three-dimensional shape of a three-dimensional object contained in real space. Three-dimensional information is, for example, a point cloud format file that represents three-dimensional space using discrete points, or a polygon mesh format file that represents three-dimensional space using vertices and faces. Point cloud format files are sometimes called depth maps, distance images, etc.
点群形式のファイルには、例えば、「.xyz」、「.e57」、「.ply」などの拡張子で表されるファイル等が挙げられる。ポリゴンメッシュ形式のファイルには、例えば、「.obj」、「.fbx」、「.stl」などの拡張子で表されるファイル等が挙げられる。 Examples of point cloud files include files with extensions such as ".xyz", ".e57", and ".ply". Examples of polygon mesh files include files with extensions such as ".obj", ".fbx", and ".stl".
撮影装置11は、得られた3次元情報を情報処理装置10へ出力する。 The imaging device 11 outputs the obtained three-dimensional information to the information processing device 10.
情報処理装置10は、3次元情報によって表される3次元空間を仮想カメラの仮想視点から視認した、2次元画像を表示する情報処理装置である。情報処理装置10は、例えば、スマートフォン、タブレット端末、パーソナルコンピュータ、等である。 The information processing device 10 is an information processing device that displays a two-dimensional image of a three-dimensional space represented by three-dimensional information viewed from a virtual viewpoint of a virtual camera. The information processing device 10 is, for example, a smartphone, a tablet terminal, a personal computer, etc.
情報処理装置10は、通信部12と、UI(ユーザ・インタフェース)部14と、記憶部16と、制御部20と、を備える。通信部12と、UI部14、および記憶部16と、制御部20とは通信可能に接続されている。 The information processing device 10 includes a communication unit 12, a UI (user interface) unit 14, a storage unit 16, and a control unit 20. The communication unit 12, the UI unit 14, the storage unit 16, and the control unit 20 are connected to each other so that they can communicate with each other.
通信部12は、ネットワークなどを介して外部の情報処理装置と通信する。本実施形態では、通信部12は、撮影装置11と通信する。 The communication unit 12 communicates with an external information processing device via a network or the like. In this embodiment, the communication unit 12 communicates with the imaging device 11.
UI部14は、表示部14Aと、入力部14Bと、を含む。表示部14Aは、各種の情報を表示するディスプレイである。入力部14Bは、ユーザによる操作指示を受付ける。入力部14Bは、例えば、キーボード、ポインティングデバイス、マウス、などである。表示部14Aおよび入力部14Bは、一体的に構成されたタッチパネルであってもよい。記憶部16は、各種の情報を記憶する。 The UI unit 14 includes a display unit 14A and an input unit 14B. The display unit 14A is a display that displays various types of information. The input unit 14B accepts operational instructions from the user. The input unit 14B is, for example, a keyboard, a pointing device, or a mouse. The display unit 14A and the input unit 14B may be an integrated touch panel. The memory unit 16 stores various types of information.
制御部20は、情報処理を実行する。制御部20には、計測用アプリケーションプログラムが予めインストールされている。計測用アプリケーションプログラムは、3次元情報によって表される3次元空間を仮想カメラの仮想視点から視認した2次元画像を表示部14Aに表示し、2次元画像の表示面を介してユーザから複数の計測点の入力を受付けることで距離や面積の計測を行うプログラムである。以下、計測用アプリケーションプログラムを、計測用アプリケーションと称して説明する場合がある。 The control unit 20 executes information processing. A measurement application program is pre-installed in the control unit 20. The measurement application program displays a two-dimensional image of a three-dimensional space represented by three-dimensional information viewed from a virtual viewpoint of a virtual camera on the display unit 14A, and measures distance and area by accepting input of multiple measurement points from the user via the display surface of the two-dimensional image. Hereinafter, the measurement application program may be referred to as a measurement application.
本実施形態では、制御部20は、取得部20Aと、受付部20Bと、導出部20Cと、表示制御部20Dと、距離算出部20Eと、を有する。取得部20A、受付部20B、導出部20C、表示制御部20D、および距離算出部20Eは、例えば、1または複数のプロセッサにより実現される。例えば上記各部は、CPU(Central Processing Unit)などのプロセッサにプログラムを実行させること、すなわちソフトウェアにより実現してもよい。上記各部は、専用のIC(Integrated Circuit)などのプロセッサ、すなわちハードウェアにより実現してもよい。上記各部は、ソフトウェアおよびハードウェアを併用して実現してもよい。複数のプロセッサを用いる場合、各プロセッサは、各部のうち1つを実現してもよいし、各部のうち2以上を実現してもよい。 In this embodiment, the control unit 20 has an acquisition unit 20A, a reception unit 20B, a derivation unit 20C, a display control unit 20D, and a distance calculation unit 20E. The acquisition unit 20A, the reception unit 20B, the derivation unit 20C, the display control unit 20D, and the distance calculation unit 20E are realized, for example, by one or more processors. For example, each of the above units may be realized by having a processor such as a CPU (Central Processing Unit) execute a program, i.e., by software. Each of the above units may also be realized by a processor such as a dedicated IC (Integrated Circuit), i.e., by hardware. Each of the above units may also be realized by a combination of software and hardware. When multiple processors are used, each processor may realize one of the units, or two or more of the units.
取得部20Aは、3次元情報を取得する。本実施形態では、取得部20Aは、通信部12を介して撮影装置11から3次元情報を取得する。なお、取得部20Aは、通信部12およびネットワーク等を介して情報処理装置10に通信可能に接続された他の情報処理装置から3次元情報を取得してもよい。他の情報処理装置は、例えば、3次元情報を取得可能なスマートフォンなどであるが、スマートフォンに限定されない。また、取得部20Aは、記憶部16から3次元情報を取得してもよい。 The acquisition unit 20A acquires three-dimensional information. In this embodiment, the acquisition unit 20A acquires three-dimensional information from the imaging device 11 via the communication unit 12. Note that the acquisition unit 20A may also acquire three-dimensional information from another information processing device that is communicatively connected to the information processing device 10 via the communication unit 12 and a network, etc. Examples of other information processing devices include, but are not limited to, smartphones that are capable of acquiring three-dimensional information. The acquisition unit 20A may also acquire three-dimensional information from the memory unit 16.
取得部20Aが取得する3次元情報は、モノクロの情報、および、色情報を含むカラーの情報、の何れであってもよい。情報処理装置10では、3次元情報としてカラーの情報を用い該3次元情報を2次元画像に変換して表示することで、ユーザに対してより視覚的に分かりやすい2次元画像を提供することができる。 The three-dimensional information acquired by the acquisition unit 20A may be either monochrome information or color information including color information. The information processing device 10 uses color information as the three-dimensional information and converts the three-dimensional information into a two-dimensional image for display, thereby providing the user with a two-dimensional image that is more visually understandable.
取得部20Aは、取得した3次元情報を導出部20Cへ出力する。なお、取得部20Aは、撮影装置11から取得した3次元情報を任意のファイル形式に変換した後に、導出部20Cへ出力してもよい。例えば、取得部20A、特開2019-049533号公報に開示されている方法を用いて、点群形式のファイルをポリゴンメッシュ形式のファイルに変換し、変換後の3次元情報を導出部20Cへ出力してもよい。また、このファイル形式の変換処理は、導出部20Cで行ってもよい。 The acquisition unit 20A outputs the acquired 3D information to the derivation unit 20C. Note that the acquisition unit 20A may convert the 3D information acquired from the imaging device 11 into any file format before outputting it to the derivation unit 20C. For example, the acquisition unit 20A may convert a point cloud format file into a polygon mesh format file using the method disclosed in Japanese Patent Application Laid-Open No. 2019-049533, and output the converted 3D information to the derivation unit 20C. This file format conversion process may also be performed by the derivation unit 20C.
受付部20Bは、ユーザによる入力部14Bの操作指示を受け付ける。 The reception unit 20B receives operation instructions from the user via the input unit 14B.
ここで、計測アプリケーションの基本機能の一例を説明する。 Here, we will explain an example of the basic functions of a measurement application.
図2は、表示部14Aに表示された2次元画像40Aの一例を示す模式図である。2次元画像40Aは、表示部14Aに表示された2次元画像40の一例である。2次元画像40は、3次元情報30によって表される3次元空間Sを仮想カメラの仮想視点から視認した2次元の画像である。 Figure 2 is a schematic diagram showing an example of a two-dimensional image 40A displayed on the display unit 14A. The two-dimensional image 40A is an example of the two-dimensional image 40 displayed on the display unit 14A. The two-dimensional image 40 is a two-dimensional image of the three-dimensional space S represented by the three-dimensional information 30 viewed from the virtual viewpoint of a virtual camera.
ユーザは、表示された2次元画像40を視認しながら入力部14Bを操作することで、3次元空間Sにおける仮想視点を自由に移動させ、任意の仮想視点から3次元空間Sを視認した2次元画像40となるように表示を切り替えることができる。 By operating the input unit 14B while viewing the displayed two-dimensional image 40, the user can freely move the virtual viewpoint in the three-dimensional space S and switch the display to a two-dimensional image 40 in which the three-dimensional space S is viewed from any virtual viewpoint.
図3は、ユーザが2つの計測点Qを指定した場面の一例を示す模式図である。 Figure 3 is a schematic diagram showing an example of a scene in which the user has specified two measurement points Q.
計測点Qとは、ユーザが計測を所望する計測対象の指定に用いられる地点であり、表示部14Aに表示された2次元画像40上の地点である。 Measurement point Q is a point used to specify the measurement target that the user wishes to measure, and is a point on the two-dimensional image 40 displayed on the display unit 14A.
例えば、ユーザが入力部14Bを操作することで、表示部14Aに表示された2次元画像40A上の任意の位置に、計測点Qとして第1の計測点Q1と第2の計測点Q2とを指定した場面を想定する。 For example, consider a scenario in which the user operates the input unit 14B to specify a first measurement point Q1 and a second measurement point Q2 as measurement points Q at any positions on the two-dimensional image 40A displayed on the display unit 14A.
第1の計測点Q1とは、ユーザによって指定される複数の計測点Qの内、先に指定される計測点Qを表す。第2の計測点Q2とは、次に指定される計測点Qを表す。 The first measurement point Q1 refers to the measurement point Q that is specified first among multiple measurement points Q specified by the user. The second measurement point Q2 refers to the measurement point Q that is specified next.
この場合、計測用アプリケーションは、指定された2つの計測点Q(第1の計測点Q1、第2の計測点Q2)の各々に対応する、3次元情報30によって表される3次元空間Sにおける位置である第1の位置P1および第2の位置P2を特定する。そして、計測用アプリケーションは、これらの第1の位置P1と第2の位置P2との距離を算出し表示する。図3には、指定された2つの計測点Q(第1の計測点Q1、第2の計測点Q2)の各々に対応する3次元空間Sにおける第1の位置P1と第2の位置P2との距離として、“2.0[m]”が表示された状態を一例として示す。 In this case, the measurement application identifies a first position P1 and a second position P2 in the three-dimensional space S represented by the three-dimensional information 30, which correspond to each of the two specified measurement points Q (first measurement point Q1, second measurement point Q2). The measurement application then calculates and displays the distance between the first position P1 and the second position P2. Figure 3 shows an example in which "2.0 [m]" is displayed as the distance between the first position P1 and the second position P2 in the three-dimensional space S, which correspond to each of the two specified measurement points Q (first measurement point Q1, second measurement point Q2).
図3に示すように、3次元空間Sにおけるユーザが計測を所望する地点が2次元画像40中に表示されている場合、ユーザは容易に計測点Qを指定することができる。 As shown in Figure 3, if the point in three-dimensional space S at which the user wishes to measure is displayed in two-dimensional image 40, the user can easily specify measurement point Q.
しかしながら、ユーザが計測を所望する3次元空間S内の地点が仮想カメラの死角に存在する場合がある。この場合、該仮想カメラの仮想視点から3次元空間Sを視認した2次元画像40には、ユーザが計測を所望する3次元空間S内の該地点が表示されない。 However, there are cases where the point in three-dimensional space S that the user wishes to measure is in the blind spot of the virtual camera. In this case, the point in three-dimensional space S that the user wishes to measure will not be displayed in the two-dimensional image 40 that is obtained by viewing the three-dimensional space S from the virtual viewpoint of the virtual camera.
図4は、死角BSを含む2次元画像40Bが表示された場面の一例を示す模式図である。図4には、2次元画像40Bが、障害物50による死角BSを含む場合を一例として示す。例えば、ユーザが第1の計測点Q1を指定後、次に第2の計測点Q2を指定する場面を想定する。また、第2の計測点Q2に対応する3次元空間Sにおける位置が、2次元画像40Bの作成時に用いられた仮想視点から3次元空間Sを視認したときに死角BSとなる位置であった場合を想定する。この場合、図4に示すように、3次元空間Sに含まれる死角BS内の地点は2次元画像40Bでは非表示となる。 Figure 4 is a schematic diagram showing an example of a scene in which a two-dimensional image 40B including a blind spot BS is displayed. Figure 4 shows an example in which the two-dimensional image 40B includes a blind spot BS caused by an obstacle 50. For example, consider a scene in which a user specifies a first measurement point Q1 and then a second measurement point Q2. Also consider a case in which the position in three-dimensional space S corresponding to second measurement point Q2 is a position that becomes a blind spot BS when the three-dimensional space S is viewed from the virtual viewpoint used when creating the two-dimensional image 40B. In this case, as shown in Figure 4, points within the blind spot BS included in the three-dimensional space S are not displayed in the two-dimensional image 40B.
この場合、従来技術では、ユーザは、表示された2次元画像40Bを視認しながら入力部14Bを操作することで3次元空間Sにおける仮想視点を移動させ、所望の地点が2次元画像40内に表示されるように視点変換のための視点操作を行う必要があった。 In this case, with conventional technology, the user would need to operate the input unit 14B while viewing the displayed two-dimensional image 40B to move the virtual viewpoint in the three-dimensional space S, and perform viewpoint manipulation to convert the viewpoint so that the desired point is displayed within the two-dimensional image 40.
しかしながら、このような視点操作は、3次元情報30の操作に不慣れなユーザには、操作時間の増大または誤操作を招く場合があった。また、ユーザが所望の地点を操作時に見失う場合などがあった。このため、従来技術では、ユーザは、3次元情報30によって表される3次元空間S内の計測対象の位置を容易に指定することが困難となる場合があった。 However, such viewpoint manipulation can increase operation time or result in incorrect manipulation for users unfamiliar with manipulating the three-dimensional information 30. Furthermore, users may lose sight of the desired point during manipulation. For this reason, with conventional technology, it can be difficult for users to easily specify the position of the measurement target within the three-dimensional space S represented by the three-dimensional information 30.
そこで、本実施形態の制御部20は、3次元情報30によって表される3次元空間Sを仮想カメラの仮想視点から視認した2次元画像40を表示部14Aに表示する。そして、制御部20は、ユーザによって複数の計測点Qの内の1点である第1の計測点Q1が2次元画像40を介して指定されると、他の計測点Qである第2の計測点Q2の候補となる候補点Rが常に表示部14Aに表示されるように制御する。このため、本実施形態の情報処理装置10では、ユーザは、仮想視点の視点操作を最小限、または、視点操作を行わずに複数の計測点Q間の距離や面積の計測を完結させることが可能となる。 The control unit 20 of this embodiment therefore displays on the display unit 14A a two-dimensional image 40 of the three-dimensional space S represented by the three-dimensional information 30, viewed from the virtual viewpoint of the virtual camera. Then, when the user specifies a first measurement point Q1, which is one of multiple measurement points Q, via the two-dimensional image 40, the control unit 20 controls the display unit 14A to always display a candidate point R, which is a candidate for the second measurement point Q2, which is another measurement point Q. Therefore, with the information processing device 10 of this embodiment, the user can complete measurements of the distance and area between multiple measurement points Q with minimal or no viewpoint manipulation of the virtual viewpoint.
制御部20に含まれる導出部20C、表示制御部20D、および距離算出部20Eについて詳細に説明する。 The derivation unit 20C, display control unit 20D, and distance calculation unit 20E included in the control unit 20 will be described in detail below.
図5は、3次元情報30によって表される3次元空間Sの模式図である。 Figure 5 is a schematic diagram of the three-dimensional space S represented by the three-dimensional information 30.
導出部20Cは、取得部20Aで取得した3次元情報30によって表される3次元空間Sにおける、第1の位置P1に関わる第1の位置情報を、ユーザの入力部14Bへの入力により取得し、第2の位置P2に関わる位置情報を、ユーザの入力部14Bへの入力から取得、または、第1の位置P1に基づいて算出する。 The derivation unit 20C acquires first position information relating to a first position P1 in the three-dimensional space S represented by the three-dimensional information 30 acquired by the acquisition unit 20A through user input to the input unit 14B, and acquires position information relating to a second position P2 from the user input to the input unit 14B or calculates it based on the first position P1.
第1の位置P1とは、表示された2次元画像40を介してユーザによって指定された第1の計測点Q1に対応する、3次元情報30によって表される3次元空間Sにおける位置を表す。 The first position P1 represents a position in the three-dimensional space S represented by the three-dimensional information 30 that corresponds to the first measurement point Q1 specified by the user via the displayed two-dimensional image 40.
第1の位置P1に関わる位置情報とは、3次元情報30における第1の位置P1を表す情報である。第1の位置P1に関わる位置情報は、例えば、3次元情報30によって表される3次元空間Sにおける位置座標等によって表される。 Position information related to the first position P1 is information that represents the first position P1 in the three-dimensional information 30. The position information related to the first position P1 is represented, for example, by position coordinates in the three-dimensional space S represented by the three-dimensional information 30.
第2の位置P2とは、表示された2次元画像40を介してユーザによって第1の計測点Q1の次に指定される第2の計測点Q2、および、第2の計測点Q2の候補点R、に対応する、3次元情報30によって表される3次元空間Sにおける位置を表す。候補点Rとは、第2の計測点Q2の候補となる地点である。ユーザによる入力部14Bの操作指示によって候補点Rの確定指示が入力されると、該候補点Rが第2の位置P2として確定される(詳細後述)。 The second position P2 represents a position in the three-dimensional space S represented by the three-dimensional information 30 that corresponds to the second measurement point Q2, which is specified by the user via the displayed two-dimensional image 40 after the first measurement point Q1, and the candidate point R for the second measurement point Q2. The candidate point R is a location that is a candidate for the second measurement point Q2. When the user inputs an instruction to confirm the candidate point R by operating the input unit 14B, the candidate point R is confirmed as the second position P2 (details will be described later).
第2の位置P2に関わる位置情報とは、3次元情報30における第2の位置P2、および、候補点Rの候補位置CPを表す情報である。候補位置CPとは、2次元画像40に表示された候補点Rに対応する、3次元情報30によって表される3次元空間Sにおける位置を表す。すなわち、ユーザによる入力部14Bの操作指示によって候補点Rの確定指示が入力されると、該候補点Rに対応する候補位置CPの位置情報が、第2の位置Pに関わる位置情報として確定される。第2の位置P2に関わる位置情報は、例えば、3次元情報30によって表される3次元空間Sにおける位置座標等によって表される。 The position information related to the second position P2 is information representing the second position P2 in the three-dimensional information 30 and the candidate position CP of the candidate point R. The candidate position CP represents a position in the three-dimensional space S represented by the three-dimensional information 30, which corresponds to the candidate point R displayed in the two-dimensional image 40. In other words, when the user inputs an instruction to confirm the candidate point R by operating the input unit 14B, the position information of the candidate position CP corresponding to the candidate point R is confirmed as the position information related to the second position P. The position information related to the second position P2 is represented, for example, by position coordinates in the three-dimensional space S represented by the three-dimensional information 30.
導出部20Cは、取得部20Aから3次元情報30を受け付けると、初期位置としての仮想視点である第1の仮想視点VP1、および第1の仮想視点VP1から3次元空間Sを視認する視認方向を決定する。例えば、記憶部16は、第1の仮想視点VP1および初期方向を表す初期視点情報を予め記憶する。導出部20Cは、記憶部16に記憶されている初期視点情報を読取り、読取った初期視点情報によって表される第1の仮想視点VP1および初期方向を決定すればよい。 When the derivation unit 20C receives the three-dimensional information 30 from the acquisition unit 20A, it determines a first virtual viewpoint VP1, which is a virtual viewpoint serving as an initial position, and a viewing direction for viewing the three-dimensional space S from the first virtual viewpoint VP1. For example, the storage unit 16 pre-stores initial viewpoint information representing the first virtual viewpoint VP1 and the initial direction. The derivation unit 20C reads the initial viewpoint information stored in the storage unit 16 and determines the first virtual viewpoint VP1 and initial direction represented by the read initial viewpoint information.
そして、導出部20Cは、取得部20Aから受付けた3次元情報30によって表される3次元空間Sを第1の仮想視点VP1から初期方向に視認した、2次元画像40を生成する。表示制御部20Dは、導出部20Cで生成された2次元画像40を表示部14Aに表示する。このため、例えば、表示部14Aには、図2に示す2次元画像40Aが表示される。 The derivation unit 20C then generates a two-dimensional image 40 in which the three-dimensional space S represented by the three-dimensional information 30 received from the acquisition unit 20A is viewed from the first virtual viewpoint VP1 in the initial direction. The display control unit 20D displays the two-dimensional image 40 generated by the derivation unit 20C on the display unit 14A. Therefore, for example, the two-dimensional image 40A shown in FIG. 2 is displayed on the display unit 14A.
ユーザは、表示部14Aに表示された2次元画像40Aを視認しながら入力部14Bを操作することで、第1の計測点Q1を指定する。ユーザによる指定によって、受付部20Bは、表示された2次元画像40Aにおける指定された第1の計測点Q1の位置を表す情報を導出部20Cへ出力する。 The user specifies the first measurement point Q1 by operating the input unit 14B while viewing the two-dimensional image 40A displayed on the display unit 14A. In response to the user's specification, the reception unit 20B outputs information representing the position of the specified first measurement point Q1 in the displayed two-dimensional image 40A to the derivation unit 20C.
導出部20Cは、2次元画像40Aにおける第1の計測点Q1の位置を表す情報を受け付けると、公知の座標変換処理により、3次元情報30によって表される3次元空間Sにおける、第1の計測点Q1に対応する位置である第1の位置P1に関わる第1の位置情報を導出する。 When the derivation unit 20C receives information representing the position of the first measurement point Q1 in the two-dimensional image 40A, it derives first position information relating to the first position P1, which is the position corresponding to the first measurement point Q1 in the three-dimensional space S represented by the three-dimensional information 30, using a known coordinate transformation process.
導出部20Cは、例えば、表示部14Aのスクリーン座標を3次元情報30によって表される3次元空間Sの座標に変換するレイキャスト等の公知の座標変換方法を用いて、座標変換を行えばよい。 The derivation unit 20C may perform coordinate conversion using a known coordinate conversion method, such as ray casting, which converts the screen coordinates of the display unit 14A into coordinates in the three-dimensional space S represented by the three-dimensional information 30.
これらの処理により、導出部20Cは、3次元情報30によって表される3次元空間Sにおける第1の位置P1に関わる第1の位置情報を、ユーザの入力部14Bへの入力により取得する。 Through these processes, the derivation unit 20C obtains first position information related to a first position P1 in the three-dimensional space S represented by the three-dimensional information 30 through input by the user to the input unit 14B.
導出部20Cは、2次元画像40Bにおける第1の位置P1に対応する位置Q1’を導出する。第1の位置P1に対応する2次元画像40Bにおける位置Q1’は、3次元空間Sの座標である第1の位置P1を、仮想視点VP1から視認した2次元画像40Bにおける位置に変換した位置である。 The derivation unit 20C derives a position Q1' corresponding to the first position P1 in the two-dimensional image 40B. The position Q1' in the two-dimensional image 40B corresponding to the first position P1 is a position obtained by converting the first position P1, which is a coordinate in the three-dimensional space S, into a position in the two-dimensional image 40B viewed from the virtual viewpoint VP1.
表示制御部20Dは、2次元画像40Bにおける位置Q1’に第1の計測点Q1であることを識別する情報である第1の位置識別情報を表示する。第1の位置識別情報は、図3および図4における第1の計測点Q1を示す斜線でハッチングした円形の画像として表示する。第1の位置識別情報は、2次元画像40Bにおいて第1の位置P1に対応する位置Q1’が識別できる表示であればよく、円形の画像に限らない。第1の識別情報の他の例としては、シンボル(矢印や多角形のアイコンなど)や第1の位置P1を示す文字情報(例えば「測定点1」など)としてもよく、シンボルと文字情報を組み合わせたものでも良い。 The display control unit 20D displays first position identification information, which is information identifying the first measurement point Q1, at position Q1' in the two-dimensional image 40B. The first position identification information is displayed as a circular image hatched with diagonal lines, which indicates the first measurement point Q1 in Figures 3 and 4. The first position identification information is not limited to a circular image, as long as it allows the position Q1' corresponding to the first position P1 to be identified in the two-dimensional image 40B. Other examples of the first identification information include a symbol (such as an arrow or polygonal icon), text information indicating the first position P1 (for example, "Measurement Point 1"), or a combination of a symbol and text information.
表示制御部20Dは、ユーザの入力部14Bへの入力により仮想視点が移動された場合には、2次元画像40Bの仮想視点の移動に伴う変更に合わせて、第1の識別情報の2次元画像40Bにおける位置を前述のステップで更新する。 When the virtual viewpoint is moved by a user's input to the input unit 14B, the display control unit 20D updates the position of the first identification information in the two-dimensional image 40B in the aforementioned step in accordance with the changes accompanying the movement of the virtual viewpoint in the two-dimensional image 40B.
導出部20Cは、表示された2次元画像40を介して第1の計測点Q1が指定されると、第2の計測点Q2に対応する第2の位置P2に関わる位置情報を導出する。本実施形態では、導出部20Cは、第2の位置P2に関わる位置情報として、2次元画像40上の第2の計測点Q2の候補点Rに対応する、3次元空間S内の候補位置CPの位置情報を導出する。 When a first measurement point Q1 is specified via the displayed two-dimensional image 40, the derivation unit 20C derives position information related to a second position P2 corresponding to a second measurement point Q2. In this embodiment, the derivation unit 20C derives position information related to the second position P2, that is, position information of a candidate position CP in three-dimensional space S corresponding to a candidate point R for the second measurement point Q2 on the two-dimensional image 40.
上述したように、候補点Rは、2次元画像40上における、第2の計測点Q2の候補となる地点である。そして、候補位置CPは、2次元画像40に表示された候補点Rに対応する、3次元情報30によって表される3次元空間Sにおける位置を表す。すなわち、候補位置CPは、第2の位置P2の候補となる位置である。 As described above, candidate point R is a point on the two-dimensional image 40 that is a candidate for the second measurement point Q2. Furthermore, candidate position CP represents a position in the three-dimensional space S represented by the three-dimensional information 30 that corresponds to candidate point R displayed on the two-dimensional image 40. In other words, candidate position CP is a position that is a candidate for the second position P2.
導出部20Cは、候補位置CPの位置情報を、ユーザの入力部14Bへの入力から取得、または、第1の位置P1に関わる第1の位置情報に基づいて算出、の何れかにより導出する。 The derivation unit 20C derives the position information of the candidate position CP by either acquiring it from the user's input to the input unit 14B or calculating it based on the first position information related to the first position P1.
例えば、導出部20Cは、ユーザによる入力部14Bの入力形態に基づいて、候補位置CPの位置情報の導出方法を決定する。 For example, the derivation unit 20C determines a method for deriving the position information of the candidate position CP based on the input form entered by the user via the input unit 14B.
例えば、ユーザによる入力部14Bの入力形態がマウス等のポインティングデバイスである場合、または、入力形態がタッチパネルのドラッグ操作であり、かつ、2次元画像40を表示中の表示部14Aにおけるポインタ位置PPが明確である場合を想定する。ポインタ位置PPが明確である場合とは、表示部14Aにおけるポインタ位置PPを受付部20Bが入力部14Bから受け付け済の状態であることを意味する。 For example, consider a case where the user's input to the input unit 14B is a pointing device such as a mouse, or where the input is a drag operation on a touch panel, and the pointer position PP on the display unit 14A displaying the two-dimensional image 40 is clear. A case where the pointer position PP is clear means that the pointer position PP on the display unit 14A has been accepted by the accepting unit 20B from the input unit 14B.
この場合、導出部20Cは、候補位置CPの位置情報を、ユーザの入力部14Bへの入力から取得することで導出する。 In this case, the derivation unit 20C derives the position information of the candidate position CP by obtaining it from the user's input to the input unit 14B.
詳細には、導出部20Cは、ユーザによる入力部14Bによる操作によって指定された、2次元画像40上のポインタ位置PPを特定する。導出部20Cは、特定したポインタ位置PPを候補点Rとし、該候補点Rに対応する3次元空間S内の位置を、候補位置CPaとして特定する。候補位置Cpaは、候補位置CPの一例である。そして、導出部20Cは、3次元空間S内の該候補位置CPaの位置情報を導出する。 In detail, the derivation unit 20C identifies a pointer position PP on the two-dimensional image 40 that is specified by a user's operation using the input unit 14B. The derivation unit 20C sets the identified pointer position PP as a candidate point R, and identifies a position in the three-dimensional space S that corresponds to the candidate point R as a candidate position CPa. The candidate position Cpa is an example of a candidate position CP. The derivation unit 20C then derives position information for the candidate position CPa in the three-dimensional space S.
これらの処理によって、導出部20Cは、第2の位置P2に関わる位置情報である候補位置CPの位置情報を、ユーザの入力部14Bへの入力から取得する。 Through these processes, the derivation unit 20C obtains the position information of the candidate position CP, which is position information related to the second position P2, from the user's input to the input unit 14B.
ユーザの入力部14Bへの入力であるポインタ位置PPは、表示部14A上に常に表示されている。このため、この場合、導出部20Cは、リアルタイムで第2の位置P2に関わる位置情報である候補位置CPの位置情報を導出することが可能となる。このため、この場合、ユーザは、より直観的に且つ簡易的に候補位置CPを指定することが出来る。 The pointer position PP, which is input by the user to the input unit 14B, is always displayed on the display unit 14A. Therefore, in this case, the derivation unit 20C can derive the position information of the candidate position CP, which is position information related to the second position P2, in real time. Therefore, in this case, the user can specify the candidate position CP more intuitively and simply.
なお、導出部20Cは、第1の位置P1と、ポインタ位置PPに対応する3次元空間Sにおける位置と、を結ぶ直線L1の延長線上の任意の地点を候補位置CPとしてもよい。図5には、直線L1上の任意の地点である候補位置CPbを、候補位置CPとした場合を示す。この場合、導出部20Cは、3次元空間S内の該候補位置CPbの位置情報を導出する。 The derivation unit 20C may also set as the candidate position CP any point on an extension of the line L1 connecting the first position P1 and the position in the three-dimensional space S corresponding to the pointer position PP. Figure 5 shows a case where the candidate position CPb, which is any point on the line L1, is set as the candidate position CP. In this case, the derivation unit 20C derives the position information of the candidate position CPb in the three-dimensional space S.
一方、ユーザによる入力部14Bの入力形態が上記条件を満たさない場合を想定する。上記条件を満たさない場合とは、例えば、ユーザによる入力部14Bの入力形態がタッチパネルであるUI部14へのタッチ操作であり、ポインタ位置PPが明確ではない場合である。 On the other hand, consider a case where the input form of the user on the input unit 14B does not satisfy the above conditions. A case where the above conditions are not satisfied is, for example, a case where the input form of the user on the input unit 14B is a touch operation on the UI unit 14, which is a touch panel, and the pointer position PP is not clear.
この場合、導出部20Cは、候補位置CPの位置情報を第1の位置情報に基づいて算出することで導出する。 In this case, the derivation unit 20C derives the position information of the candidate position CP by calculating it based on the first position information.
図6は、候補位置CPの位置情報を算出する場合の一例の説明図である。図6には、3次元情報30によって表される3次元空間Sの模式図を示す。 Figure 6 is an explanatory diagram of an example of calculating position information for a candidate position CP. Figure 6 shows a schematic diagram of a three-dimensional space S represented by three-dimensional information 30.
この場合、導出部20Cは、2次元画像40の仮想視点VPと第1の位置P1の位置情報とに基づいて、候補位置CPの位置情報を導出する。 In this case, the derivation unit 20C derives position information of the candidate position CP based on the virtual viewpoint VP of the two-dimensional image 40 and the position information of the first position P1.
詳細には、導出部20Cは、仮想視点VPと第1の位置P1とを結ぶ線分である直線L2を特定する。そして、導出部20Cは、直線L2を中心軸とする所定半径の円筒領域56内の任意の位置を候補位置CPとして特定する。図6には、導出部20Cが、円筒領域56内の候補位置CPcを特定した場面を一例として示す。候補位置CPcは、候補位置CPの一例である。 In detail, the derivation unit 20C identifies a straight line L2, which is a line segment connecting the virtual viewpoint VP and the first position P1. The derivation unit 20C then identifies any position within a cylindrical region 56 of a predetermined radius with the straight line L2 as its central axis as a candidate position CP. Figure 6 shows an example of a scene in which the derivation unit 20C has identified a candidate position CPc within the cylindrical region 56. The candidate position CPc is an example of a candidate position CP.
導出部20Cは、円筒領域56内における、仮想視点VPに配置された仮想カメラ52の死角BSに重複する領域BS2を特定し、該重複する領域内の任意の位置を、候補位置CPcとして特定する。また、導出部20Cは、該重複する領域BS2内の重心位置を、候補位置CPcとして特定してもよい。 The derivation unit 20C identifies an area BS2 within the cylindrical area 56 that overlaps with the blind spot BS of the virtual camera 52 positioned at the virtual viewpoint VP, and identifies any position within this overlapping area as a candidate position CPc. The derivation unit 20C may also identify the center of gravity position within the overlapping area BS2 as a candidate position CPc.
ここで、図6における死角BSについて説明する。3次元空間Sにおける仮想カメラの画角内の空間FVは、仮想カメラの仮想視点VPを頂点とし視線方向を中心軸とする円錐形状となる。図6の画角内の空間FVは、その断面形状を図示したものである。図6における死角BSは、仮想カメラ52の画角内の空間FVで、障害物50によって視認されない領域である。なお、死角BSの特定には、公知技術を用いればよい。円筒領域56と死角BSが重複する領域BS2内に候補位置CPcを設定することで、仮想視点VPからの2次元画像40ではユーザが視認することができない死角領域を後述の処理でユーザに視認させることができる。候補位置CPcを重複する領域BS2とすることで、仮想視点VP2からの2次元画像40で表示されておらず、かつ第2の位置として指定される可能性の高い候補位置とすることができる。 Here, the blind spot BS in Figure 6 will be explained. The space FV within the field of view of the virtual camera in the three-dimensional space S has a cone shape with the virtual viewpoint VP of the virtual camera as its apex and the line of sight as its central axis. The space FV within the field of view in Figure 6 is an illustration of its cross-sectional shape. The blind spot BS in Figure 6 is a region of the space FV within the field of view of the virtual camera 52 that is hidden from view due to an obstacle 50. Note that known technology can be used to identify the blind spot BS. By setting a candidate position CPc within the region BS2 where the cylindrical region 56 and the blind spot BS overlap, the user can view the blind spot region that is not visible to the user in the two-dimensional image 40 from the virtual viewpoint VP using the processing described below. By setting the candidate position CPc to the overlapping region BS2, it can be set as a candidate position that is not displayed in the two-dimensional image 40 from the virtual viewpoint VP2 and that is likely to be designated as the second position.
そして、導出部20Cは、3次元情報30によって表される3次元空間Sにおける、特定した候補位置CPの位置情報を特定することで導出する。すなわち、これらの処理によって、導出部20Cは、第2の位置P2に関わる位置情報である候補位置CPの位置情報を、第1の位置P1の位置情報に基づいて算出する。 The derivation unit 20C then derives the position information of the identified candidate position CP by identifying it in the three-dimensional space S represented by the three-dimensional information 30. In other words, through these processes, the derivation unit 20C calculates the position information of the candidate position CP, which is position information related to the second position P2, based on the position information of the first position P1.
なお、円筒領域56の半径は、例えば、第1の位置P1と第2の位置P2との予測距離より大きいことが好ましい。円筒領域56の半径がこの条件を満たすことで、候補位置CPに対応する候補点Rが2次元画像40内に視認可能に表示される。このため、ユーザは、2次元画像40を視認することで、2次元画像40に表示された候補点Rを第2の計測点Q2として指定することが可能となる。 It is preferable that the radius of the cylindrical region 56 is greater than the predicted distance between the first position P1 and the second position P2, for example. When the radius of the cylindrical region 56 satisfies this condition, the candidate point R corresponding to the candidate position CP is displayed visibly within the two-dimensional image 40. Therefore, by visually viewing the two-dimensional image 40, the user can designate the candidate point R displayed on the two-dimensional image 40 as the second measurement point Q2.
導出部20Cは、円筒領域56の半径として上記条件を満たす値を予め算出し、予め記憶部16に記憶すればよい。 The derivation unit 20C can pre-calculate a value that satisfies the above conditions as the radius of the cylindrical region 56 and store it in advance in the memory unit 16.
例えば、導出部20Cは、3次元情報30に含まれる三次元オブジェクトOBの最大寸法および平均寸法を用いて、円筒領域56の半径を予め算出する。また、導出部20Cは、取得部20Aで取得した3次元情報30の取得環境に基づいて、円筒領域56の半径を予め算出する。例えば、3次元情報30の取得環境が、1または複数の什器を三次元オブジェクトOBとして含むオフィス環境である場合を想定する。この場合、導出部20Cは、オフィス環境に含まれる可能性のある三次元オブジェクトOBの最大寸法および平均寸法を公知の方法で予め取得し、円筒領域56の半径の算出に用いればよい。導出部20Cは、オフィス環境に含まれる可能性のある三次元オブジェクトOBの仕様情報または標準規格を規定した規格情報から、三次元オブジェクトOBの最大寸法および平均寸法を取得すればよい。 For example, the derivation unit 20C calculates the radius of the cylindrical region 56 in advance using the maximum and average dimensions of the three-dimensional object OB included in the three-dimensional information 30. The derivation unit 20C also calculates the radius of the cylindrical region 56 in advance based on the acquisition environment of the three-dimensional information 30 acquired by the acquisition unit 20A. For example, assume that the acquisition environment of the three-dimensional information 30 is an office environment that includes one or more pieces of furniture as three-dimensional objects OB. In this case, the derivation unit 20C may acquire in advance the maximum and average dimensions of the three-dimensional objects OB that may be included in the office environment using a known method, and use these dimensions to calculate the radius of the cylindrical region 56. The derivation unit 20C may acquire the maximum and average dimensions of the three-dimensional objects OB from specification information or standard information that specifies the standards for the three-dimensional objects OB that may be included in the office environment.
導出部20Cは、3次元情報30の複数の取得環境それぞれに対応した規格情報から、選択した規格情報に基づいて円筒領域56の半径を算出してもよい。取得環境と規格情報の他の例として、取得環境が家屋やビルディング等の建設工事の現場である場合に、規格情報を建築材料や建築方法で用いられの規格情報を用いることができる。また、ユーザが取得環境または規格情報を予め指定することもできる。ユーザは入力部14Bに所望の取得環境または規格情報を入力し、導出部20Cはユーザが入力した取得環境または規格情報に基づいて、円筒領域56の半径を算出しても良い。また、ユーザが円筒領域56の半径そのものを予め入力しておいても良い。ユーザが、取得環境、規格情報、半径などを指定することで、より的確に候補点Rを2次元画像40上に表示することができる。前述の規格情報は、情報処理装置がデータベースとして記憶していてもよく(例えば、図12のROM90B)、外部のデータベースから取得しても良い。 The derivation unit 20C may calculate the radius of the cylindrical region 56 based on the selected standard information from the standard information corresponding to each of the multiple acquisition environments of the three-dimensional information 30. As another example of the acquisition environment and standard information, if the acquisition environment is a construction site such as a house or building, the standard information may be standard information used for building materials and construction methods. The user may also specify the acquisition environment or standard information in advance. The user may input the desired acquisition environment or standard information into the input unit 14B, and the derivation unit 20C may calculate the radius of the cylindrical region 56 based on the acquisition environment or standard information entered by the user. The user may also input the radius of the cylindrical region 56 itself in advance. By the user specifying the acquisition environment, standard information, radius, etc., the candidate point R can be more accurately displayed on the two-dimensional image 40. The standard information may be stored in a database by the information processing device (e.g., ROM 90B in FIG. 12) or may be acquired from an external database.
また、導出部20Cは、2次元画像40に基づいて、円筒領域56の半径を算出してもよい。例えば、導出部20Cは、2次元画像40の表示時の画像サイズの1/4に相当する第1の計測点Q1の範囲を、円筒領域56の半径として設定してもよい。この場合、導出部20Cは、2次元画像40における第1の計測点Q1の周囲の、画像サイズの約1/2に相当する領域を、候補位置CPとして特定可能となる。 The derivation unit 20C may also calculate the radius of the cylindrical region 56 based on the two-dimensional image 40. For example, the derivation unit 20C may set the range of the first measurement point Q1, which corresponds to 1/4 of the image size of the two-dimensional image 40 when displayed, as the radius of the cylindrical region 56. In this case, the derivation unit 20C can identify the region around the first measurement point Q1 in the two-dimensional image 40, which corresponds to approximately 1/2 of the image size, as the candidate position CP.
また、導出部20Cは、3次元情報30と該3次元情報30に対して候補位置CPの特定時に用いられた円筒領域56の半径との組み合わせを教師データとして用意する。そして、導出部20Cは、複数の教師データを用いて予め機械学習された学習モデルを用いて、3次元情報30から円筒領域56の半径を導出してもよい。学習モデルの学習は、制御部20で行ってもよく、また、通信部12を介して接続された外部の情報処理装置で行ってもよい。 The derivation unit 20C also prepares, as training data, a combination of the three-dimensional information 30 and the radius of the cylindrical region 56 used when identifying the candidate position CP for the three-dimensional information 30. The derivation unit 20C may then derive the radius of the cylindrical region 56 from the three-dimensional information 30 using a learning model that has been machine-learned in advance using multiple pieces of training data. The learning of the learning model may be performed by the control unit 20, or may be performed by an external information processing device connected via the communication unit 12.
なお、3次元情報30が、三次元オブジェクトOBに関わる情報を含む場合がある。すなわち、3次元情報30が三次元オブジェクトOBごとにセグメンテーションされた情報である場合がある。また、ユーザによる入力部14Bの操作によって入力された第1の計測点Q1に対応する第1の位置P1が、三次元オブジェクトOB上の位置である場合を想定する。 It should be noted that the three-dimensional information 30 may include information related to the three-dimensional object OB. That is, the three-dimensional information 30 may be information segmented for each three-dimensional object OB. It is also assumed that the first position P1 corresponding to the first measurement point Q1 input by the user through operation of the input unit 14B is a position on the three-dimensional object OB.
この場合、導出部20Cは、該三次元オブジェクトOB上の位置で、且つ第1の位置P1からもっとも離れた位置に第2の位置P2の候補位置CPを設定することが好ましい。また、この場合、導出部20Cは、該三次元オブジェクトOB上の位置で、且つ、第1の位置P1から最も離れた該三次元オブジェクトOBの頂点の位置に、候補位置CPを設定してもよい。 In this case, it is preferable that the derivation unit 20C set the candidate position CP for the second position P2 at a position on the three-dimensional object OB that is the farthest from the first position P1. In this case, the derivation unit 20C may also set the candidate position CP at a position on the three-dimensional object OB that is the vertex of the three-dimensional object OB that is the farthest from the first position P1.
詳細には、導出部20Cは、ユーザの入力部14Bへの入力によって指定された第1の計測点Q1に対応する、3次元情報30によって表される3次元空間Sにおける第1の位置P1が存在する三次元オブジェクトOBを特定する。そして、導出部20Cは、特定した三次元オブジェクトOB上における、ユーザが第1の計測点Q1の指定時に用いた2次元画像40の仮想視点VPである第1の仮想視点からの死角BSを特定する。導出部20Cは、特定した死角BS内における、重心位置、または、第1の位置P1からもっとも遠い該三次元オブジェクトOB上の頂点の位置に、候補位置CPを設定すればよい。 In detail, the derivation unit 20C identifies a three-dimensional object OB at which a first position P1 exists in the three-dimensional space S represented by the three-dimensional information 30, corresponding to a first measurement point Q1 specified by a user's input to the input unit 14B. The derivation unit 20C then identifies a blind spot BS on the identified three-dimensional object OB from a first virtual viewpoint VP, which is the virtual viewpoint VP of the two-dimensional image 40 used by the user when specifying the first measurement point Q1. The derivation unit 20C may set a candidate position CP at the center of gravity position within the identified blind spot BS, or at the position of the vertex on the three-dimensional object OB that is farthest from the first position P1.
導出部20Cが第1の位置P1からもっとも遠い該三次元オブジェクトOB上の頂点の位置に候補位置CPを設定すると、後述する表示制御部20Dは、第1の計測点Q1がある三次元オブジェクトOB全体を含む2次元画像40を表示部14Aに表示することができる。このため、表示制御部20Dは、容易に第2の計測点Q2を選択可能な2次元画像40を表示することが可能となる。 When the derivation unit 20C sets the candidate position CP at the position of the vertex on the three-dimensional object OB that is farthest from the first position P1, the display control unit 20D (described later) can display a two-dimensional image 40 including the entire three-dimensional object OB where the first measurement point Q1 is located on the display unit 14A. This allows the display control unit 20D to display a two-dimensional image 40 from which the second measurement point Q2 can be easily selected.
上記処理により、導出部20Cは、第2の位置P2に関わる位置情報である候補位置CPの位置情報を、ユーザの入力部14Bへの入力から取得、または、第1の位置情報に基づいて算出することで導出する。 Through the above processing, the derivation unit 20C derives the position information of the candidate position CP, which is position information related to the second position P2, by obtaining it from the user's input to the input unit 14B or by calculating it based on the first position information.
ここで、導出部20Cによって導出された候補位置CPが第1の仮想視点VP1に配置された仮想カメラ52の死角BSに位置する場合、該第1の仮想視点VP1から3次元空間Sを視認した2次元画像40には、候補位置CPの候補点Rが表示されない。 Here, if the candidate position CP derived by the derivation unit 20C is located in the blind spot BS of the virtual camera 52 placed at the first virtual viewpoint VP1, the candidate point R of the candidate position CP will not be displayed in the two-dimensional image 40 of the three-dimensional space S viewed from the first virtual viewpoint VP1.
そこで、導出部20Cは、第1の位置P1と、第2の位置P2の候補位置CPと、の双方が2次元画像40内で視認されるように、2次元画像40の表示形態を変更する。すなわち、導出部20Cは、候補位置CPに対応する候補点Rが2次元画像40内で常に視認されるように、2次元画像40の表示形態を変更する。 Therefore, the derivation unit 20C changes the display format of the two-dimensional image 40 so that both the first position P1 and the candidate position CP of the second position P2 are visible within the two-dimensional image 40. In other words, the derivation unit 20C changes the display format of the two-dimensional image 40 so that the candidate point R corresponding to the candidate position CP is always visible within the two-dimensional image 40.
本実施形態では、導出部20Cは、仮想視点VPを移動させた2次元画像40の生成、および、死角BSを形成する障害物50を非表示とする、の何れかの処理によって表示形態を変更する。 In this embodiment, the derivation unit 20C changes the display format by either generating a two-dimensional image 40 by moving the virtual viewpoint VP, or by hiding obstacles 50 that form blind spots BS.
まず、第1の位置P1と、第2の位置P2の候補位置CPと、の双方が2次元画像40内で視認されるように、仮想視点VPの位置を移動させた2次元画像40を生成する場合を説明する。 First, we will explain the case where a two-dimensional image 40 is generated by moving the position of the virtual viewpoint VP so that both the first position P1 and the candidate position CP for the second position P2 are visible within the two-dimensional image 40.
図7は、仮想視点VPの位置を移動させた2次元画像40を生成する場合の一例の説明図である。図7には、3次元情報30によって表される3次元空間Sの模式図を示す。 Figure 7 is an explanatory diagram of an example of generating a two-dimensional image 40 in which the position of the virtual viewpoint VP has been moved. Figure 7 also shows a schematic diagram of a three-dimensional space S represented by three-dimensional information 30.
例えば、導出部20Cが第2の位置P2を取得する前に、表示制御部20Dが第1の仮想視点VP1を仮想視点VPとした2次元画像40(第1の2次元画像に相当)を表示部14Aに表示していた場面を想定する。すなわち、ユーザが第1の計測点Q1の指定時に用いた2次元画像40の仮想視点VPが第1の仮想視点VP1であった場面を想定する。 For example, consider a situation in which, before the derivation unit 20C acquires the second position P2, the display control unit 20D is displaying a two-dimensional image 40 (corresponding to the first two-dimensional image) on the display unit 14A, with the first virtual viewpoint VP1 as the virtual viewpoint VP. In other words, consider a situation in which the virtual viewpoint VP of the two-dimensional image 40 used by the user when specifying the first measurement point Q1 is the first virtual viewpoint VP1.
そして、導出部20Cは、導出した候補位置CPに対応する候補点Rが該2次元画像40(第1の2次元画像)に含まれない場合、第2の仮想視点VP2を仮想視点VPとした2次元画像40である第2の2次元画像を生成する。 Then, if the candidate point R corresponding to the derived candidate position CP is not included in the two-dimensional image 40 (first two-dimensional image), the derivation unit 20C generates a second two-dimensional image, which is a two-dimensional image 40 with the second virtual viewpoint VP2 as the virtual viewpoint VP.
詳細には、導出部20Cは、仮想カメラ52の画角内に第1の位置P1および候補位置CPの双方が入り、且つ、第1の位置P1および候補位置CPの双方が仮想カメラ52の死角BSから外れるように、第2の仮想視点VP2と、第2の仮想視点VP2から3次元空間Sを視認する方向と、を設定する。 In detail, the derivation unit 20C sets the second virtual viewpoint VP2 and the direction in which the three-dimensional space S is viewed from the second virtual viewpoint VP2 so that both the first position P1 and the candidate position CP are within the field of view of the virtual camera 52 and so that both the first position P1 and the candidate position CP are outside the blind spot BS of the virtual camera 52.
具体的には、導出部20Cは、第1の仮想視点VP1に配置された仮想カメラ52が3次元空間Sを視認する方向を表すベクトル中心から左右90度の範囲E内であって、且つ、第1の位置P1と候補位置CPの双方が仮想カメラ52の死角BS外となる位置に、第2の仮想視点VP2を配置する。 Specifically, the derivation unit 20C places the second virtual viewpoint VP2 within a range E of 90 degrees left and right from the center of the vector representing the direction in which the virtual camera 52 placed at the first virtual viewpoint VP1 views the three-dimensional space S, and at a position where both the first position P1 and the candidate position CP are outside the blind spot BS of the virtual camera 52.
また、導出部20Cは、第1の位置P1の配置された三次元オブジェクトOBが特定可能である場合には、該三次元オブジェクトOBの全景が仮想カメラ52の画角内に収まる位置に第2の仮想視点VP2を配置してもよい。 Furthermore, if the three-dimensional object OB located at the first position P1 can be identified, the derivation unit 20C may place the second virtual viewpoint VP2 at a position where the entire view of the three-dimensional object OB falls within the angle of view of the virtual camera 52.
また、導出部20Cは、第2の仮想視点VP2から3次元空間Sを視認する方向を、第1の位置P1と候補位置CPとの中点に相当する方向とすればよい。 Furthermore, the derivation unit 20C may set the direction in which the three-dimensional space S is viewed from the second virtual viewpoint VP2 to a direction corresponding to the midpoint between the first position P1 and the candidate position CP.
そして、導出部20Cは、3次元情報30によって表される3次元空間Sを視点変換後の仮想視点VPである第2の仮想視点VP2から視認した2次元画像40を、第2の2次元画像として生成する。なお、3次元空間Sにおける仮想視点VPの移動および移動後の仮想視点VPから3次元空間Sを視認した2次元画像40の生成には、公知の方法を用いればよい。このため、第2の仮想視点VP2から3次元空間Sを視認した2次元画像40である第2の2次元画像には、第1の位置P1および候補位置CPの双方が含まれることとなる。 The derivation unit 20C then generates, as a second two-dimensional image, a two-dimensional image 40 of the three-dimensional space S represented by the three-dimensional information 30 viewed from a second virtual viewpoint VP2, which is the virtual viewpoint VP after viewpoint conversion. Note that known methods may be used to move the virtual viewpoint VP in the three-dimensional space S and to generate a two-dimensional image 40 of the three-dimensional space S viewed from the virtual viewpoint VP after the movement. Therefore, the second two-dimensional image, which is a two-dimensional image 40 of the three-dimensional space S viewed from the second virtual viewpoint VP2, includes both the first position P1 and the candidate position CP.
表示制御部20Dは、導出部20Cで生成された2次元画像40を表示部14Aに表示する。すなわち、表示制御部20Dは、候補位置CPが仮想カメラ52の死角BSに位置する場合、候補位置CPが仮想カメラ52の死角BS外となるように仮想視点VPを第1の仮想視点VP1から第2の仮想視点VP2へ視点変換した2次元画像40を、表示部14Aに表示する。 The display control unit 20D displays the two-dimensional image 40 generated by the derivation unit 20C on the display unit 14A. In other words, when the candidate position CP is located in the blind spot BS of the virtual camera 52, the display control unit 20D displays on the display unit 14A a two-dimensional image 40 in which the virtual viewpoint VP is converted from the first virtual viewpoint VP1 to the second virtual viewpoint VP2 so that the candidate position CP is outside the blind spot BS of the virtual camera 52.
なお、表示制御部20Dが第1の2次元画像および第2の2次元画像を生成し、表示部14Aに表示してもよい。この場合、表示制御部20Dは、例えば、第1の仮想視点VP1の仮想カメラ52の位置、回転、画角等のカメラ環境情報を導出部20Cから取得する。そして、該カメラ環境情報によって表される仮想カメラ52の位置から3次元空間Sを視認した第1の2次元画像を表示部14Aに表示する。そして、表示制御部20Dは、第1の仮想視点VP1のカメラ環境情報を、第2の仮想視点VP2のカメラ環境情報に変更することで、第2の2次元画像を表示部14Aに表示してもよい。 The display control unit 20D may generate a first 2D image and a second 2D image and display them on the display unit 14A. In this case, the display control unit 20D acquires camera environment information, such as the position, rotation, and angle of view of the virtual camera 52 of the first virtual viewpoint VP1, from the derivation unit 20C. Then, the display control unit 20D displays a first 2D image of the three-dimensional space S viewed from the position of the virtual camera 52 represented by the camera environment information on the display unit 14A. The display control unit 20D may then change the camera environment information of the first virtual viewpoint VP1 to the camera environment information of the second virtual viewpoint VP2, thereby displaying the second 2D image on the display unit 14A.
このため、表示部14Aには、第1の位置P1および候補位置CPが視認可能に表示された2次元画像40が表示されることとなる。 As a result, a two-dimensional image 40 is displayed on the display unit 14A, in which the first position P1 and the candidate position CP are visually displayed.
導出部20Cは、3次元空間Sを第2の仮想視点VP2から視認した2次元画像40における、第1の位置P1に対応する2次元画像上の位置Q1’と、候補位置CPに対応する2次元画像上の位置CP’を算出する。 The derivation unit 20C calculates a position Q1' on the two-dimensional image 40 corresponding to the first position P1 and a position CP' on the two-dimensional image corresponding to the candidate position CP in the two-dimensional image 40 of the three-dimensional space S viewed from the second virtual viewpoint VP2.
表示制御部20Dは、2次元画像40の位置Q1’に第1の位置P1であることを示す第1の識別情報を表示し、2次元画像40の位置CP’に候補位置CPであることを示す第2の識別情報を表示する。第1の識別情報および第2の識別情報は、図3に示す円形のシンボルに対応する。表示制御部は位置Q1’と位置CP’とを結ぶ線分(図3における破線)である第3の識別情報を表示する。 The display control unit 20D displays first identification information indicating the first position P1 at position Q1' on the two-dimensional image 40, and displays second identification information indicating the candidate position CP at position CP' on the two-dimensional image 40. The first identification information and second identification information correspond to the circular symbols shown in FIG. 3. The display control unit displays third identification information, which is a line segment (dashed line in FIG. 3) connecting positions Q1' and CP'.
第1の識別情報および第2の識別情報は、それぞれ第1の位置P1および候補位置CPの2次元画像40での位置を視認できる情報であればよく、図3に示す円形のシンボルに限定されない。例えば、第1の識別情報および第2の識別情報の他の例としては、シンボル(矢印や多角形のアイコンなど)や第1の位置P1を示す文字情報(例えば「測定点1」など)としてもよく、シンボルと文字情報を組み合わせたものでも良い。さらに、第1の識別情報と第2の識別情報の形状や色などの互いに異ならせて表示しても良い。 The first identification information and second identification information may be any information that allows the visual recognition of the positions of the first position P1 and candidate position CP in the two-dimensional image 40, respectively, and are not limited to the circular symbols shown in FIG. 3. For example, other examples of the first identification information and second identification information may include symbols (such as arrow or polygonal icons), text information indicating the first position P1 (such as "measurement point 1"), or a combination of symbols and text information. Furthermore, the first identification information and second identification information may be displayed with different shapes, colors, etc.
第3の識別情報は、図3の第1の識別情報と第2の識別情報を結ぶ破線状の線分に限定されない。第3の識別情報の他の例としては、位置Q1’から位置CP’に向かう矢印などであってもよい。 The third identification information is not limited to the dashed line segment connecting the first identification information and the second identification information in Figure 3. Another example of the third identification information may be an arrow pointing from position Q1' to position CP'.
表示制御部20Dは、仮想視点VP2の移動に伴う2次元画像の変更に合わせて更新される位置Q1’とCP’に応じて、第1の識別情報、第2の識別情報、第3の識別情報のそれぞれを2次元画像40に表示する。 The display control unit 20D displays the first identification information, second identification information, and third identification information on the two-dimensional image 40 according to the positions Q1' and CP', which are updated in accordance with changes in the two-dimensional image as the virtual viewpoint VP2 moves.
第1の識別情報、第2の識別情報、および第3の識別情報が、2次元画像40Dに表示されるため、ユーザは第1の位置P1と候補点CPを2次元画像40で視認して確認することができるので、第2の位置P2を直感的に確認し指定することができる。 The first identification information, second identification information, and third identification information are displayed in the two-dimensional image 40D, allowing the user to visually confirm the first position P1 and candidate point CP in the two-dimensional image 40D, thereby intuitively confirming and specifying the second position P2.
なお、第1の2次元画像に変えて第2の2次元画像を表示部14Aに表示する場合には、表示制御部20Dは、第1の仮想視点VP1から第2の仮想視点VP2に向かって仮想視点VPを連続的に移動させた2次元画像40を、表示部14Aに表示することが好ましい。 When a second two-dimensional image is displayed on the display unit 14A instead of the first two-dimensional image, it is preferable that the display control unit 20D displays on the display unit 14A a two-dimensional image 40 in which the virtual viewpoint VP is continuously moved from the first virtual viewpoint VP1 to the second virtual viewpoint VP2.
すなわち、表示制御部20Dは、第1の仮想視点VP1と第2の仮想視点VP2との間の複数の仮想視点VPの各々から3次元空間Sを視認した複数の2次元画像40を、表示部14Aに順次表示してもよい。複数の2次元画像40の作成は、導出部20Cで行ってもよく、表示制御部20Dで行ってもよい。 In other words, the display control unit 20D may sequentially display, on the display unit 14A, multiple two-dimensional images 40 of the three-dimensional space S viewed from each of multiple virtual viewpoints VP between the first virtual viewpoint VP1 and the second virtual viewpoint VP2. The creation of the multiple two-dimensional images 40 may be performed by the derivation unit 20C or the display control unit 20D.
また、表示制御部20Dは、第1の仮想視点VP1と第2の仮想視点VP2との間の複数の仮想視点VPの各々から3次元空間Sを視認した複数の2次元画像40のそれぞれに、第1の位置P1と候補位置CPを識別する第1の識別情報と第2の識別情報を表示しても良い。 The display control unit 20D may also display first identification information and second identification information that identify the first position P1 and the candidate position CP on each of a plurality of two-dimensional images 40 of the three-dimensional space S viewed from each of a plurality of virtual viewpoints VP between the first virtual viewpoint VP1 and the second virtual viewpoint VP2.
具体的には、例えば、表示制御部20Dは、第1の仮想視点VP1の仮想カメラ52の位置、回転、画角等のカメラ環境情報を、第2の仮想視点VP2のカメラ環境情報に向かって所定間隔(例えば1秒)で連続的に変化させる。そして、表示制御部20Dは、第1の仮想視点VP1の仮想カメラ52のカメラ環境情報と、第2の仮想視点VP2のカメラ環境情報とが一致したときに、第2の2次元画像に表示を切り替えればよい。 Specifically, for example, the display control unit 20D continuously changes camera environment information such as the position, rotation, and angle of view of the virtual camera 52 of the first virtual viewpoint VP1 at a predetermined interval (e.g., one second) toward the camera environment information of the second virtual viewpoint VP2. Then, the display control unit 20D switches the display to the second two-dimensional image when the camera environment information of the virtual camera 52 of the first virtual viewpoint VP1 matches the camera environment information of the second virtual viewpoint VP2.
表示制御部20Dが、第1の仮想視点VP1と第2の仮想視点VP2との間の複数の仮想視点VPの各々から3次元空間Sを視認した複数の2次元画像40を表示部14Aに順次表示することで、ユーザに対して仮想視点VPの移動をわかりやすく提供することができる。また、表示さえる2次元画像40の急激な変動を防止し、ユーザの認識性を高めることができる。 The display control unit 20D sequentially displays on the display unit 14A multiple two-dimensional images 40 of the three-dimensional space S viewed from each of multiple virtual viewpoints VP between the first virtual viewpoint VP1 and the second virtual viewpoint VP2, thereby providing the user with an easy-to-understand indication of the movement of the virtual viewpoint VP. Furthermore, sudden changes in the displayed two-dimensional images 40 can be prevented, improving user recognition.
なお、表示制御部20Dは、第1の2次元画像および第2の2次元画像の双方を表示部14Aに表示してもよい。 The display control unit 20D may display both the first and second two-dimensional images on the display unit 14A.
図8は、第1の2次元画像および第2の2次元画像の双方が表示部14Aに表示された場面の一例を示す模式図である。 Figure 8 is a schematic diagram showing an example of a scene in which both the first two-dimensional image and the second two-dimensional image are displayed on the display unit 14A.
例えば、2次元画像40Bが、第1の2次元画像である場合を想定する。また、2次元画像40Cが、第2の2次元画像である場合を想定する。 For example, assume that two-dimensional image 40B is the first two-dimensional image. Also, assume that two-dimensional image 40C is the second two-dimensional image.
この場合、例えば、表示制御部20Dは、2次元画像40B上に2次元画像40Cを重畳した2次元画像を表示部14Aに表示してよい。図8に示すように、例えば、第1の2次元画像の一例である2次元画像40Bには、第1の位置P1は含まれるが、候補位置CPは障害物50の死角BSとなって非表示とされている。一方、第2の2次元画像の一例である2次元画像40Cには、第1の位置P1および候補位置CPの双方が視認可能に表示される。このため、ユーザは、候補位置CPを常に視認することが可能となる。 In this case, for example, the display control unit 20D may display on the display unit 14A a two-dimensional image in which two-dimensional image 40C is superimposed on two-dimensional image 40B. As shown in FIG. 8, for example, two-dimensional image 40B, which is an example of a first two-dimensional image, includes first position P1, but candidate position CP is hidden because it is in the blind spot BS of obstacle 50. On the other hand, two-dimensional image 40C, which is an example of a second two-dimensional image, displays both first position P1 and candidate position CP so that they can be seen. This allows the user to always see candidate position CP.
また、表示制御部20Dが、2次元画像40B上に2次元画像40Cを重畳した2次元画像を表示部14Aに表示することで、ユーザは、視点変換前後の双方の2次元画像40を確認することができる。このため、ユーザは、候補位置CPを確認しやすくなる。また、2次元画像40が突然切り替えられて表示されることによる混乱を抑制することができる。 Furthermore, by displaying on the display unit 14A a two-dimensional image in which two-dimensional image 40C is superimposed on two-dimensional image 40B, the display control unit 20D allows the user to check both the two-dimensional images 40 before and after the viewpoint conversion. This makes it easier for the user to check the candidate position CP. It also reduces confusion caused by the two-dimensional image 40 suddenly being switched and displayed.
なお、表示制御部20Dは、第1の位置P1を識別する第1の識別情報、および第2の位置P2を識別する第2の識別情報を、2次元画像40に重畳して表示してもよい。例えば、図8に示すように、表示制御部20Dは、第1の位置P1および第2の位置P2または候補位置CPの各々を表すアイコン画像を2次元画像40に重畳表示してよい。図8には、一例として、アイコン画像を丸印で示す。 The display control unit 20D may superimpose first identification information that identifies the first position P1 and second identification information that identifies the second position P2 on the two-dimensional image 40. For example, as shown in FIG. 8, the display control unit 20D may superimpose icon images that represent the first position P1 and the second position P2 or the candidate position CP on the two-dimensional image 40. In FIG. 8, the icon images are shown as circles as an example.
なお、第1の位置P1を識別する第1の識別情報、および第2の位置P2を識別する第2の識別情報は、第1の位置P1および第2の位置P2または候補位置CPの各々を識別可能な情報であればよく、アイコン画像に限定されない。識別情報は、例えば、文字画像などであってもよい。 Note that the first identification information that identifies the first position P1 and the second identification information that identifies the second position P2 need only be information that can identify the first position P1, the second position P2, or the candidate position CP, and is not limited to icon images. The identification information may be, for example, a text image.
上述では、第2の位置P2または候補位置CPが一つの場合について説明したが、導出部20Cは第2の位置P2または候補位置CPを複数算出しても良く、表示制御部20Dは、第1の位置P1と複数の候補位置CP(または複数の第2の位置P2)の全てに対応する位置が、2次元画像40に含まれるように2次元画像40を表示部14Aに表示してもよい。 The above describes the case where there is one second position P2 or candidate position CP, but the derivation unit 20C may calculate multiple second positions P2 or candidate positions CP, and the display control unit 20D may display the two-dimensional image 40 on the display unit 14A so that the two-dimensional image 40 includes positions corresponding to the first position P1 and all of the multiple candidate positions CP (or multiple second positions P2).
次に、導出部20Cが、第1の位置P1と候補位置CPとの双方が2次元画像40内で視認されるように、死角BSを形成する障害物50を非表示とする場合を説明する。障害物50を非表示とする、とは、障害物50の少なくとも一部を透明または半透明にして表示することを意味する。 Next, we will explain the case where the derivation unit 20C hides the obstacle 50 that forms the blind spot BS so that both the first position P1 and the candidate position CP are visible in the two-dimensional image 40. Hiding the obstacle 50 means displaying at least a portion of the obstacle 50 transparently or semi-transparently.
詳細には、導出部20Cは、仮想視点VPと候補位置CPとの間に存在し、且つ候補位置CPの表示を阻害する障害物50を透明または半透明にした2次元画像40を生成する。そして、表示制御部20Dは、導出部20Cで生成された2次元画像40を表示部14Aに表示する。なお、2次元画像40の生成は、表示制御部20Dで行ってもよい。 In detail, the derivation unit 20C generates a two-dimensional image 40 in which obstacles 50 that exist between the virtual viewpoint VP and the candidate position CP and that obstruct the display of the candidate position CP are made transparent or semi-transparent. The display control unit 20D then displays the two-dimensional image 40 generated by the derivation unit 20C on the display unit 14A. Note that the generation of the two-dimensional image 40 may also be performed by the display control unit 20D.
図9は、障害物50を非表示とした2次元画像40の生成の一例の説明図である。 Figure 9 is an explanatory diagram of an example of generating a two-dimensional image 40 in which the obstacle 50 is not displayed.
導出部20Cは、3次元空間Sにおける候補位置CPと、仮想カメラ52の仮想視点VPと、を結ぶ直線L3を導出する。そして、導出部20Cは、3次元情報30によって表される3次元空間Sにおける、導出した直線L3と交差する物体の3次元情報を、透明または半透明とする。図9には、直線L3と交差する障害物50を表す3次元情報を透明または半透明とする場合を一例として示す。半透明の透明度は、該仮想視点VPから3次元空間Sを視認した2次元画像40を表示部14Aに表示したときに、候補位置CPが視認可能に表示される透明度であればよい。 The derivation unit 20C derives a straight line L3 connecting the candidate position CP in the three-dimensional space S and the virtual viewpoint VP of the virtual camera 52. The derivation unit 20C then makes the three-dimensional information of an object that intersects with the derived straight line L3 in the three-dimensional space S represented by the three-dimensional information 30 transparent or semi-transparent. Figure 9 shows an example in which the three-dimensional information representing an obstacle 50 that intersects with the straight line L3 is made transparent or semi-transparent. The degree of semi-transparency may be such that the candidate position CP is visibly displayed when a two-dimensional image 40 of the three-dimensional space S viewed from the virtual viewpoint VP is displayed on the display unit 14A.
障害物50を透明または半透明とした2次元画像40を表示部14Aに表示することで、仮想視点VPの移動を低減し、ユーザに対して容易に視認可能に候補位置CPを表示することができる。 By displaying a two-dimensional image 40 on the display unit 14A in which the obstacle 50 is transparent or semi-transparent, movement of the virtual viewpoint VP is reduced and the candidate position CP can be displayed in a way that is easily visible to the user.
なお、導出部20Cは、3次元空間Sにおける直線L3に交差する物体の全体を非表示または透明としてもよく、また、該物体の一部を非表示または透明としてもよい。物体の一部を非表示とする場合には、導出部20Cは、直線L3に交差する位置に配置された障害物50によって形成される死角BS内に位置されている候補位置CPが仮想カメラ52の死角BS外となるように、障害物50の一部を非表示とすればよい。障害物50の一部を非表示とすることで、ユーザの意図しない領域が非表示となることを抑制することができる。 The derivation unit 20C may hide or make transparent the entire object that intersects the line L3 in the three-dimensional space S, or may hide or make transparent only a portion of the object. When hiding a portion of an object, the derivation unit 20C may hide a portion of the obstacle 50 so that the candidate position CP, which is located within the blind spot BS formed by the obstacle 50 located at a position that intersects the line L3, is outside the blind spot BS of the virtual camera 52. By hiding a portion of the obstacle 50, it is possible to prevent areas unintended by the user from being hidden.
これらの処理により、表示制御部20Dは、仮想視点VPと候補位置CPとの間に存在し、且つ候補位置CPの表示を阻害する障害物50を透明または半透明にした2次元画像40を表示部14Aに表示する。 Through these processes, the display control unit 20D displays on the display unit 14A a two-dimensional image 40 in which obstacles 50 that exist between the virtual viewpoint VP and the candidate position CP and that obstruct the display of the candidate position CP are made transparent or semi-transparent.
このため、表示部14Aには、第1の位置P1および候補位置CPの双方が視認可能に表示される。 As a result, both the first position P1 and the candidate position CP are displayed visibly on the display unit 14A.
上述では、第2の位置P2または候補位置CPが一つの場合について説明したが、導出部20Cは第2の位置P2または候補位置CPを複数算出しても良い。また、表示制御部20Dは、第1の位置P1と複数の候補位置CP(または複数の第2の位置P2)の全てに対応する位置が、2次元画像40に含まれるように2次元画像40を表示部14Aに表示してもよい。 In the above, the case where there is one second position P2 or candidate position CP has been described, but the derivation unit 20C may calculate multiple second positions P2 or candidate positions CP. Furthermore, the display control unit 20D may display the two-dimensional image 40 on the display unit 14A so that the two-dimensional image 40 includes positions corresponding to the first position P1 and all of the multiple candidate positions CP (or multiple second positions P2).
そして、導出部20Cは、表示された候補位置CPの候補点Rに対する確定指示を、ユーザの入力部14Bへの入力により取得すると、導出部20Cは、該候補位置CPを第2の位置P2として確定する。 Then, when the derivation unit 20C acquires a confirmation instruction for the candidate point R of the displayed candidate position CP through input by the user to the input unit 14B, the derivation unit 20C confirms the candidate position CP as the second position P2.
図1に戻り説明を続ける。距離算出部20Eは、第1の位置P1と第2の位置P2との距離を算出する。距離算出部20Eは、3次元空間Sにおける第1の位置P1に関わる第1の位置情報と、第2の位置P2に関わる位置情報と、を特定することで、3次元空間Sにおける第1の位置P1および第2の位置P2の各々の位置座標を特定する。そして、距離算出部20Eは、特定した位置座標を用いて、第1の位置P1と第2の位置P2とのユークリッド距離を算出することで、第1の位置P1と第2の位置P2との距離を算出する。 Returning to Figure 1, the explanation continues. The distance calculation unit 20E calculates the distance between the first position P1 and the second position P2. The distance calculation unit 20E identifies first position information related to the first position P1 in the three-dimensional space S and position information related to the second position P2, thereby identifying the position coordinates of each of the first position P1 and the second position P2 in the three-dimensional space S. The distance calculation unit 20E then calculates the Euclidean distance between the first position P1 and the second position P2 using the identified position coordinates, thereby calculating the distance between the first position P1 and the second position P2.
また、導出部20Cによって新たな候補位置CPの位置情報が更に導出され、該候補位置CPが第2の位置P2として確定された場合、距離算出部20Eは、第1の位置P1と、第2の位置P2と、1または複数の新たに確定された他の第2の位置P2と、を用いて、これらの位置によって規定される領域の面積を算出してもよい。 Furthermore, if the derivation unit 20C further derives position information of a new candidate position CP and the candidate position CP is confirmed as the second position P2, the distance calculation unit 20E may use the first position P1, the second position P2, and one or more newly confirmed other second positions P2 to calculate the area of the region defined by these positions.
次に、本実施形態の情報処理装置10で実行される情報処理の流れを説明する。 Next, we will explain the flow of information processing executed by the information processing device 10 of this embodiment.
図10は、本実施形態の情報処理装置10で実行される情報処理の流れの一例を示すフローチャートである。 Figure 10 is a flowchart showing an example of the flow of information processing executed by the information processing device 10 of this embodiment.
取得部20Aは、撮影装置11から3次元情報30を取得する(ステップS100)。 The acquisition unit 20A acquires three-dimensional information 30 from the imaging device 11 (step S100).
導出部20Cは、初期位置としての仮想視点である第1の仮想視点VP1、および第1の仮想視点VP1から3次元空間Sを視認する視認方向を決定する(ステップS102)。 The derivation unit 20C determines a first virtual viewpoint VP1, which is a virtual viewpoint serving as the initial position, and a viewing direction for viewing the three-dimensional space S from the first virtual viewpoint VP1 (step S102).
次に、導出部20Cは、ステップS100で取得した3次元情報30によって表される3次元空間Sを、ステップS102で決定した第1の仮想視点VP1から初期方向に視認した2次元画像40を生成する(ステップS104)。ステップS104の処理によって、第1の2次元画像である2次元画像40が生成される。 Next, the derivation unit 20C generates a two-dimensional image 40 in which the three-dimensional space S represented by the three-dimensional information 30 acquired in step S100 is viewed in the initial direction from the first virtual viewpoint VP1 determined in step S102 (step S104). The processing of step S104 generates the two-dimensional image 40, which is the first two-dimensional image.
表示制御部20Dは、ステップS104で生成された2次元画像40を表示部14Aに表示する(ステップS106)。このため、例えば、表示部14Aには、図2に示す2次元画像40Aが表示される。 The display control unit 20D displays the two-dimensional image 40 generated in step S104 on the display unit 14A (step S106). Therefore, for example, the two-dimensional image 40A shown in FIG. 2 is displayed on the display unit 14A.
導出部20Cは、ステップS100で取得した3次元情報30によって表される3次元空間Sにおける、第1の位置P1に関わる第1の位置情報を、ユーザの入力部14Bへの入力により取得する(ステップS108)。 The derivation unit 20C acquires first position information relating to the first position P1 in the three-dimensional space S represented by the three-dimensional information 30 acquired in step S100 through input by the user to the input unit 14B (step S108).
詳細には、ユーザは、ステップS106で表示部14Aに表示された2次元画像40Aを視認しながら入力部14Bを操作することで、第1の計測点Q1を指定する。ユーザによる指定によって、受付部20Bは、表示された2次元画像40Aにおける指定された第1の計測点Q1の位置を表す情報を導出部20Cへ出力する。導出部20Cは、2次元画像40Aにおける第1の計測点Q1の位置を表す情報を受け付けると、公知の座標変換処理により、3次元情報30によって表される3次元空間Sにおける、第1の計測点Q1に対応する位置である第1の位置P1に関わる第1の位置情報を導出する。これらの処理により、導出部20Cは、第1の位置P1に関わる第1の位置情報を取得する。 In detail, the user specifies a first measurement point Q1 by operating the input unit 14B while viewing the two-dimensional image 40A displayed on the display unit 14A in step S106. In response to the user's specification, the reception unit 20B outputs information representing the position of the specified first measurement point Q1 in the displayed two-dimensional image 40A to the derivation unit 20C. Upon receiving the information representing the position of the first measurement point Q1 in the two-dimensional image 40A, the derivation unit 20C uses a known coordinate transformation process to derive first position information relating to a first position P1, which is a position corresponding to the first measurement point Q1 in the three-dimensional space S represented by the three-dimensional information 30. Through these processes, the derivation unit 20C acquires the first position information relating to the first position P1.
次に、導出部20Cは、候補位置CPをユーザが指定するか否かを判断する(ステップS110)。ステップS110では、導出部20Cは、候補位置CPの位置情報をユーザの入力部14Bへの入力から取得するか否かを判別することで、ステップS110の判断を行う。本実施形態では、導出部20Cは、ユーザによる入力部14Bの入力形態が所定条件を満たすか否かを判別する。所定条件とは、入力形態がマウス等のポインティングデバイスである場合、または、入力形態がタッチパネルのドラッグ操作であり、かつ、2次元画像40を表示中の表示部14Aにおけるポインタ位置PPが明確である場合である。 Next, the derivation unit 20C determines whether the user designates a candidate position CP (step S110). In step S110, the derivation unit 20C makes the determination of step S110 by determining whether position information for the candidate position CP is acquired from the user's input to the input unit 14B. In this embodiment, the derivation unit 20C determines whether the input form by the user to the input unit 14B satisfies a predetermined condition. The predetermined condition is when the input form is a pointing device such as a mouse, or when the input form is a drag operation on a touch panel, and the pointer position PP is clear on the display unit 14A displaying the two-dimensional image 40.
ステップS110で肯定判断すると(ステップS110:Yes)、ステップS112へ進む。 If the answer is affirmative in step S110 (step S110: Yes), proceed to step S112.
ステップS112では、導出部20Cは、ユーザの入力部14Bへの入力によるポインタ位置PPから候補位置CPの位置情報を取得する(ステップS112)。ステップS112では、導出部20Cは、ユーザによる入力部14Bによる操作によって指定された、2次元画像40上のポインタ位置PPを特定する。導出部20Cは、特定したポインタ位置PPを候補点Rとし、該候補点Rに対応する3次元空間S内の位置を、候補位置CPとして特定する。そして、導出部20Cは、3次元空間S内の該候補位置CPの位置情報を取得する。そして、後述するステップS116へ進む。 In step S112, the derivation unit 20C acquires position information of the candidate position CP from the pointer position PP input by the user to the input unit 14B (step S112). In step S112, the derivation unit 20C identifies the pointer position PP on the two-dimensional image 40 that was specified by the user's operation using the input unit 14B. The derivation unit 20C sets the identified pointer position PP as a candidate point R, and identifies the position in the three-dimensional space S that corresponds to the candidate point R as the candidate position CP. The derivation unit 20C then acquires position information of the candidate position CP in the three-dimensional space S. The process then proceeds to step S116, which will be described later.
一方、ステップS110で否定判断すると(ステップS110:No)、ステップS114へ進む。 On the other hand, if a negative judgment is made in step S110 (step S110: No), proceed to step S114.
ステップS114では、導出部20Cは、候補位置CPの位置情報を第1の位置情報に基づいて算出する(ステップS114)。導出部20Cは、表示部14Aに表示されている2次元画像40の仮想視点VPと第1の位置P1の位置情報とに基づいて、候補位置CPの位置情報を算出する。そして、ステップS116へ進む。 In step S114, the derivation unit 20C calculates the position information of the candidate position CP based on the first position information (step S114). The derivation unit 20C calculates the position information of the candidate position CP based on the virtual viewpoint VP of the two-dimensional image 40 displayed on the display unit 14A and the position information of the first position P1. Then, the process proceeds to step S116.
ステップS116では、導出部20Cは、導出した候補位置CPの位置情報に基づいて、該候補位置CPが死角BS内であるか否かを判断する(ステップS116)。導出部20Cは、表示部14Aに現在表示されている2次元画像40の仮想視点VPである第1の仮想視点VP1に配置された仮想カメラ52の死角BS内に、候補位置CPが位置しているか否かを判断する。 In step S116, the derivation unit 20C determines whether the candidate position CP is within a blind spot BS based on the derived position information of the candidate position CP (step S116). The derivation unit 20C determines whether the candidate position CP is located within a blind spot BS of the virtual camera 52 located at the first virtual viewpoint VP1, which is the virtual viewpoint VP of the two-dimensional image 40 currently displayed on the display unit 14A.
候補位置CPが死角BS外に位置すると判断すると(ステップS116:No)、ステップS118へ進む。 If it is determined that the candidate position CP is located outside the blind spot BS (step S116: No), proceed to step S118.
ステップS118では、表示制御部20Dが、3次元情報30によって表される3次元空間SをステップS116の判断時に用いた第1の仮想視点VP1から視認した2次元画像40を、表示部14Aに表示する(ステップS118)。ステップS118の処理によって、表示部14Aには、第1の位置P1と、ステップS112またはステップS114で導出された候補位置CPと、の双方が視認可能に表示された2次元画像40が表示される。そして、後述するステップS124へ進む。 In step S118, the display control unit 20D displays on the display unit 14A a two-dimensional image 40 of the three-dimensional space S represented by the three-dimensional information 30 viewed from the first virtual viewpoint VP1 used in the determination of step S116 (step S118). By processing step S118, the display unit 14A displays a two-dimensional image 40 in which both the first position P1 and the candidate position CP derived in step S112 or step S114 are visually displayed. Then, the process proceeds to step S124, which will be described later.
一方、候補位置CPが死角BS内に位置すると判断すると(ステップS116:Yes)、ステップS120へ進む。 On the other hand, if it is determined that the candidate position CP is located within the blind spot BS (step S116: Yes), proceed to step S120.
ステップS120では、導出部20Cが、第1の位置P1と候補位置CPとの双方が2次元画像40内で視認されるように、2次元画像40の表示形態を変更する(ステップS120)。ステップS120では、導出部20Cは、候補位置CPに対応する候補点Rが2次元画像40内で常に視認されるように、仮想視点VPを第2の仮想視点VP2へ移動させた2次元画像40の生成、および、死角BSを形成する障害物50を非表示とする、の何れかの処理によって表示形態を変更する。そして、表示制御部20Dは、ステップS120で表示形態を変更された2次元画像40を表示部14Aに表示する(ステップS122)。 In step S120, the derivation unit 20C changes the display format of the two-dimensional image 40 so that both the first position P1 and the candidate position CP are visible within the two-dimensional image 40 (step S120). In step S120, the derivation unit 20C changes the display format by either generating a two-dimensional image 40 in which the virtual viewpoint VP is moved to a second virtual viewpoint VP2, or by hiding the obstacle 50 that forms the blind spot BS, so that the candidate point R corresponding to the candidate position CP is always visible within the two-dimensional image 40. The display control unit 20D then displays the two-dimensional image 40, the display format of which was changed in step S120, on the display unit 14A (step S122).
ステップS120およびステップS122の処理によって、表示部14Aには、第1の位置P1と、ステップS112またはステップS114で導出された候補位置CPと、の双方が視認可能に表示された2次元画像40が表示される。そして、ステップS124へ進む。 By the processing of steps S120 and S122, a two-dimensional image 40 is displayed on the display unit 14A, in which both the first position P1 and the candidate position CP derived in step S112 or step S114 are visually displayed. Then, the process proceeds to step S124.
ステップS124では、導出部20Cは、ステップS118またはステップS122で表示された候補位置CPの候補点Rに対する確定指示を、ユーザの入力部14Bへの入力により取得したか否かを判断する(ステップS124)。ステップS124で否定判断すると(ステップS124:No)、上記ステップS110へ戻る。ステップS124で肯定判断すると(ステップS124:Yes)、導出部20Cは、確定指示を受付けた候補位置CPを第2の位置P2として確定する(ステップS126)。 In step S124, the derivation unit 20C determines whether a confirmation instruction for the candidate point R of the candidate position CP displayed in step S118 or step S122 has been acquired by a user's input to the input unit 14B (step S124). If a negative judgment is made in step S124 (step S124: No), the process returns to step S110. If a positive judgment is made in step S124 (step S124: Yes), the derivation unit 20C confirms the candidate position CP for which a confirmation instruction has been received as the second position P2 (step S126).
距離算出部20Eは、第1の位置P1と第2の位置P2との距離を算出する(ステップS128)。距離算出部20Eは、ステップS108で取得した第1の位置情報と、ステップS126で海底した第2の位置P2の位置情報と、を用いて、第1の位置P1と第2の位置P2との距離を算出する。 The distance calculation unit 20E calculates the distance between the first position P1 and the second position P2 (step S128). The distance calculation unit 20E calculates the distance between the first position P1 and the second position P2 using the first position information acquired in step S108 and the position information of the second position P2 located on the seabed in step S126.
表示制御部20Dは、ステップS128で算出された第1の位置P1と第2の位置P2との間の距離を表示部14Aに表示する(ステップS130)。そして、本ルーチンを終了する。 The display control unit 20D displays the distance between the first position P1 and the second position P2 calculated in step S128 on the display unit 14A (step S130). Then, this routine ends.
以上説明したように、本実施形態の情報処理装置10は、3次元情報30によって表される3次元空間Sを仮想カメラ52の仮想視点VPから視認した2次元画像40を、表示部14Aに表示する。情報処理装置10は、導出部20Cと、表示制御部20Dと、を備える。導出部20Cは、3次元空間Sにおける第1の位置P1に関わる第1の位置情報をユーザの入力部14Bへの入力により取得し、第2の位置P2に関わる位置情報を、ユーザの入力部14Bへの入力から取得または第1の位置情報に基づいて算出する。表示制御部20Dは、第1の位置P1と第2の位置P2とを含む2次元画像40を表示部14Aに表示する。 As described above, the information processing device 10 of this embodiment displays, on the display unit 14A, a two-dimensional image 40 of the three-dimensional space S represented by the three-dimensional information 30, viewed from the virtual viewpoint VP of the virtual camera 52. The information processing device 10 includes a derivation unit 20C and a display control unit 20D. The derivation unit 20C acquires first position information relating to a first position P1 in the three-dimensional space S through a user's input to the input unit 14B, and acquires position information relating to a second position P2 from the user's input to the input unit 14B or calculates it based on the first position information. The display control unit 20D displays, on the display unit 14A, a two-dimensional image 40 including the first position P1 and the second position P2.
このため、本実施形態の情報処理装置10では、第2の位置P2が3次元空間Sにおける仮想カメラ52の死角BSに入る場合であっても、表示部14Aには、第1の位置P1および第2の位置P2を含む2次元画像40が表示される。すなわち、本実施形態の情報処理装置10は、計測対象の位置を視認可能に含む2次元画像40を表示部14Aに表示する。 For this reason, in the information processing device 10 of this embodiment, even if the second position P2 is within the blind spot BS of the virtual camera 52 in the three-dimensional space S, the display unit 14A displays a two-dimensional image 40 including the first position P1 and the second position P2. In other words, the information processing device 10 of this embodiment displays a two-dimensional image 40 including a visible position of the measurement target on the display unit 14A.
よって、ユーザは、所望の地点が2次元画像40内に表示されるように視点変換のための視点操作を行うことなく、表示された2次元画像40を視認することで所望の第2の位置P2を指定することが可能となる。 Therefore, the user can specify the desired second position P2 by visually viewing the displayed two-dimensional image 40, without having to perform viewpoint manipulation to change the viewpoint so that the desired point is displayed within the two-dimensional image 40.
従って、本実施形態の情報処理装置10は、3次元情報30によって表される3次元空間S内の計測対象の位置を容易に指定可能とすることができる。 Therefore, the information processing device 10 of this embodiment makes it possible to easily specify the position of the measurement target within the three-dimensional space S represented by the three-dimensional information 30.
また、本実施形態の情報処理装置10では、ユーザは、仮想視点VPの視点操作を最小限、または、視点操作を行わずに所望の地点間の距離や面積の計測を完結させることが可能となる。 Furthermore, with the information processing device 10 of this embodiment, the user can complete measurement of the distance or area between desired points with minimal or no viewpoint manipulation of the virtual viewpoint VP.
(変形例1)
上記実施形態では、計測システム1が、撮影装置11と、情報処理装置10と、を含む構成である形態を一例として説明した。しかし、情報処理装置10を、導出部20Cと表示制御部20Dとを少なくとも含む構成とし、該情報処理装置10と距離算出部20Eとを備えた装置を計測装置として構成してもよい。
(Variation 1)
In the above embodiment, an example has been described in which the measurement system 1 includes the imaging device 11 and the information processing device 10. However, the information processing device 10 may include at least the derivation unit 20C and the display control unit 20D, and a device including the information processing device 10 and the distance calculation unit 20E may be configured as the measurement device.
(変形例2)
上記実施形態では、情報処理装置10が、取得部20Aと、受付部20Bと、導出部20Cと、距離算出部20Eと、距離算出部20Eと、を有する構成である形態を一例として説明した。しかし、情報処理装置10に含まれる少なくとも一部の機能を、ネットワーク等に接続された外部の情報処理装置であるサーバ装置等に搭載してもよい。
(Variation 2)
In the above embodiment, the information processing device 10 has been described as having the acquisition unit 20A, the reception unit 20B, the derivation unit 20C, and the distance calculation unit 20E. However, at least some of the functions included in the information processing device 10 may be installed in a server device or other external information processing device connected to a network or the like.
図11は、本変形例の計測システム1Bの一例を示す模式図である。 Figure 11 is a schematic diagram showing an example of a measurement system 1B of this modified example.
計測システム1Bは、撮影装置11と、記憶部17と、情報処理装置10Aと、サーバ装置10Bと、を備える。撮影装置11と記憶部17とは通信可能に接続されている。記憶部17と、情報処理装置10Aと、サーバ装置10Bとは、ネットワークNWを介して通信可能に接続されている。 The measurement system 1B includes an imaging device 11, a storage unit 17, an information processing device 10A, and a server device 10B. The imaging device 11 and the storage unit 17 are connected to each other so that they can communicate with each other. The storage unit 17, the information processing device 10A, and the server device 10B are connected to each other so that they can communicate with each other via a network NW.
記憶部17は、撮影装置11で得られた3次元情報30を記憶する。情報処理装置10Aは、通信部12と、UI部14と、制御部21と、を備える。通信部12、UI部14、および制御部21は、通信可能に接続されている。制御部21は、受付部20Bと、表示制御部20Dと、を有する。通信部12、UI部14、受付部20B、および表示制御部20Dは、上記実施形態と同様である。 The storage unit 17 stores the three-dimensional information 30 obtained by the imaging device 11. The information processing device 10A includes a communication unit 12, a UI unit 14, and a control unit 21. The communication unit 12, UI unit 14, and control unit 21 are connected so that they can communicate with each other. The control unit 21 includes a reception unit 20B and a display control unit 20D. The communication unit 12, UI unit 14, reception unit 20B, and display control unit 20D are the same as in the above embodiment.
サーバ装置10Bは、通信部13と、制御部23と、を備える。通信部13は、ネットワークNWを介して情報処理装置10Aおよび記憶部17と通信する。制御部23は、取得部20Aと、導出部20Cと、距離算出部20Eと、を備える。取得部20A、導出部20C、および距離算出部20Eは、上記実施形態と同様である。 The server device 10B includes a communication unit 13 and a control unit 23. The communication unit 13 communicates with the information processing device 10A and the memory unit 17 via the network NW. The control unit 23 includes an acquisition unit 20A, a derivation unit 20C, and a distance calculation unit 20E. The acquisition unit 20A, derivation unit 20C, and distance calculation unit 20E are the same as in the above embodiment.
図11に示すように、情報処理装置10の少なくとも一部の機能を、サーバ装置10Bに搭載した構成としてもよい。 As shown in FIG. 11, at least some of the functions of the information processing device 10 may be installed in the server device 10B.
次に、上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bのハードウェア構成を説明する。 Next, we will explain the hardware configurations of the information processing device 10, information processing device 10A, and server device 10B in the above embodiment and modified example.
図12は、上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bの一例のハードウェア構成図である。 Figure 12 is a hardware configuration diagram of an example of the information processing device 10, information processing device 10A, and server device 10B according to the above embodiment and modified example.
上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bは、CPU90Aなどの制御装置と、ROM(Read Only Memory)90BやRAM(Random Access Memory)90Cなどの記憶装置と、HDD(ハードディスクドライブ)と、ネットワークに接続して通信を行うI/F90Dと、各部を接続するバス90Eと、を備える。 The information processing device 10, information processing device 10A, and server device 10B in the above-described embodiment and modified examples include a control device such as a CPU 90A, storage devices such as a ROM (Read Only Memory) 90B and a RAM (Random Access Memory) 90C, a HDD (Hard Disk Drive), an I/F 90D that connects to a network for communication, and a bus 90E that connects the various components.
上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bで実行されるプログラムは、ROM90B等に予め組み込まれて提供される。 The programs executed by the information processing device 10, information processing device 10A, and server device 10B in the above-described embodiment and modified examples are provided pre-installed in ROM 90B or the like.
上記実施形態の上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bで実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM(Compact Disk Read Only Memory)、フレキシブルディスク(FD)、CD-R(Compact Disk Recordable)、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録してコンピュータプログラムプロダクトとして提供されるように構成してもよい。 The programs executed by information processing device 10, information processing device 10A, and server device 10B in the above embodiments and variations thereof may be configured to be provided as a computer program product by being recorded in an installable or executable format on a computer-readable recording medium such as a CD-ROM (Compact Disk Read Only Memory), a flexible disk (FD), a CD-R (Compact Disk Recordable), or a DVD (Digital Versatile Disk).
さらに、上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bで実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bで実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。 Furthermore, the programs executed by the information processing device 10, information processing device 10A, and server device 10B in the above embodiments and modified examples may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Furthermore, the programs executed by the information processing device 10, information processing device 10A, and server device 10B in the above embodiments and modified examples may be provided or distributed via a network such as the Internet.
上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bで実行されるプログラムは、コンピュータを上述した上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bの各部として機能させうる。このコンピュータは、CPU90Aがコンピュータで読取可能な記憶媒体からプログラムを主記憶装置上に読み出して実行することができる。 The programs executed by the information processing device 10, information processing device 10A, and server device 10B in the above-described embodiments and modified examples can cause a computer to function as each of the information processing devices 10, information processing device 10A, and server device 10B in the above-described embodiments and modified examples. In this computer, the CPU 90A can read the programs from a computer-readable storage medium onto the main storage device and execute them.
また、上記実施形態および変形例の情報処理装置10、情報処理装置10A、およびサーバ装置10Bは、クラウドシステム上で動作する仮想マシンとして実現されていてもよい。 Furthermore, the information processing device 10, information processing device 10A, and server device 10B in the above-described embodiment and modified examples may be realized as virtual machines operating on a cloud system.
なお、上記には、本発明の実施形態および変形例を説明したが、上記実施形態および変形例は、例として提示したものであり、発明の範囲を限定することは意図していない。この新規な実施形態および変形例は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。この実施形態および変形例は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the above describes embodiments and modifications of the present invention, these embodiments and modifications are presented as examples and are not intended to limit the scope of the invention. These novel embodiments and modifications may be embodied in a variety of other forms, and various omissions, substitutions, and modifications may be made without departing from the spirit of the invention. These embodiments and modifications are included within the scope and spirit of the invention, as well as within the scope of the invention and its equivalents as set forth in the claims.
10、10A 情報処理装置
20C 導出部
20D 表示制御部
20E 距離算出部
10, 10A Information processing device 20C Derivation unit 20D Display control unit 20E Distance calculation unit
Claims (14)
前記3次元空間における第1の位置に関わる第1の位置情報をユーザの入力部への入力により取得し、第2の位置に関わる位置情報を、前記第1の位置情報に基づいて算出する導出部と、
前記第1の位置と、前記第2の位置と、を含む前記2次元画像を前記表示部に表示する表示制御部と、
を備える情報処理装置。 An information processing device that displays, on a display unit, a two-dimensional image obtained by viewing a three-dimensional space represented by three-dimensional information from a virtual viewpoint of a virtual camera,
a derivation unit that acquires first position information related to a first position in the three-dimensional space by a user's input to an input unit, and calculates position information related to a second position based on the first position information;
a display control unit that displays the two-dimensional image including the first position and the second position on the display unit;
An information processing device comprising:
前記表示部に表示された前記2次元画像に対する、前記導出部により前記第1の位置情報に基づいて算出された位置情報を指定する入力に基づいて決定される位置である、請求項1に記載の情報処理装置。 The second position is
The information processing device according to claim 1 , wherein the position is determined based on an input specifying position information calculated by the derivation unit based on the first position information with respect to the two-dimensional image displayed on the display unit.
前記仮想視点と前記第1の位置とに基づいて決定される位置であり、
前記仮想視点と前記第1の位置とを結んだ線分を中心軸とする所定半径の円筒領域内の位置である、
請求項1または請求項2に記載の情報処理装置。 The second position is
a position determined based on the virtual viewpoint and the first position,
a position within a cylindrical region of a predetermined radius with a line segment connecting the virtual viewpoint and the first position as its central axis;
3. The information processing device according to claim 1.
前記第1の位置は、前記3次元オブジェクト上の位置であり、
前記第2の位置は、前記3次元オブジェクト上の位置で、前記第1の位置から最も離れた位置である、
請求項1~請求項4の何れか1項に記載の情報処理装置。 the three-dimensional information includes information related to a three-dimensional object;
the first position is a position on the three-dimensional object;
the second position is a position on the three-dimensional object that is the farthest from the first position;
5. The information processing device according to claim 1.
前記第1の位置は、前記3次元オブジェクト上の位置であり、
前記第2の位置は、前記3次元オブジェクト上の位置で、前記第1の位置から最も離れた該3次元オブジェクトの頂点の位置である、請求項1~請求項5の何れか1項に記載の情報処理装置。 the three-dimensional information includes information related to a three-dimensional object;
the first position is a position on the three-dimensional object;
6. The information processing device according to claim 1, wherein the second position is a position on the three-dimensional object that is a vertex of the three-dimensional object that is farthest from the first position.
前記導出部が前記第2の位置を取得する前に、第1の仮想視点を前記仮想視点とした前記2次元画像である第1の2次元画像を前記表示部に表示し、
前記第2の位置が前記第1の2次元画像に含まれない場合、第2の仮想視点を前記仮想視点とした前記2次元画像である第2の2次元画像を前記表示部に表示し、
前記第2の2次元画像は、前記第1の位置と前記第2の位置とを含む、
請求項1~請求項6の何れか1項に記載の情報処理装置。 The display control unit
before the derivation unit acquires the second position, a first two-dimensional image, which is the two-dimensional image with a first virtual viewpoint as the virtual viewpoint, is displayed on the display unit;
When the second position is not included in the first two-dimensional image, a second two-dimensional image is displayed on the display unit, the second two-dimensional image being the two-dimensional image with a second virtual viewpoint as the virtual viewpoint;
the second two-dimensional image includes the first position and the second position;
7. The information processing device according to claim 1.
前記第1の2次元画像および前記第2の2次元画像を前記表示部に表示する、
請求項7に記載の情報処理装置。 The display control unit
displaying the first two-dimensional image and the second two-dimensional image on the display unit;
The information processing device according to claim 7 .
前記第1の仮想視点と前記第2の仮想視点との間の複数の前記仮想視点の各々から前記3次元空間を視認した複数の前記2次元画像を、前記表示部に順次表示する、
請求項7に記載の情報処理装置。 The display control unit
a plurality of two-dimensional images of the three-dimensional space viewed from each of a plurality of virtual viewpoints between the first virtual viewpoint and the second virtual viewpoint are sequentially displayed on the display unit;
The information processing device according to claim 7 .
前記仮想視点と前記第2の位置との間に存在し且つ前記第2の位置の表示を阻害する障害物を透明または半透明にした前記2次元画像を表示する、
請求項1~請求項6の何れか1項に記載の情報処理装置。 The display control unit
displaying the two-dimensional image in such a manner that an obstacle that exists between the virtual viewpoint and the second position and that obstructs the display of the second position is made transparent or semi-transparent;
7. The information processing device according to claim 1.
前記第1の位置を識別する識別情報、および前記第2の位置を識別する識別情報を前記2次元画像に重畳して表示する、
請求項1~請求項10の何れか1項に記載の情報処理装置。 The display control unit
identification information for identifying the first position and identification information for identifying the second position are displayed superimposed on the two-dimensional image;
The information processing device according to any one of claims 1 to 10.
前記第1の位置と前記第2の位置との距離を算出する距離算出部と、
を備える計測装置。 An information processing device according to any one of claims 1 to 11;
a distance calculation unit that calculates a distance between the first position and the second position;
A measuring device comprising:
前記3次元空間における第1の位置に関わる第1の位置情報をユーザの入力部への入力により取得し、第2の位置に関わる位置情報を、前記第1の位置情報に基づいて算出するステップと、
前記第1の位置と、前記第2の位置と、を含む前記2次元画像を前記表示部に表示するステップと、
を含む情報処理方法。 An information processing method for displaying, on a display unit, a two-dimensional image obtained by viewing a three-dimensional space represented by three-dimensional information from a virtual viewpoint of a virtual camera, the method comprising:
acquiring first position information relating to a first position in the three-dimensional space by a user's input to an input unit, and calculating position information relating to a second position based on the first position information;
displaying the two-dimensional image including the first position and the second position on the display unit;
An information processing method including:
前記3次元空間における第1の位置に関わる第1の位置情報をユーザの入力部への入力により取得し、第2の位置に関わる位置情報を、前記第1の位置情報に基づいて算出するステップと、
前記第1の位置と、前記第2の位置と、を含む前記2次元画像を前記表示部に表示するステップと、
を含む情報処理プログラム。 An information processing program executed by an information processing device that displays, on a display unit, a two-dimensional image of a three-dimensional space represented by three-dimensional information viewed from a virtual viewpoint of a virtual camera,
acquiring first position information relating to a first position in the three-dimensional space by a user's input to an input unit, and calculating position information relating to a second position based on the first position information;
displaying the two-dimensional image including the first position and the second position on the display unit;
An information processing program including:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022038004A JP7826751B2 (en) | 2022-03-11 | 2022-03-11 | Information processing device, measurement device, information processing method, and information processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022038004A JP7826751B2 (en) | 2022-03-11 | 2022-03-11 | Information processing device, measurement device, information processing method, and information processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023132592A JP2023132592A (en) | 2023-09-22 |
| JP7826751B2 true JP7826751B2 (en) | 2026-03-10 |
Family
ID=88065304
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022038004A Active JP7826751B2 (en) | 2022-03-11 | 2022-03-11 | Information processing device, measurement device, information processing method, and information processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7826751B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019012992A1 (en) | 2017-07-14 | 2019-01-17 | 株式会社小松製作所 | Display control device, display control method, program, and display system |
| JP2020126208A (en) | 2019-02-06 | 2020-08-20 | オリンパス株式会社 | Three-dimensional image display method, three-dimensional image display device, and program |
-
2022
- 2022-03-11 JP JP2022038004A patent/JP7826751B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019012992A1 (en) | 2017-07-14 | 2019-01-17 | 株式会社小松製作所 | Display control device, display control method, program, and display system |
| JP2020126208A (en) | 2019-02-06 | 2020-08-20 | オリンパス株式会社 | Three-dimensional image display method, three-dimensional image display device, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023132592A (en) | 2023-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8929628B2 (en) | Measuring device and measuring method | |
| JP5472056B2 (en) | Display system, display processing apparatus, display method, and display program | |
| EP2482260A2 (en) | Sensor placement and analysis using a virtual environment | |
| KR102158324B1 (en) | Apparatus and method for generating point cloud | |
| US20180253821A1 (en) | Point cloud data processing device, point cloud data processing method, and point cloud data processing program | |
| US10297079B2 (en) | Systems and methods for providing a combined visualizable representation for evaluating a target object | |
| JP3104638B2 (en) | 3D image creation device | |
| TW201921318A (en) | Apparatus and method for generating a tiled three-dimensional image representation of a scene | |
| JP2019100995A (en) | Measurement image display control unit, measurement image display control method, and program for measurement image display control | |
| KR20220161445A (en) | Method and device for constructing 3D geometry | |
| JP2020135764A (en) | Three-dimensional object modeling method, three-dimensional object modeling device, server, three-dimensional model creation system, and program | |
| CN110286906B (en) | User interface display method and device, storage medium and mobile terminal | |
| CN118827936A (en) | Auxiliary image display method, device, medium and electronic equipment for operating machinery | |
| KR101912241B1 (en) | Augmented reality service providing apparatus for providing an augmented image relating to three-dimensional shape of real estate and method for the same | |
| JP7826751B2 (en) | Information processing device, measurement device, information processing method, and information processing program | |
| KR20210023663A (en) | Image processing method and image processing apparatus for generating 3d content using 2d images | |
| KR102415754B1 (en) | Electronic device, method, computer-readable storage medium and computer program for processing image in virtual space | |
| CN115727835B (en) | Robot mapping method, device, equipment and medium | |
| US12249090B2 (en) | Information processing device, information processing method, and computer program | |
| JP3309841B2 (en) | Synthetic moving image generating apparatus and synthetic moving image generating method | |
| WO2023088127A1 (en) | Indoor navigation method, server, apparatus and terminal | |
| Alleaume et al. | Introduction to AR-Bot, an AR system for robot navigation | |
| EP4020400A2 (en) | Image processing method and image processing device for generating 3d content by means of 2d images | |
| JP7814396B2 (en) | Information processing device, information processing method, information processing program, and recording medium | |
| US20240144530A1 (en) | Method, program, and system for 3d scanning |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250123 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20251014 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20251210 |
|
| 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: 20260127 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260209 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7826751 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |