Information processing apparatus, information processing method, and program

The system addresses the complexity of three-dimensional viewpoint specification by using sensor data to calculate virtual camera positions and orientations from user gestures, providing an intuitive and efficient method for navigating three-dimensional spaces.

JP2024114228APending Publication Date: 2024-08-23OKI ELECTRIC INDUSTRY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023019865
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technologies for specifying a viewpoint in a three-dimensional space using two-dimensional input devices, such as mice and 3D mice, require users to become accustomed to complex operations, making it difficult for beginners to intuitively navigate and manipulate virtual cameras.

Method used

An information processing system that calculates the position and orientation of a virtual camera in a three-dimensional space based on the position and orientation of a user's body part, using sensor data to generate images, allowing intuitive viewpoint designation through simple hand gestures.

Benefits of technology

Enables a more intuitive and faster viewpoint designation operation in three-dimensional spaces by directly correlating hand movements with virtual camera positions and orientations, reducing the need for complex cursor manipulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114228000001_ABST
    Figure 2024114228000001_ABST
Patent Text Reader

Abstract

To provide a technique which allows for a more intuitive and simpler viewpoint designating operation in a three-dimensional space.SOLUTION: An information processing apparatus comprises: a calculation unit which calculates the position and posture of a virtual camera in a three-dimensional space where an object is present, on the basis of the position and posture of a prescribed part of a user's body in a sensor coordinate system which are measured based on sensor data; and a generation unit which generates an image obtained by capturing the object with the virtual camera, on the basis of the position of the object in the three-dimensional space and the position and posture of the virtual camera.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, an information processing method, and a program. [Background technology]

[0002] In recent years, there has been a great deal of software, such as 3D CAD (3 Dimensional Computer Aided Design), that outputs images of three-dimensional spaces and objects (for example, three-dimensional objects) on a display.

[0003] Generally, in software for manipulating such three-dimensional spaces and objects, when outputting an image to a display, a virtual camera is placed at a certain position in the three-dimensional space, and an image is output from the viewpoint of the placed virtual camera. Since the user can manipulate the position and orientation of the virtual camera, it is possible to view images of the three-dimensional space and objects from various viewpoints.

[0004] However, input devices such as a mouse that are often used for operations to specify the position and orientation of a virtual camera (hereinafter also referred to as "viewpoint specification operations") are devices that are designed for two-dimensional operations and are not necessarily suitable for viewpoint specification operations in three-dimensional space. Therefore, in order to freely specify a viewpoint in three-dimensional space by two-dimensional operations, it is necessary to become accustomed to such viewpoint specification operations, and such viewpoint specification operations are difficult for beginners.

[0005] For this reason, the technology disclosed in Patent Document 1 has been proposed as a technology that enables more intuitive viewpoint designation operations. The technology disclosed in Patent Document 1 realizes intuitive operations by making the shape of a cursor controlled by a pointing device such as a mouse into a shape that represents the three axes (X, Y, Z) of a coordinate system.

[0006] More specifically, in the technology disclosed in Patent Document 1, by a drag operation to move a cursor of this shape, an axis closest to the moving direction of the cursor is automatically selected as the operation axis. Then, one of processes such as enlargement or reduction, translation, and rotation along the selected operation axis can be executed. This makes it possible to perform a viewpoint designation operation by a simple drag operation without having to separately input an operation to select an operation axis, and enables a fast and intuitive viewpoint designation operation.

[0007] Also, a 3D mouse can be mentioned as an input device used for such viewpoint designation operations. When using a 3D mouse, unlike when using a general mouse, the user can input operations with six degrees of freedom, for example, instead of two-dimensional operations (i.e., operations with two degrees of freedom). Operations with six degrees of freedom can be assigned to viewpoint designation operations for designating translation in three directions and rotation in three directions, respectively. Therefore, when a 3D mouse is used, it becomes possible to designate the viewpoint in a way that makes it easier to understand the correspondence between input and output than when using a general mouse. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] JP 2018-106715 A Summary of the Invention [Problem to be solved by the invention]

[0009] However, in the technology disclosed in Patent Document 1, it is necessary to perform a viewpoint designation operation in three-dimensional space by moving a cursor displayed on a display (for example, by dragging). The operation of moving the cursor is realized by two-dimensionally moving a pointing device such as a mouse. Therefore, it is necessary to get used to designating a viewpoint in three-dimensional space by two-dimensional operation, and such viewpoint designation operation is difficult for beginners.

[0010] Furthermore, as described above, when using a 3D mouse, the user can input operations with, for example, six degrees of freedom. Therefore, when using a 3D mouse, the degrees of freedom of input are greater than when using a pointing device such as a general mouse. Therefore, it is necessary to get used to specifying a viewpoint in a three-dimensional space using a 3D mouse.

[0011] Therefore, the present invention is intended to solve the above problems, and it is desirable to provide a technique that enables a more intuitive and simpler viewpoint designation operation in three-dimensional space. [Means for solving the problem]

[0012] In order to solve the above problem, according to one aspect of the present invention, there is provided an information processing device comprising: a calculation unit that calculates a position and orientation of a virtual camera in a three-dimensional space in which an object exists, based on the position and orientation of a specific part of a user's body in a sensor coordinate system measured based on sensor data; and a generation unit that generates an image of the object captured by the virtual camera, based on the position of the object in the three-dimensional space and the position and orientation of the virtual camera.

[0013] The calculation unit may calculate a position of the virtual camera in the three-dimensional space based on a relationship between a position in the sensor coordinate system and a position in the three-dimensional space, and on the position of the predetermined part in the sensor coordinate system.

[0014] The position of the virtual camera in the three-dimensional space may coincide with a position of the predetermined part in the three-dimensional space that corresponds to a position of the predetermined part in the sensor coordinate system.

[0015] The parameter indicating the position of the virtual camera in the three-dimensional space may be a parameter obtained by multiplying a parameter indicating the position of the specified part in the three-dimensional space corresponding to the position of the specified part in the sensor coordinate system by a constant.

[0016] The larger the scale of the object, the larger the constant may be.

[0017] The calculation unit may calculate an orientation of the virtual camera in the three-dimensional space based on a relationship between an orientation of the sensor coordinate system and an orientation of the three-dimensional space, and on the orientation of the predetermined part in the sensor coordinate system.

[0018] The attitude of the virtual camera in the three-dimensional space may be an attitude obtained by rotating the attitude of the specified part in the three-dimensional space so that an imaging direction of the virtual camera in the three-dimensional space coincides with a specified direction of the specified part in the three-dimensional space.

[0019] The calculation unit may calculate a direction from a position of the virtual camera to a position of the object in the three-dimensional space, and correct an attitude of the virtual camera in the three-dimensional space in accordance with the direction.

[0020] The calculation unit may correct the orientation of the virtual camera in the three-dimensional space on the basis that a difference between an orientation of the predetermined portion in the three-dimensional space and an orientation of the virtual camera is equal to or smaller than a threshold.

[0021] The calculation unit may calculate a position and an orientation of the virtual camera in the three-dimensional space based on detection of a predetermined start gesture by the user.

[0022] The predetermined part may be a hand of the user.

[0023] In addition, according to another aspect of the present invention to solve the above problem, there is provided an information processing method executed by a computer, which includes calculating a position and orientation of a virtual camera in a three-dimensional space in which an object exists based on the position and orientation of a specific part of a user's body in a sensor coordinate system measured based on sensor data, and generating an image of the object captured by the virtual camera based on the position of the object in the three-dimensional space and the position and orientation of the virtual camera.

[0024] In addition, according to another aspect of the present invention, in order to solve the above-mentioned problem, there is provided a program that causes a computer to function as: a calculation unit that calculates a position and orientation of a virtual camera in a three-dimensional space in which an object exists, based on the position and orientation of a specific part of the user's body in a sensor coordinate system measured on the basis of sensor data; and a generation unit that generates an image of the object captured by the virtual camera, based on the position of the object in the three-dimensional space and the position and orientation of the virtual camera. Effect of the Invention

[0025] As described above, according to the present invention, a technique is provided that enables a more intuitive and simpler viewpoint designation operation in a three-dimensional space. [Brief description of the drawings]

[0026] [Figure 1] 1 is a diagram illustrating an example of a functional configuration of an information processing system according to a first embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram for explaining an overview of an example of the operation of the control unit 120 according to the first embodiment of the present invention, and is a diagram showing an example of the relationship in position and orientation between the hand measurement sensor unit 20 and the hand in real space, and the relationship in position and orientation between an object and a virtual camera in three-dimensional space. [Diagram 3]1 is a diagram for explaining an outline of an example of the operation of a control unit 120 according to the first embodiment of the present invention, and is a diagram showing an example of an image displayed by a virtual camera image output unit 30. FIG. [Figure 4] 4 is a flowchart showing an example of the overall operation of the information processing system 1 in the first embodiment of the present invention. [Diagram 5] 5 is a flowchart showing a detailed operation example of the viewpoint movement processing shown in FIG. 4. [Figure 6] FIG. 11 is a diagram for explaining the difference between examples of the operation of the control unit 120 according to the first embodiment of the present invention and the second embodiment of the present invention, and is a diagram showing an example of the relationship in position and orientation between the hand measurement sensor unit 20 and the hand in real space, and the relationship in position and orientation between an object and a virtual camera in three-dimensional space. [Figure 7] FIG. 11 is a diagram for explaining the difference between examples of operation of the control unit 120 according to the first embodiment of the present invention and the second embodiment of the present invention, and is a diagram showing an example of an image displayed by the virtual camera image output unit 30. [Figure 8] 10 is a flowchart showing an example of the overall operation of the information processing system 1 according to the second embodiment of the present invention. [Figure 9] 9 is a flowchart showing a detailed operation example of the viewpoint movement processing shown in FIG. 8. [Figure 10] 10 is a diagram illustrating a detailed operation example of the virtual camera movement processing illustrated in FIG. 9. [Figure 11] 13 is a diagram for explaining an example of correction for converting a matrix Ro vc into a rotation matrix. FIG. [Figure 12] FIG. 1 is a diagram showing a hardware configuration of an information processing device 900 as an example of the information processing device 10 according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are designated by the same reference numerals, and duplicated explanations will be omitted.

[0028] (0. Overview) As described below, in the embodiment of the present invention, a technique that enables a more intuitive and simple viewpoint designation operation in a three-dimensional space is mainly proposed. The three-dimensional space may mean a three-dimensional space in a computer. For example, the embodiment of the present invention may include a first embodiment of the present invention and a second embodiment of the present invention, which will be described below.

[0029] In the first embodiment of the present invention, the position and orientation of a virtual camera are determined based on the position and orientation of a predetermined part of the user's body obtained from a sensor. Then, the virtual camera is placed in a three-dimensional space in which an object exists according to the position and orientation of the virtual camera, and an image captured by the virtual camera placed in the three-dimensional space is output to a screen.

[0030] This allows a viewpoint designation operation in three-dimensional space to be performed by the movement of a specific part of the user's body. This viewpoint designation operation can speed up the viewpoint designation operation, and allows the user to intuitively and simply designate the viewpoint as if the user were imaging an object existing in three-dimensional space with a specific part of his or her body.

[0031] In the second embodiment of the present invention, a process is added to orient the virtual camera to capture an image of an object in three-dimensional space, making it possible to always position the object within the image displayed on the screen.

[0032] In the following description, it is mainly assumed that the predetermined part is a hand. However, the predetermined part may be any part that constitutes the user's body. For example, the predetermined part may be the user's face, the user's eyes, the user's feet, etc.

[0033] Furthermore, the object may be a three-dimensional object existing in a three-dimensional space. The three-dimensional object may be a three-dimensional virtual object, and the virtual object may also be referred to as a "virtual object." Furthermore, in the following description, it is mainly assumed that the video is a moving image. However, the video may also be a still image. Furthermore, in the following description, "position and orientation" may be simply written as "position and orientation."

[0034] 1. First Embodiment Next, a first embodiment of the present invention will be described.

[0035] (1-1. Configuration of Information Processing System) First, a configuration example of an information processing system according to a first embodiment of the present invention will be described with reference to Fig. 1. Fig. 1 is a diagram showing a functional configuration example of the information processing system according to the first embodiment of the present invention. As shown in Fig. 1, the information processing system 1 has an information processing device 10, a hand measurement sensor unit 20, and a virtual camera image output unit 30.

[0036] (Hand measurement sensor unit 20) The hand measurement sensor unit 20 has a physical sensor and detects sensor data of the user's hand using the physical sensor. Furthermore, the hand measurement sensor unit 20 performs processing to measure the position and orientation of the user's hand in a coordinate system (hereinafter also referred to as a "sensor coordinate system") that defines the detection range of the hand measurement sensor unit 20 in real space based on the sensor data. Furthermore, the hand measurement sensor unit 20 detects that the shape of the hand is in a predetermined shape as a predetermined gesture based on the sensor data.

[0037] Here, it is preferable that the user can easily make the predetermined gesture with one hand, but the user may also make it with both hands. For example, the predetermined gesture includes a viewpoint movement start gesture and a viewpoint movement end gesture. The viewpoint movement start gesture and the viewpoint movement end gesture may be the same gesture or may be different gestures.

[0038] The hand measuring sensor unit 20 is connected to the information processing device 10 via a communication interface, and outputs the position and orientation of the user's hand in the sensor coordinate system to the information processing device 10 via the communication interface. Furthermore, when the hand measuring sensor unit 20 detects a gesture, it outputs a signal that the gesture has been detected to the information processing device 10 via the communication interface.

[0039] Here, the type of the sensor is not particularly limited. For example, the sensor may be an infrared sensor. For example, the sensor may be an infrared stereo camera, and the reflection of infrared light irradiated to the hand by a plurality of LEDs (Light Emitting Diodes) may be detected by the infrared stereo camera as sensor data. Alternatively, the sensor may be an RGB (Red, Green, Blue) camera or the like.

[0040] The method of measuring the position and orientation of the user's hand is not particularly limited. For example, the hand measurement sensor unit 20 can detect three-dimensional coordinates indicating each position of the skeleton of the hand (hereinafter, also referred to as "three-dimensional skeleton information of the hand") based on the sensor data.

[0041] Specifically, the positions of the hand skeleton for which the three-dimensional coordinates are detected may include the positions of the fingertips, finger joints, vertices of the polygon that constitutes the palm, and the center of gravity of the vertices that constitute the palm. The hand measurement sensor unit 20 may measure the position and orientation of the user's hand in the sensor coordinate system based on such three-dimensional skeletal information of the hand.

[0042] The position of the hand is represented by three-dimensional information in a sensor coordinate system. Here, it is mainly assumed that the position of the hand is represented by three-dimensional coordinates (X, Y, Z) in the sensor coordinate system of the center of gravity of the vertices that make up the palm, as an example. However, the position of the hand may be represented by three-dimensional coordinates in the sensor coordinate system of other positions of the skeleton of the hand.

[0043] The posture of the hand is represented by three-dimensional information in a sensor coordinate system. Here, it is mainly assumed that the posture of the hand is represented by a rotation matrix with respect to coordinate axes (X-axis, Y-axis, Z-axis) in the sensor coordinate system in three directions (x-axis direction, y-axis direction, z-axis direction) along the posture of the hand. However, the posture of the hand may be represented in other formats, as will be described later.

[0044] The three directions along the hand posture may be three directions that are mutually orthogonal. In the following description, it is mainly assumed that the direction in which the palm faces is the z-axis direction, and one of two directions that are mutually orthogonal and perpendicular to the z-axis direction is the x-axis direction and the other is the y-axis direction. However, the three directions along the hand posture are not limited to these three directions.

[0045] (Information processing device 10) The information processing device 10 is realized by a computer. As shown in Fig. 1, the information processing device 10 includes a control unit 120 and a storage unit 130. The information processing device 10 is connected to a hand measurement sensor unit 20 via a communication interface by wire or wirelessly, and can acquire the position and posture of the hand and the detection result of the gesture from the hand measurement sensor unit 20 via the communication interface. Furthermore, the information processing device 10 is also connected to a virtual camera image output unit 30 by wire or wirelessly via the communication interface.

[0046] (Control unit 120) The control unit 120 performs various types of arithmetic processing. For example, the control unit 120 includes an arithmetic device such as a CPU (Central Processing Unit), and the arithmetic device expands a program stored in a ROM (Read Only Memory) into a RAM and executes the program, thereby realizing the functions of the control unit 120. At this time, a computer-readable recording medium on which the program is recorded may also be provided. Alternatively, these blocks may be configured with dedicated hardware, or may be configured with a combination of multiple pieces of hardware.

[0047] Data necessary for calculations by the calculation device is appropriately stored in the storage unit 130. As shown in FIG 1, the control unit 120 includes an initialization unit 121, a virtual camera position and orientation calculation unit 122, a virtual camera arrangement unit 123, and a virtual camera video generation unit 124.

[0048] (Initialization unit 121) The initialization unit 121 initializes the relationship between the position and orientation of an object existing in the three-dimensional space and the hand measurement sensor unit 20. Furthermore, the initialization unit 121 initializes the relationship between the position and orientation of an object existing in the three-dimensional space and the virtual camera. More specific initialization processing will be described later. Note that the object is placed at a predetermined position and in a predetermined orientation in the three-dimensional space. Therefore, a coordinate system based on the position and orientation of the object (hereinafter also referred to as an "object coordinate system") can also correspond to a coordinate system that defines the three-dimensional space.

[0049] (Virtual camera position and orientation calculation unit 122) The virtual camera position and orientation calculation unit 122 calculates the position and orientation of the virtual camera in the object coordinate system based on the position and orientation of the hand measured by the hand measurement sensor unit 20.

[0050] For example, it is assumed that the relative position of the object coordinate system based on the position of the sensor coordinate system is determined in advance. In this case, the virtual camera position and orientation calculation unit 122 calculates the position of the virtual camera in the object coordinate system based on the relative position and the position of the hand in the sensor coordinate system. A specific example of the calculation of the position of the virtual camera in the object coordinate system will be described later.

[0051] Also, for example, a relative orientation of the object coordinate system based on the orientation of the sensor coordinate system may be determined in advance. In this case, the virtual camera position and orientation calculation unit 122 calculates the orientation of the virtual camera in the object coordinate system based on the relative orientation and the orientation of the hand in the sensor coordinate system. A specific example of the calculation of the orientation of the virtual camera in the object coordinate system will be described later.

[0052] (Virtual camera placement unit 123) A virtual camera placement unit 123 places the virtual camera in a three-dimensional space in accordance with the position and orientation of the virtual camera in the object coordinate system calculated by the virtual camera position and orientation calculation unit 122. Note that a coordinate system based on the position and orientation of the virtual camera is also referred to as a "camera coordinate system."

[0053] The position of the virtual camera is represented by three-dimensional information in the object coordinate system. Here, it is mainly assumed that the position of the virtual camera is represented by three-dimensional coordinates (X, Y, Z) in the object coordinate system of the focal position of the virtual camera, as an example. However, the position of the virtual camera may be represented by three-dimensional coordinates in the object coordinate system of a position other than the focal position of the virtual camera.

[0054] The attitude of the virtual camera is represented by three-dimensional information in the object coordinate system. Here, it is mainly assumed that the attitude of the virtual camera is represented by a rotation matrix with respect to the coordinate axes (X-axis, Y-axis, Z-axis) in the object coordinate system in three directions (x-axis direction, y-axis direction, z-axis direction) along the attitude of the virtual camera. However, the attitude of the virtual camera may be represented in other formats, as will be described later.

[0055] The three directions along the posture of the virtual camera may be three directions that are mutually orthogonal. In the following description, it is mainly assumed that the imaging direction of the virtual camera (i.e., the optical axis direction) is the z-axis direction, and one of the two directions that are mutually orthogonal and perpendicular to the z-axis direction is the x-axis direction and the other is the y-axis direction. However, the three directions along the posture of the virtual camera are not limited to these three directions.

[0056] (Virtual camera image generator 124) The virtual camera image generating unit 124 generates an image obtained by capturing an image of an object by a virtual camera. More specifically, the virtual camera image generating unit 124 generates an image obtained by capturing an image of an object by a virtual camera based on information about the object in an object coordinate system and the position and orientation of the virtual camera in the object coordinate system. The information about the object may include at least one of the position, orientation, size, and shape of the object.

[0057] For example, the image generated by virtual camera image generation unit 124 may be a two-dimensional image of an object. In this case, virtual camera image generation unit 124 determines a three-dimensional area of ​​the object in a three-dimensional space based on information about the object, and generates a two-dimensional image of the object by projecting the three-dimensional area of ​​the object using a predetermined projection formula. For example, such a projection formula may be a formula indicating orthogonal projection (parallel projection).

[0058] Alternatively, the image generated by virtual camera image generation unit 124 may be a three-dimensional image of an object. In this case, virtual camera image generation unit 124 may calculate how the object appears with respect to the virtual camera based on information about the object and the position and orientation of the virtual camera, and generate a three-dimensional image of the object based on the calculated appearance.

[0059] (Storage unit 130) The storage unit 130 is a memory capable of storing programs and data for operating the control unit 120. The storage unit 130 can also temporarily store various data required in the course of operation of the control unit 120. For example, the storage unit 130 may be a non-volatile memory.

[0060] (Virtual camera image output unit 30) The virtual camera image output unit 30 is configured by a physical display, and has a function of displaying the image generated by the virtual camera image generation unit 124 .

[0061] For example, the virtual camera image output unit 30 may be a liquid crystal display (LCD) device or an OLED (Organic Light Emitting Diode) device. Also, the virtual camera image output unit 30 may be a head-mounted display that is worn on the user's head, or may be a fixed display.

[0062] For example, virtual camera video output section 30 may be configured with a two-dimensional display. At this time, a two-dimensional video of the object generated by virtual camera video generation section 124 may be displayed. Alternatively, virtual camera video output section 30 may be configured with a three-dimensional display. At this time, a three-dimensional video of the object generated by virtual camera video generation section 124 may be displayed.

[0063] An example of the configuration of the information processing system 1 according to the first embodiment of the present invention has been described above.

[0064] (1-2. Operation of Information Processing System) The information processing system 1 according to the first embodiment of the present invention can be used for a user to specify the position and orientation of a virtual camera in a three-dimensional space as a viewpoint of an image, and perform modeling work or enjoy the image while viewing the image from that viewpoint. Therefore, the information processing system 1 according to the first embodiment of the present invention is applied to various systems that require specifying the viewpoint of an image in a three-dimensional space.

[0065] In this section, i.e., in the section "1-2. Operation of Information Processing System", an operation example of the control unit 120 will be mainly described. More specifically, in this section, an operation example of the information processing system 1 in a case where the viewpoint of an image in a three-dimensional space is specified by the user will be mainly described. First, an overview of an operation example of the control unit 120 according to the first embodiment of the present invention will be described with reference to Figs. 2 and 3.

[0066] 2 is a diagram for explaining an overview of an example of the operation of the control unit 120 according to the first embodiment of the present invention, and is a diagram showing an example of the relationship between the position and orientation of the hand measurement sensor unit 20 and the hand in real space, and the relationship between the position and orientation of an object and a virtual camera in three-dimensional space. Referring to FIG. 2, the position of the hand measurement sensor unit 20 in real space is shown as "sensor position S". In the example shown in FIG. 2, a cylindrical solid body existing at sensor position S is the hand measurement sensor unit 20, but the shape of the hand measurement sensor unit 20 is not particularly limited.

[0067] The hand measurement sensor unit 20 measures the position and orientation of the user's hand in real space. In the example shown in Fig. 2, each of the positions and orientations H1 to H4 is the position and orientation of the hand measured by the hand measurement sensor unit 20. As an example, each of the positions and orientations H1 to H4 is the position and orientation of the hand in a sensor coordinate system with the sensor position S as the origin, and is expressed by a six-dimensional vector. The sensor position S is the origin of the sensor coordinate system.

[0068] 2, the position of an object in three-dimensional space is shown as "object position O." In the example shown in FIG. 2, a rectangular solid object existing at object position O is the object, but the shape of the object is not particularly limited.

[0069] The control unit 120 calculates the position and orientation of the virtual camera in the three-dimensional space based on the position and orientation of the hand in the sensor coordinate system and the relationship between the position and orientation of the hand in the sensor coordinate system and the virtual camera in the three-dimensional space. Then, the control unit 120 places the virtual camera at the calculated position and orientation of the virtual camera. As an example, each of the positions and orientations C1 to C4 is the position and orientation of the virtual camera in the object coordinate system, and is expressed by a six-dimensional vector. The object position O is the origin of the object coordinate system.

[0070] 2, when the position and orientation of the hand in the sensor coordinate system is H1, the position and orientation of the virtual camera in the object coordinate system is C1. Similarly, when the position and orientation of the hand in the sensor coordinate system is H2, the position and orientation of the virtual camera in the object coordinate system is C2.

[0071] Furthermore, when the position and orientation of the hand in the sensor coordinate system is position and orientation H3, the position and orientation of the virtual camera in the object coordinate system is position and orientation C3. When the position and orientation of the hand in the sensor coordinate system is position and orientation H4, the position and orientation of the virtual camera in the object coordinate system is position and orientation C4.

[0072] The position and orientation relationship between the hand in the sensor coordinate system and the virtual camera in the object coordinate system is determined in advance. As an example, the position and orientation C1 to C4 of the virtual camera in the object coordinate system may be the same as the position and orientation H1 to H4 of the hand in the sensor coordinate system. This makes the position and orientation relationship between the sensor position S and the hand position and orientation H1 to H4 the same as the position and orientation relationship between the object position O and the virtual camera position and orientation C1 to C4.

[0073] 3 is a diagram for explaining an overview of an example of the operation of the control unit 120 according to the first embodiment of the present invention, and is a diagram showing an example of an image displayed by the virtual camera image output unit 30. The virtual camera image output unit 30 displays an image obtained by capturing an image of an object existing in a three-dimensional space by a virtual camera arranged by the control unit 120.

[0074] In the example shown in Fig. 3 (and Fig. 2), an image obtained by capturing an object using a virtual camera placed at a position and orientation C1 in the object coordinate system is image D1. Similarly, an image obtained by capturing an object using a virtual camera placed at a position and orientation C2 in the object coordinate system is image D2.

[0075] Furthermore, an image obtained by capturing an image of an object using a virtual camera placed at position and orientation C3 in the object coordinate system is image D3, and an image obtained by capturing an image of an object using a virtual camera placed at position and orientation C4 in the object coordinate system is image D4.

[0076] For example, assume that a user moves a hand in real space from a position and orientation H1 to a position and orientation H2. In this case, the virtual camera moves from a position and orientation C1 to a position and orientation C2 in three-dimensional space in accordance with the movement of the hand in real space. Then, the image having the position and orientation of the virtual camera as a viewpoint is changed from an image D1 to an image D2 in accordance with the movement of the virtual camera in three-dimensional space.

[0077] In this way, by changing the position of the hand, the user can change the viewpoint position of the image and view images from various viewpoints.

[0078] Next, assume that the user moves the hand closer to the sensor position S in the real space and moves the hand from position and orientation H2 to position and orientation H3. In this case, the virtual camera moves closer to the object position O in the three-dimensional space and moves from position and orientation C2 to position and orientation C3 as the hand moves in the real space. Then, as the virtual camera moves in the three-dimensional space, the image whose viewpoint is the position and orientation of the virtual camera is enlarged from image D2 to image D3.

[0079] In this way, the user can enlarge the image by moving the position of the hand closer to the sensor position S. Similarly, the user can reduce the image by moving the position of the hand away from the sensor position S.

[0080] On the other hand, assume that the user changes the posture of the hand instead of moving the hand closer to the sensor position S. In such a case, the posture of the virtual camera changes with the change in the posture of the hand in real space, and the position and posture of the virtual camera is changed from position and posture C1 to position and posture C4 in the three-dimensional space. Then, with the change in the posture of the virtual camera in the three-dimensional space, the image having the position and posture of the virtual camera as the viewpoint rotates from image D1 to image D4.

[0081] In this way, the user can change the viewpoint direction of the image by changing the posture of the hand.

[0082] As described with reference to Figures 2 and 3, the information processing system 1 according to the first embodiment of the present invention allows the user to change the viewpoint of the image, such as changing the viewpoint position of the image, enlarging or reducing the image, and rotating the image, by only moving his or her hand. Next, with reference to Figures 4 and 5, an example of the operation of the information processing system 1 in the case where the viewpoint of the image is specified by the user will be described.

[0083] Fig. 4 is a flowchart showing an example of the overall operation of the information processing system 1 in the first embodiment of the present invention, and Fig. 5 is a flowchart showing a detailed example of the operation of the viewpoint movement process shown in Fig. 4.

[0084] The user inputs an operation to select an object that the user wants to view from one or more objects existing in the three-dimensional space. Then, the control unit 120 selects the object in accordance with the operation (S111). Here, it is assumed that an object existing at object position O (FIG. 2) has been selected by the user. Note that the operation to select an object is not limited. As an example, the operation to select an object may be realized by an operation to move a cursor using a pointing device such as a mouse and select an object existing at the cursor position.

[0085] Next, the initialization unit 121 sets the relationship between the position and orientation of the selected object and that of the sensor coordinate system (S112). In the first embodiment of the present invention, it is assumed that the viewpoint movement of the video is realized by moving the virtual camera based on the selected object in response to the movement of the user's hand in the sensor coordinate system. Therefore, it is necessary to set the relationship between the position and orientation of the object coordinate system and that of the sensor coordinate system.

[0086] For example, it is assumed that parameters indicating the relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system are stored in advance. In such a case, the initialization unit 121 sets the relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system so as to satisfy the relationship indicated by the parameters. As a result, the sensor coordinate system is placed in the object coordinate system so as to satisfy the relationship indicated by the parameters.

[0087] For example, if a parameter indicating the agreement between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system is stored as the relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system, the sensor coordinate system is positioned in the object coordinate system according to the position and orientation that matches the position and orientation of the object coordinate system.

[0088] Note that the parameters indicating the relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system do not need to indicate that the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system match. For example, the parameters may indicate the placement of the sensor coordinate system in the object coordinate system at a position away from the object position O, or may indicate the placement of the sensor coordinate system in the object coordinate system according to an orientation different from that of the object coordinate system.

[0089] The relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system may be expressed in any form. For example, the relationship between the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system may be expressed by the relative position and orientation of the sensor coordinate system with the position and orientation of the object coordinate system as the reference, or may be expressed by the relative position and orientation of the object coordinate system with the position and orientation of the sensor coordinate system as the reference.

[0090] In the following description, for the sake of simplicity, it is assumed that the sensor coordinate system is placed in the object coordinate system in accordance with a position and orientation that coincides with the position and orientation of the object coordinate system.

[0091] The position of the hand in the sensor coordinate system may be expressed by three-dimensional coordinates (X, Y, Z) in the sensor coordinate system. Also, it is mainly assumed that the posture of the hand in the sensor coordinate system is expressed by a rotation matrix with respect to the coordinate axes (X-axis, Y-axis, Z-axis) in the sensor coordinate system in three directions (x-axis direction, y-axis direction, z-axis direction) along the posture of the hand. However, the posture of the hand in the sensor coordinate system may be expressed in other formats, as will be described later.

[0092] Next, the initialization unit 121 initializes the position and orientation of the virtual camera in the object coordinate system (S113). In more detail, when parameters indicating the initial position and orientation of the virtual camera in the object coordinate system are stored in advance, the initialization unit 121 sets the initial position and orientation of the virtual camera to the position and orientation indicated by the parameters in the object coordinate system based on the selection of an object. Note that this initial position and orientation of the virtual camera is also used later when the virtual camera position and orientation calculation unit 122 calculates the position and orientation of the virtual camera.

[0093] For example, if the virtual camera is positioned in front of the object and the virtual camera's orientation is set so that the imaging direction of the virtual camera faces the virtual object, after the object is selected, the image first displayed by the virtual camera image output unit 30 will be an image of the object viewed from the front.

[0094] The initial position and orientation of the virtual camera in the object coordinate system may be expressed in any format. For example, the initial position and orientation of the virtual camera in the object coordinate system may be expressed by a relative position and orientation of the camera coordinate system with the position and orientation of the object coordinate system as a reference, or may be expressed by a relative position and orientation of the object coordinate system with the position and orientation of the camera coordinate system as a reference.

[0095] The initial position of the virtual camera in the object coordinate system may be expressed by three-dimensional coordinates (X, Y, Z) in the object coordinate system. Also, it is mainly assumed that the initial orientation of the virtual camera in the object coordinate system is expressed by a rotation matrix with respect to the coordinate axes (X-axis, Y-axis, Z-axis) in the object coordinate system in three directions (x-axis direction, y-axis direction, z-axis direction) along the orientation of the virtual camera. However, the initial orientation of the virtual camera in the object coordinate system may be expressed in other formats, as will be described later.

[0096] Thereafter, unless the hand measurement sensor unit 20 detects a viewpoint movement start gesture ("NO" in S114), the virtual camera image output unit 30 continues to display the image from the fixed position and orientation generated by the virtual camera image generating unit 124 (S115). On the other hand, if the hand measurement sensor unit 20 detects a viewpoint movement start gesture ("YES" in S114), the operation proceeds to viewpoint movement processing (S116).

[0097] In other words, if the viewpoint movement start gesture is not detected, the viewpoint is not changed and the image from the fixed position and posture continues to be displayed even if the user moves the hand within the detection range of the hand measurement sensor unit 20. For example, the viewpoint movement start gesture may be a hand shape that is a predetermined shape, and the predetermined shape may be a shape in which all the fingers of one hand are bent, or a shape in which the index finger is extended and the other fingers are bent. However, the predetermined shape may be any shape.

[0098] A detailed operation example of the viewpoint movement process that is executed when a viewpoint movement start gesture is detected will be described with reference to FIG.

[0099] First, the virtual camera position and orientation calculation unit 122 acquires the position and orientation of the hand measured by the hand measurement sensor unit 20 (S121). Next, the virtual camera position and orientation calculation unit 122 calculates the position and orientation of the virtual camera in the object coordinate system based on the position and orientation of the hand measured by the hand measurement sensor unit 20 (S122).

[0100] For example, it is assumed that the relationship between the position and orientation of the hand in the sensor coordinate system and the position and orientation of the virtual camera in the object coordinate system is determined in advance. In this case, the virtual camera position and orientation calculation unit 122 calculates the position and orientation of the virtual camera in the object coordinate system based on the relationship and the position and orientation of the hand in the sensor coordinate system.

[0101] The relationship between the position and orientation of the hand in the sensor coordinate system and the position and orientation of the virtual camera in the object coordinate system may be any relationship. However, in order to realize a more intuitive viewpoint designation operation, it is preferable that the orientation of the virtual camera in the object coordinate system is a rotation of the orientation of the hand in the object coordinate system so that the predetermined direction of the hand in the object coordinate system coincides with the imaging direction of the virtual camera in the object coordinate system.

[0102] If the relationship between the position and orientation of the virtual camera in the object coordinate system is as described above, a viewpoint designation operation can be realized in which the user himself moves the virtual camera while causing the virtual camera to capture an image of the object.

[0103] For example, the predetermined direction of the hand may be the direction in which the palm faces, or may be a direction along the posture of the hand. Meanwhile, the imaging direction of the virtual camera may be a direction along the posture of the virtual camera. In the example shown in Fig. 2, the direction in which the palm faces (z-axis direction) corresponding to the positions and postures H1 to H4 of the hand coincides with the imaging direction (z-axis direction) corresponding to the positions and postures C1 to C4 of the virtual camera.

[0104] Here, an example of calculating the position and orientation of the virtual camera using a rotation matrix will be shown below.

[0105] The position of the virtual camera in the object coordinate system may coincide with the position of the hand in the three-dimensional space corresponding to the position of the hand in the sensor coordinate system, or the parameter indicating the position of the virtual camera in the object coordinate system may be a parameter obtained by multiplying a parameter indicating the position of the hand in the object coordinate system corresponding to the position of the hand in the sensor coordinate system by a constant.

[0106] That is, the position of the virtual camera in the object coordinate system P vc =[X vc ,Y vc ,Z vc ] T is the constant s and the hand position P in the object coordinate system.hc =[X hc ,Y hc ,Z hc ] T It is calculated using the following formula (1).

[0107] P vc =sP hc (1)

[0108] The constant s corresponds to a parameter for adjusting the relationship between the scale of the movement of the hand and the scale of the movement of the virtual camera. For example, when s=0.1 is set, the scale of the movement of the virtual camera becomes 1 / 10 of the scale of the movement of the hand. s can be set arbitrarily and may change according to the scale of the selected object. As an example, s may be larger as the scale of the selected object becomes larger.

[0109] Parameter R for calculating the orientation of the virtual camera in the object coordinate system o vc (Rotation matrix) is a parameter R for calculating the hand posture in the sensor coordinate system. o h (rotation matrix) and the parameter R that indicates the relationship between the preset sensor coordinate system and the object coordinate system h vc It is calculated using the following formula (2) using (rotation matrix).

[0110] R o vc =R o h R h vc (2)

[0111] As mentioned above, the parameter R, which indicates the relationship between the sensor coordinate system and the object coordinate system, h vcis preferably set so that a predetermined direction of the hand in the object coordinate system (for example, the direction in which the palm faces) coincides with the imaging direction of the virtual camera in the object coordinate system. This allows the user to change the imaging direction of the virtual camera by changing the direction in which the palm faces.

[0112] Next, virtual camera arrangement unit 123 moves the virtual camera into three-dimensional space according to the position and orientation of the virtual camera in the object coordinate system calculated by virtual camera position and orientation calculation unit 122 (S123). Then, virtual camera image generation unit 124 generates an image from the arrangement position and orientation of the virtual camera, and virtual camera image output unit 30 displays the generated image (S124).

[0113] The control unit 120 determines whether or not a gaze point movement end gesture has been detected by the hand measurement sensor unit 20 (S125).

[0114] When the control unit 120 determines that the viewpoint movement end gesture has not been detected ("NO" in S125), the control unit 120 returns to S121 and continues the viewpoint movement process. For example, the viewpoint movement end gesture may be a predetermined hand shape, similar to the viewpoint movement start gesture. As described above, the viewpoint movement start gesture and the viewpoint movement end gesture may be the same gesture or different gestures.

[0115] On the other hand, when the control unit 120 determines that a viewpoint movement end gesture has been detected ("YES" in S125), it fixes the position and orientation of the virtual camera (S126) and shifts the operation to S114 (S126). That is, the user can fix the viewpoint of the image by performing a viewpoint movement end gesture.

[0116] An example of the operation of the information processing system 1 according to the first embodiment of the present invention has been described above.

[0117] (1-3. Effects) As described above, according to the first embodiment of the present invention, the position and orientation of the virtual camera in the three-dimensional space in the computer is calculated from the position and orientation of the hand measured in the real space, so that the viewpoint of the video can be specified only by the movement of the hand. This allows the user to specify the viewpoint as if he or she were capturing an image of the target object with a camera, and a more intuitive viewpoint specification operation can be realized.

[0118] Generally, a viewpoint designation operation is realized by combining a mouse click operation and a drag operation to move a cursor position. On the other hand, according to the first embodiment of the present invention, a viewpoint change operation is realized by only moving a hand, which is expected to enable more continuous viewpoint change operation and to speed up the viewpoint change operation.

[0119] The effects achieved by the information processing system 1 according to the first embodiment of the present invention have been described above.

[0120] 2. Second embodiment Next, a second embodiment of the present invention will be described. In the first embodiment of the present invention, the position and orientation of the hand are measured, and the virtual camera is moved based on the measured position and orientation of the hand, thereby enabling a viewpoint designation operation only by the movement of the hand. However, the first embodiment of the present invention has some points to be improved. The points to be improved in the first embodiment of the present invention will be described with reference to Figs. 6 and 7.

[0121] FIG. 6 is a diagram for explaining the difference between examples of the operation of the control unit 120 according to the first embodiment of the present invention and the second embodiment of the present invention, and is a diagram showing an example of the relationship in position and orientation between the hand measurement sensor unit 20 and the hand in real space, and the relationship in position and orientation between an object and a virtual camera in three-dimensional space.

[0122] 6, each of the positions and orientations H5 to H6 is a position and orientation in a sensor coordinate system with the sensor position S as the origin, and is expressed by a six-dimensional vector. Also, each of the positions and orientations C5 to C6 is a position and orientation of a virtual camera in an object coordinate system, and is expressed by a six-dimensional vector.

[0123] 6, in the first embodiment of the present invention, the position and orientation of the virtual camera in the object coordinate system is shown as C5 when the position and orientation of the hand in the sensor coordinate system is H5. Also, in the second embodiment of the present invention, the position and orientation of the virtual camera in the object coordinate system is shown as C6 when the position and orientation of the hand in the sensor coordinate system is H6.

[0124] 7 is a diagram for explaining the difference between examples of the operation of control unit 120 according to the first embodiment of the present invention and the second embodiment of the present invention, and is a diagram showing an example of an image displayed by virtual camera image output unit 30. Virtual camera image output unit 30 displays an image obtained by capturing an image of an object existing in a three-dimensional space by a virtual camera arranged by control unit 120.

[0125] 7 (and 6) show an image D5 obtained by capturing an image of an object using a virtual camera placed at a position and orientation C5 in the object coordinate system in the first embodiment of the present invention, and an image D6 obtained by capturing an image of an object using a virtual camera placed at a position and orientation C6 in the object coordinate system in the second embodiment of the present invention.

[0126] 6, in the first embodiment of the present invention, referring to the position and orientation H5 of the hand and the position and orientation C5 of the virtual camera, the palm is not oriented toward the sensor position S, and therefore the imaging direction of the virtual camera is not oriented toward the object position O. This causes object B to be removed from image D5. Furthermore, although object B is removed from image D5 in the upward direction, object B may be removed from image D5 in the left / right direction or downward direction depending on the posture of the hand.

[0127] In order to overcome such an issue that needs improvement in the first embodiment of the present invention, the second embodiment of the present invention newly adds a process for always directing the virtual camera to the object, as shown by the hand position and orientation H6 and the virtual camera position and orientation C6, even if the palm is not directed toward the sensor position S. By adding this process, object B is always positioned at the center of the image D6.

[0128] (2-1. Configuration of Information Processing System) Next, a configuration example of an information processing system according to a second embodiment of the present invention will be described. The overall configuration of the information processing system according to the second embodiment of the present invention is the same as the overall configuration of the information processing system according to the first embodiment of the present invention. However, the processing executed by the virtual camera position and orientation calculation unit 122 is different.

[0129] In the first embodiment of the present invention, the position and orientation of the virtual camera are determined by a parameter R that indicates the relationship between a preset sensor coordinate system and an object coordinate system, as shown in equation (2). h vc In the second embodiment of the present invention, the position and orientation of the virtual camera are calculated so that the virtual camera always faces the object.

[0130] More specifically, the virtual camera position / orientation calculation unit 122 calculates the direction from the position of the virtual camera to the position of the object in the object coordinate system, and corrects the orientation of the virtual camera in the object coordinate system according to the calculated direction. Note that if a predetermined condition is satisfied, the orientation of the virtual camera may be corrected, and if the predetermined condition is not satisfied, the orientation of the virtual camera may not be corrected.

[0131] For example, when the difference between the orientation of the hand in the object coordinate system and the orientation of the virtual camera is equal to or smaller than a threshold, the virtual camera position / orientation calculation unit 122 may correct the orientation of the virtual camera in the object coordinate system. On the other hand, when the difference between the orientation of the hand in the object coordinate system and the orientation of the virtual camera is greater than the threshold, the virtual camera position / orientation calculation unit 122 may not need to correct the orientation of the virtual camera in the object coordinate system.

[0132] A more specific calculation method and processing procedure for the position and orientation of the virtual camera will be explained in "2-2. Operation of Information Processing System".

[0133] An example of the configuration of the information processing system 1 according to the second embodiment of the present invention has been described above.

[0134] (2-2. Operation of Information Processing System) An example of the overall operation in the second embodiment of the present invention is the same as the example of the overall operation in the first embodiment of the present invention. However, in the second embodiment of the present invention, the processing method corresponding to the calculation of the position and orientation of the virtual camera S122 (FIG. 5) in the first embodiment of the present invention is different. Therefore, in this section, the calculation method of the position and orientation of the virtual camera in the second embodiment of the present invention will be described in detail.

[0135] Fig. 8 is a flowchart showing an overall operation example of the information processing system 1 in the second embodiment of the present invention. Fig. 9 is a flowchart showing a detailed operation example of the viewpoint movement processing shown in Fig. 8. Fig. 10 is a diagram showing a detailed operation example of the virtual camera movement processing shown in Fig. 9. In the flowchart, steps common to the steps in the first embodiment of the present invention are given the same reference numerals, and detailed description of those steps will be omitted.

[0136] With reference to Fig. 8, in the second embodiment of the present invention, the viewpoint movement processing S116 (Fig. 4) in the first embodiment of the present invention is replaced with a viewpoint movement processing S118. A detailed operation example of the viewpoint movement processing S118 is shown in Fig. 9. With reference to Fig. 9, S122 and S123 (Fig. 5) are replaced with a virtual camera movement processing S128. Therefore, the virtual camera movement processing S128, which is one of the features of the second embodiment of the present invention, will be described in detail.

[0137] First, the virtual camera position and orientation calculation unit 122 calculates the position of the virtual camera in the object coordinate system (S201). In the second embodiment of the present invention, the virtual camera position and orientation calculation unit 122 may calculate the position of the virtual camera in the object coordinate system, similarly to the first embodiment of the present invention. More specifically, the virtual camera position and orientation calculation unit 122 may calculate the position of the virtual camera in the object coordinate system using the above formula (1).

[0138] Next, the virtual camera position and orientation calculation unit 122 calculates the orientation of the virtual camera. In the first embodiment of the present invention, a parameter R for calculating the orientation of the virtual camera is used as shown in the following formula (3). o vc An example has been described in which is expressed by a rotation matrix.

[0139]

number

[0140] Here, a, b, and c are Ro vc are the components of each column of R, which is a three-dimensional vector. Due to the nature of the rotation matrix, a, b, and c represent the coordinate axes (x, y, z) of the coordinate system set on the hand, and are calculated by the above formula (2). However, as mentioned above, R o vc Even if the virtual camera position and orientation calculation unit 122 uses R, the orientation of the virtual camera is not necessarily calculated so as to face the object. o vc is corrected so that the virtual camera always faces the object.

[0141] More specifically, the virtual camera position and orientation calculation unit 122 calculates a normalized direction vector V oz =[X oz ,Y oz ,Z oz ] T (S202). Note that in the embodiment of the present invention, "normalization" may refer to a process of making the magnitude of a vector 1.

[0142] Here, V oz indicates the direction of the object based on the virtual camera. As described above, in the embodiment of the present invention, it is mainly assumed that the imaging direction of the virtual camera is the z-axis direction. Therefore, the virtual camera position and orientation calculation unit 122 calculates V oz By pointing the z-axis of the virtual camera in the direction of the arrow, it is possible to make the virtual camera always face the object.

[0143] Here, the virtual camera position and orientation calculation unit 122 calculates the hand position P hc The hand position in the object coordinate system corresponding to the hand position is multiplied by "-1" and the result of the multiplication is normalized to obtain a normalized direction vector V oz get.

[0144] In S112, it is assumed that the position and orientation in the object coordinate system and the position and orientation in the sensor coordinate system are matched. In this case, the virtual camera position and orientation calculation unit 122 calculates the hand position P hc Multiplying "-1" by "-P hc " V oz It is sufficient to obtain it as:

[0145] On the other hand, a case may be assumed in which the position and orientation of the object coordinate system and the position and orientation of the sensor coordinate system are not matched in S112. In such a case, the virtual camera position and orientation calculation unit 122 calculates the relative position and orientation of the object coordinate system based on the sensor coordinate system as "-P hc " by adding V oz All you need to do is obtain the following.

[0146] Next, the virtual camera position and orientation calculation unit 122 calculates V oz The virtual camera position and orientation calculation unit 122 calculates the angle between V and C, which is the actual sensor data. oz If the angle between and C exceeds the threshold value (NO in S203), the position and orientation of the virtual camera calculated in S201 and S202 are maintained, and the position and orientation of the virtual camera are not calculated in S204 and S205.

[0147] That is, when there is a large error between a predetermined direction of the hand (e.g., the direction in which the palm faces) and the imaging direction of the virtual camera in the object coordinate system, the virtual camera is fixed (i.e., the viewpoint is not moved) and an image is displayed. This control is performed to prevent a large error caused by the correction of the rotation matrix S205, which makes intuitive operation impossible, when there is a large error between a predetermined direction of the hand (e.g., the direction in which the palm faces) and the imaging direction of the virtual camera in the object coordinate system. This threshold value can be set arbitrarily.

[0148] On the other hand, the virtual camera position and orientation calculation unit 122 calculates V oz If the angle between and C is equal to or smaller than the threshold value (YES in S203), V ozA matrix expressing the orientation of the virtual camera facing the object is calculated using (S204).

[0149] More specifically, in the second embodiment of the present invention, the pose of the virtual camera is expressed by a rotation matrix as described below. Here, in the first embodiment of the present invention, a rotation matrix R o vc was the posture of the hand in the object coordinate system. On the other hand, in the second embodiment of the present invention, the virtual camera must always face the object, regardless of the posture of the hand. Therefore, when the imaging direction of the virtual camera is the z-axis direction, the virtual camera position and posture calculation unit 122 replaces c in formula (3).

[0150] Here, in formula (3), R o vc In V, c represents the direction vector in the object coordinate system along the z-axis of the virtual camera. oz is a normalized direction vector that points in the direction of the object based on the position of the virtual camera in the object coordinate system. oz This replaces R o vc =[a,b,V oz ], so the z-axis direction of the virtual camera always faces the object. This ensures that the object is always located at the center of the image captured by the virtual camera.

[0151] It is also possible that the imaging direction of the virtual camera is not the z-axis direction of the virtual camera. For example, when the imaging direction of the virtual camera is the x-axis direction of the virtual camera, the virtual camera position and orientation calculation unit 122 calculates a instead of c as V oz Similarly, when the imaging direction of the virtual camera is the y-axis direction of the virtual camera, the virtual camera position and orientation calculation unit 122 substitutes b instead of c for V oz Just replace it with:

[0152] Next, the virtual camera position and orientation calculation unit 122 calculates R o vc (S205). In S204, c is corrected to V oz By replacing it with R o vc =[a,b,V oz ] is no longer a rotation matrix. Therefore, R o vc It is necessary to make a correction to convert V into a rotation matrix. oz is the value set so that the virtual camera always faces the object, so V oz Therefore, the virtual camera position and orientation calculation unit 122 calculates a and b as oz Correct according to.

[0153] Figure 11 shows the R o vc 1 is a diagram illustrating an example of a correction for converting b into a rotation matrix. oy More specifically, V oy Due to the nature of rotation matrices, V oz Therefore, the virtual camera position and orientation calculation unit 122 calculates the virtual camera position and orientation as shown in FIG. oz Then, b is corrected by projecting b onto a plane having a normal line of V. oz The component perpendicular to the direction can be extracted.

[0154] V oz The direction vector b' obtained by projecting b onto a plane with normal to is expressed as shown in the following equation (4).

[0155] b'=b-(b·V oz )V oz (4)

[0156] Furthermore, the virtual camera position and orientation calculation unit 122 normalizes b' to obtain a vector V oy get.

[0157] Next, the virtual camera position and orientation calculation unit 122 calculates a by V ox More specifically, V ox Due to the nature of the rotation matrix, V oy and V oz Since it is the cross product of and, it can be calculated using the following equation (5).

[0158] V ox =V oy ×V oz (5)

[0159] The virtual camera position and orientation calculation unit 122 calculates V ox Replace a in the above equation (3) with V calculated as above. oy By replacing b in the above equation (3), the rotation matrix R o vc Get R o vc is as shown in the following equation (6).

[0160] R o vc =[V oz ,V oz ,V oz ] ···(6)

[0161] By the above process, R o vc are corrected so that the imaging direction (z-axis direction) of the virtual camera always faces the object position O. Then, similarly to the first embodiment of the present invention, virtual camera arrangement unit 123 moves the virtual camera in accordance with the position and orientation of the virtual camera calculated by virtual camera position and orientation calculation unit 122 (S206).

[0162] An example of the operation of the information processing system 1 according to the second embodiment of the present invention has been described above.

[0163] (2-3. Effects) As described above, according to the second embodiment of the present invention, by adding a process for always pointing the virtual camera toward the object, it becomes possible to perform a viewpoint designation operation while always placing the object in the center of the image.

[0164] In the first embodiment of the present invention, a situation may occur in which an object falls outside the image depending on the posture of the hand being measured. Therefore, in order to place an object in the center of the image, the user must perform a viewpoint designation operation while always facing the palm of the hand toward the sensor.

[0165] On the other hand, in the second embodiment of the present invention, the viewpoint can be changed with the object always positioned at the center of the image regardless of the posture of the hand. This eliminates the need for the user to consciously point the palm of the hand toward the sensor, making it easier to specify the viewpoint.

[0166] The effects achieved by the information processing system 1 according to the second embodiment of the present invention have been described above.

[0167] (3. Hardware configuration example) Next, an example of the hardware configuration of the information processing device 10 according to the embodiment of the present invention will be described.

[0168] In the following, an example of the hardware configuration of the information processing device 900 will be described as an example of the hardware configuration of the information processing device 10 according to the embodiment of the present invention. Note that the example of the hardware configuration of the information processing device 900 described below is merely one example of the hardware configuration of the information processing device 10. Therefore, the hardware configuration of the information processing device 10 may be such that unnecessary configurations are deleted from the hardware configuration of the information processing device 900 described below, or new configurations may be added.

[0169] 12 is a diagram showing a hardware configuration of an information processing device 900 as an example of the information processing device 10 according to an embodiment of the present invention. The information processing device 900 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM (Random Access Memory) 903, a host bus 904, a bridge 905, an external bus 906, an interface 907, an input device 908, an output device 909, a storage device 910, and a communication device 911.

[0170] The CPU 901 functions as an arithmetic processing device and control device, and controls the overall operation of the information processing device 900 in accordance with various programs. The CPU 901 may also be a microprocessor. The ROM 902 stores programs and arithmetic parameters used by the CPU 901. The RAM 903 temporarily stores programs used in the execution of the CPU 901 and parameters that change appropriately during the execution. These are connected to each other by a host bus 904 consisting of a CPU bus etc.

[0171] The host bus 904 is connected to an external bus 906, such as a PCI (Peripheral Component Interconnect / Interface) bus, via a bridge 905. It is not necessary to configure the host bus 904, bridge 905, and external bus 906 separately, and these functions may be implemented in a single bus.

[0172] The input device 908 is composed of input means such as a mouse, keyboard, touch panel, button, microphone, switch, and lever for the user to input information, and an input control circuit that generates an input signal based on the user's input and outputs it to the CPU 901. A user who operates the information processing device 900 can input various data to the information processing device 900 and instruct the information processing device 900 to perform processing operations by operating this input device 908.

[0173] The output device 909 includes, for example, a display device such as a CRT (Cathode Ray Tube) display device, a Liquid Crystal Display (LCD) device, an OLED (Organic Light Emitting Diode) device, or a lamp, and an audio output device such as a speaker.

[0174] The storage device 910 is a device for storing data. The storage device 910 may include a storage medium, a recording device for recording data in the storage medium, a reading device for reading data from the storage medium, and a deleting device for deleting data recorded in the storage medium. The storage device 910 is configured, for example, with an HDD (Hard Disk Drive). This storage device 910 drives a hard disk and stores programs executed by the CPU 901 and various data.

[0175] The communication unit 911 is, for example, a communication interface configured with a communication device for connecting to a network, etc. Also, the communication unit 911 may be compatible with either wireless communication or wired communication.

[0176] An example of the hardware configuration of the information processing device 10 according to the embodiment of the present invention has been described above.

[0177] (4. Summary) Although the preferred embodiment of the present invention has been described in detail above with reference to the accompanying drawings, the present invention is not limited to such an example. It is clear that a person having ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or altered examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally belong to the technical scope of the present invention.

[0178] For example, in the first embodiment of the present invention, the virtual camera's orientation is mainly assumed to be expressed by a rotation matrix as shown in the above formula (2). However, other rotation expressions such as Euler angles (three dimensions) and quaternions (fourth dimensions) may be used to express the orientation of the virtual camera. In such a case, the above formula (2) may be appropriately changed to an expression suitable for that rotation expression.

[0179] In the second embodiment of the present invention, the hand posture obtained from the sensor is mainly calculated by a rotation matrix. However, other posture expressions can be applied to the expression of the hand posture as long as they can be converted into a rotation matrix. For example, other rotation expressions such as Euler angles (three dimensions) and quaternions (four dimensions) may be used to express the hand posture.

[0180] In the second embodiment of the present invention, the case where the direction of the palm coincides with the direction of the virtual camera is mainly assumed. o vc Depending on the value of , the direction of the palm does not have to match the direction of the virtual camera. [Explanation of symbols]

[0181] 1. Information Processing Systems 10. Information processing device 120 Control section 121 Initialization section 122 Virtual camera position and orientation calculation unit 123 Virtual camera placement section 124 Virtual camera image generation unit 130 Storage section 20 Hand measurement sensor 30 Virtual camera image output section

Claims

1. a calculation unit that calculates a position and orientation of a virtual camera in a three-dimensional space in which an object exists, based on a position and orientation of a predetermined part of the user's body in a sensor coordinate system measured based on sensor data; a generation unit that generates an image of the object captured by the virtual camera based on a position of the object in the three-dimensional space and a position and orientation of the virtual camera; An information processing device comprising:

2. the calculation unit calculates a position of the virtual camera in the three-dimensional space based on a relationship between a position in the sensor coordinate system and a position in the three-dimensional space and a position of the predetermined part in the sensor coordinate system. The information processing device according to claim 1 .

3. a position of the virtual camera in the three-dimensional space coincides with a position of the predetermined part in the three-dimensional space corresponding to a position of the predetermined part in the sensor coordinate system; The information processing device according to claim 2 .

4. the parameter indicating the position of the virtual camera in the three-dimensional space is a parameter obtained by multiplying a parameter indicating the position of the predetermined part in the three-dimensional space corresponding to the position of the predetermined part in the sensor coordinate system by a constant; The information processing device according to claim 3 .

5. the larger the scale of the object, the larger the constant; The information processing device according to claim 4.

6. the calculation unit calculates the orientation of the virtual camera in the three-dimensional space based on a relationship between an orientation of the sensor coordinate system and an orientation of the three-dimensional space, and on the orientation of the predetermined part in the sensor coordinate system. The information processing device according to claim 1 .

7. the orientation of the virtual camera in the three-dimensional space is a rotation of the orientation of the predetermined part in the three-dimensional space such that an imaging direction of the virtual camera in the three-dimensional space coincides with a predetermined direction of the predetermined part in the three-dimensional space; The information processing device according to claim 6.

8. the calculation unit calculates a direction from a position of the virtual camera to a position of the object in the three-dimensional space, and corrects an attitude of the virtual camera in the three-dimensional space in accordance with the direction. The information processing device according to claim 1 .

9. the calculation unit corrects the orientation of the virtual camera in the three-dimensional space on the basis that a difference between the orientation of the predetermined portion in the three-dimensional space and the orientation of the virtual camera is equal to or smaller than a threshold. The information processing device according to claim 8.

10. the calculation unit calculates a position and an orientation of the virtual camera in the three-dimensional space based on detection of a predetermined start gesture by the user; The information processing device according to claim 1 .

11. The predetermined part is a hand of the user. The information processing device according to claim 1 .

12. calculating a position and orientation of a virtual camera in a three-dimensional space in which an object exists, based on a position and orientation of a predetermined part of the user's body in a sensor coordinate system measured based on the sensor data; generating an image of the object captured by the virtual camera based on a position of the object in the three-dimensional space and a position and orientation of the virtual camera; 2. An information processing method implemented by a computer, comprising:

13. Computer, a calculation unit that calculates a position and orientation of a virtual camera in a three-dimensional space in which an object exists, based on a position and orientation of a predetermined part of the user's body in a sensor coordinate system measured based on sensor data; a generation unit that generates an image of the object captured by the virtual camera based on a position of the object in the three-dimensional space and a position and orientation of the virtual camera; A program that functions as a

Citation Information

Patent Citations

  • Image display device, control method, and program

    JP2021177351A

  • Information processing apparatus, information processing method, and program

    WO2016136311A1

  • Fast manipulation of objects in three-dimensional scene

    JP2018106715A