Information processing method, information processing device, and program

The information processing method and device address the challenge of displaying directional and positional data in camera-captured images by calculating camera attitude and superimposing azimuth axes, effectively providing accurate orientation and position information using GPS and IMU data, even with monocular cameras.

WO2024225082A1PCT designated stage expired Publication Date: 2024-10-31SONY GROUP CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/014859
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-04-12
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Conventional devices, such as smartphones, lack the capability to accurately display directional information (north, south, east, west) and three-dimensional position data of objects in camera-captured images, especially when using monocular cameras, due to the absence of geomagnetic and distance measurement sensors, and the images change significantly with camera attitude.

Method used

An information processing method and device that calculates camera attitude on a local coordinate system and superimposes an azimuth axis on the image, using GPS and IMU data to display orientation and three-dimensional position information of feature points on the image, enabling accurate directional and positional data display.

Benefits of technology

Enables accurate display of directional information and three-dimensional position data of objects in camera-captured images, overcoming the limitations of monocular cameras and changing image attitudes, without the need for specialized sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024014859_31102024_PF_FP_ABST
    Figure JP2024014859_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a method and device which superimpose and display three-dimensional position information (N, E, Z) about azimuth axes (N, E) or feature points on a camera-captured image displayed on a display unit. The device comprises: the display unit that displays the image captured by the camera mounted on an information processing device; and a data processing unit that superimposes and displays an azimuth axis indicating an azimuth on a display image of the display unit. The data processing unit executes camera orientation calculation processing for calculating the camera orientation on the local coordinate system corresponding to a device such as a GPS sensor, and azimuth axis display processing for analyzing the azimuth of the display image from the calculated camera orientation and superimposing and displaying the azimuth axis on the display image of the display unit. Further, three-dimensional position information is displayed in association with the feature point on the display image.
Need to check novelty before this filing date? Find Prior Art

Description

Information processing method, information processing device, and program

[0001] The present disclosure relates to an information processing method, an information processing device, and a program, and more particularly to an information processing method, an information processing device, and a program for displaying a azimuth axis indicating a direction on an image captured by a camera, position information of a feature point in the captured image, and the like.

[0002] For example, even if a user takes a picture of the outside scenery using an information processing device such as a smartphone with a camera function and displays the image captured by the camera on the display unit, there is a problem in that the user cannot know the north-south, east-west orientation of the displayed image, such as which direction corresponds to north on the displayed image.

[0003] It is also difficult to obtain accurate information from the image displayed on the display unit about mountains and valleys contained in the image, or the distance and height of buildings.

[0004] It should be noted that, for example, by using a geomagnetic sensor or a distance measurement sensor and utilizing the data detected by these sensors, it is possible to obtain direction information and distance information, but typical devices such as smartphones do not have these sensors.

[0005] Furthermore, even in devices equipped with these sensors, the image displayed on the display unit changes significantly depending on changes in the camera's attitude, making it difficult to accurately display the direction and distance measured using a geomagnetic sensor or distance measurement sensor on such a changing image.

[0006] Incidentally, for example, Patent Document 1 (JP 2019-128350 A) discloses a conventional technique for capturing an image using a camera equipped with multiple image capturing units, i.e., a stereo camera, and calculating the distance to an object in the captured image by analyzing the captured image. However, the configuration disclosed in this conventional technique requires a stereo camera and cannot be applied to a configuration using a monocular camera.

[0007] JP 2019-128350 A

[0008] The present disclosure has been made in consideration of the above-mentioned problems, for example, and aims to provide an information processing method, an information processing device, and a program that enable information such as orientation information and the position and height of each object to be superimposed on an image captured by a monocular camera.

[0009] A first aspect of the present disclosure resides in an information processing method that executes an image display step of displaying an image captured by a camera attached to an apparatus, a camera attitude calculation step of calculating the camera attitude on a local coordinate system corresponding to a device attached to the apparatus that is capable of orientation analysis, and an orientation axis display step of analyzing the orientation of the display image displayed in the image display step from the camera attitude calculated in the camera attitude calculation step, and superimposing an orientation axis indicating the orientation on the display image.

[0010] Furthermore, a second aspect of the present disclosure is an information processing device having a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes a azimuth axis indicating a direction on the display image of the display unit, wherein the data processing unit executes a camera attitude calculation process that calculates the camera attitude on a local coordinate system corresponding to a device that is attached to the information processing device and is capable of azimuth analysis, and a azimuth axis display process that analyzes the direction of the display image from the calculated camera attitude and superimposes a azimuth axis on the display image of the display unit.

[0011] Furthermore, a third aspect of the present disclosure is a program for causing an information processing device to execute information processing, the information processing device having a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes an orientation axis indicating an orientation on the display image of the display unit, the program causing the data processing unit to execute a camera orientation calculation process that calculates the camera orientation on a local coordinate system corresponding to a device that is attached to the information processing device and is capable of orientation analysis, and an orientation axis display process that analyzes the orientation of the display image from the calculated camera orientation and superimposes an orientation axis on the display image of the display unit.

[0012] The program of the present disclosure is, for example, a program that can be provided in a computer-readable format via a storage medium or a communication medium to an information processing device or a computer system capable of executing various program codes. By providing such a program in a computer-readable format, processing according to the program is realized on the information processing device or the computer system.

[0013] Further objects, features, and advantages of the present disclosure will become apparent from the following detailed description of the embodiments of the present disclosure and the accompanying drawings. Note that in this specification, a system refers to a logical collective configuration of multiple devices, and is not limited to devices that are located within the same housing.

[0014] According to one embodiment of the present disclosure, a method and device for superimposing an orientation axis (N, E) and three-dimensional position information (N, E, Z) of a feature point on a camera-captured image displayed on a display unit are realized. Specifically, the information processing device includes, for example, a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes an orientation axis indicating the orientation on the image displayed on the display unit. The data processing unit performs a camera orientation calculation process that calculates the camera orientation in a local coordinate system corresponding to a device such as a GPS sensor, and a orientation axis display process that analyzes the orientation of the displayed image from the calculated camera orientation and superimposes the orientation axis on the image displayed on the display unit. Furthermore, the data processing unit displays three-dimensional position information in association with the feature point on the displayed image. This configuration realizes a method and device for superimposing an orientation axis (N, E) and three-dimensional position information (N, E, Z) of a feature point on a camera-captured image displayed on a display unit. Note that the effects described in this specification are merely exemplary and are not limiting, and additional effects may also be present.

[0015] 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an overview of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating a configuration of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating a coordinate system used by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating an attitude transformation matrix (rotation matrix) between different coordinate systems. FIG. 1 is a diagram illustrating a flowchart illustrating a sequence of processing performed by an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating data stored in a storage unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating camera internal parameters. FIG. 2 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 3 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 4 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 5 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure. FIG. 6 is a diagram illustrating processing performed by a data processing unit of an information processing device of the present disclosure.1 is a diagram illustrating processing executed by a data processing unit of an information processing device of the present disclosure. FIG. 1 is a diagram illustrating processing executed by a data processing unit of an information processing device of the present disclosure. FIG. 2 is a diagram illustrating processing executed by a data processing unit of an information processing device of the present disclosure. FIG. 3 is a diagram illustrating an example of display data displayed on a display unit of an information processing device of the present disclosure. FIG. 4 is a diagram illustrating an example of display data displayed on a display unit of an information processing device of the present disclosure. FIG. 5 is a diagram illustrating an example of display data displayed on a display unit of an information processing device of the present disclosure. FIG. 6 is a diagram illustrating an example of display data displayed on a display unit of an information processing device of the present disclosure. FIG. 7 is a diagram illustrating an example of display data displayed on a display unit of an information processing device of the present disclosure. FIG. 8 is a diagram illustrating a configuration of an information processing device of a second embodiment of the present disclosure. FIG. 9 is a diagram illustrating a coordinate system used by an information processing device of the second embodiment of the present disclosure. FIG. 10 is a diagram illustrating a flowchart illustrating a sequence of processing executed by an information processing device of the second embodiment of the present disclosure. FIG. 11 is a diagram illustrating processing executed by a data processing unit of an information processing device of the second embodiment of the present disclosure. FIG. 12 is a diagram illustrating data stored in a storage unit of an information processing device of the second embodiment of the present disclosure. FIG. 13 is a diagram illustrating processing executed by a data processing unit of an information processing device of the second embodiment of the present disclosure. FIG. 10 is a diagram illustrating processing executed by a data processing unit of an information processing device according to a second embodiment of the present disclosure. FIG. 11 is a diagram illustrating an example of display data to be displayed on a display unit of an information processing device according to a second embodiment of the present disclosure. FIG. 12 is a diagram illustrating an example of display data to be displayed on a display unit of an information processing device according to a second embodiment of the present disclosure. FIG. 13 is a diagram illustrating a configuration of an information processing device according to a third embodiment of the present disclosure. FIG. 14 is a diagram illustrating a coordinate system used by an information processing device according to a third embodiment of the present disclosure. FIG. 15 is a diagram illustrating a flowchart illustrating a sequence of processing executed by an information processing device according to a third embodiment of the present disclosure.FIG. 10 is a diagram illustrating processing performed by a data processing unit of an information processing device according to a third embodiment of the present disclosure. FIG. 11 is a diagram illustrating data stored in a storage unit of an information processing device according to a third embodiment of the present disclosure. FIG. 12 is a diagram illustrating processing performed by a data processing unit of an information processing device according to a third embodiment of the present disclosure. FIG. 13 is a diagram illustrating a configuration of an information processing device according to a fourth embodiment of the present disclosure. FIG. 14 is a diagram illustrating a flowchart illustrating a sequence of processing performed by an information processing device according to a fourth embodiment of the present disclosure. FIG. 15 is a diagram illustrating processing performed by a data processing unit of an information processing device according to a fourth embodiment of the present disclosure. FIG. 16 is a diagram illustrating data stored in a storage unit of an information processing device according to a fourth embodiment of the present disclosure. FIG. 17 is a diagram illustrating processing performed by a data processing unit of an information processing device according to a fourth embodiment of the present disclosure.

[0016] The information processing method, information processing device, and program of the present disclosure will be described in detail below with reference to the drawings. The description will be made according to the following items: 1. Overview of the processing of the present disclosure 2. (Example 1) Example of the configuration of the information processing device of the present disclosure 3. Coordinate systems of each component of the information processing device of the present disclosure and attitude conversion processing between different coordinate systems 4. Details of the processing executed by the information processing device of the present disclosure 5. Details of the processing for calculating the position and attitude (GPS coordinate system) of the camera when capturing the analysis target image (Pa) and the reference image (Pr) 6. Details of the processing for calculating three-dimensional structure data in the GPS coordinate system 7. Specific example of the processing for superimposing the azimuth coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of feature points on an image displayed on the display unit of the information processing device 8. (Example 2) Example using an information processing device with a distance measurement unit 9. (Example 3) Example using an information processing device with two GPS sensors 10. (Example 4) Example using an information processing device with a geomagnetic sensor 11. 12. Hardware Configuration Example of Information Processing Device of the Present Disclosure

[0017] [1. Overview of the Processing of the Present Disclosure] First, an overview of the processing of the present disclosure will be described.

[0018] An overview of the processing of the present disclosure will be described with reference to Figure 1 and subsequent figures. Figure 1 shows a state in which a user 1 holds an information processing device 10, such as a smartphone, equipped with a camera function and captures an outdoor scene while checking an image captured by the camera displayed on a display unit. The captured image may be either a still image or a video.

[0019] The captured image is displayed on the display unit of the information processing device 10. For example, a captured image as shown in Fig. 2 is displayed on the display unit of the information processing device 10. The display image shown in Fig. 2 is a camera-captured image that is displayed when an image is captured with a device such as a general smartphone.

[0020] The user can check the view in front of the camera by observing the camera image displayed on the display unit, but cannot know the north-south, east-west orientation of the displayed image, such as which direction corresponds to north on the displayed image.

[0021] The information processing device of the present disclosure solves this problem. Specifically, as shown in Fig. 3, the information processing device 10 executes a process of superimposing and displaying azimuth axes, such as an azimuth axis (N) indicating the north direction and an azimuth axis (E) indicating the east direction, on an image captured by a camera and displayed on a display unit of the information processing device 10.

[0022] By checking the azimuth axes on the camera-captured image displayed on the display unit of the information processing device 10, the user 1 can accurately grasp the north, south, east and west directions of the camera-captured image.

[0023] Furthermore, the information processing device of the present disclosure also analyzes information such as the position and height of various objects contained in the camera-captured image displayed on the display unit of the information processing device 10, such as houses, buildings, mountains, valleys, trees, etc., and superimposes this analysis data on the camera-captured image displayed on the display unit of the information processing device 10.

[0024] A specific example is shown in Fig. 4. The information processing device of the present disclosure analyzes the positions and heights of various objects included in a camera-captured image displayed on the display unit of the information processing device 10, specifically, for each of the feature points detected from the camera-captured image, and displays this analysis data superimposed on the camera-captured image displayed on the display unit of the information processing device 10, as shown in Fig. 3, for example.

[0025] The superimposed display data associated with each feature point as shown in Figure 4 allows user 1 to check the positions and heights of various objects, such as houses, buildings, mountains, valleys, trees, etc., in the camera-captured image displayed on the display unit of the information processing device 10.

[0026] 4, an information processing device 10 such as a smartphone first displays a camera-captured image on a display unit. Then, a data processing unit of the information processing device 10 performs processing to analyze the direction and the position and height of each characteristic point, and then performs processing to superimpose the information on the direction axis, position, and height of each characteristic point obtained as the analysis result on the camera-captured image displayed on the display unit.

[0027] The example described with reference to Figures 1 to 4 is an example using a user terminal such as a smartphone, but the processing of the present disclosure is not limited to application to such user terminals.

[0028] For example, as shown in FIG. 5, it is possible to superimpose and display the azimuth axis, the position corresponding to the feature point, and the height information on the image captured by the camera attached to the drone 20.

[0029] A specific example is shown in Fig. 6. The image shown in Fig. 6 is an image captured from the sky by the drone 20. The information processing device of the present disclosure displays an azimuth axis (N, E) superimposed on the image captured from the sky by the drone 20. Furthermore, information such as the positions and heights of various objects included in the camera-captured image, such as houses, buildings, mountains, valleys, trees, etc., is also superimposed and displayed.

[0030] Note that the example shown in Figure 6 is an example of an image displayed on a display unit within the drone 20, but as shown in Figure 7, it is also possible to display an image similar to that described with reference to Figure 6 on the display unit of a controller 23 that controls the flight of the drone 20 on the ground.

[0031] 7, the controller 23 first receives a captured image from the drone 20 and displays it on the display unit of the controller 23. Furthermore, a data processing unit inside the controller 23 performs processing to analyze the direction and the position and height of each characteristic point, and then performs processing to superimpose the information on the direction axis, position, and height of each characteristic point obtained as the analysis result on the camera-captured image displayed on the display unit.

[0032] In this way, the information processing device of the present disclosure displays the azimuth axis, the position and height data of each feature point superimposed on the camera-captured image displayed on the display unit. By performing these processes, the user can accurately grasp the north-south, east-west directions (orientations) of the camera-captured image displayed on the display unit, as well as the positions and heights of various objects included in the camera-captured image.

[0033] 2. (First embodiment) Configuration example of information processing device of the present disclosure Next, a configuration example of an information processing device of the first embodiment of the present disclosure will be described.

[0034] Fig. 8 is a block diagram illustrating a configuration example of an information processing device 100 according to a first embodiment of the present disclosure. Note that the information processing device 100 according to the first embodiment of the present disclosure can be realized as various devices, such as a smartphone, a tablet terminal, a PC, a camera, a camera-equipped positioning system, a drone, and a controller, as shown on the right side of Fig. 8 .

[0035] As shown in FIG. 8 , the information processing device 100 of the present disclosure includes a camera 101, an IMU (Inertial Measurement Unit) 102, a GPS sensor 103, a data processing unit (processor) 104, a storage unit (memory) 105, and a display unit (monitor) 106.

[0036] The camera 101 is, for example, a monocular camera. The camera 101 may be either a camera for capturing still images or a camera for capturing moving images, or may be a camera capable of capturing both still images and moving images.

[0037] The IMU (Inertial Measurement Unit) 102 is a motion sensor that measures the motion of the information processing device 100, such as acceleration in three axes (x, y, z) and angular velocity around three axes (x, y, z).

[0038] The GPS sensor 103 is a position detection sensor that measures its own position (= the position of the GPS sensor 103 attached to the information processing device) based on signals received from GPS satellites. Specifically, it acquires information on latitude, longitude, and altitude that indicates its own position (= the position of the GPS sensor 103 attached to the information processing device) based on signals received from GPS satellites.

[0039] The GPS sensor 103 may be a conventional GPS sensor, or may be configured to use an RTK-GPS sensor capable of highly accurate positioning. The RTK-GPS sensor is a positioning sensor that applies a relative positioning method based on signals received from four or more satellites to enable more accurate positioning.

[0040] The data processing unit (processor) 104 has, for example, a processor and performs various data processing operations, such as analyzing the direction of the azimuth axis superimposed on the captured image as described above with reference to FIGS. 1 to 7, analyzing the positions and heights of the characteristic points, and displaying the analyzed data on the display unit 106.

[0041] The storage unit (memory) 105 is composed of recording media such as RAM, ROM, flash memory, etc., and is used to save images captured by the camera 101, image-related metadata, and other data used for directional analysis of the azimuth axis superimposed on the captured image, and for analyzing the positions and heights of feature points, etc. It is also used as a work area for data processing by the data processing unit (processor) 104.

[0042] The display unit (monitor) 106 displays the image captured by the camera 101, and is also used to display data such as the azimuth axis, the position and height of characteristic points, etc., as previously described with reference to Figures 1 to 7.

[0043] The display unit (monitor) 106 can also be used as a touch panel type UI, for example, and various data inputs and setting processes can be performed by user operations.

[0044] The block diagram of the information processing device 100 shown in FIG. 8 is a block diagram showing selected main components required for performing the processing of the present disclosure. The information processing device 100 also has various other components depending on the information processing device. Specifically, the information processing device 100 has, for example, a communication unit, a microphone, a speaker, an input unit, etc. Furthermore, if the information processing device 100 is a drone, it also has a drive unit, a flight control unit, etc.

[0045] 3. Coordinate Systems of Each Constituent Element of the Information Processing Device of the Present Disclosure and Attitude Transformation Processing Between Different Coordinate Systems Next, the coordinate systems of each constituent element of the information processing device of the present disclosure and attitude transformation processing between different coordinate systems will be described.

[0046] Figure 9 is a diagram illustrating the coordinate systems of the camera 101, IMU 102, and GPS sensor 103, which are components of a smartphone that is an example of the information processing device 100 of the present disclosure, the captured image coordinate system that indicates the pixel positions of the display image displayed on the display unit 106 of the information processing device 100, and the IMU world coordinate system, which is a unique coordinate system independent of the information processing device 100.

[0047] That is, Fig. 9 shows the following five coordinate systems: (1) camera coordinate system (C), (2) IMU local coordinate system (i), (3) GPS coordinate system (G), (4) photographed image coordinate system (P), and (5) IMU world coordinate system (W).

[0048] These five coordinate systems will be explained below. (1) Camera Coordinate System (C) The camera coordinate system (C) is a coordinate system in which the origin is the camera position (specifically, for example, the focal position) of the camera 101 attached to the information processing device 100, and the Z axis is set in the direction of the camera's optical axis. In this camera coordinate system (C), both the origin and the coordinate axis direction change as the position and tilt of the camera 101 change.

[0049] (2) IMU Local Coordinate System (i) The IMU local coordinate system (i) is a coordinate system in which the origin is the IMU position (specifically, for example, the center of gravity position of the IMU) of the IMU 102 attached to the information processing device 100, and the axes are set in the same directions as the X-axis, Y-axis, and Z-axis predefined in the IMU sensor. This IMU local coordinate system (i) is a coordinate system in which both the origin and the coordinate axis directions change as the position and inclination of the IMU 102 change.

[0050] (3) GPS Coordinate System (G) The GPS coordinate system (G) is a coordinate system that has the GPS sensor position (specifically, for example, the center of gravity position of the GPS sensor) of the GPS sensor 103 attached to the information processing device 100 as its origin, the N (north) direction as its X axis, the E (east) direction as its Y axis, and the vertical downward direction as its Z axis. That is, it has three axes as its coordinate axes: two azimuth axes indicating two orthogonal directions (N, E) and an altitude axis (Z) indicating height. In this GPS coordinate system (G), only the origin of the coordinates moves as the position and tilt of the GPS sensor 103 change. The directions of the coordinate axes (N, E, Z) do not change.

[0051] (4) Captured Image Coordinate System (P) The captured image coordinate system (P) is a coordinate system for identifying pixel positions, which indicates pixel positions (u, v) in an image captured by a camera. Note that this captured image coordinate system (P) is a two-dimensional coordinate system, and each pixel position (u, v) of the image indicated by the captured image coordinate system (P) corresponds one-to-one to the XY coordinates (Xc, Yc) of the camera coordinate system (C).

[0052] (5) IMU World Coordinate System (W) The IMU world coordinate system (W) is a unique coordinate system independent of the information processing device 100. The IMU world coordinate system (W) is a coordinate system in which the origin is set at a predetermined position and the Z axis is set in the vertical direction (direction of gravitational acceleration). The X and Y axis directions are arbitrary but are predefined. This IMU world coordinate system (W) is an independent coordinate system in which the origin position and coordinate axis directions do not change with changes in the position or tilt of the information processing device 100.

[0053] Data acquired by each component of the information processing device 100 of the present disclosure, such as the camera 101 and the IMU 102, i.e., the image captured by the camera 101 and the acceleration data acquired by the IMU 102, is data according to the respective coordinate systems. For example, image data captured by the camera 101 is image data corresponding to a three-dimensional space defined by the X, Y, and Z axes of the camera coordinate system (C). Specifically, the image data corresponds to a three-dimensional space in which the Z axis is set in the direction of the camera optical axis.

[0054] Furthermore, the detection data such as acceleration and angular velocity detected by the IMU 102 becomes detection data corresponding to a three-dimensional space defined by XYZ of the IMU local coordinate system (i).

[0055] The latitude, longitude, and altitude information detected by the GPS sensor 103 corresponds to the latitude, longitude, and altitude information of the position of the GPS sensor 103. As described above, the GPS coordinate system (G) is a coordinate system that has the position of the GPS sensor 103 (specifically, for example, the position of the center of gravity of the GPS sensor) as its origin, the N (north) direction as the X-axis, the E (east) direction as the Y-axis, and the vertically downward direction as the Z-axis.

[0056] That is, the origin position changes depending on the position of the GPS sensor 103, but the X-axis, Y-axis, and Z-axis are set in the N (north) direction, E (east) direction, and vertically downward direction, respectively, and the directions of the X, Y, and Z axes are always the same.

[0057] The information processing device 100 of the present disclosure uses a GPS coordinate system in which the axial directions of the X, Y, and Z axes do not change, to perform processing to display the X axis (N (north) azimuth axis) and Y axis (E (east) azimuth axis) that make up the GPS coordinate system on an image captured by a camera.

[0058] Specifically, the camera position and orientation on the GPS coordinate system is calculated, and the calculated camera position and orientation on the GPS coordinate system is used to display the X axis (N (north) azimuth axis) and Y axis (E (east) azimuth axis) that make up the GPS coordinate system on the camera-captured image displayed on the display unit 106 of the information processing device 100.

[0059] To perform this processing, it is necessary to perform posture transformation processing between different coordinate systems. A posture transformation matrix (rotation matrix) is required to perform posture transformation processing between different coordinate systems.

[0060] The attitude transformation matrix (rotation matrix) will be described with reference to Fig. 10. Fig. 10 shows two different coordinate systems, coordinate system a and coordinate system b. The three axis directions of Xa, Ya, and Za that make up coordinate system a and the three axis directions of Xb, Yb, and Zb that make up coordinate system b are set in different directions. In other words, coordinate system b has an attitude that is tilted with respect to coordinate system a.

[0061] For example, the matrix that indicates the orientation (directions of the three axes Xb, Yb, and Zb) of coordinate system b on coordinate system a is the orientation transformation matrix (rotation matrix). a R b Attitude transformation matrix (rotation matrix) a R b is a matrix indicating the orientation (directions of the three axes Xb, Yb, and Zb) of coordinate system b corresponding to coordinate system a.

[0062] For each of the three axes (Xb, Yb, Zb) that define coordinate system b, if the unit vectors expressed using coordinate system a are (p, q, r), then the attitude transformation matrix (rotation matrix) is a R b can be shown as = [p, q, r].

[0063] Conversely, the matrix that indicates the orientation of coordinate system a on coordinate system b (the directions of the three axes Xa, Ya, and Za) is the orientation transformation matrix (rotation matrix). b R a is.

[0064] In this way, the posture transformation matrix (rotation matrix) is a matrix that defines the relative posture (tilt) of two different coordinate systems. For example, if one of the coordinate systems a and b is the camera coordinate system and the other is the GPS coordinate system, the posture transformation matrix (rotation matrix) a R b is a matrix that indicates the relative orientation (tilt) between the camera coordinate system and the GPS coordinate system. For example, if the camera coordinate system is the coordinate system b and the GPS coordinate system is the coordinate system a, the orientation transformation matrix (rotation matrix) a R bis a matrix indicating the orientation of the camera coordinate system in the GPS coordinate system, i.e., the camera orientation.

[0065] This orientation transformation matrix (rotation matrix) a R b By using this, it is possible to superimpose the X axis (N (north) azimuth axis) and Y axis (E (east) azimuth axis) according to the GPS coordinate system in the correct orientation on the camera image, which is image data according to the camera coordinate system.

[0066] In this way, the information processing device 100 of the present disclosure uses a GPS coordinate system in which the axial directions of the X, Y, and Z axes do not change, and performs processing to display the X axis (N (north) azimuth axis) and Y axis (E (east) azimuth axis) that constitute the GPS coordinate system on the camera-captured image.

[0067] That is, as described above, the position and orientation of the camera on the GPS coordinate system is calculated, and the calculated position and orientation of the camera on the GPS coordinate system is used to display the X axis (N (north) azimuth axis) and Y axis (E (east) azimuth axis) that make up the GPS coordinate system on the camera-captured image displayed on the display unit 106 of the information processing device 100. Details of the processing executed by the information processing device of the present disclosure will be described below.

[0068] 4. Details of the Process Executed by the Information Processing Apparatus of the Present Disclosure Next, details of the process executed by the information processing apparatus of the first embodiment of the present disclosure will be described.

[0069] A processing sequence executed by the information processing apparatus according to the first embodiment of the present disclosure will be described with reference to the flowchart shown in FIG.

[0070] The processing according to the flow shown in Fig. 11 can be executed in accordance with a program stored in the internal memory of the information processing device of the present disclosure under the control of a data processing unit (control unit) including a CPU having a program execution function, etc. The processing of each step of the flow shown in Fig. 11 will be described below in order.

[0071] (Step S101) First, in step S101, the information processing device 100 acquires the following data at the time (Tn) when an image is captured by the camera: (a) an image captured by the camera; (b) IMU detection values ​​(acceleration, angular velocity); and (c) GPS sensor detection values ​​(GPS sensor position (latitude, longitude, height)). Note that the image captured by the camera may be either a still image or a video.

[0072] (Step S102) Next, in step S102, the information processing device 100 calculates the camera attitude (IMU world coordinate system) at the image capturing time (Tn) based on “(b) IMU detected values ​​(acceleration, angular velocity)” at the image capturing time (Tn).

[0073] The process of step S102 is executed by the data processing unit 104. The process executed by the data processing unit 104, that is, the process of calculating the camera attitude on the IMU world coordinate system at the image capturing time (Tn) by the camera 101, will be described with reference to Fig. 12 and subsequent figures.

[0074] Fig. 12 is a diagram showing processing blocks corresponding to the respective processes executed by the data processing unit (processor) 104. As shown in Fig. 12, the data processing unit (processor) 104 has an IMU filter unit 111 and an IMU world coordinate system compatible camera attitude calculation unit 112.

[0075] The IMU filter unit 111 receives the detection value of the IMU 102, i.e., the acceleration and angular velocity information of the information processing device 100 to which the IMU 102 is attached, and calculates the IMU attitude ( W R i ) is calculated and input to the IMU world coordinate system compatible camera attitude calculation unit 112.

[0076] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) to input the camera posture in the IMU world coordinate system, that is, the camera posture corresponding to the IMU world coordinate system ( W R C) is calculated. That is, the IMU world coordinate system corresponding camera attitude ( W R C ) is calculated.

[0077] First, details of the processing of the IMU filter unit 111 will be described with reference to Fig. 13. As described above, the IMU filter unit 111 receives the acceleration and angular velocity information of the information processing device 100, which are the detection values ​​of the IMU 102, and calculates the IMU attitude ( W R i ) is calculated.

[0078] 13 shows the information processing device 100, the camera 101 and IMU 102 inside the information processing device 100, the camera coordinate system (C), and the IMU local coordinate system (i). Furthermore, the IMU world coordinate system (W) is also shown.

[0079] As described above, the camera coordinate system (C) and the IMU local coordinate system (i) are local coordinate systems whose origins and coordinate axes change in accordance with the movement of the information processing device 100. On the other hand, the IMU world coordinate system (W) is a coordinate system independent of the information processing device 100, and is a fixed coordinate system that is not linked to the movement of the information processing device 100.

[0080] The IMU filter unit 111 first receives acceleration and angular velocity information of the information processing device 100, which are values ​​detected by the IMU 102. These are acceleration and angular velocity information on the IMU local coordinate system (i). Based on the acceleration and angular velocity information on the IMU local coordinate system (i), the IMU filter unit 111 calculates the IMU attitude ( W R i ) is calculated.

[0081] In addition, the IMU filtering process in the IMU filter unit 111, that is, the IMU attitude ( W R i The process of calculating the IMU attitude ( W Ri ) is an attitude transformation matrix (rotation matrix) that indicates the attitude (tilts of the Xi, Yi, and Zi axes) of the IMU local coordinate system (i) on the IMU world coordinate system (W), i.e., the tilt of the IMU 102.

[0082] The IMU attitude ( W R i ) is input to the IMU world coordinate system compatible camera attitude calculation unit 112.

[0083] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) to input the camera posture in the IMU world coordinate system, that is, the camera posture corresponding to the IMU world coordinate system ( W R C ) is calculated.

[0084] The processing executed by the IMU world coordinate system compatible camera attitude calculation unit 112 will be described with reference to FIG.

[0085] 14 shows the information processing device 100, the camera 101 and IMU 102 inside the information processing device 100, the camera coordinate system (C), and the IMU local coordinate system (i), as well as the IMU world coordinate system (W).

[0086] As described above, the camera coordinate system (C) and the IMU local coordinate system (i) are local coordinate systems whose origins and coordinate axes change in accordance with the movement of the information processing device 100. On the other hand, the IMU world coordinate system (W) is a coordinate system independent of the information processing device 100, and is a fixed coordinate system that is not linked to the movement of the information processing device 100.

[0087] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) and calculate the camera attitude in the IMU world coordinate system, that is, the camera attitude corresponding to the IMU world coordinate system ( W R C) is calculated. W R C ) = ( W R i )・( i R C )

[0088] In the above formula, ( W R C ) is a posture transformation matrix (rotation matrix) that indicates the posture (tilts of the Xc, Yc, and Zc axes) of the camera coordinate system (C) on the IMU world coordinate system (W), that is, the tilt of the camera 101. W R i ) is a posture transformation matrix (rotation matrix) that indicates the posture (tilts of the Xi, Yi, and Zi axes) of the IMU local coordinate system (i) on the IMU world coordinate system (W), that is, the tilt of the IMU 102. i R C ) is a posture transformation matrix (rotation matrix) that indicates the posture of the camera coordinate system (C) (tilts of the Xc, Yc, and Zc axes), i.e., the tilt of the camera 101, on the IMU local coordinate system (i).

[0089] The IMU world coordinate system corresponding IMU attitude ( W R i ) is a value input from the IMU filter unit 111. In addition, the IMU local coordinate system corresponding camera attitude ( i R C ) is a value calculated based on the positional relationship between the camera 101 and the IMU 102 attached to the information processing device 100 and stored in the storage unit 105.

[0090] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates these two attitude transformation matrices, i.e., the IMU world coordinate system corresponding IMU attitude ( W R i ), and the IMU local coordinate system corresponding camera attitude ( i R C ), and these attitude transformation matrices (rotation matrices) are used to perform the above calculation, i.e., W R C ) = ( W R i )・( iR C ) Calculations are performed according to this matrix calculation formula to obtain the camera attitude in the IMU world coordinate system, i.e., the camera attitude corresponding to the IMU world coordinate system ( W R C ) is calculated.

[0091] The process of step S102 in the flowchart shown in Fig. 11, i.e., the process of calculating the camera attitude (IMU world coordinate system) at the image capturing time (Tn) based on "(b) IMU detected values ​​(acceleration, angular velocity)" at the image capturing time (Tn), has been described above with reference to Fig. 12, Fig. 13, and Fig. 14. Next, the process of step S103 and subsequent steps in the flowchart shown in Fig. 11 will be described.

[0092] (Step S103) In step S103, the information processing device 100 stores the following data in the storage unit (memory) 105 at the image capture time (Tn): (a) camera captured image, (b) camera attitude (IMU world coordinate system), and (c) GPS sensor detection value (GPS sensor position corresponding to the GPS coordinate system).

[0093] As shown in FIG. 12 described above, the storage unit (memory) 105 stores the camera image captured by the camera 101, the GPS sensor position information acquired by the GPS sensor 103, and the IMU world coordinate system-compatible camera attitude ( W R C ), each of these data is input and stored.

[0094] FIG. 15 shows an example of data stored in the storage unit (memory) 105. In the example shown in FIG. 15, the camera captured images taken by the camera 101 are moving images, and data is stored sequentially at regular frame intervals. As shown in FIG. 15, for each data identifier, the following is stored: (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) camera position (d) camera angle (e) camera direction (f) camera angle (g) camera position (h) camera angle (i.e., angle θ) camera position ... W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS(d) Data acquisition time (image capture time) These pieces of data are stored in the storage unit (memory) 105 in association with each other.

[0095] It should be noted that “(d) data acquisition time (image capture time)” is acquired from metadata set in correspondence with the captured image frame of the camera 101 .

[0096] (a) The camera-captured images are frame images that make up a moving image captured by the camera 101. Data recording processing may be performed for all image frames that make up the captured moving image, or data may be recorded for each predetermined number of frames.

[0097] (b) The camera posture is the camera posture corresponding to the IMU world coordinate system ( W R C (c) The GPS sensor detection value is the GPS sensor position ( GPS P GPS ) Note that, a P b indicates the position of b in the coordinate system a. For example, the GPS sensor position corresponding to the camera coordinate system (C) is ( C P GPS ) and the camera position corresponding to the GPS coordinate system (GPS) is ( GPS P C )

[0098] In this way, the storage unit 105 of the information processing device 100 stores, for each image captured by the camera 101, the following: (a) camera captured image; (b) camera attitude (IMU world coordinate system) ( W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS (d) Data acquisition time (image capture time) These data are recorded in association with each other.

[0099] The above has described the processing in step S103 of the flowchart shown in Fig. 11. Next, the processing in step S104 and subsequent steps of the flowchart shown in Fig. 11 will be described.

[0100] (Step S104) Next, in step S104, the information processing device 100 executes a process of extracting corresponding feature points from two images: an image captured by a camera (image to be analyzed (Pa)) (=captured at time (Ta)) that displays the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of feature points superimposed on each other, and an image captured at a different time (reference image (Pr)) (=captured at time (Tr)) that has been stored in memory.

[0101] The analysis target image (Pa) described in this embodiment is an image on which the orientation coordinate axes (N, E) and the three-dimensional position (N, E, Z) information of the feature points described above with reference to FIGS. 1 to 7 are superimposed.

[0102] On the other hand, the reference image (Pr) is a captured image stored in the storage unit (memory) 105 that was captured at a time (Tr) different from the capture time (Ta) of the image to be analyzed (Pa), and is an image used to calculate the orientation coordinate axes (N, E) to be displayed on the image to be analyzed (Pa) and the three-dimensional positions (N, E, Z) of the feature points.

[0103] Specifically, for example, the analysis target image (Pa) is the most recently captured image, and the reference image (Pr) is a previously captured image, etc. The analysis target image (Pa), which is the most recently captured image, is displayed on the display unit 106 of the information processing device 100, and the orientation coordinate axes (N, E) and the three-dimensional position (N, E, Z) information of the feature points, which were previously described with reference to FIGS.

[0104] The combination of the analysis target image (Pa) and the reference image (Pr) is not limited to a combination of a most recently captured image and a previously captured image, but may be any two images captured from different viewpoints that have common image feature points (corresponding feature points).

[0105] In step S104, a process is performed to extract common image features (corresponding feature points) from the image to be analyzed (Pa) (=photographing time (Ta)) and an image (reference image (Pr)) (=photographing time (Tr)) photographed at a different time and stored in memory.

[0106] For example, corresponding feature points are extracted by a feature point matching process that selects feature points having similar image features from two images. Note that, for example, the ORB (Oriented FAST and Rotated BRIEF) method can be applied as the feature point extraction process, and for example, template matching can be applied as the feature point matching process.

[0107] (Step S105) Next, the information processing device 100 executes the following processing in step S105: (1) The position and orientation (GPS coordinate system) of the camera at the shooting time (Ta) of the analysis target image (Pa), and (2) The position and orientation (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr). Details of the processing in step S105 will be described later.

[0108] (Step S106) Next, in step S106, the information processing device 100 calculates three-dimensional structure data in the GPS coordinate system.

[0109] The three-dimensional structure data includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) when the analysis target image (Pa) was captured, and the three-dimensional position (N, E, Z) information of the feature points.

[0110] The position and orientation (GPS coordinate system) of the camera at the time (Tr) when the reference image (Pr) was captured, and the three-dimensional positions (N, E, Z) of the feature points may also be included. The details of the processing in step S106 will also be described later.

[0111] (Step S107) Finally, in step S107, the information processing device 100 uses the three-dimensional structure data calculated in step S106 to superimpose the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100.

[0112] That is, the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points as previously described with reference to Figures 4, 6, and 7 are superimposed on the image to be analyzed (Pa) displayed on the display unit 106.

[0113] [5. Details of the process for calculating the position and attitude (GPS coordinate system) of the camera when capturing the image to be analyzed (Pa) and the reference image (Pr)] Next, details of the process for calculating the position and attitude (GPS coordinate system) of the camera when capturing the image to be analyzed (Pa) and the reference image (Pr) will be described.

[0114] The process described below is the process of step S105 in the flow shown in Fig. 11. That is, (step S105) (1) The position and orientation (GPS coordinate system) of the camera at the shooting time (Ta) of the analysis target image (Pa), and (2) The position and orientation (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr). Details of the process for calculating these will be described below.

[0115] The information processing device 100 of the present disclosure calculates the position and orientation in the GPS coordinate system of the camera 101 at the timings when the analysis target image (Pa) and the reference image (Pr) were captured. This camera position and orientation calculation process is executed by the data processing unit 104 of the information processing device 100.

[0116] The data processing unit 104 calculates the camera position and orientation (position and orientation corresponding to the GPS coordinate system) at the time of capturing the image to be analyzed (Pa) and the reference image (Pr) using the feature point matching information generated in step S104, the camera orientation (IMU world coordinate system) stored in the memory unit 105 in step S103, and the GPS sensor position (GPS coordinate system).

[0117] Details of the processing in step S105 will be described with reference to Fig. 16 and subsequent figures. Fig. 16 shows a GPS coordinate system compatible camera position and orientation calculation unit 113 as a processing block that executes the processing in step S105 in the data processing unit 104 of the information processing device 100.

[0118] As shown in FIG. 16, the GPS coordinate system compatible camera position and orientation calculation unit 113 calculates the GPS coordinate system compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C) Corresponding feature point coordinates (u, v) These data are input, and furthermore, the camera coordinate system corresponding GPS sensor position ( C P GPS ), enter this data as well.

[0119] In FIG. 16, the GPS coordinate system-compatible GPS sensor position of the analysis target image (Pa) is ( GPSa P GPSa ) The "a" in (GPSa) indicates that the data corresponds to the image to be analyzed (Pa). On the other hand, the GPS coordinate system-compatible GPS sensor position of the reference image (Pr) is shown as ( GPSr P GPSr The "r" in (GPSR) indicates that the data corresponds to the reference image (Pr).

[0120] Similarly, the camera posture corresponding to the IMU world coordinate system of the analysis target image (Pa) is ( W R Ca ), the camera posture corresponding to the IMU world coordinate system of the reference image (Pr) is ( W R Cr )

[0121] In addition, the GPS sensor position corresponding to the camera coordinate system ( C P GPS ), since the relative positions of the camera 101 and the GPS sensor 103 in the information processing device 100 are unchanged, the same value is obtained when the analysis target image (Pa) is photographed and when the reference image (Pr) is photographed. Therefore, data in a format that does not include identification data such as a and r ( C P GPS ) is listed.

[0122] The GPS coordinate system-compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C ) Corresponding feature point coordinates (u, v) These data are stored in the storage unit 105 as described above with reference to FIG.

[0123] Camera coordinate system corresponding GPS sensor position ( C PGPS ) is a value that can be calculated based on the positional relationship between the camera 101 attached to the information processing device 100 and the GPS sensor 103, and is calculated in the data processing unit 104. Alternatively, it may be calculated in advance and stored in the storage unit 105, and this stored data may be acquired.

[0124] The GPS coordinate system compatible camera position and orientation calculation unit 113 inputs these data and calculates the camera position and orientation (position and orientation corresponding to the GPS coordinate system) when the analysis target image (Pa) and the reference image (Pr) were photographed. That is, as shown in FIG. 16, the GPS coordinate system compatible camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Calculate these.

[0125] That is, the GPS coordinate system corresponding camera position of the analysis target image (Pa) ( GPSa P Ca ) GPS coordinate system compatible camera attitude ( GPSa R Ca ) and the GPS coordinate system corresponding camera position of the reference image (Pr) ( GPSr P Cr ) GPS coordinate system compatible camera attitude ( GPSr R Cr ) These are calculated and output.

[0126] Since the orientation (N, E, Z) of the GPS coordinate system is the same in the analysis target image (Pa) and the reference image (Pr), the GPS coordinate system-compatible camera orientation ( GPSa R Ca )teeth,( GPS R Ca ), the GPS coordinate system-compatible camera attitude of the reference image (Pr) ( GPSr R Cr )teeth,( GPS R Cr )

[0127] FIG. 17 is a diagram for explaining details of input data (excluding corresponding feature point information) and output data of the GPS coordinate system compatible camera position and orientation calculation unit 113.

[0128] As shown in FIG. 17, the input data (excluding the corresponding feature point information) of the GPS coordinate system compatible camera position and orientation calculation unit 113 is the following data: IMU world coordinate system compatible camera orientation ( W R C ) GPS coordinate system compatible GPS sensor position ( GPS P GPS ) Camera coordinate system corresponding GPS sensor position ( C P GPS )

[0129] The above data at each of the image capture timings of the analysis target image (Pa) and the reference image (Pr) are input.

[0130] The output data of the GPS coordinate system compatible camera position and orientation calculation unit 113 is the following data: GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C )

[0131] The GPS coordinate system compatible camera position and orientation calculation unit 113 calculates and outputs the above data at each image capture timing of the analysis target image (Pa) and the reference image (Pr).

[0132] The process (step S105) of the flow shown in FIG. 11, i.e., (1) the position and attitude (GPS coordinate system) of the camera at the shooting time (Ta) of the image to be analyzed (Pa), and (2) the position and attitude (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr), is performed by sequentially executing two processes as shown in FIG. 18.

[0133] As shown in FIG. 18, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 of the information processing device 100 sequentially executes the following (step S105a) and (step S105b).

[0134] (Step S105a) An attitude transformation matrix (rotation matrix) () indicating the attitude (tilts of the Xw, Yw, and Zw axes) of the IMU world coordinate system (W) in the GPS coordinate system (GPS) is calculated. GPS R W) is calculated (estimated).

[0135] (Step S105b) Posture transformation matrix (rotation matrix) ( GPS R W ) to calculate the GPS coordinate system-compatible camera position ( GPS P C ) and GPS coordinate system-compatible camera attitude ( GPS R C This process is executed as a process of calculating the positions and orientations of the cameras when capturing the analysis target image (Pa) and the reference image (Pr).

[0136] First, the above process (step S105a) is performed, that is, the attitude transformation matrix (rotation matrix) ( GPS R W This process will be described with reference to FIGS. 19 and 20.

[0137] In addition, the GPS coordinate system (GPS) has a fixed coordinate axis direction of (N, E, Z), and the IMU world coordinate system (W) is a fixed coordinate system. Therefore, an attitude transformation matrix (rotation matrix) ( GPS R W ) is a matrix that does not change. In other words, the posture transformation matrix (rotation matrix) ( GPS R W ) is a matrix that does not change when capturing either the analysis target image (Pa) or the reference image (Pr).

[0138] 19 shows the position and orientation of the information processing device (smartphone) 100 when capturing the analysis target image (Pa) and the reference image (Pr). The slightly oblique rectangular area on the left side shows the position and orientation of the information processing device (smartphone) 100 when capturing the reference image (Pr). The rectangular area on the right side shows the position and orientation of the information processing device (smartphone) 100 when capturing the analysis target image (Pa).

[0139] For example, the information processing device (smartphone) 100 captures a video, the analysis target image (Pa) is the most recently captured image in the captured video, and the reference image (Pr) corresponds to a previously captured image. However, this is just an example, and a combination of still images may also be used.

[0140] The image to be analyzed (Pa) and the reference image (Pr) have the same feature points, ie, corresponding feature points, shown in the lower part of FIG.

[0141] 19 shows an image to be analyzed (Pa) and a reference image (Pr) captured on an information processing device (smartphone) 100, which includes a camera 101 and a GPS sensor 103. The image to be analyzed (Pa) is captured at a time (ta), and the reference image (Pr) is captured at a time (tr).

[0142] FIG. 19 further shows image frames captured at two different times by the camera 101 when capturing the image to be analyzed (Pa) and the reference image (Pr) (ta, tr), and these two captured image frames capture the same feature points, i.e., corresponding feature points.

[0143] The pixel position (coordinates in the captured image coordinate system) of the corresponding feature point in the reference image (Pr) is defined as (ur, vr), and the pixel position (coordinates in the captured image coordinate system) of the corresponding feature point in the image to be analyzed (Pa) is defined as (ua, va).

[0144] In this configuration, the following three vectors t, x on a plane defined by the camera positions and feature point positions of the analysis target image (Pa) and the reference image (Pr): r , x a Ask for

[0145] Vector t: A vector connecting the camera position (focal position) at the time of photographing the reference image (Pr) (tr) to the camera position (focal position) at the time of photographing the analysis target image (Pa) (ta) Vector x r : Vector connecting the position of the feature point from the camera position (focal position) when the reference image (Pr) was taken (tr) Vector x a : A vector connecting the camera position (focal position) at the time of capturing the image (Pa) to be analyzed (ta) to the position of the feature

[0146] As shown in FIG. 20, these three vectors t and x r , x a is expressed by the following (Equation 1a to Equation 1c): t= W P Ca - W P Cr = ( GPS R W T ・ GPS P GPSa - W R Ca ・ Ca P GPS )-( GPS R W T ・ GPS P GPSr - W R Cr ・ Cr P GPS ) = GPS R W T ・( GPS P GPSa - GPS P GPSr )-( W R Ca - W R Cr )・ C P GPS ...(Formula 1a) x r = W R Cr ・A -1 ・[u r , v r , 1] T ...(Formula 1b) x a = W R Ca ・A -1 ・[u a , v a , 1] T ...(Formula 1c)

[0147] In the above formulas (formula 1a to formula 1c), W P Ca is the camera position (focal position) in the IMU world coordinate system (W) when the image to be analyzed (Pa) is captured (ta) W P Cris the camera position (focus position) in the IMU world coordinate system (W) when the reference image (Pr) is captured (tr) GPS R W T is the transpose matrix of the attitude transformation matrix (rotation matrix) that indicates the attitude of the IMU world coordinate system (W) in the GPS coordinate system (GPS) GPS P GPSa is the GPS sensor position in the GPS coordinate system (GPS) at the time of capturing the image (Pa) to be analyzed (ta). GPS P GPSr is the GPS sensor position in the GPS coordinate system (GPS) at the time of photographing the reference image (Pr) (tr).

[0148] W R Ca is the camera posture in the IMU world coordinate system (W) when the image to be analyzed (Pa) is captured (ta) W R Cr is the camera posture in the IMU world coordinate system (W) at the time of capturing the reference image (Pr) (tr). C P GPS is the GPS sensor position in the camera coordinate system (C) (note that the GPS sensor position in the camera coordinate system (C) is the same when the analysis target image (Pa) is photographed (ta) and when the reference image (Pr) is photographed (tr) because the camera and GPS sensor are fixed to the information processing device).

[0149] A -1 is the inverse matrix [u r , v r , 1] T is the transpose matrix [u a , v a , 1] T is the transposed matrix of the matrix indicating the corresponding feature point positions (coordinates in the captured image coordinate system) of the analysis target image (Pa).

[0150] ​Here, a matrix A consisting of camera internal parameters of the pinhole camera model will be described with reference to Fig. 21 and Fig. 22. As shown in Fig. 21, the pinhole camera model will be described as a relational expression that defines the relationship between the three-dimensional position M of an object 201, such as a feature point in a three-dimensional space, when the object 201 is photographed with a general camera (pinhole camera), and the imaging position (imaging pixel position) m of an object image 202 of the object on the imaging plane of the camera.

[0151] In the pinhole camera model, the relation between the three-dimensional position M of the object 201, which is the subject of photography, and the imaging position (image capturing pixel position) m of the camera for the object image 202 is expressed by the following (Equation 2).

[0152]

[0153] The meaning of the above (Equation 2) will be explained with reference to FIGS. 21 and 22. As shown in FIG. 21, when an object 201, which is a subject of photography, is photographed with a camera, an object image 202 is photographed on the camera imaging plane 203 of the camera. The above (Equation 2) is an equation that indicates the correspondence between the pixel position on the camera-captured image plane of a point (m) of the object image 202 included in the image photographed by the camera, i.e., the position expressed in the camera coordinate system, and the three-dimensional position (M) of the object 201 in the world coordinate system. Note that in the following explanation, the (~) above m will be omitted. The m in (Equation 2) indicates a coordinate position expressed in a homogeneous coordinate system.

[0154] The position (pixel position) of a point (m) on the object image 202 included in the image captured by the camera is expressed by a camera image plane coordinate system. The camera coordinate system is a coordinate system in which the focal point of the camera is the origin C, the image plane is a two-dimensional plane of Xc and Yc, and the optical axis direction (depth) is Zc, and the origin C moves with the movement of the camera.

[0155] On the other hand, the three-dimensional position (M) of object 201, which is the subject of photography, is indicated by a world coordinate system consisting of three axes, XwYwZw, with an origin O that does not move with the movement of the camera. An equation indicating the correspondence relationship between the positions of the object in these different coordinate systems is defined as the pinhole camera model in the above equation (1).

[0156] As shown in Fig. 22, this (Equation 2) includes the following parameters: λ: normalization parameter, A: matrix of camera internal parameters, Cw: camera position, Rw: camera rotation matrix,

[0157]

[0158] is the position on the imaging plane of the camera expressed in a homogeneous coordinate system. λ is a normalization parameter.

[0159]

[0160] This is a value that satisfies the third term of the above and can be calculated using a formula.

[0161] As shown in FIG. 22, the matrix A consisting of the camera internal parameters is expressed by the following determinant (Equation 3).

[0162]

[0163] The matrix A consisting of the camera internal parameters includes the following camera internal parameters: f: focal length θ: orthogonality of the image axes (ideal value is 90°) k u : Scale of the vertical axis (conversion from the scale of the 3D position to the scale of the 2D image) k v : Scale of the horizontal axis (conversion from the scale of the three-dimensional position to the scale of the two-dimensional image) (u 0 , v 0 ): Image center position

[0164] 23, a specific process of the process (step S105a) described with reference to FIG. 18 will be described. That is, a posture transformation matrix (rotation matrix) ( GPS RW ) is calculated (estimated).

[0165] First, the data processing unit 104 of the information processing device 100 of the present disclosure calculates the three vectors t and x described with reference to FIGS. 19 and 20 as described above. r , x a That is, the following three vectors t, x on a plane defined by the camera position and feature point position of each image of the analysis target image (Pa) and the reference image (Pr): r , x a Ask for.

[0166] That is, as shown in FIG. 23, Vector t: A vector connecting the camera position (focal position) at the time of photographing the reference image (Pr) (tr) to the camera position (focal position) at the time of photographing the analysis target image (Pa) (ta) Vector x r : Vector connecting the position of the feature point from the camera position (focal position) when the reference image (Pr) was taken (tr) Vector x a : A vector connecting the camera position (focus position) at the time of capturing the image (Pa) to be analyzed (ta) to the position of the feature. These three vectors t, x r , x a Ask for.

[0167] According to the well-known epipolar geometry, these three vectors t, x r , x a If the vectors are on the same plane, then r and vector x a cross product vector of v ra = x r ×x a This cross product vector v ra is always orthogonal to the vector t.

[0168] Since the dot product of orthogonal vectors is zero, the vector v that is orthogonal to vector t is ra The inner product of t and v is always zero. ra = t (x r ×x a )=0 (Equation 4) The above equation (Equation 4) is established.

[0169] This vector relation, i.e., t (xr ×x a ) = 0 (Equation 4) In this vector relation equation (Equation 4), the three vectors t, x explained earlier are r , x a Calculation formula (formula 1a to formula 1c), that is, t= W P Ca - W P Cr = ( GPS R W T ・ GPS P GPSa - W R Ca ・ Ca P GPS )-( GPS R W T ・ GPS P GPSr - W R Cr ・ Cr P GPS ) = GPS R W T ・( GPS P GPSa - GPS P GPSr )-( W R Ca - W R Cr )・ C P GPS ...(Formula 1a) x r = W R Cr ・A -1 ・[u r , v r , 1] T ...(Formula 1b) x a = W R Ca ・A -1 ・[u a , v a , 1] T ...(Formula 1c)

[0170] These vector calculation formulas (formulas 1a to 1c) are substituted. Furthermore, the posture transformation matrix (rotation matrix) ( GPS R W), that is, the attitude transformation matrix (rotation matrix) ( GPS R W ) into a matrix using the yaw angle (=θ), that is, the following determinant (Equation 5):

[0171]

[0172] Substitute this into the above determinant (Equation 5).

[0173] However, the yaw angle (= θ) included in the above determinant (Equation 5) is the rotation angle of the IMU world coordinate system (W) around the Z axis of the GPS coordinate system (GPS) relative to the GPS coordinate system (GPS), and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0174] In this way, the yaw angle (= θ) included in the above determinant (Equation 5) is the rotation angle around the Z axis of the GPS coordinate system (GPS), which indicates the rotation angle of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0175] The GPS coordinate system (GPS) has coordinate axes of (N, E, Z), with the Z direction set vertically. On the other hand, the IMU world coordinate system (W) is also a fixed coordinate system with the Z direction set vertically, and the Z axis direction is a common vertical direction. Therefore, an attitude transformation matrix (rotation matrix) ( GPS R W ) can be replaced with the above determinant (Equation 5) using the yaw angle (=θ), which is the rotation angle around the Z axis of the GPS coordinate system (GPS).

[0176] That is, as shown in FIG. 23, an attitude transformation matrix (rotation matrix) ( GPS R W ) can be expressed by substituting it into the above determinant (Equation 5) using the yaw angle (=θ).

[0177] These vectors t and x r , x aCalculation formula (Equation 1a to Equation 1c) and posture transformation matrix (rotation matrix) ( GPS R W ) the transpose matrix ( GPS R W T ) into the above vector relation, i.e., t·(x r ×x a )=0 (Equation 4) Substitute into the above equation (Equation 4).

[0178] As a result, the unknowns in this substitution are ( GPS R W T ) and from this substitution, the transpose matrix of the orientation transformation matrix (rotation matrix) ( GPS R W T ) can be calculated.

[0179] Next, the calculated yaw angle (= θ) is substituted into the above determinant (Equation 5) to obtain an attitude transformation matrix (rotation matrix) ( GPS R W ) is required.

[0180] The transpose matrix ( GPS R W T ) are all known parameters, i.e., GPS P GPSa is the GPS sensor position in the GPS coordinate system (GPS) at the time of capturing the image (Pa) to be analyzed (ta), GPS P GPSr is the GPS sensor position in the GPS coordinate system (GPS) at the time of capturing the reference image (Pr) (tr), C P GPS is the GPS sensor position in the camera coordinate system (C), and these are position data that can be calculated from the positions of the GPS sensor 103 and camera 101 attached to the information processing device 100, and are data that have been stored in advance in the memory unit 105, for example.

[0181] Also, W RCa is the camera posture in the IMU world coordinate system (W) when the analysis target image (Pa) is captured (ta), W R Cr is the camera attitude in the IMU world coordinate system (W) at the time of capturing the reference image (Pr) (tr), and these are also data already stored in the storage unit 105 as described with reference to FIG. 15 .

[0182] Furthermore, A -1 is the inverse matrix of the matrix A consisting of the camera internal parameters of the pinhole camera model, and is a known value. r , v r , 1] T is the transpose matrix of the matrix indicating the corresponding feature point positions (coordinates in the captured image coordinate system) of the reference image (Pr), [u a , v a , 1] T is the transpose matrix of the matrix indicating the corresponding feature point positions (coordinates in the captured image coordinate system) of the analysis target image (Pa), and these are also data acquired by referring to FIG. 15 in the feature point detection process and feature point matching process (step S104 of the flow shown in FIG. 11 ) from the captured image stored in the storage unit 105.

[0183] In this way, the transpose matrix ( GPS R W T ) all other parameters are known.

[0184] Therefore, as mentioned above, the vectors t and x r , x a Calculation formula (Equation 1a to Equation 1c) and posture transformation matrix (rotation matrix) ( GPS R W ) the transpose matrix ( GPS R W T ) into the above vector relation, i.e., t·(x r ×x a ) = 0 (Equation 4) By substituting into the above equation (Equation 4), the transpose matrix ( GPS R W T) is calculated, and the calculated yaw angle (Yaw angle) (= θ) is substituted into the above determinant (Equation 5) to obtain an attitude transformation matrix (rotation matrix) ( GPS R W ) can be obtained.

[0185] In this way, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 of the information processing device 100 calculates the orientation transformation matrix (rotation matrix) ( GPS R W ) is calculated.

[0186] As mentioned above, the attitude transformation matrix (rotation matrix) ( GPS R W ) does not change over time and is the same matrix when capturing both the analysis target image (Pa) and the reference image (Pr).

[0187] Next, the process (step S105b) described with reference to FIG. 18 is performed, that is, (step S105b) a posture transformation matrix (rotation matrix) ( GPS R W ) to calculate the GPS coordinate system-compatible camera position ( GPS P C ) and GPS coordinate system camera attitude ( GPS R C The details of this process will be described with reference to FIG.

[0188] In this process (step S105b), calculation processes are executed for the positions and orientations of the cameras when capturing the analysis target image (Pa) and the reference image (Pr).

[0189] As shown in FIG. 24 , the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 of the information processing device 100 of the present disclosure calculates an orientation transformation matrix (rotation matrix) (GPS R W ) and calculate the GPS coordinate system-compatible camera position ( GPS P C ) and GPS coordinate system camera attitude ( GPS R C ) is calculated.

[0190] GPS P C = GPS P GPS - GPS R w ・ W R C ・ C P GPS ...(Formula 6a) GPS R C = GPS R w ・ W R C ...(Formula 6b)

[0191] The parameters shown in the above (Equation 6a) and (Equation 6b) are as follows: GPS P GPS is the GPS sensor position in the GPS coordinate system (GPS) GPS R W is an attitude transformation matrix (rotation matrix) that indicates the attitude of the IMU world coordinate system (W) in the GPS coordinate system (GPS) W R C is the camera pose in the IMU world coordinate system (W) C P GPS is the GPS sensor position in the camera coordinate system (C)

[0192] Among these parameters, the attitude transformation matrix (rotation matrix) indicating the attitude of the IMU world coordinate system (W) in the GPS coordinate system (GPS) GPS R W are parameters calculated in the process of step S105a described above. Other parameters GPS P GPS , W R C , C P GPS , are all known parameters. The camera orientation in the IMU world coordinate system (W) is​W R C has been calculated in step S103 of the flow shown in FIG. 11 and stored in the storage unit 105 (see FIG. 15).

[0193] In this way, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 of the information processing device 100 of the present disclosure calculates the orientation transformation matrix (rotation matrix) ( GPS R W ) and calculate the GPS coordinate system-compatible camera position ( GPS P C ) and GPS coordinate system-compatible camera attitude ( GPS R C ) is calculated.

[0194] That is, as shown in FIG. 16 described above, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 of the information processing device 100 calculates the GPS coordinate system compatible camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Calculate these.

[0195] These data calculation processes are executed in step S105 of the flow shown in Fig. 11. Next, based on these calculated data, the process of step S106 of the flow shown in Fig. 11 is executed.

[0196] [6. Details of the Three-Dimensional Structure Data Calculation Process in the GPS Coordinate System] Next, the three-dimensional structure data calculation process in the GPS coordinate system will be described in detail.

[0197] The process described below is the details of the process of step S106 in the flow shown in FIG. 11, that is, the process of calculating three-dimensional structure data in the GPS coordinate system.

[0198] The three-dimensional structure data calculated in step S106 includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) of capturing the analysis target image (Pa) and the three-dimensional positions (N, E, Z) of the feature points. The calculation may also include the position and orientation (GPS coordinate system) of the camera at the time (Tr) of capturing the reference image (Pr) and the three-dimensional positions (N, E, Z) of the feature points.

[0199] The three-dimensional structure data calculation process in the GPS coordinate system will be described in detail with reference to Figure 25 and subsequent figures. This process is executed by the data processing unit 104 of the information processing device 100 of the present disclosure. Figure 25 shows the GPS coordinate system compatible three-dimensional structure data calculation unit 114 as a processing block that executes this process.

[0200] Referring to FIG. 26, the input and output data of the GPS coordinate system compatible three-dimensional structure data calculation unit 114 will be described.

[0201] As shown in FIG. 26, the GPS coordinate system-compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 of the information processing device 100 of the present disclosure receives the following data as input: GPS coordinate system-compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C ) Corresponding feature point coordinates (u, v) These data are input.

[0202] Furthermore, in the process of step S105 of the flow shown in FIG. 11 described above, that is, the GPS coordinate system-compatible camera position ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Enter these as well.

[0203] As shown in FIG. 26, the GPS coordinate system-compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 receives these data, generates and outputs the following data: (1) GPS coordinate system-compatible camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C (3) GPS coordinate system-compatible feature point positions (coordinate (N, E, Z) positions) These data correspond to the three-dimensional structure data calculated in step S106 of the flow shown in FIG.

[0204] Among the three data (1) to (3) above, (1) GPS coordinate system camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C ) These two pieces of data have already been calculated in the processing of the GPS coordinate system-compatible camera position and orientation calculation unit 113 of the data processing unit 104, which was previously described with reference to Figures 16 to 24, and the GPS coordinate system-compatible three-dimensional structure data calculation unit 114 uses this data as is as constituent data of the three-dimensional structure data.

[0205] That is, the GPS coordinate system corresponding three-dimensional structure data calculation unit 114 calculates: (1) the GPS coordinate system corresponding camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C ) In addition to these two calculated data, (3) GPS coordinate system corresponding feature point position (coordinate (N, E, Z) position) is generated and added as constituent data of the three-dimensional structure data. Note that this "(3) GPS coordinate system corresponding feature point position (coordinate (N, E, Z) position)" can be calculated for multiple feature points (corresponding feature points) in the image.

[0206] In step S107 of the flow shown in FIG. 11, the data processing unit 104 uses these data to execute a process of superimposing the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100.

[0207] That is, a process is executed in which the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points as previously described with reference to Figures 4, 6, and 7 are superimposed on the image to be analyzed (Pa) displayed on the display unit 106.

[0208] 27 and subsequent figures, the process executed by the GPS coordinate system-compatible three-dimensional structure data calculation unit 114 in the data processing unit 104, i.e., the process of generating the following data, will be described in detail. GPS coordinate system-compatible feature point positions (coordinates) of the analysis target image (Pa)

[0209] 27 shows a captured image frame 301 of the reference image (Pr) and a captured image frame 302 of the analysis target image (Pa). Note that, for example, the information processing device (smartphone) 100 is capturing a video, and the captured image frame 302 of the analysis target image (Pa) is the most recently captured image in the captured video, and the captured image frame 301 of the reference image (Pr) corresponds to a previously captured image. However, this is just an example, and a combination of separately captured still images may also be used.

[0210] The captured image frame 302 of the analysis target image (Pa) and the captured image frame 301 of the reference image (Pr) have the same feature points, i.e., corresponding feature point images. The feature point position (2D) of the captured image frame 301 of the reference image (Pr) is (Ur, Vr) (captured image coordinate system). The feature point position (2D) of the captured image frame 302 of the analysis target image (Pa) is (Ua, Va) (captured image coordinate system).

[0211] The camera position (GPS coordinate system camera position) at the time when the photographed image frame 301 of the reference image (Pr) was photographed is GPS P Cr On the other hand, the camera position (camera position corresponding to the GPS coordinate system) at the time when the captured image frame 302 of the analysis target image (Pa) was captured is GPS P Ca is.

[0212] First, an analysis process using a captured image frame 301 of a reference image (Pr) will be described with reference to Fig. 28 and Fig. 29. Similar to Fig. 27, Fig. 28 shows a captured image frame 301 of a reference image (Pr) and a captured image frame 302 of an image to be analyzed (Pa).

[0213] The captured image frame 301 of the reference image (Pr) shown in FIG. 28 further shows two feature point positions: (1) feature point positions (2D) (Ur, Vr) actually captured in the reference image (Pr), and (2) theoretical feature point mapping positions (2D) (Ur', Vr') in the reference image (Pr) calculated based on the camera position and orientation and feature point positions (3D) when the reference image (Pr) was captured.

[0214] The theoretical feature point mapping position (2D) (Ur', Vr') is a theoretical feature point mapping position calculated based on the camera position and orientation when the reference image (Pr) was captured and the feature point position (3D). Note that the camera position (GPS coordinate system) when the reference image (Pr) was captured is GPS P Cr The camera attitude (GPS coordinate system) when the reference image (Pr) was taken is GPS R Cr is.

[0215] The GPS coordinate system compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 shown in FIG. 26 calculates the camera attitude (GPS coordinate system) and feature point position (GPS coordinate system) that minimize the difference (error) between the above two feature point positions, i.e., (1) the feature point position (2D) (Ur, Vr) actually photographed in the reference image (Pr), and (2) the theoretical feature point mapping position (2D) (Ur', Vr') in the reference image (Pr) calculated based on the camera position and attitude and feature point position (3D) when the reference image (Pr) was photographed.

[0216] This processing will be described with reference to Fig. 29. The feature point position (2D) actually captured in the reference image (Pr) is (Ur, Vr). On the other hand, the theoretical feature point mapping position (2D) (Ur', Vr') in the reference image (Pr) calculated based on the camera position and orientation and feature point positions (3D) when the reference image (Pr) was captured is (Ur', Vr'), which satisfies the following calculation formula (Formula 7), as shown in Fig. 29.

[0217]

[0218] In the above formula (7), λ is a normalization parameter, and A is a matrix of camera internal parameters. GPS R Cr T : Transpose matrix of the matrix indicating the camera orientation (GPS coordinate system) when the reference image (Pr) was taken GPS P x : Three-dimensional position (GPS coordinate system) of feature point x photographed in the reference image (Pr) GPS P Cr : Camera position (GPS coordinate system) when the reference image (Pr) was taken.

[0219] The GPS coordinate system compatible three-dimensional structure data calculation unit 114 calculates the camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) that satisfy the above formula (Formula 7) and minimize the error (ε) between the theoretical feature point mapping position (2D) (Ur', Vr') that satisfies the above formula (Formula 7) and the feature point positions (2D) (Ur, Vr) that are actually photographed in the reference image (Pr). That is, the following formula (Formula 8), i.e.,

[0220]

[0221] The camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) that satisfy the above equation (Equation 7) so that the error (ε) calculated by the above equation (Equation 8) is the smallest value are calculated.

[0222] The camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) calculated by this process become the camera attitude in the GPS coordinate system and the feature point positions (3D positions) in the GPS coordinate system when the reference image (Pr) was captured.

[0223] The GPS coordinate system-compatible three-dimensional structure data calculation unit 114 performs similar processing on the analysis target image (Pa). The analysis processing using the captured image frame 302 of the analysis target image (Pa) will be described with reference to Fig. 30 and Fig. 31. Similar to Fig. 27, Fig. 30 shows the captured image frame 301 of the reference image (Pr) and the captured image frame 302 of the analysis target image (Pa).

[0224] The captured image frame 302 of the image to be analyzed (Pa) shown in Figure 30 further shows two feature point positions: (1) feature point positions (2D) (Ua, Va) that are actually captured in the image to be analyzed (Pa), and (2) theoretical feature point mapping positions (2D) (Ua', Va') in the image to be analyzed (Pa) that are calculated based on the camera position and orientation when the image to be analyzed (Pa) was captured and the feature point positions (3D).

[0225] The theoretical feature point mapping position (2D) (Ua', Va') is a theoretical feature point mapping position calculated based on the camera position and orientation when the analysis target image (Pa) was captured and the feature point position (3D). Note that the camera position (GPS coordinate system) when the analysis target image (Pa) was captured is GPS P Ca The camera attitude (GPS coordinate system) when capturing the analysis target image (Pa) is GPS R Ca is.

[0226] The GPS coordinate system compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 shown in FIG. 26 calculates the camera attitude (GPS coordinate system) and feature point position (GPS coordinate system) that minimize the difference (error) between the above two feature point positions, i.e., (1) the feature point position (2D) (Ua, Va) actually photographed in the analysis target image (Pa), and (2) the theoretical feature point mapping position (2D) (Ua', Va') in the analysis target image (Pa) calculated based on the camera position and attitude and feature point position (3D) when the analysis target image (Pa) was photographed.

[0227] This processing will be described with reference to Fig. 31. The feature point positions (2D) actually captured in the analysis target image (Pa) are (Ua, Va). On the other hand, the theoretical feature point mapping positions (2D) (Ua', Va') in the analysis target image (Pa) calculated based on the camera position and orientation when the analysis target image (Pa) was captured and the feature point positions (3D) are (Ua', Va'), which satisfies the following calculation formula (Formula 9), as shown in Fig. 31.

[0228]

[0229] In the above formula (Formula 9), λ is a normalization parameter, and A is a matrix consisting of camera internal parameters. GPS R Ca T : Transpose matrix of the matrix indicating the camera orientation (GPS coordinate system) when capturing the image to be analyzed (Pa) GPS P x : Three-dimensional position (GPS coordinate system) of feature point x captured in the analysis target image (Pa) GPS P Ca : Camera position (GPS coordinate system) when the analysis target image (Pa) was captured.

[0230] The GPS coordinate system compatible three-dimensional structure data calculation unit 114 calculates the camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) that satisfy the above formula (Formula 9) and minimize the error (ε) between the theoretical feature point mapping position (2D) (Ua', Va') that satisfies the above formula (Formula 9) and the feature point positions (2D) (Ua, Va) that are actually photographed in the analysis target image (Pa). That is, the following formula (Formula 10), i.e.,

[0231]

[0232] The camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) that satisfy the above equation (Equation 9) so that the error (ε) calculated by the above equation (Equation 10) is the smallest value are calculated.

[0233] The camera attitude (GPS coordinate system) and feature point positions (GPS coordinate system) calculated by this process become the camera attitude in the GPS coordinate system and the feature point positions (three-dimensional positions) in the GPS coordinate system when the image to be analyzed (Pa) was captured.

[0234] In this way, the GPS coordinate system compatible three-dimensional structure data calculation unit 114 of the data processing unit 104 of the information processing device 100 of the present disclosure shown in Figure 25 performs the processing of step S106 of the flow shown in Figure 11, i.e., the processing of calculating three-dimensional structure data in the GPS coordinate system.

[0235] As described above, the three-dimensional structure data includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) when the image to be analyzed (Pa) was captured, and the three-dimensional positions (N, E, Z) of the feature points.

[0236] When the process of step S106 of the flow shown in FIG. 11, that is, the process of calculating the three-dimensional structure data in the GPS coordinate system, is completed, the process of step S107 of the flow shown in FIG. 11 is executed.

[0237] That is, in step S107, the information processing device 100 uses the three-dimensional structure data calculated in step S106 to execute a process of superimposing the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100.

[0238] That is, the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points as previously described with reference to Figures 4, 6, and 7 are superimposed on the image to be analyzed (Pa) displayed on the display unit 106.

[0239] [7. Specific Example of Process for Superimposing Orientation Coordinate Axis (N, E) and Three-Dimensional Position (N, E, Z) of Feature Point on Image Displayed on Display Unit of Information Processing Device] Next, a specific example of process for superimposing orientation coordinate axis (N, E) and three-dimensional position (N, E, Z) of feature point on image displayed on display unit of information processing device will be described.

[0240] FIG. 32 is a diagram showing a specific example in which the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points are superimposed on an image displayed on the display unit of an information processing device.

[0241] The example shown in Figure 32 is an image display example similar to the examples previously described with reference to Figures 1 to 4. An image of the front captured by user 1 using information processing device (smartphone) 100 is displayed on the display unit of information processing device 100. Furthermore, an N azimuth axis indicating the north direction and an E azimuth axis indicating the east direction are displayed on this displayed image, and object position information (N, E, Z) indicating the positions of multiple captured objects such as buildings and houses is displayed.

[0242] The object position information (N, E, Z) corresponds to the distance (difference) from the information processing device 100 held by the user 1. For each object, the distance in the N (north) direction, the distance in the E (east) direction, and the height difference (Z) are displayed in association with each object.

[0243] Note that the height (Z) may be configured to display the actual altitude, i.e., altitude data above sea level. The GPS sensor 103 of the information processing device 100 receives altitude data above sea level from GPS satellites (sea level altitude data of the GPS sensor 103 of the information processing device 100), and this data may be used to calculate the altitude above sea level of each feature point, and the calculated value may be displayed.

[0244] The N-azimuth axis, E-azimuth axis, and object position information (N, E, Z) displayed on the display image are displayed using the three-dimensional structure data generated in step S106 of the flowchart previously described with reference to Fig. 11. Note that the display control process for the N-azimuth axis, E-azimuth axis, object position information (N, E, Z), and this data is executed by the data processing unit 104.

[0245] The data processing unit 104 receives the following data generated by the GPS coordinate system compatible camera position and orientation calculation unit 113 and the GPS coordinate system compatible three-dimensional structure data calculation unit 114 described above, namely, (1) the GPS coordinate system compatible camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C) (3) GPS coordinate system corresponding feature point position (coordinate (N, E, Z) position) These data are input, and by using these input data, the N azimuth axis and E azimuth axis are displayed on the display image being displayed on the display unit 106, and further, a process is executed to display object position information (N, E, Z).

[0246] The data processing unit 104: (1) GPS coordinate system corresponding camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C ) Using this camera position and orientation information corresponding to the GPS coordinate axes, the corresponding position between the camera image being displayed on the display unit 106 and the N axis and E axis that make up the GPS coordinates, i.e., the N (north) direction and E (east) direction of the displayed image and their corresponding directions, is detected, and the N azimuth axis and E azimuth axis are displayed facing the detected directions.

[0247] GPS coordinate system camera attitude ( GPS R C ) is attitude information that indicates the tilt of the camera relative to the GPS coordinate axes (N, E, Z) (tilt of the three axes (Xc, Yc, Zc) of the camera), so this GPS coordinate system compatible camera attitude ( GPS R C ) can be used to analyze the correspondence between the camera image being displayed on the display unit 106 and the N-axis and E-axis that make up the GPS coordinates.

[0248] In addition, for the object position information (N, E, Z), the data processing unit 104 calculates: (1) the GPS coordinate system-compatible camera position ( GPS P C ) (3) Position of feature point corresponding to GPS coordinate system (position of coordinates (N, E, Z)) Using these data, for each object, i.e., feature point, the distance in the N (north) direction from the camera position of the information processing device 100 to the object (= feature point), the distance in the E (east) direction, and the height difference (Z) are calculated, and the calculated values ​​(N, E, Z) are displayed in association with each object (feature point).

[0249] As a result of these processes, a display image such as that shown on the right side of Figure 32 is generated, that is, an image in which the N azimuth axis indicating the north direction, the E azimuth axis indicating the east direction, and object position information (N, E, Z) indicating the positions of multiple photographed objects such as buildings and houses are superimposed on the image taken by user 1 with the information processing device (smartphone) 100, and is displayed on the display unit 106.

[0250] Figure 33 shows an example of an image display in which the N azimuth axis indicating the north direction, the E azimuth axis indicating the east direction, and object position information (N, E, Z) indicating the positions of multiple photographed objects such as buildings and houses are superimposed on an image captured by a drone.

[0251] Images captured by the camera of the drone 20 are transmitted from the drone 20 to the controller 23 held by the user 1. The data processing unit 104 of the controller 23 (= the information processing device 100 shown in FIG. 8 ) continuously receives the images transmitted from the drone 20 and performs an analysis process of the two images to detect corresponding feature points.

[0252] That is, the data processing unit 104 performs processing using the GPS coordinate system compatible camera position and orientation calculation unit 113 and the GPS coordinate system compatible three-dimensional structure data calculation unit 114 described above to obtain the following data, namely, (1) GPS coordinate system compatible camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C ) (3) GPS coordinate system corresponding feature point position (coordinate (N, E, Z) position) These data are generated, and using the generated data, the N azimuth axis and E azimuth axis are displayed on the display image being displayed on the display unit 106, and further, a process is executed to display object position information (N, E, Z).

[0253] The display mode of the N-azimuth axis and the E-azimuth axis is not necessarily limited to the example in which they are displayed as orthogonal linear axes. A specific example will be described with reference to FIG.

[0254] Figure 34(a) is an example of an image display similar to that described above with reference to Figure 32, in which the N-azimuth axis and the E-azimuth axis are displayed perpendicular to each other on the display image. In contrast, the example shown in Figure 34(b) is an example of displaying a photographed image of a tower in front of the user. In this display image, the N-azimuth axis is displayed as an axis pointing upward from the bottom of the display unit. On the other hand, the E-azimuth axis is not displayed. Instead, the direction (angle) difference value with respect to the N-azimuth axis is displayed on a curved line displayed in the display unit information.

[0255] In this way, the example of displaying information indicating the orientation of the image is not necessarily limited to the mode of displaying the orthogonal axes of the N-axis and the E-axis. Note that these display modes can be specified by the user.

[0256] Furthermore, when displaying the orthogonal axes of the N-azimuth axis and the E-azimuth axis, the position of their intersection can be set in various ways and can be freely changed by the user. For example, it is possible to specify the center position of the camera-captured image displayed on the display unit 106 as the intersection position of the N-azimuth axis and the E-azimuth axis. Alternatively, it is also possible for the user to specify any position specified by the user within the camera-captured image displayed on the display unit 106 as the intersection position of each azimuth axis. It is also possible to specify the position of a specific object within the camera-captured image displayed on the display unit 106 as the intersection position of each azimuth axis.

[0257] Next, an example of display processing of object position information, i.e., feature point position information, will be described. As described above, by performing the processing of the present disclosure, it is possible to display position information (N, E, Z) regarding corresponding feature points detected from multiple images, i.e., distance difference data in the N, E, and Z directions from the position of the information processing device 100 (= camera position).

[0258] The display mode of the position information relating to this feature point can also be switched between a plurality of display modes by, for example, user specification. A specific example will be described with reference to Fig. 35 and subsequent figures.

[0259] 35(a) is an example in which the position information (N, E, Z) of only the feature points designated by the user is displayed. The position information (N, E, Z) of feature points other than the user-designated feature points is not displayed.

[0260] Feature point information display example 2 shown in Fig. 35(b) is an example in which the color of the feature point identification mark is changed according to the height of the feature point (= object). For example, the color of the feature point identification mark is changed according to the height (Z) of each feature point, such as yellow if the feature point (= object) is high, green if it is medium, and blue if it is low. The user can grasp the height of each feature point, i.e., the object, based on the color of the feature point identification mark.

[0261] Feature point information display example 3 shown in Figure 35(c) is an example in which positional difference data (distance data) between two feature points (two objects) specified by the user is displayed. After the user touches one feature point on the screen with, for example, a finger or a pen, the user drags the finger or pen to another feature point. By this processing, the positional difference data (distance data) between the two feature points (two objects) specified by the user is displayed.

[0262] 36 shows (d) Feature Point Information Display Example 4. In this feature point information display example, the user selects one feature point (object) in (d1). In this example, the color of the feature point identification mark corresponding to each feature point is changed depending on the horizontal distance or height difference between the selected feature point and other feature points.

[0263] For example, after the user selects one feature point (object) in (d1), as shown in (d2), the user selects "horizontal distance." This process sets and displays the color of the feature point identification mark corresponding to each feature point according to the horizontal distance between the feature point selected by the user and the other feature points. For example, the feature point identification mark corresponding to each feature point is displayed in yellow for feature points that are close in horizontal distance, green for feature points that are intermediate in horizontal distance, and blue for feature points that are farther away.

[0264] Alternatively, after the user selects one feature point (object) in (d1), as shown in (d3), the user selects "altitude difference." This process sets and displays the color of the feature point identification mark corresponding to each feature point according to the altitude difference between the feature point selected by the user and the other feature points. For example, feature points with small altitude differences are displayed in yellow, those with intermediate altitude differences in green, and those with large altitude differences in blue.

[0265] These displays allow the user to accurately recognize the distance and altitude difference between each feature point (object).

[0266] 37 shows an example in which azimuth axes generated by the processing of the present disclosure are used in a navigation application. A photographed image including the current location of user 1 and a current location identification mark are displayed on the information processing device 100 held by user 1 through processing of the navigation application. The azimuth axes (N azimuth axis, E azimuth axis) generated by the processing of the present disclosure are superimposed on this photographed image. This processing allows the user to easily confirm the orientation of their current location and the surrounding environment.

[0267] 8. (Second embodiment) Regarding an embodiment using an information processing device having a distance measurement unit Next, a second embodiment will be described, which uses an information processing device having a distance measurement unit.

[0268] Fig. 38 shows a configuration example of an information processing device 100 according to this embodiment 2. As shown in Fig. 38 , the information processing device 100 according to this embodiment 2 includes a camera 101, an IMU (Inertial Measurement Unit) 102, a GPS sensor 103, a data processing unit (processor) 104, a storage unit (memory) 105, a display unit (monitor) 106, and a LiDAR (distance measurement unit) 107.

[0269] The information processing device 100 shown in FIG. 38 has a configuration in which a LiDAR (distance measurement unit) 107 is added to the information processing device 100 shown in FIG. 8 previously described as the information processing device of the first embodiment.

[0270] The LiDAR (Light Detection and Ranging) 107 is a distance measurement sensor that outputs laser light and measures the distance to an obstacle by analyzing the light reflected from the object.

[0271] This LiDAR (distance measurement unit) 107 also measures the distance to each object using its own coordinate system. Fig. 39 is a diagram illustrating the coordinate systems of the camera 101, IMU 102, GPS sensor 103, and LiDAR (distance measurement unit) 107, which are components of the information processing device 100 in this embodiment 2, a captured image coordinate system that indicates the pixel positions of a display image displayed on the display unit 106 of the information processing device 100, and an IMU world coordinate system that is a unique coordinate system independent of the information processing device 100.

[0272] The diagram shown in Figure 39 adds a LiDAR coordinate system (L) used by the LiDAR (distance measurement unit) 107 to the coordinate systems of the camera 101, IMU 102, GPS sensor 103, etc., which are components of the information processing device 100 of Example 1 described above with reference to Figure 9.

[0273] That is, Fig. 39 shows the following six coordinate systems: (1) camera coordinate system (C), (2) IMU local coordinate system (i), (3) GPS coordinate system (G), (4) photographed image coordinate system (P), (5) IMU world coordinate system (W), and (6) LiDAR coordinate system (L).

[0274] The coordinate systems (1) to (5) have already been explained with reference to Figure 9, so we will omit the explanation here and explain (6) the LiDAR coordinate system (L).

[0275] (6) LiDAR Coordinate System (L) The LiDAR coordinate system (L) is a coordinate system in which the origin is the LiDAR position (specifically, for example, the center of gravity position of the LiDAR) of the LiDAR 107 attached to the information processing device 100, and the Z axis is set in the direction of laser light output from the LiDAR. This LiDAR coordinate system (L) is a coordinate system in which both the origin and the coordinate axis direction of the coordinates change as the position and tilt of the LiDAR 107 change.

[0276] Next, a processing sequence executed by the information processing apparatus 100 of the second embodiment will be described with reference to the flowchart shown in FIG.

[0277] The processing according to the flow shown in Fig. 40 can be executed in accordance with a program stored in the internal memory of the information processing device of the present disclosure under the control of a data processing unit (control unit) composed of a CPU having a program execution function, etc. The processing of each step of the flow shown in Fig. 40 will be described below in order.

[0278] (Step S201) First, in step S201, the information processing device 100 acquires the following data at the time (Tn) when an image is captured by the camera, namely, (a) an image captured by the camera, (b) IMU detection values ​​(acceleration, angular velocity), (c) GPS sensor detection values ​​(GPS sensor position (latitude, longitude, height)), and (d) LiDAR detection values ​​(object distance (depth) information). Note that the image captured by the camera may be either a still image or a video.

[0279] (Step S202) Next, in step S202, the information processing device 100 calculates the camera attitude (IMU world coordinate system) at the image capturing time (Tn) based on “(b) IMU detected values ​​(acceleration, angular velocity)” at the image capturing time (Tn).

[0280] The processing in step S202 is the same as the processing in step S102 in the flow shown in Fig. 11 described in the previous embodiment 1. That is, as shown in Fig. 41 , this processing is executed by the IMU filter unit 111 and the IMU world coordinate system compatible camera attitude calculation unit 112 of the data processing unit (processor) 104.

[0281] The IMU filter unit 111 receives the detection value of the IMU 102, i.e., the acceleration and angular velocity information of the information processing device 100 to which the IMU 102 is attached, and calculates the IMU attitude ( W R i ) is calculated and input to the IMU world coordinate system compatible camera attitude calculation unit 112.

[0282] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) to input the camera posture in the IMU world coordinate system, that is, the camera posture corresponding to the IMU world coordinate system ( W R C ) is calculated. That is, the IMU world coordinate system corresponding camera attitude ( W R C These processes correspond to the processes described above with reference to FIGS. 13 and 14.

[0283] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) and calculate the camera attitude in the IMU world coordinate system, that is, the camera attitude corresponding to the IMU world coordinate system ( W R C ) is calculated. W R C ) = ( W R i )・( i R C )

[0284] (Step S203) Next, in step S203, the information processing device 100 stores the following data in the storage unit (memory) 105 at the image capture time (Tn): (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) GPS sensor detection value (GPS sensor position corresponding to GPS coordinate system) (d) LiDAR detection value (object distance (depth) information).

[0285] As shown in FIG. 41 , the storage unit (memory) 105 receives the camera image captured by the camera 101, the GPS sensor position information acquired by the GPS sensor 103, and the detection information (acceleration, angular velocity) of the IMU 102, and stores the IMU world coordinate system-compatible camera attitude ( W R C), and object distance (depth) information detected by LiDAR 107, and each of these data is input and stored.

[0286] FIG. 42 shows an example of data stored in the storage unit (memory) 105. In the example shown in FIG. 42, the camera captured images taken by the camera 101 are moving images, and data is stored sequentially at regular frame intervals. As shown in FIG. 42, for each data identifier, the following is stored: (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) camera position (d) camera angle (e) camera direction (f) camera angle (g) camera position (h) camera angle (i.e., angle θ) camera position ... W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS ) (d) LiDAR detection value (object distance (depth) information) (e) Data acquisition time (image capture time) These data are associated and stored in the storage unit (memory) 105.

[0287] It should be noted that “(e) data acquisition time (image capture time)” is acquired from metadata set in correspondence with the captured image frame of the camera 101 .

[0288] (a) The camera-captured images are frame images that make up a moving image captured by the camera 101. Data recording processing may be performed for all image frames that make up the captured moving image, or data may be recorded for each predetermined number of frames.

[0289] (b) The camera posture is the camera posture corresponding to the IMU world coordinate system ( W R C (c) The GPS sensor detection value is the GPS sensor position ( GPS P GPS (d) The LiDAR detection value (object distance (depth) information) is recorded as, for example, a depth map indicating the distance to an object within the output range of the laser light output by the LiDAR 107.

[0290] Note that the area of ​​the camera-captured image captured by the camera 101 does not necessarily coincide with the output range of the laser light output by the LiDAR 107. That is, for example, the distance measurement range of the LiDAR 107 may be only a part of the area of ​​the camera-captured image captured by the camera 101.

[0291] As shown in FIG. 42, the storage unit 105 of the information processing device 100 stores, for each image captured by the camera 101, the following: (a) camera captured image; (b) camera attitude (IMU world coordinate system); W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS ) (d) LiDAR detection value (object distance (depth) information) (e) Data acquisition time (image capture time) These data are recorded in association with each other.

[0292] Next, the processing from step S204 onward in the flowchart shown in FIG. 40 will be described.

[0293] (Step S204) Next, in step S204, the information processing device 100 executes a process of extracting corresponding feature points from two images: an image captured by a camera (image to be analyzed (Pa)) (=captured at time (Ta)) that displays the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of feature points superimposed on each other, and an image captured at a different time (reference image (Pr)) (=captured at time (Tr)) that has been stored in memory.

[0294] As described above, the analysis target image (Pa) is an image onto which the orientation coordinate axes (N, E) and the three-dimensional position (N, E, Z) information of the feature points, which were previously described with reference to Figures 1 to 7, are superimposed. The reference image (Pr) is a captured image stored in the storage unit (memory) 105, captured at a time (Tr) different from the capture time (Ta) of the analysis target image (Pa), and is an image used to calculate the orientation coordinate axes (N, E) to be displayed on the analysis target image (Pa) and the three-dimensional positions (N, E, Z) of the feature points.

[0295] The combination of the analysis target image (Pa) and the reference image (Pr) is not limited to a combination of a most recently captured image and a previously captured image, but may be any two images captured from different viewpoints that have common image feature points (corresponding feature points).

[0296] In step S204, a process is performed to extract common image features (corresponding feature points) from the image to be analyzed (Pa) (=photographing time (Ta)) and an image (reference image (Pr)) (=photographing time (Tr)) photographed at a different time and stored in memory.

[0297] For example, corresponding feature points are extracted by a feature point matching process that selects feature points having similar image features from two images. Note that, for example, the ORB (Oriented FAST and Rotated BRIEF) method can be applied as the feature point extraction process, and for example, template matching can be applied as the feature point matching process.

[0298] (Step S205) Next, the information processing device 100 executes the following processing in step S205: (1) The position and orientation (GPS coordinate system) of the camera at the shooting time (Ta) of the analysis target image (Pa), and (2) The position and orientation (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr). The processing in step S205 is the same as the processing in step S105 of the flow shown in FIG. 11 of the first embodiment described above.

[0299] That is, as shown in FIG. 43, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 calculates the GPS coordinate system compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C ) Corresponding feature point coordinates (u, v) Camera coordinate system corresponding GPS sensor position ( C P GPS ), enter these data.

[0300] The GPS coordinate system compatible camera position and orientation calculation unit 113 uses these data to calculate the GPS coordinate system compatible camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Calculate these.

[0301] That is, the GPS coordinate system corresponding camera position of the analysis target image (Pa) ( GPSa P Ca ) GPS coordinate system compatible camera attitude ( GPSa R Ca ) and the GPS coordinate system corresponding camera position of the reference image (Pr) ( GPSr P Cr ) GPS coordinate system compatible camera attitude ( GPSr R Cr ) These are calculated and output. These processes are the same as those described above with reference to FIGS.

[0302] (Step S206) Next, in step S206, the information processing device 100 calculates three-dimensional structure data in the GPS coordinate system.

[0303] The three-dimensional structure data includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) when the analysis target image (Pa) was captured, and the three-dimensional position (N, E, Z) information of the feature points.

[0304] The process of step S206 is the same as the process of step S106 in the flow shown in FIG. 11 of the first embodiment described above.

[0305] That is, as shown in FIG. 44, the GPS coordinate system compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 of the information processing device 100 receives the following data: GPS coordinate system compatible GPS sensor position ( GPS P GPS ) IMU world coordinate system camera posture ( W R C) corresponding feature point coordinates (u, v) Furthermore, the GPS coordinate system corresponding camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Enter each of these data.

[0306] As shown in FIG. 44, the GPS coordinate system-compatible three-dimensional structure data calculation unit 114 in the data processing unit 104 receives these data, generates and outputs the following data: (1) GPS coordinate system-compatible camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C (3) GPS coordinate system-compatible feature point positions (coordinate (N, E, Z) positions) These data correspond to the three-dimensional structure data calculated in step S206 of the flow shown in FIG.

[0307] (Step S207) Next, in step S207, the information processing device 100 executes a process of mapping the detection value (object distance (depth)) of the LiDAR 107 onto the GPS coordinate system.

[0308] The detection value (object distance (depth)) of LiDAR 107 is generated as a depth map generated according to the LiDAR coordinate system, i.e., a depth map showing the distance values ​​of objects within the output range of the laser light output by LiDAR 107.

[0309] In step S207, the data processing unit 104 of the information processing device performs a process of mapping the depth map generated in accordance with the LiDAR coordinate system onto the GPS coordinate system.

[0310] The processing of step S207 executed by the data processing unit 104 will be described with reference to Figures 45 and 46. Figure 45 shows the GPS coordinate system corresponding distance information calculation unit 115 that executes the processing of step S207 within the data processing unit 104.

[0311] The GPS coordinate system-compatible distance information calculation unit 115 receives the following data: GPS coordinate system-compatible camera position ( GPS P Ca ) GPS coordinate system compatible camera attitude ( GPS R Ca ) and the GPS coordinate system corresponding camera position of the reference image (Pr) ( GPS P Cr ) GPS coordinate system compatible camera attitude ( GPS R Cr These are data generated by the GPS coordinate system compatible camera position and orientation calculation unit 113.

[0312] Furthermore, the LiDAR coordinate system corresponding LiDAR detection distance information setting position ( L P x ) (coordinates), and LiDAR coordinate system compatible camera position and orientation information ( L P C , L R C ), and input this information. Note that the LiDAR coordinate system compatible camera position and orientation information ( L P C , L R C ) can be calculated from the position and orientation relationship between the camera 101 and the LiDAR 107 attached to the information processing device 100, and the calculated value can be stored in advance in the memory unit 105 and used.

[0313] The GPS coordinate system corresponding distance information calculation unit 115 of the data processing unit 104 receives these pieces of data and calculates the GPS coordinate system corresponding distance (depth) information setting position ( GPS P x ) (coordinates).

[0314] 46, the GPS coordinate system corresponding distance (depth) information setting position ( GPS P x ) (coordinates) calculation process will be described.

[0315] The GPS coordinate system corresponding distance information calculation unit 115 performs a calculation according to the following equation (Equation 11) to obtain the GPS coordinate system corresponding distance (depth) information setting position ( GPS P x ) (coordinates).

[0316] GPS P x = GPS P C + GPS R C ・ L R C T ・( L P x - L P C )...(Formula 11)

[0317] In the above (Equation 11), the parameters are as follows: GPS P C is the camera position in the GPS coordinate system, GPS R C is the camera attitude in the GPS coordinate system, L R C T is the transpose matrix of the camera pose corresponding to the LiDAR coordinate system, L P x is the LiDAR coordinate system corresponding LiDAR detection distance information setting position (coordinates), L P C is the LiDAR coordinate system corresponding camera position,

[0318] 40, coordinate mapping is performed to convert the coordinate position of the detection value (object distance (depth)) of the LiDAR 107 in the LiDAR coordinate system into a coordinate position in the GPS coordinate system. Through this processing, the detection value (object distance (depth)) of the LiDAR 107 is expanded into a coordinate position in the GPS coordinate system.

[0319] ​(Step S208) Finally, in step S208, the information processing device 100 uses the three-dimensional structure data calculated in step S206 and the detection value (object distance (depth)) of the LiDAR 107 mapped to the GPS coordinate system generated in step S207 to superimpose at least one of the following data on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100: orientation coordinate axis (N, E), three-dimensional position (N, E, Z) of the feature point, and object distance (depth) information.

[0320] That is, at least one of the data of the azimuth coordinate axis (N, E) as previously described with reference to Figures 4, 6, and 7, the three-dimensional position (N, E, Z) of the feature point, and the object distance (depth) measured by LiDAR 107 is superimposed on the image to be analyzed (Pa) displayed on the display unit 106.

[0321] FIG. 47 is a diagram illustrating an example of data displayed on the display unit of the information processing device 100 of this second embodiment. The example illustrated in FIG. 47 is an image display example similar to the example previously described with reference to FIGS. 1 to 4. An image of the front captured by user 1 using the information processing device (smartphone) 100 is displayed on the display unit of the information processing device 100. Furthermore, an N-axis indicating the north direction and an E-axis indicating the east direction are displayed on this displayed image, and object position information (N, E, Z) indicating the positions of multiple captured objects such as buildings and houses is displayed. Furthermore, object distance (depth) information measured by the LiDAR 107 is superimposed and displayed. Note that the object distance (depth) information measured by the LiDAR 107 is displayed as data set so that closer objects are brighter white and farther objects are darker black.

[0322] The other superimposition data, azimuth axes (N azimuth axis, E azimuth axis) and object position information (N, E, Z) are the same as the data in the first embodiment described above.

[0323] The data processing unit 104 receives the following data generated by the GPS coordinate system compatible camera position and orientation calculation unit 113 and the GPS coordinate system compatible three-dimensional structure data calculation unit 114 described above, namely, (1) the GPS coordinate system compatible camera position ( GPS P C ) (2) GPS coordinate system camera attitude ( GPS R C ) (3) GPS coordinate system corresponding feature point position (coordinate (N, E, Z) position) These data are input, and by using these input data, the N azimuth axis and E azimuth axis are displayed on the display image being displayed on the display unit 106, and further, a process is executed to display object position information (N, E, Z).

[0324] Furthermore, the data processing unit 104 calculates the object distance (depth) information measured by the LiDAR 107 and the GPS coordinate system corresponding distance (depth) information setting position ( GPS P x ) (coordinates), and executes a process of superimposing and displaying GPS coordinate system corresponding distance (depth) information on the image being displayed on the display unit 106 using the input data.

[0325] As described above, the area of ​​the camera-captured image captured by the camera 101 does not necessarily coincide with the output range of the laser light output by the LiDAR 107. That is, for example, the distance measurement range of the LiDAR 107 may be only a part of the area of ​​the camera-captured image captured by the camera 101.

[0326] In such a case, the information processing apparatus 100 of the second embodiment performs display processing to notify the user viewing the display unit 106 of the distance measurement range of the LiDAR 107. A specific example will be described with reference to FIG.

[0327] The data processing unit 104 of the information processing apparatus 100 of the second embodiment generates display data such as that shown on the right side of FIG.

[0328] The display data shown in Fig. 48 is an example in which information for identifying areas where distance (depth) information has been acquired by the LiDAR 107 and areas where it could not be acquired is superimposed on the captured image displayed on the display unit 106. Areas where distance (depth) information has been acquired by the LiDAR 107 are shown as white areas (transparent areas), and areas where distance (depth) information has not been acquired by the LiDAR 107 are shown as gray areas.

[0329] By viewing such display data, the user can confirm the range in which the distance is measured by LiDAR 107.

[0330] However, the information processing device 100 of the second embodiment can also accumulate distance measurement information of the LiDAR 107 in the storage unit 105. That is, as described above with reference to Fig. 42 , it is possible to store and hold distance measurement information of the LiDAR 107 for each timing at which an image is captured by the camera 101 in the storage unit 105.

[0331] By utilizing the accumulated data stored in the memory unit 105, when the latest captured image by the camera 101 is displayed on the display unit 106 and object distance information is superimposed, it is possible to superimpose a wider range of object distance information.

[0332] In other words, by outputting to the display unit object distance information acquired by LiDAR 107 in the past together with object distance information acquired by LiDAR 107 at the time the latest image was captured by camera 101, it is possible to superimpose and display a wider range of object distance information.

[0333] A specific example of this processing will be described with reference to Fig. 49. The example shown in Fig. 49 is a diagram illustrating a processing example in which an image captured by a camera mounted on the drone 20 is displayed on the display unit, and distance information detected by the LiDAR mounted on the drone 20 is further superimposed and displayed.

[0334] As shown in Figure 49, drone 20 flies in the sky and takes images using a camera and measures distances using LiDAR at different positions at times t1 and t2.

[0335] For example, at the latest time (time t2), the display unit of the controller displays an image of the area photographed by the drone 20 at time t2. That is, an image of the area of ​​"camera image photographing area @t2" shown in FIG.

[0336] In contrast, at the latest time (time t2), the area in which distance can be measured by LiDAR is the area shown as "LiDAR distance (depth) detection area @t2" in Figure 49, which is a partial area of ​​the "camera image capturing area @t2".

[0337] However, the controller's memory unit stores data from distance measurements performed by the LiDAR at a past time (time t1), i.e., distance measurement data (depth map) for the area indicated by "LiDAR distance (depth) detection area @t1" in the figure.

[0338] The data processing unit 104 reads out the distance measurement data (depth map) of the area indicated by this "LiDAR distance (depth) detection area @t1" from the memory unit 105 and displays it on the display unit 106.

[0339] In other words, the display unit 106 displays an image of the area photographed by the drone 20 at time t2, i.e., an image of the area of ​​"camera image photographing area @t2" shown in Figure 49, and further, it is possible to superimpose and display the distance information acquired by the LiDAR at the latest time (time t2) and the distance information acquired by the LiDAR at a past time (time t1).

[0340] As a result, the user can check the distance to a wider range of objects from the image displayed on the controller.

[0341] 9. (Third embodiment) An embodiment using an information processing device having two GPS sensors Next, a third embodiment will be described, which uses an information processing device having two GPS sensors.

[0342] Fig. 50 shows a configuration example of an information processing device 100 according to this embodiment 3. As shown in Fig. 50, the information processing device 100 according to this embodiment 3 includes a camera 101, an IMU (Inertial Measurement Unit) 102, a GPS sensor 103, a data processing unit (processor) 104, a storage unit (memory) 105, a display unit (monitor) 106, and a sub-GPS sensor 108.

[0343] The information processing device 100 shown in FIG. 50 has a configuration in which the number of GPS sensors in the information processing device 100 shown in FIG. 8, which has been previously described as the information processing device of the first embodiment, is increased to two.

[0344] The information processing device 100 of this embodiment 3 calculates the camera position and orientation corresponding to the GPS coordinate system using the GPS sensor 103 and the sub-GPS sensor 108, and the detection information of these two sensors, i.e., two pieces of positioning information (N, E, Z) from two GPS sensors attached at different positions within the information processing device 100.

[0345] Figure 51 is a diagram explaining the coordinate systems of the camera 101, IMU 102, GPS sensor 103, and sub-GPS sensor 108, which are components of the information processing device 100 in this embodiment 3, the captured image coordinate system that indicates the pixel positions of the display image displayed on the display unit 106 of the information processing device 100, and the IMU world coordinate system, which is a unique coordinate system independent of the information processing device 100.

[0346] The diagram shown in Figure 51 adds a sub-GPS coordinate system (Gs) used by the sub-GPS sensor 108 to the coordinate systems of the camera 101, IMU 102, GPS sensor 103, etc., which are components of the information processing device 100 of Example 1 described above with reference to Figure 9.

[0347] That is, Fig. 51 shows the following six coordinate systems: (1) camera coordinate system (C) (2) IMU local coordinate system (i) (3) GPS coordinate system (G) (4) photographed image coordinate system (P) (5) IMU world coordinate system (W) (6) sub-GPS coordinate system (Gs)

[0348] The coordinate systems (1) to (5) have already been explained with reference to FIG. 9, so explanations will be omitted here, and only the sub-GPS coordinate system (Gs) (6) will be explained.

[0349] (6) Sub-GPS Coordinate System (Gs) The sub-GPS coordinate system (Gs) is a coordinate system that has its origin at the position of the sub-GPS sensor 108 attached to the information processing device 100 (specifically, for example, the position of the center of gravity of the GPS sensor), with the N (north) direction as the X-axis, the E (east) direction as the Y-axis, and the vertically downward direction as the Z-axis. In this sub-GPS coordinate system (Gs), only the origin of the coordinates moves as the position and tilt of the sub-GPS sensor 108 change. The directions of the coordinate axes (N, E, Z) do not change.

[0350] Next, a processing sequence executed by the information processing apparatus 100 according to the third embodiment will be described with reference to the flowchart shown in FIG.

[0351] The processing according to the flow shown in Fig. 52 can be executed in accordance with a program stored in the internal memory of the information processing device of the present disclosure under the control of a data processing unit (control unit) composed of a CPU having a program execution function, etc. The processing of each step of the flow shown in Fig. 52 will be explained in order below.

[0352] (Step S301) First, in step S301, the information processing device 100 acquires the following data at the image capture time (Tn) by the camera, namely, (a) an image captured by the camera, (b) IMU detection values ​​(acceleration, angular velocity), (c) GPS sensor detection values ​​(GPS sensor position (latitude, longitude, height)), and (d) sub-GPS sensor detection values ​​(sub-GPS sensor position (latitude, longitude, height)). Note that the camera image may be either a still image or a video.

[0353] (Step S302) Next, in step S302, the information processing device 100 calculates the camera attitude (IMU world coordinate system) at the image capturing time (Tn) based on “(b) IMU detected values ​​(acceleration, angular velocity)” at the image capturing time (Tn).

[0354] The processing in step S302 is the same as the processing in step S102 in the flow shown in Fig. 11 described in the previous embodiment 1. That is, as shown in Fig. 53, this processing is executed by the IMU filter unit 111 and the IMU world coordinate system compatible camera attitude calculation unit 112 of the data processing unit (processor) 104.

[0355] The IMU filter unit 111 receives the detection value of the IMU 102, i.e., the acceleration and angular velocity information of the information processing device 100 to which the IMU 102 is attached, and calculates the IMU attitude ( W R i ) is calculated and input to the IMU world coordinate system compatible camera attitude calculation unit 112.

[0356] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) to input the camera posture in the IMU world coordinate system, that is, the camera posture corresponding to the IMU world coordinate system ( W R C ) is calculated. That is, the IMU world coordinate system corresponding camera attitude ( W R C These processes correspond to the processes described above with reference to FIGS. 13 and 14.

[0357] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) and calculate the camera attitude in the IMU world coordinate system, that is, the camera attitude corresponding to the IMU world coordinate system ( W R C ) is calculated. W R C ) = ( W R i )・( i R C )

[0358] (Step S303) Next, in step S303, the information processing device 100 stores the following data in the storage unit (memory) 105 at the image capture time (Tn): (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) GPS sensor detection value (GPS sensor position corresponding to GPS coordinate system) (d) sub-GPS sensor detection value (sub-GPS sensor position corresponding to sub-GPS coordinate system).

[0359] As shown in FIG. 53 , the storage unit (memory) 105 receives the camera image captured by the camera 101, the GPS sensor position information acquired by the GPS sensor 103, the sub-GPS sensor position information acquired by the sub-GPS sensor 108, and further the detection information (acceleration, angular velocity) of the IMU 102, and stores the IMU world coordinate system-compatible camera attitude ( W R C ), each of these data is input and stored.

[0360] FIG. 54 shows an example of data stored in the storage unit (memory) 105. In the example shown in FIG. 54, the camera captured images taken by the camera 101 are moving images, and data is stored sequentially at regular frame intervals. As shown in FIG. 54, for each data identifier, the following is stored: (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) camera position (d) camera angle (e) camera position (f) camera angle (g) camera position (h) camera angle (i.e., angle θ) camera position ... W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS (d) Sub-GPS sensor detection value (sub-GPS sensor position corresponding to sub-GPS coordinate system) ( GPSs P GPSs (e) Data acquisition time (image capture time) These pieces of data are stored in the storage unit (memory) 105 in association with each other.

[0361] It should be noted that “(e) data acquisition time (image capture time)” is acquired from metadata set in correspondence with the captured image frame of the camera 101 .

[0362] (a) The camera-captured images are frame images that make up a moving image captured by the camera 101. Data recording processing may be performed for all image frames that make up the captured moving image, or data may be recorded for each predetermined number of frames.

[0363] (b) The camera posture is the camera posture corresponding to the IMU world coordinate system ( W R C (c) The GPS sensor detection value is the GPS sensor position ( GPS P GPS (d) The sub-GPS sensor detection value is the sub-GPS sensor position ( GPSs P GPSs )

[0364] As shown in FIG. 54, the storage unit 105 of the information processing device 100 stores, for each image captured by the camera 101, the following: (a) camera captured image; (b) camera attitude (IMU world coordinate system); W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS (d) Sub-GPS sensor detection value (sub-GPS sensor position corresponding to sub-GPS coordinate system) ( GPSs P GPSs (e) Data acquisition time (image capture time) These data are recorded in association with each other.

[0365] Next, the processing from step S304 onward in the flowchart shown in FIG. 52 will be described.

[0366] (Step S304) Next, in step S304, the information processing device 100 executes a process of extracting corresponding feature points from two images: an image captured by a camera (image to be analyzed (Pa)) (=captured at time (Ta)) that displays the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of feature points superimposed on each other, and an image captured at a different time (reference image (Pr)) (=captured at time (Tr)) that has been stored in memory.

[0367] As described above, the analysis target image (Pa) is an image onto which the orientation coordinate axes (N, E) and the three-dimensional position (N, E, Z) information of the feature points, which were previously described with reference to Figures 1 to 7, are superimposed. The reference image (Pr) is a captured image stored in the storage unit (memory) 105, captured at a time (Tr) different from the capture time (Ta) of the analysis target image (Pa), and is an image used to calculate the orientation coordinate axes (N, E) to be displayed on the analysis target image (Pa) and the three-dimensional positions (N, E, Z) of the feature points.

[0368] The combination of the analysis target image (Pa) and the reference image (Pr) is not limited to a combination of a most recently captured image and a previously captured image, but may be any two images captured from different viewpoints that have common image feature points (corresponding feature points).

[0369] In step S304, a process is performed to extract common image features (corresponding feature points) from the image to be analyzed (Pa) (=photographing time (Ta)) and an image (reference image (Pr)) (=photographing time (Tr)) photographed at a different time and already stored in memory.

[0370] For example, corresponding feature points are extracted by a feature point matching process that selects feature points having similar image features from two images. Note that, for example, the ORB (Oriented FAST and Rotated BRIEF) method can be applied as the feature point extraction process, and for example, template matching can be applied as the feature point matching process.

[0371] (Step S305) Next, in step S305, the information processing device 100 uses the detection values ​​of the two different GPS sensors to determine the camera azimuth angle corresponding to the orientation of the camera, and further calculates the yaw angle from the determined camera azimuth angle.

[0372] That is, the data stored in the storage unit 104 described above with reference to FIG. 54, namely, (c) GPS sensor detection value (GPS sensor position corresponding to GPS coordinate system) ( GPS P GPS (d) Sub-GPS sensor detection value (sub-GPS sensor position corresponding to sub-GPS coordinate system) ( GPSs P GPSsThese two different GPS sensor detection values ​​are used to determine the camera azimuth angle, which corresponds to the camera orientation, and the yaw angle is calculated from the determined camera azimuth angle.

[0373] The yaw angle (= θ) is the rotation angle of the IMU world coordinate system (W) around the Z axis of the GPS coordinate system (GPS) relative to the GPS coordinate system (GPS), and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0374] As described above with reference to FIG. 23 in the first embodiment, the attitude transformation matrix (rotation matrix) ( GPS R W ) is a matrix using the yaw angle (=θ), that is, the following determinant (Equation 5):

[0375]

[0376] This can be substituted into the above determinant (Equation 5).

[0377] As described above, the yaw angle (=θ) included in the above determinant (Equation 5) is a rotation angle around the Z axis of the GPS coordinate system (GPS) and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS). In other words, it is a rotation angle around the Z axis of the GPS coordinate system (GPS) that indicates the rotation angle of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0378] As explained above, the GPS coordinate system (GPS) has coordinate axes of (N, E, Z), with the Z direction set to the vertical direction. On the other hand, the IMU world coordinate system (W) is also a fixed coordinate system with the Z direction set to the vertical direction, and the Z axis direction is a common vertical direction. Therefore, an attitude transformation matrix (rotation matrix) ( GPS R W ) can be replaced with the above determinant (Equation 5) using the yaw angle (=θ), which is the rotation angle around the Z axis of the GPS coordinate system (GPS).

[0379] (Step S306) Next, the information processing device 100 executes the following processing in step S306. (1) The position and attitude (GPS coordinate system) of the camera at the shooting time (Ta) of the analysis target image (Pa), and (2) The position and attitude (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr) are calculated. The processing in step S306 is executed using the yaw angle (= θ) calculated in step S305, i.e., momentum information of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0380] 55 , a process executed by the information processing device 100 of the third embodiment, that is, a process of calculating the camera position and orientation corresponding to the GPS coordinate system using two pieces of positioning information from two GPSs, will be described. This process is executed by the data processing unit 104 of the information processing device 100 of the third embodiment.

[0381] As shown in FIG. 51, the data processing unit 104 of the third embodiment includes a yaw angle calculation unit 116 and a GPS coordinate system compatible camera position and orientation calculation unit 113 .

[0382] The yaw angle calculation unit 116 executes the process of step S305. That is, the yaw angle calculation unit 116 uses the detection values ​​of the two different GPS sensors, the GPS sensor 103 and the sub-GPS sensor 108, to determine the camera azimuth angle corresponding to the camera orientation, and further calculates the yaw angle from the determined camera azimuth angle.

[0383] The yaw angle (Yaw angle) (= θ) is a rotation angle of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS) around the Z axis of the GPS coordinate system (GPS), and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS). That is, as described above in the first embodiment with reference to FIG. 23 etc., the calculated yaw angle (Yaw angle) (= θ) is used to calculate an attitude transformation matrix (rotation matrix) ( GPS R W ) can be generated.

[0384] As shown in FIG. 55, the yaw angle (=θ) calculated by the yaw angle calculation unit 116 is input to the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 .

[0385] As shown in FIG. 55, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 calculates the yaw angle (=θ) calculated by the yaw angle calculation unit 116, as well as the GPS coordinate system compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C ) Corresponding feature point coordinates (u, v) Camera coordinate system corresponding GPS sensor position ( C P GPS ), enter these data.

[0386] The GPS coordinate system compatible camera position and orientation calculation unit 113 uses these data to calculate the GPS coordinate system compatible camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) These are calculated. The GPS coordinate system is a coordinate system corresponding to the GPS sensor 103.

[0387] That is, the GPS coordinate system corresponding camera position of the analysis target image (Pa) ( GPSa P Ca ) GPS coordinate system compatible camera attitude ( GPSa R Ca ) and the GPS coordinate system corresponding camera position of the reference image (Pr) ( GPSr P Cr ) GPS coordinate system compatible camera attitude ( GPSr R Cr ) These are calculated and output.

[0388] These processes can basically be executed as the same processes as those described above with reference to FIGS. 16 to 24 in the first embodiment. However, in the third embodiment, as shown in FIG. 55, the yaw angle (=θ) calculated by the yaw angle calculation unit 116 is used to calculate an attitude transformation matrix (rotation matrix) ( GPS R W ) can be calculated and used, and the GPS coordinate system-compatible camera position and orientation can be calculated with higher accuracy.

[0389] (Step S307) Next, in step S307, the information processing device 100 calculates three-dimensional structure data in the GPS coordinate system.

[0390] The three-dimensional structure data includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) of capturing the image to be analyzed (Pa) and the three-dimensional positions (N, E, Z) of the feature points. The processing in step S307 is the same as the processing in step S106 in the flow shown in FIG. 11 of the first embodiment described above.

[0391] (Step S308) Next, in step S308, the information processing device 100 uses the three-dimensional structure data calculated in step S307 to superimpose the following data on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100: orientation coordinate axis (N, E); three-dimensional position (N, E, Z) of the feature point; and at least any one of these pieces of information.

[0392] That is, the display data as previously described with reference to FIGS. 4, 6, and 7, specifically, display data in which at least one of the data on the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points is superimposed on the image to be analyzed (Pa) displayed on the display unit 106, is generated and output to the display unit 106.

[0393] 10. (Fourth embodiment) Regarding an embodiment using an information processing device having a geomagnetic sensor Next, a fourth embodiment will be described, which uses an information processing device having a geomagnetic sensor.

[0394] Fig. 56 shows a configuration example of an information processing device 100 according to this embodiment 4. As shown in Fig. 56, the information processing device 100 according to this embodiment 4 includes a camera 101, an IMU (Inertial Measurement Unit) 102, a GPS sensor 103, a data processing unit (processor) 104, a storage unit (memory) 105, a display unit (monitor) 106, and a geomagnetic sensor 109.

[0395] The information processing device 100 shown in FIG. 56 has a configuration in which a geomagnetic sensor 109 is added to the information processing device 100 shown in FIG. 8, which has been previously described as the information processing device of the first embodiment.

[0396] The geomagnetic sensor 109 added to the information processing device 100 of the fourth embodiment detects the orientation of the information processing device 100. Specifically, for example, the geomagnetic sensor 109 detects the direction of the camera 101 of the information processing device 100 (camera orientation).

[0397] Next, a processing sequence executed by the information processing apparatus 100 according to the fourth embodiment will be described with reference to the flowchart shown in FIG.

[0398] The processing according to the flow shown in Fig. 57 can be executed in accordance with a program stored in the internal memory of the information processing device of the present disclosure under the control of a data processing unit (control unit) composed of a CPU having a program execution function, etc. The processing of each step of the flow shown in Fig. 57 will be explained in order below.

[0399] (Step S401) First, in step S401, the information processing device 100 acquires the following data at the time (Tn) when an image is captured by the camera, namely, (a) an image captured by the camera, (b) IMU detection values ​​(acceleration, angular velocity), (c) GPS sensor detection values ​​(GPS sensor position (latitude, longitude, height)), and (d) geomagnetic sensor detection values ​​(orientation information). Note that the image captured by the camera may be either a still image or a video.

[0400] (Step S402) Next, in step S402, the information processing device 100 calculates the camera attitude (IMU world coordinate system) at the image capturing time (Tn) based on “(b) IMU detected values ​​(acceleration, angular velocity)” at the image capturing time (Tn).

[0401] The processing in step S402 is the same as the processing in step S102 in the flow shown in Fig. 11 described in the previous embodiment 1. That is, as shown in Fig. 58, this processing is executed by the IMU filter unit 111 and the IMU world coordinate system compatible camera attitude calculation unit 112 of the data processing unit (processor) 104.

[0402] The IMU filter unit 111 receives the detection value of the IMU 102, i.e., the acceleration and angular velocity information of the information processing device 100 to which the IMU 102 is attached, and calculates the IMU attitude ( W R i ) is calculated and input to the IMU world coordinate system compatible camera attitude calculation unit 112.

[0403] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) to input the camera posture in the IMU world coordinate system, that is, the camera posture corresponding to the IMU world coordinate system ( W R C ) is calculated. That is, the IMU world coordinate system corresponding camera attitude ( W R C These processes correspond to the processes described above with reference to FIGS. 13 and 14.

[0404] The IMU world coordinate system corresponding camera attitude calculation unit 112 calculates the IMU world coordinate system corresponding IMU attitude ( W R i ) and calculate the camera attitude in the IMU world coordinate system, that is, the camera attitude corresponding to the IMU world coordinate system ( W R C ) is calculated. W RC ) = ( W R i )・( i R C )

[0405] (Step S403) Next, in step S403, the information processing device 100 stores the following data in the storage unit (memory) 105 at the image capture time (Tn): (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) GPS sensor detection value (GPS sensor position corresponding to GPS coordinate system) (d) geomagnetic sensor detection value (orientation information).

[0406] As shown in FIG. 58, the storage unit (memory) 105 receives the camera image captured by the camera 101, GPS sensor position information acquired by the GPS sensor 103, orientation information acquired by the geomagnetic sensor 109, and further the detection information (acceleration, angular velocity) of the IMU 102, and stores the IMU world coordinate system-compatible camera attitude ( W R C ), each of these data is input and stored.

[0407] FIG. 59 shows an example of data stored in the storage unit (memory) 105. In the example shown in FIG. 59, the camera captured images taken by the camera 101 are moving images, and data is stored sequentially at regular frame intervals. As shown in FIG. 59, for each data identifier, the following is stored: (a) camera captured image (b) camera attitude (IMU world coordinate system) (c) camera position (d) camera angle (e) camera position (f) camera angle (g) camera position (h) camera angle (i.e., angle θ) camera position (i.e., angle θ) camera position (f) camera position (i.e., angle θ ... W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS (d) geomagnetic sensor detection value (orientation information) (e) data acquisition time (image capture time) These data are stored in the storage unit (memory) 105 in association with each other.

[0408] It should be noted that “(e) data acquisition time (image capture time)” is acquired from metadata set in correspondence with the captured image frame of the camera 101 .

[0409] (a) The camera-captured images are frame images that make up a moving image captured by the camera 101. Data recording processing may be performed for all image frames that make up the captured moving image, or data may be recorded for each predetermined number of frames.

[0410] (b) The camera posture is the camera posture corresponding to the IMU world coordinate system ( W R C (c) The GPS sensor detection value is the GPS sensor position ( GPS P GPS (d) The geomagnetic sensor detection value (orientation information) is information indicating, for example, the orientation of the information processing device, specifically the orientation of the camera (camera orientation).

[0411] As shown in FIG. 59, the storage unit 105 of the information processing device 100 stores, for each image captured by the camera 101, the following: (a) camera captured image; (b) camera attitude (IMU world coordinate system) ( W R C ) (c) GPS sensor detection value (GPS coordinate system corresponding GPS sensor position) ( GPS P GPS (d) Geomagnetic sensor detection value (orientation information) (e) Data acquisition time (image capture time) These data are recorded in association with each other.

[0412] Next, the processing from step S404 onward in the flowchart shown in FIG. 57 will be described.

[0413] (Step S404) Next, in step S404, the information processing device 100 executes a process of extracting corresponding feature points from two images: an image captured by a camera (image to be analyzed (Pa)) (=captured at time (Ta)) that displays the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of feature points superimposed on each other, and an image captured at a different time (reference image (Pr)) (=captured at time (Tr)) that has been stored in memory.

[0414] As described above, the analysis target image (Pa) is an image onto which the orientation coordinate axes (N, E) and the three-dimensional position (N, E, Z) information of the feature points, which were previously described with reference to Figures 1 to 7, are superimposed. The reference image (Pr) is a captured image stored in the storage unit (memory) 105, captured at a time (Tr) different from the capture time (Ta) of the analysis target image (Pa), and is an image used to calculate the orientation coordinate axes (N, E) to be displayed on the analysis target image (Pa) and the three-dimensional positions (N, E, Z) of the feature points.

[0415] The combination of the analysis target image (Pa) and the reference image (Pr) is not limited to a combination of a most recently captured image and a previously captured image, but may be any two images captured from different viewpoints that have common image feature points (corresponding feature points).

[0416] In step S404, a process is performed to extract common image features (corresponding feature points) from the image to be analyzed (Pa) (=photographing time (Ta)) and an image (reference image (Pr)) (=photographing time (Tr)) photographed at a different time and stored in memory.

[0417] For example, corresponding feature points are extracted by a feature point matching process that selects feature points having similar image features from two images. Note that, for example, the ORB (Oriented FAST and Rotated BRIEF) method can be applied as the feature point extraction process, and for example, template matching can be applied as the feature point matching process.

[0418] (Step S405) Next, in step S405, the information processing device 100 uses the geomagnetic sensor detection value to determine the camera azimuth angle corresponding to the orientation of the camera, and further calculates the yaw angle from the determined camera azimuth angle.

[0419] That is, the data stored in the memory unit 104 described above with reference to Figure 59, namely: (d) Geomagnetic sensor detection value (orientation information) This geomagnetic sensor detection value is used to determine the camera azimuth angle corresponding to the camera orientation, and the yaw angle is calculated from the determined camera azimuth angle.

[0420] The yaw angle (= θ) is the rotation angle of the IMU world coordinate system (W) around the Z axis of the GPS coordinate system (GPS) relative to the GPS coordinate system (GPS), and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0421] As described above with reference to FIG. 23 in the first embodiment, the attitude transformation matrix (rotation matrix) ( GPS R W ) is a matrix using the yaw angle (=θ), that is, the following determinant (Equation 5):

[0422]

[0423] This can be substituted into the above determinant (Equation 5).

[0424] As described above, the yaw angle (=θ) included in the above determinant (Equation 5) is a rotation angle around the Z axis of the GPS coordinate system (GPS) and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS). In other words, it is a rotation angle around the Z axis of the GPS coordinate system (GPS) that indicates the rotation angle of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0425] As explained above, the GPS coordinate system (GPS) has coordinate axes of (N, E, Z), with the Z direction set to the vertical direction. On the other hand, the IMU world coordinate system (W) is also a fixed coordinate system with the Z direction set to the vertical direction, and the Z axis direction is a common vertical direction. Therefore, an attitude transformation matrix (rotation matrix) ( GPS R W ) can be replaced with the above determinant (Equation 5) using the yaw angle (=θ), which is the rotation angle around the Z axis of the GPS coordinate system (GPS).

[0426] (Step S406) Next, the information processing device 100 executes the following processing in step S406. (1) The position and attitude (GPS coordinate system) of the camera at the shooting time (Ta) of the analysis target image (Pa), and (2) The position and attitude (GPS coordinate system) of the camera at the shooting time (Tr) of the reference image (Pr) are calculated. The processing in step S406 is executed using the yaw angle (= θ) calculated in step S405, i.e., momentum information of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS).

[0427] 60 , a process executed by the information processing device 100 of the fourth embodiment, that is, a process of calculating the camera position and orientation corresponding to the GPS coordinate system using two pieces of positioning information from two GPSs, will be described. This process is executed by the data processing unit 104 of the information processing device 100 of the fourth embodiment.

[0428] As shown in FIG. 51, the data processing unit 104 of the fourth embodiment includes a yaw angle calculation unit 116 and a GPS coordinate system compatible camera position and orientation calculation unit 113 .

[0429] The yaw angle calculation unit 116 executes the process of step S405. That is, the yaw angle calculation unit 116 uses the orientation information, which is the sensor detection value of the geomagnetic sensor 109, to find the camera orientation angle corresponding to the orientation of the camera, and further calculates the yaw angle from the found camera orientation angle.

[0430] The yaw angle (Yaw angle) (= θ) is a rotation angle of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS) around the Z axis of the GPS coordinate system (GPS), and indicates the attitude of the IMU world coordinate system (W) relative to the GPS coordinate system (GPS). That is, as described above in the first embodiment with reference to FIG. 23 etc., the calculated yaw angle (Yaw angle) (= θ) is used to calculate an attitude transformation matrix (rotation matrix) ( GPS R W ) can be generated.

[0431] As shown in FIG. 60, the yaw angle (=θ) calculated by the yaw angle calculation unit 116 is input to the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 .

[0432] As shown in FIG. 60, the GPS coordinate system compatible camera position and orientation calculation unit 113 of the data processing unit 104 calculates the yaw angle (=θ) calculated by the yaw angle calculation unit 116, as well as the GPS coordinate system compatible GPS sensor positions ( GPS P GPS ) IMU world coordinate system camera posture ( W R C ) Corresponding feature point coordinates (u, v) Camera coordinate system corresponding GPS sensor position ( C P GPS ), enter these data.

[0433] The GPS coordinate system compatible camera position and orientation calculation unit 113 uses these data to calculate the GPS coordinate system compatible camera positions ( GPS P C ) GPS coordinate system compatible camera attitude ( GPS R C ) Calculate these.

[0434] That is, the GPS coordinate system corresponding camera position of the analysis target image (Pa) ( GPSa P Ca ) GPS coordinate system compatible camera attitude ( GPSa R Ca ) and the GPS coordinate system corresponding camera position of the reference image (Pr) ( GPSr P Cr ) GPS coordinate system compatible camera attitude ( GPSr R Cr ) These are calculated and output.

[0435] These processes can basically be executed as the same processes as those described above with reference to Figs. 16 to 24 in the first embodiment. However, in the fourth embodiment, as shown in Fig. 60, by using the yaw angle (= θ) calculated by the yaw angle calculation unit 116, an attitude transformation matrix (rotation matrix) ( GPS R W ) can be calculated and used, and the GPS coordinate system-compatible camera position and orientation can be calculated with higher accuracy.

[0436] (Step S407) Next, in step S407, the information processing device 100 calculates three-dimensional structure data in the GPS coordinate system.

[0437] The three-dimensional structure data includes the position and orientation (GPS coordinate system) of the camera at the time (Ta) of capturing the image to be analyzed (Pa) and the three-dimensional positions (N, E, Z) of the feature points. The processing in step S407 is the same as the processing in step S106 in the flow shown in FIG. 11 of the first embodiment described above.

[0438] (Step S408) Next, in step S408, the information processing device 100 uses the three-dimensional structure data calculated in step S407 to superimpose the following data on the image to be analyzed (Pa) displayed on the display unit 106 of the information processing device 100: orientation coordinate axis (N, E); three-dimensional position of feature point (N, E, Z); and at least any one of these pieces of information.

[0439] That is, the display data as previously described with reference to FIGS. 4, 6, and 7, specifically, display data in which at least one of the data on the orientation coordinate axes (N, E) and the three-dimensional positions (N, E, Z) of the feature points is superimposed on the image to be analyzed (Pa) displayed on the display unit 106, is generated and output to the display unit 106.

[0440] 11. Hardware Configuration Example of Information Processing Device of the Present Disclosure Next, a hardware configuration example of an information processing device of the present disclosure will be described with reference to FIG.

[0441] Each element of the hardware configuration shown in Fig. 61 will be described below. A CPU (Central Processing Unit) 501 functions as a data processing unit that executes various processes according to programs stored in a ROM (Read Only Memory) 502 or a storage unit 508. For example, it executes processes according to the sequences described in the above-mentioned embodiments. A RAM (Random Access Memory) 503 stores programs and data executed by the CPU 501. The CPU 501, ROM 502, and RAM 503 are interconnected by a bus 504.

[0442] The CPU 501 is connected to an input / output interface 505 via a bus 504, and the input / output interface 505 is connected to an input unit 506 consisting of various sensors, a camera, a switch, a keyboard, a mouse, a microphone, etc., and an output unit 507 consisting of a display, a speaker, etc.

[0443] The storage unit 508 connected to the input / output interface 505 is composed of, for example, a USB memory, an SD card, a hard disk, etc., and stores various data and programs executed by the CPU 501. The communication unit 509 functions as a transmission / reception unit for data communication via a network such as the Internet or a local area network, and communicates with external devices.

[0444] A drive 510 connected to the input / output interface 505 drives a removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory such as a memory card, and executes recording or reading of data.

[0445] [12. Summary of the Configuration of the Present Disclosure] The embodiments of the present disclosure have been described above in detail with reference to specific examples. However, it is obvious that a person skilled in the art can modify or substitute the embodiments without departing from the gist of the present disclosure. In other words, the present invention has been disclosed in the form of examples and should not be interpreted as being limited. To determine the gist of the present disclosure, the claims should be taken into consideration.

[0446] The technology disclosed in this specification can be configured as follows: (1) An information processing method that executes an image display step of displaying an image captured by a camera attached to an apparatus, a camera attitude calculation step of calculating the attitude of the camera on a local coordinate system compatible with a device attached to the apparatus that is capable of orientation analysis, and an orientation axis display step of analyzing the orientation of the image displayed in the image display step from the camera attitude calculated in the camera attitude calculation step, and superimposing an orientation axis indicating the orientation on the displayed image.

[0447] (2) The information processing method according to (1), wherein the device is a device that performs positioning processing based on a signal received from a satellite.

[0448] (3) The information processing method according to (1) or (2), wherein the device is a GPS sensor, and the local coordinate system corresponding to the device is a GPS sensor coordinate system having a direction axis indicating a direction as a coordinate axis component.

[0449] (4) The information processing method according to any one of (1) to (3), wherein the camera attitude calculation step includes: a world coordinate system camera attitude calculation step of calculating a camera attitude on a world coordinate system, which is a coordinate system independent of the device; and a step of calculating a camera attitude on a local coordinate system corresponding to the device based on the calculated camera attitude on the world coordinate system.

[0450] (5) The information processing method according to (4), wherein the world coordinate system camera attitude calculation step is a step of: performing an IMU filtering process using a detection value of an IMU attached to the device to calculate an IMU local coordinate system attitude transformation matrix that converts the attitude of the IMU local coordinate system corresponding to the IMU into an attitude on the world coordinate system; and performing a matrix operation using the IMU local coordinate system attitude transformation matrix calculated by the IMU filtering process to calculate the camera attitude on the world coordinate system.

[0451] (6) The information processing method according to (4) or (5), wherein the camera attitude calculation step includes: a first attitude transformation matrix calculation step of calculating an attitude transformation matrix indicating the camera attitude on a world coordinate system, which is a coordinate system independent of the device; a second attitude transformation matrix calculation step of calculating an attitude transformation matrix indicating the attitude of the world coordinate system on the device-corresponding local coordinate system; and a step of calculating the camera attitude on the device-corresponding local coordinate system by performing a matrix operation using the calculated attitude transformation matrix indicating the camera attitude on the world coordinate system and the attitude transformation matrix indicating the attitude of the world coordinate system on the device-corresponding local coordinate system.

[0452] (7) The information processing method according to any one of (4) to (6), wherein the world coordinate system and the device-specific local coordinate system are both coordinate systems having a Z axis in the vertical direction.

[0453] (8) The information processing method according to (6) or (7), wherein the second posture transformation matrix calculation step is a step of: using the display image as an image to be analyzed, performing a corresponding feature point detection process to detect corresponding feature points corresponding to the same object from two images, the image to be analyzed being an image to be referenced and the image to be analyzed taken from a different direction; and performing an arithmetic process to which epipolar geometry theory is applied using three vectors connecting the camera focal position when the image to be analyzed was taken, the camera focal position when the reference image was taken, and the position of the corresponding feature point, to calculate a posture transformation matrix indicating the posture of the world coordinate system on the local coordinate system corresponding to the device.

[0454] (9) The information processing method according to any one of (6) to (8), further comprising: a camera position calculation step of calculating a camera position on the device-corresponding local coordinate system by performing matrix calculation processing using an attitude transformation matrix indicating the camera attitude on the world coordinate system, an attitude transformation matrix indicating the attitude of the world coordinate system on the device-corresponding local coordinate system, and a matrix indicating the device position in the camera-corresponding camera coordinate system.

[0455] (10) The information processing method according to any one of (1) to (9), further comprising: a feature point detection processing step of detecting feature points from the display image; a feature point position calculation processing step of calculating, for each of the detected feature points, a feature point position in the device-compatible local coordinate system; and a feature point position information display processing step of superimposing and displaying the calculated feature point position information in the device-compatible local coordinate system in association with the feature point on the display image.

[0456] (11) The information processing method according to (10), wherein the feature point detection processing step is a step of performing a process of detecting corresponding feature points corresponding to the same object from two images, the displayed image being an image to be analyzed and a reference image photographed from a different direction from the image to be analyzed.

[0457] (12) The information processing method according to (10) or (11), wherein the device-compatible local coordinate system is a GPS sensor coordinate system having three axes as coordinate axes, namely, two azimuth axes indicating two orthogonal directions and an altitude axis indicating height, the feature point position calculation processing step is a step of executing a three-dimensional coordinate position calculation processing in accordance with the azimuth axes and altitude axes constituting the GPS sensor coordinate system, and the feature point position information display processing step is a step of displaying three-dimensional position information in association with the feature points on the display image.

[0458] (13) The information processing method according to any one of (10) to (12), wherein the feature point position calculation processing step is a step of executing a feature point position calculation processing that minimizes an error, which is the difference between a feature point position detected from a camera-captured image and a theoretical feature point position calculated from the camera attitude of the camera that captured the image.

[0459] (14) The information processing method according to any one of (10) to (13), wherein the feature point position information display processing step is a step of displaying a feature point identification mark in a display mode that makes it possible to identify the height of the feature point on the display image.

[0460] (15) The information processing method according to any one of (10) to (14), wherein the feature point position information display processing step is a step of displaying distances between a plurality of feature points on the display image.

[0461] (16) The information processing method according to any one of (10) to (15), wherein the feature point position information display processing step is a step of displaying a feature point identification mark that makes it possible to identify the distance or altitude difference from a designated feature point on the display image.

[0462] (17) The information processing method according to any one of (1) to (16), further comprising: a step of mapping object distance information measured by a distance measurement unit that measures the object distance onto a local coordinate system corresponding to the device; and an object distance information display processing step of displaying the object distance information on the display image.

[0463] (18) The information processing method according to (17), wherein the object distance information display processing step is a step of displaying object distance information acquired at a timing different from the timing of capturing the display image together with the object distance information acquired at the timing of capturing the display image.

[0464] (19) An information processing device comprising: a display unit that displays an image captured by a camera attached to the information processing device; and a data processing unit that superimposes an orientation axis indicating an orientation on the display image of the display unit, wherein the data processing unit executes a camera orientation calculation process that calculates the camera orientation on a local coordinate system corresponding to a device attached to the information processing device that is capable of orientation analysis; and an orientation axis display process that analyzes the orientation of the display image from the calculated camera orientation and superimposes an orientation axis on the display image of the display unit.

[0465] (20) A program for causing an information processing device to execute information processing, the information processing device having a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes a direction axis indicating a direction on the display image of the display unit, the program causing the data processing unit to execute a camera attitude calculation process that calculates the camera attitude on a local coordinate system corresponding to a device that is attached to the information processing device and is capable of analyzing a direction, and a direction axis display process that analyzes the direction of the display image from the calculated camera attitude and superimposes a direction axis on the display image of the display unit.

[0466] Furthermore, the series of processes described in this specification can be executed by hardware, software, or a combination of both. When executing processes by software, a program recording the processing sequence can be installed and executed in the memory of a computer incorporated in dedicated hardware, or the program can be installed and executed on a general-purpose computer capable of executing various processes. For example, the program can be pre-recorded on a recording medium. In addition to installing the program from the recording medium to the computer, the program can also be received via a network such as a LAN (Local Area Network) or the Internet and installed on a recording medium such as an internal hard disk.

[0467] The various processes described in this specification may not only be executed in chronological order as described, but may also be executed in parallel or individually depending on the processing capabilities of the devices executing the processes or as needed. Furthermore, in this specification, a system refers to a logical collective configuration of multiple devices, and is not limited to devices that are all located in the same housing.

[0468] As described above, according to a configuration of an embodiment of the present disclosure, a method and device are realized that superimpose an orientation axis (N, E) and three-dimensional position information (N, E, Z) of a feature point on a camera-captured image displayed on a display unit. Specifically, for example, the information processing device includes a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes an orientation axis indicating the orientation on the image displayed on the display unit. The data processing unit performs a camera orientation calculation process that calculates the camera orientation in a local coordinate system corresponding to a device such as a GPS sensor, and a orientation axis display process that analyzes the orientation of the displayed image from the calculated camera orientation and superimposes the orientation axis on the image displayed on the display unit. Furthermore, the data processing unit displays three-dimensional position information in association with the feature point on the displayed image. This configuration realizes a method and device that superimposes an orientation axis (N, E) and three-dimensional position information (N, E, Z) of a feature point on a camera-captured image displayed on the display unit.

[0469] 10 Information processing device 20 Drone 21 Drone camera captured image 100 Information processing device 101 Camera 102 IMU 103 GPS sensor 104 Data processing unit 105 Memory unit 106 Display unit 107 LiDAR (distance measurement unit) 108 Sub-GPS sensor 109 Geomagnetic sensor 111 IMU filter unit 112 IMU world coordinate system compatible camera attitude calculation unit 113 GPS coordinate system compatible camera position and attitude calculation unit 114 GPS coordinate system compatible three-dimensional structure data calculation unit 115 GPS coordinate system compatible distance information calculation unit 116 Yaw angle (Yaw angle) calculation unit 501 CPU 502 ROM 503 RAM 504 Bus 505 Input / output interface 506 Input unit 507 Output unit 508 Memory unit 509 Communication unit 510 Drive 511 Removable Media

Claims

1. An information processing method comprising: an image display step of displaying an image captured by a camera attached to an apparatus; a camera attitude calculation step of calculating the camera attitude in a local coordinate system corresponding to a device capable of orientation analysis attached to the apparatus; and an orientation axis display step of analyzing the orientation of the image displayed in the image display step from the camera attitude calculated in the camera attitude calculation step, and superimposing an orientation axis indicating the orientation on the displayed image.

2. The information processing method according to claim 1, wherein the device is a device that performs positioning processing based on a signal received from a satellite.

3. The information processing method according to claim 1, wherein the device is a GPS sensor, and the local coordinate system corresponding to the device is a GPS sensor coordinate system having a direction axis indicating a direction as a coordinate axis component.

4. The information processing method according to claim 1, wherein the camera orientation calculation step includes a world coordinate system camera orientation calculation step of calculating a camera orientation on a world coordinate system, which is a coordinate system independent of the device, and a step of calculating a camera orientation on a local coordinate system corresponding to the device based on the calculated camera orientation on the world coordinate system.

5. The information processing method according to claim 4, wherein the world coordinate system camera attitude calculation step is a step of: performing an IMU filtering process using a detection value of an IMU attached to the device to calculate an IMU local coordinate system attitude transformation matrix that converts the attitude of an IMU local coordinate system corresponding to the IMU into an attitude on the world coordinate system; and performing a matrix operation using the IMU local coordinate system attitude transformation matrix calculated by the IMU filtering process to calculate the camera attitude on the world coordinate system.

6. The information processing method according to claim 4, wherein the camera attitude calculation step includes: a first attitude transformation matrix calculation step of calculating an attitude transformation matrix indicating the camera attitude on a world coordinate system, which is a coordinate system independent of the device; a second attitude transformation matrix calculation step of calculating an attitude transformation matrix indicating the attitude of the world coordinate system on the local coordinate system corresponding to the device; and a step of calculating the camera attitude on the local coordinate system corresponding to the device by performing a matrix operation using the attitude transformation matrix indicating the camera attitude on the calculated world coordinate system and the attitude transformation matrix indicating the attitude of the world coordinate system on the local coordinate system corresponding to the device.

7. The information processing method according to claim 4, wherein the world coordinate system and the device-specific local coordinate system are both coordinate systems having a Z axis in the vertical direction.

8. The information processing method according to claim 6, wherein the second orientation transformation matrix calculation step comprises: treating the displayed image as an analysis target image; performing corresponding feature point detection processing for detecting corresponding feature points corresponding to the same object from two images, the analysis target image and a reference image taken from a different direction; and performing arithmetic processing applying epipolar geometry theory using three vectors connecting the camera focal position when the analysis target image was taken, the camera focal position when the reference image was taken, and the position of the corresponding feature point, to calculate an orientation transformation matrix indicating the orientation of the world coordinate system on the device-compatible local coordinate system.

9. The information processing method according to claim 6, further comprising: a camera position calculation step of calculating a camera position on the device-corresponding local coordinate system by performing matrix calculation processing using an attitude transformation matrix indicating the camera attitude on the world coordinate system, an attitude transformation matrix indicating the attitude of the world coordinate system on the device-corresponding local coordinate system, and a matrix indicating the device position in the camera coordinate system corresponding to the camera.

10. The information processing method according to claim 1, further comprising: a feature point detection processing step for detecting feature points from the display image; a feature point position calculation processing step for calculating, for each detected feature point, a feature point position in the device-compatible local coordinate system; and a feature point position information display processing step for superimposing and displaying the calculated feature point position information in the device-compatible local coordinate system in correspondence with the feature point on the display image.

11. The information processing method according to claim 10, wherein the feature point detection processing step is a step of executing a process of detecting corresponding feature points corresponding to the same object from two images, the displayed image being an image to be analyzed and a reference image taken from a different direction from the image to be analyzed.

12. The information processing method according to claim 10, wherein the device-compatible local coordinate system is a GPS sensor coordinate system having three coordinate axes, namely, two azimuth axes indicating two orthogonal directions and an altitude axis indicating height; the feature point position calculation processing step is a step of executing a three-dimensional coordinate position calculation process in accordance with the azimuth axes and altitude axes constituting the GPS sensor coordinate system; and the feature point position information display processing step is a step of displaying three-dimensional position information in correspondence with the feature point on the displayed image.

13. An information processing method according to claim 10, wherein the feature point position calculation processing step is a step of executing a feature point position calculation processing that minimizes an error, which is the difference between a feature point position detected from a camera-captured image and a theoretical feature point position calculated from the camera attitude of the camera that captured the image.

14. An information processing method according to claim 10, wherein said feature point position information display processing step is a step of displaying a feature point identification mark in a display manner that enables identification of the height of the feature point on the displayed image.

15. An information processing method according to claim 10, wherein the feature point position information display processing step is a step of displaying distances between a plurality of feature points on the displayed image.

16. An information processing method according to claim 10, wherein the feature point position information display processing step is a step of displaying a feature point identification mark that enables identification of the distance or altitude difference from a specified feature point on the displayed image.

17. The information processing method according to claim 1, further comprising: a step of mapping object distance information measured by a distance measurement unit that measures the object distance onto a local coordinate system corresponding to the device; and an object distance information display processing step of displaying the object distance information on the display image.

18. An information processing method according to claim 17, wherein the object distance information display processing step is a step of displaying object distance information obtained at a timing different from the shooting timing of the display image in addition to the object distance information obtained at the shooting timing of the display image.

19. An information processing device comprising: a display unit that displays an image captured by a camera attached to the information processing device; and a data processing unit that superimposes an orientation axis indicating a direction on the display image of the display unit, wherein the data processing unit executes a camera orientation calculation process that calculates the camera orientation on a local coordinate system corresponding to a device capable of orientation analysis attached to the information processing device; and an orientation axis display process that analyzes the orientation of the display image from the calculated camera orientation and superimposes the orientation axis on the display image of the display unit.

20. A program for causing an information processing device to execute information processing, the information processing device having a display unit that displays an image captured by a camera attached to the information processing device, and a data processing unit that superimposes an orientation axis indicating an orientation on the display image of the display unit, the program causing the data processing unit to execute a camera orientation calculation process that calculates the camera orientation on a local coordinate system corresponding to a device capable of orientation analysis attached to the information processing device, and an orientation axis display process that analyzes the orientation of the display image from the calculated camera orientation, and superimposes an orientation axis on the display image of the display unit.

Citation Information

Patent Citations

  • Navigation system

    JP2006105640A

  • Electronic apparatus, display control method and program

    JP2010256940A

  • Photographing device and photography control method and program

    JP2013179544A

  • Measurement device, method, and program

    JP2017058274A

  • Computer program, information processing device, and information processing method

    JP2019211864A