Display image creation device and image display method

JP2024116705AInactive Publication Date: 2024-08-28SONY INTERACTIVE ENTERTAINMENT LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023022465
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2024-08-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Benefits of technology

【0010】 本発明によれば、CGと撮影画像を少ない負荷で高精度に合成することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024116705000001_ABST
    Figure 2024116705000001_ABST
Patent Text Reader

Abstract

To accurately combine CG and an image of a real object with a small load.SOLUTION: A content processing apparatus projects a photographed image photographed by a stereo camera 110 and including a real object 276 on a virtual projection surface 272 and creates a see-through image represented from the viewpoint of a virtual camera for display 260a. When combining CG with an image of the real object, the content processing apparatus creates an intermediate image representing a virtual object 290 arranged in association with the real object 276 from the viewpoint of the stereo camera 110, and subsequently creates a composite image from the viewpoint of the virtual camera for display 260a.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a display image generating device and an image display method for synthesizing and displaying a photographed image and a CG. [Background technology]

[0002] Image display systems that allow users to view a target space from any viewpoint are becoming widespread. For example, a system has been developed that displays a panoramic image on a head-mounted display, and displays an image according to the line of sight of a user wearing the head-mounted display. By displaying stereo images with parallax for the left and right eyes on the head-mounted display, the displayed image appears three-dimensional to the user, enhancing the sense of immersion in the image world.

[0003] In addition, a technology has been put into practical use that realizes Augmented Reality (AR) and Mixed Reality (MR) by attaching a camera that captures real space to a head-mounted display and synthesizing the captured image with computer graphics (CG). The captured image can also be displayed on a sealed head-mounted display, which is useful for users to check their surroundings or set up a game play area. Summary of the Invention [Problem to be solved by the invention]

[0004] In technologies such as AR and MR, where CG is synthesized with photographed images, the accuracy of aligning the real object image with the CG greatly affects the quality of the content. Also, when presenting the game play area in correspondence with the real-world room, if there is a misalignment between the two, the user will be confused and it will be difficult to set the appropriate play area.

[0005] On the other hand, in situations where the field of view can change significantly depending on the user's movements, it is necessary to make the CG follow those changes, so it is required to perform the process from taking the photographed image to generating the composite image quickly and with a small processing load. In other words, if calculations take time due to precise alignment in three-dimensional space, the display will be delayed in relation to the user's movements, which will also reduce the quality of the content and cause motion sickness.

[0006] The present invention has been made in view of the above problems, and has as its object to provide a technique for synthesizing CG and a photographed image with high accuracy and with a small load. [Means for solving the problem]

[0007] In order to solve the above problems, one aspect of the present invention relates to a display image generating device, which is characterized by including a captured image acquiring unit that acquires data of an image captured by a camera, an intermediate image generating unit that generates an intermediate image in which a virtual object arranged in a three-dimensional space to be displayed is represented from the viewpoint of the camera, a display image generating unit that generates a composite image in which the intermediate image and the captured image are represented from the viewpoint of a virtual camera for display, and an output unit that outputs data of the composite image as a display image.

[0008] Another aspect of the present invention relates to an image display method, which includes the steps of acquiring data of an image captured by a camera, generating an intermediate image in which a virtual object arranged in a three-dimensional space to be displayed is represented from the viewpoint of the camera, generating a composite image in which the intermediate image and the captured image are represented from the viewpoint of a virtual camera for display, and outputting data of the composite image as a display image.

[0009] Any combination of the above components, and any transformation of the present invention into a method, device, system, computer program, data structure, recording medium, etc., are also effective as aspects of the present invention. Effect of the Invention

[0010] According to the present invention, CG and a photographed image can be synthesized with high accuracy and with little load. [Brief description of the drawings]

[0011] [Figure 1] 1 is a diagram showing an example of the appearance of a head mounted display according to an embodiment of the present invention; [Diagram 2] 1 is a diagram illustrating an example of a configuration of an image display system according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram illustrating a data path in the image display system according to the present embodiment. [Figure 4] 2 is a diagram for explaining the relationship between a three-dimensional space that forms the display world of the head mounted display in the present embodiment and a display image generated from a captured image. FIG. [Diagram 5] 1A and 1B are diagrams for explaining differences between a see-through image and the real world that may occur in the present embodiment. [Figure 6] 1A to 1C are diagrams for explaining the principle of positional deviation occurring when CG is combined with a see-through image in the present embodiment. [Figure 7] 1A to 1C are diagrams for explaining a method for matching CG to an image of a real object in the present embodiment. [Figure 8] 1 is a diagram showing an internal circuit configuration of a content processing device according to an embodiment of the present invention. [Figure 9] FIG. 2 is a diagram showing an internal circuit configuration of a head mounted display according to the present embodiment. [Figure 10] 1 is a diagram showing a functional block configuration of a content processing device according to an embodiment of the present invention; [Figure 11] 1 is a diagram illustrating an example of a virtual object to be displayed in the present embodiment. [Figure 12] 10 is a diagram illustrating a process procedure and data transition in which a content processing device outputs a composite image in the present embodiment. FIG. [Figure 13] 13A to 13C are diagrams illustrating another example of the processing procedure and data transition in which the content processing device outputs a composite image in the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] 1 shows an example of the appearance of a head mounted display 100. In this example, the head mounted display 100 is composed of an output mechanism unit 102 and a wearing mechanism unit 104. The wearing mechanism unit 104 includes a wearing band 106 that goes around the head when worn by the user, thereby fixing the device in place. The output mechanism unit 102 includes a housing 108 shaped to cover the left and right eyes when the user wears the head mounted display 100, and is provided with a display panel inside so as to face the eyes when worn.

[0013] The housing 108 further includes an eyepiece lens that is positioned between the display panel and the user's eyes when the head mounted display 100 is worn, and that magnifies and displays an image. The head mounted display 100 may further include speakers or earphones at positions corresponding to the user's ears when worn. The head mounted display 100 also includes a motion sensor that detects the translational and rotational movements of the head of the user wearing the head mounted display 100, and further the position and posture at each time.

[0014] The head mounted display 100 further includes a stereo camera 110 on the front surface of the housing 108, which captures images of the real space from left and right viewpoints. In this embodiment, a mode is provided in which the moving images captured by the stereo camera 110 are displayed with little delay, so that the real space in the direction in which the user faces can be seen as it is. Hereinafter, such a mode is called a "see-through mode." For example, the head mounted display 100 automatically switches to the see-through mode during a period in which the image of the content is not displayed.

[0015] This allows the user to check the surrounding situation before the start of content, after the content has ended, and when the content is interrupted, without removing the head mounted display 100. In addition, the see-through mode may be started when the user explicitly performs an operation, or may be started or ended depending on the situation, such as when the play area is set or when the user deviates from the play area.

[0016] Here, the play area is a range in the real world in which a user viewing the virtual world through the head mounted display 100 can move around, and is, for example, a range in which safe movement is guaranteed without colliding with surrounding objects. In the illustrated example, the stereo camera 110 is provided below the front surface of the housing 108, but the location is not particularly limited. Also, a camera other than the stereo camera 110 may be provided.

[0017] Images captured by the stereo camera 110 can also be used as content images. For example, AR or MR can be realized by synthesizing a virtual object with a captured image and displaying it with a position, posture, and movement that matches the real object in the field of view of the camera. In addition, regardless of whether the captured image is included in the display, the captured image can be analyzed and the results can be used to determine the position, posture, and movement of the object to be drawn.

[0018] For example, by performing stereo matching on the captured images, corresponding points of the image of the subject may be extracted, and the distance to the subject may be obtained by the principle of triangulation. Alternatively, the position and orientation of the head mounted display 100 and, in turn, the user's head relative to the surrounding space may be obtained by using a well-known technique such as Visual SLAM (Simultaneous Localization and Mapping). Visual SLAM is a technique for acquiring the three-dimensional position coordinates of feature points on the surface of an object based on corresponding points extracted from stereo images, and for tracking the feature points in frames in chronological order, thereby acquiring the position and orientation of the stereo camera 110 and the environmental map in parallel.

[0019] 2 shows a configuration example of an image display system according to the present embodiment. In the image display system 10, the head mounted display 100 is connected to a content processing device 200 via an interface for connecting peripheral devices, such as wireless communication or USB Type-C. The content processing device 200 may further be connected to a server via a network. In this case, the server may provide the content processing device 200 with an online application, such as a game in which multiple users can participate via the network.

[0020] The content processing device 200 is basically an information processing device that processes content to generate a display image and transmits it to the head mounted display 100 to display it. Typically, the content processing device 200 identifies the position of the viewpoint and the direction of the line of sight based on the position and posture of the head of a user wearing the head mounted display 100, and generates a display image in a corresponding field of view. For example, the content processing device 200 generates an image representing a virtual world in which the game is set, while progressing through an electronic game, to realize VR (Virtual Reality).

[0021] In this embodiment, the content to be processed by the content processing device 200 is not particularly limited, and may be AR or MR as described above, or may be content such as a movie whose display image is produced in advance.

[0022] 3 is a schematic diagram showing a data path in the image display system 10 according to the present embodiment. As described above, the head mounted display 100 includes the stereo camera 110 and the display panel 122. The display panel 122 is a panel having a general display mechanism such as a liquid crystal display or an organic EL display. In the present embodiment, the display panel 122 displays images for the left and right eyes that constitute frames of a moving image in left and right areas directly facing the left and right eyes of the user, respectively.

[0023] By making the left eye image and the right eye image into stereo images having a parallax corresponding to the distance between the eyes, the displayed object can be made to look three-dimensional. The display panel 122 may be configured with two panels, a panel for the left eye and a panel for the right eye, arranged side by side, or may be a single panel that displays an image in which the image for the left eye and the image for the right eye are connected side by side.

[0024] The head mounted display 100 further includes an image processing integrated circuit 120. The image processing integrated circuit 120 is, for example, a system-on-chip equipped with various functional modules including a CPU. In addition, the head mounted display 100 may include motion sensors such as a gyro sensor, an acceleration sensor, and an angular acceleration sensor as described above, a main memory such as a dynamic random access memory (DRAM), an audio circuit that allows the user to hear audio, a peripheral device interface circuit for connecting peripheral devices, and the like, but these are not shown in the figure.

[0025] In the figure, arrows indicate two data paths in the case where an image captured by the stereo camera 110 is included in the display. When realizing AR or MR, generally, the image captured by the stereo camera 110 is taken into an entity that processes the content, where it is combined with a virtual object to generate a display image. Since the entity that processes the content in the illustrated image display system 10 is the content processing device 200, as shown by arrow B, the image captured by the stereo camera 110 is once transmitted to the content processing device 200 via the image processing integrated circuit 120.

[0026] The virtual object is then composited and returned to the head mounted display 100, and displayed on the display panel 122. On the other hand, in the see-through mode, as shown by the arrow A, the image captured by the stereo camera 110 can be corrected by the image processing integrated circuit 120 to an image suitable for display, and then displayed on the display panel 122. According to the path of the arrow A, the data transmission path is significantly shorter than that of the path of the arrow B, so that the time from capturing an image to displaying it can be shortened, and the power consumption required for transmission can be reduced.

[0027] However, the data path in the see-through mode in this embodiment is not limited to the path of arrow A. In other words, the path of arrow B may be adopted, and the image captured by the stereo camera 110 may be temporarily transmitted to the content processing device 200. Then, the image may be corrected as a display image on the content processing device 200 side, and returned to the head mounted display 100 for display.

[0028] In any case, in this embodiment, preferably, the time until display is minimized by sequentially pipeline processing images captured by the stereo camera 110 in units smaller than one frame, such as row units. This reduces the possibility that the image is displayed with a delay in response to head movement, causing the user to feel uncomfortable or get motion sickness.

[0029] FIG. 4 is a diagram for explaining the relationship between the three-dimensional space forming the display world of the head mounted display 100 and the display image generated from the captured image. In the following description, the captured image converted into the display image is called a see-through image regardless of whether it is in see-through mode or not. The upper part of the figure shows a bird's-eye view of the virtual three-dimensional space (hereinafter called the display world) configured when the display image is generated. The virtual cameras 260a and 260b are virtual rendering cameras for generating the display image, and correspond to the left and right viewpoints of the user. The upper direction of the figure represents the depth direction (the distance from the virtual cameras 260a and 260b).

[0030] The see-through images 268a and 268b correspond to images captured by the stereo camera 110 of the interior of the room in front of the head mounted display 100, and show one frame of display images for the left and right eyes. Naturally, if the user changes the direction of the face, the field of view of the see-through images 268a and 268b also changes. To generate the see-through images 268a and 268b, the head mounted display 100 or the content processing device 200, for example, places the captured image 264 at a predetermined distance Di in the display world.

[0031] More specifically, the head mounted display 100 displays the captured images 264 of the left and right viewpoints captured by the stereo camera 110 on the inner surface of a sphere of radius Di centered on the virtual cameras 260a and 260b, respectively. The head mounted display 100 then generates see-through images 268a and 268b for the left and right eyes by drawing images obtained by viewing the captured images 264 from the virtual cameras 260a and 264b.

[0032] As a result, the image 264 captured by the stereo camera 110 is converted into an image from the viewpoint of the user viewing the displayed world. The same image of the subject appears shifted to the right in the see-through image 268a for the left eye, and shifted to the left in the see-through image 268b for the right eye. Since the images captured from the left and right viewpoints are originally captured with parallax, the images of the subject also appear with various amounts of deviation in the see-through images 268a and 268b depending on their actual positions (distances). This allows the user to perceive a sense of distance from the image of the subject.

[0033] In this way, if the photographed image 264 is displayed on a uniform virtual surface and the state of the photographed image 264 viewed from a viewpoint corresponding to the user is used as the display image, the photographed image can be displayed with a sense of depth without constructing a three-dimensional virtual world that accurately traces the arrangement and structure of the subject. Also, if the surface that displays the photographed image 264 (hereinafter referred to as the projection surface) is a sphere that maintains a predetermined distance from the virtual camera 260, the image of an object existing within an expected range can be displayed with uniform quality regardless of the direction. As a result, it is possible to achieve both low latency and a sense of realism with a small processing load.

[0034] On the other hand, compared to the state of directly viewing the real world, the image of the real object by the display method shown in the figure may have some difference. The difference is hard to notice when only the see-through image is displayed, but when CG is synthesized, it is easy to become apparent as a positional deviation with the CG. The cause of this positional deviation is that CG generally represents the appearance of a three-dimensional model of a virtual object as seen from the user's viewpoint, while the see-through image is originally data obtained separately as a two-dimensional photographed image. Therefore, in this embodiment, a synthetic image with little positional deviation is displayed by drawing the CG assuming the position of the image of the real object in the see-through image.

[0035] FIG. 5 is a diagram for explaining a difference between the see-through image and the real world that may occur in this embodiment. This figure shows the three-dimensional space of the display world shown in the upper part of FIG. 4 as seen from the side, and shows one of the left and right virtual cameras, virtual camera 260a, and the corresponding camera of stereo camera 110. As described above, the see-through image represents the image captured by stereo camera 110 projected onto projection surface 272 and viewed from virtual camera 260a. Projection surface 272 is, for example, the inner surface of a sphere with a radius of 2 m centered on virtual camera 260a. However, the shape and size of the projection surface are not limited to this.

[0036] The virtual camera 260a and the stereo camera 110 are linked to the movement of the head mounted display 100, and further to the movement of the user's head. For example, when a rectangular parallelepiped real object 276 enters the field of view of the stereo camera 110, its image is projected on the projection surface 272 near a position 278 where a line of sight 280 from the stereo camera 110 to the real object 276 intersects. In a see-through image viewed from the virtual camera 260a, the real object 276, which should actually be in the direction of line of sight 282, is displayed in the direction of line of sight 284. As a result, the real object 276 appears to the user to be present at a distance D in front (real object 286 on display).

[0037] Fig. 6 is a diagram for explaining the principle of positional deviation occurring when compositing CG with a see-through image. This diagram assumes that a virtual object 290 is expressed in CG so as to exist on a real object 276 in the environment shown in Fig. 5. In this case, generally, the three-dimensional position coordinates of the real object 276 are first obtained, and the virtual object 290 in the display world is positioned so as to correspond to the coordinates.

[0038] Then, the state of virtual object 290 viewed from virtual camera 260a is rendered as a CG image and composited with the see-through image. According to this procedure, the virtual object 290 on the display is naturally expressed as existing in the direction of line of sight 292 from virtual camera 260a to virtual object 290. On the other hand, as described with reference to Fig. 5, real object 276 is expressed as real object 286 on the display existing at distance D in front, so that the two appear to be misaligned to the user.

[0039] This phenomenon occurs due to the difference between the optical centers and the optical axis directions of the stereo camera 110 and the virtual camera 260a. In other words, the real object 276 is projected onto the screen coordinate system of the virtual camera 260a via the screen coordinate system corresponding to the imaging surface of the stereo camera 110 and the projection surface 272, whereas the virtual object 290 is directly projected onto the screen coordinate system of the virtual camera 260a, which causes a positional shift between the two. Therefore, in this embodiment, a process is incorporated in which the virtual object 290 is once projected onto the screen coordinate system of the stereo camera 110 or onto the projection surface 272, thereby matching its image (CG) with the image of the real object 276.

[0040] Fig. 7 is a diagram for explaining a method of matching CG with an image of a real object. In this case, as in the case of Fig. 6, the three-dimensional position coordinates of the real object 276 are obtained, and the virtual object 290 is positioned so as to correspond to them. On the other hand, in this embodiment, an intermediate image of the virtual object 290 is generated so as to follow the projection through which the real object 276 passes before being displayed as a see-through image.

[0041] Specifically, the virtual object 290 is projected onto a screen coordinate system 298 of the stereo camera 110, so that the state of the virtual object 290 as seen from the stereo camera 110 is displayed as an intermediate image. Alternatively, an image of the virtual object 290 as seen from the stereo camera 110 projected onto a projection surface 272 may be directly displayed near a position 299 as an intermediate image. In any case, according to these intermediate images, the virtual object 290 is displayed in the direction of a line of sight 294 as seen from the stereo camera 110.

[0042] In other words, since the viewpoint is unified with that of the photographed image, the remaining processing for generating a see-through image is performed thereafter, and by compositing the two at any stage, an image without positional deviation between the CG and real object images can be displayed. In this case, the virtual object 290 is displayed in the direction of the line of sight 296 from the virtual camera 260a. In other words, as in the case of Fig. 5, the virtual object 290 appears to the user to exist at a distance D in front (displayed virtual object 297), but since the positional deviation with the displayed real object 286 is eliminated, the user is less likely to notice, and it is possible to make it appear as if a highly accurate composite image is being displayed overall.

[0043] 8 shows the internal circuit configuration of the content processing device 200. The content processing device 200 includes a CPU (Central Processing Unit) 222, a GPU (Graphics Processing Unit) 224, and a main memory 226. These components are connected to each other via a bus 230. An input / output interface 228 is further connected to the bus 230. A communication unit 232, a storage unit 234, an output unit 236, an input unit 238, and a recording medium drive unit 240 are connected to the input / output interface 228.

[0044] The communication unit 232 includes a peripheral device interface such as USB or IEEE1394, and a network interface such as a wired LAN or wireless LAN. The storage unit 234 includes a hard disk drive, a non-volatile memory, and the like. The output unit 236 outputs data to the head mounted display 100. The input unit 238 accepts data input from the head mounted display 100, and also accepts data input from a controller (not shown). The recording medium drive unit 240 drives a removable recording medium such as a magnetic disk, an optical disk, or a semiconductor memory.

[0045] The CPU 222 executes an operating system stored in the storage unit 234 to control the entire content processing device 200. The CPU 222 also executes various programs (e.g., VR game applications, etc.) that are read from the storage unit 234 or a removable recording medium and loaded into the main memory 226, or that are downloaded via the communication unit 232. The GPU 224 has a geometry engine function and a rendering processor function, performs drawing processing in accordance with drawing commands from the CPU 222, and outputs the drawing results to the output unit 236. The main memory 226 is composed of a RAM (Random Access Memory), and stores programs and data necessary for processing.

[0046] 9 shows the internal circuit configuration of the head mounted display 100. The head mounted display 100 includes a CPU 136, a GPU 138, a main memory 140, and a display unit 142. These units are connected to each other via a bus 152. An audio output unit 144, a communication unit 146, a motion sensor 148, a stereo camera 110, and a storage unit 150 are further connected to the bus 152. The configuration of the bus 152 is not limited, and may be a configuration in which a plurality of buses are connected by an interface, for example.

[0047] The CPU 136 executes an operating system stored in the storage unit 150 to control the entire head mounted display 100. The CPU 136 also executes various programs that are read from the storage unit 150 and loaded into the main memory 140, or that are downloaded via the communication unit 146. The GPU 138 draws and corrects images according to drawing commands from the CPU 136. The main memory 140 is configured from a RAM, and stores programs and data necessary for processing.

[0048] 3, and displays an image in front of the eyes of a user wearing the head mounted display 100. The audio output unit 144 is composed of speakers or earphones provided at positions corresponding to the ears of the user when the head mounted display 100 is worn, and allows the user to hear audio.

[0049] The communication unit 146 is an interface for transmitting and receiving data to and from the content processing device 200, and realizes communication by known wireless communication technology such as Bluetooth (registered trademark) or wired communication technology. The motion sensor 148 includes a gyro sensor, an acceleration sensor, an angular acceleration sensor, etc., and acquires the tilt, acceleration, angular velocity, etc. of the head mounted display 100. The stereo camera 110 is a pair of video cameras that capture the surrounding real space from left and right viewpoints, as shown in Fig. 1. The memory unit 150 is composed of storage such as a ROM (Read Only Memory).

[0050] Fig. 10 shows the configuration of functional blocks of the content processing device 200 in this embodiment. The illustrated functional blocks can be realized in hardware by the circuit configuration shown in Fig. 8, and in software by programs that perform various functions such as a data input function, a data holding function, an image processing function, and a communication function, loaded from the storage unit 234 to the main memory 226. Therefore, it will be understood by those skilled in the art that these functional blocks can be realized in various forms by hardware alone, software alone, or a combination thereof, and are not limited to any one of them.

[0051] Furthermore, the content processing device 200 may have the functions of processing various electronic contents and communicating with a server as described above, but the figure shows a functional configuration of synthesizing CG with a see-through image and displaying it on the head mounted display 100. From this point of view, the content processing device 200 may be a display image generating device. Note that some of the functional blocks shown in the figure may be provided in the head mounted display 100.

[0052] The content processing device 200 includes a data acquisition unit 70 that acquires various data from the head mounted display 100, a display image generation unit 76 that generates data for a display image, and an output unit 78 that outputs the data for the display image. The content processing device 200 further includes an object surface detection unit 80 that detects the surface of a real object, an object surface data storage unit 82 that stores data for the object surface, an object placement unit 84 that places a virtual object in the display world, an object data storage unit 86 that stores data for the virtual objects, and an intermediate image generation unit 90 that generates an intermediate image of the virtual object.

[0053] The data acquisition unit 70 acquires, at a predetermined rate, various types of data that are continuously acquired by the head mounted display 100. In detail, the data acquisition unit 70 includes a captured image acquisition unit 72 and a sensor data acquisition unit 74. The captured image acquisition unit 72 acquires data of images captured by the stereo camera 110 from the head mounted display 100 at a predetermined frame rate.

[0054] The sensor data acquisition unit 74 acquires data of a motion sensor provided in the head mounted display 100 at a predetermined rate. The sensor data may be a measurement value such as acceleration or angular acceleration, or may be data on translational motion or rotational motion of the head mounted display 100 derived using the sensor data, and further on the position and orientation at each time. In the former case, the sensor data acquisition unit 74 derives the position and orientation of the head mounted display 100 at a predetermined rate using the acquired measurement value.

[0055] The object surface detection unit 80 detects the surface of a real object around the user in the real world. For example, the object surface detection unit 80 generates data of an environment map that represents the distribution of feature points on the object surface in a three-dimensional space. In this case, the object surface detection unit 80 sequentially acquires captured image data from the captured image acquisition unit 72, and executes the above-mentioned Visual SLAM to generate data of the environment map. However, the detection method performed by the object surface detection unit 80 and the expression format of the detection result are not particularly limited. The object surface data storage unit 82 stores data indicating the detection result by the object surface detection unit 80, for example, data of the environment map.

[0056] The object data storage unit 86 stores the arrangement rules of the virtual objects to be composited with the see-through image and the data of the three-dimensional model to be expressed by CG. The object arrangement unit 84 arranges the virtual objects in the three-dimensional space of the display world based on the information stored in the object data storage unit 86. When expressing the virtual objects according to the position and movement of the real objects as shown in Fig. 7, the object arrangement unit 84 acquires the three-dimensional position information of the object surface such as the environmental map from the object surface data storage unit 82, and determines the three-dimensional position and orientation of the virtual object corresponding to the information.

[0057] The intermediate image generating unit 90 generates an intermediate image in which the viewpoint for a virtual object arranged in the three-dimensional display world is aligned with the viewpoint for a real object shown in the captured image. The display image generating unit 76 generates a display image in which the see-through image is combined with CG using the intermediate image and the captured image. The intermediate image generating unit 90 and the display image generating unit 76 cooperate to generate a display image in the following two ways, for example.

[0058] (Step 1) The intermediate image generating unit 90 generates an intermediate image by drawing CG in the screen coordinate system of the stereo camera 110. As a result, the viewpoint for the captured image and the viewpoint for the virtual object are already aligned, so the display image generating unit 76 can generate an image without misalignment between the CG and the image of the real object by synthesizing them. Then, the display image generating unit 76 projects the synthesized image onto a projection surface (for example, the projection surface 272 in FIG. 7) in the same way as when generating a see-through image, and generates a display image by expressing the state as seen from the virtual camera 260.

[0059] (Step 2) The intermediate image generating unit 90 renders (projects) an image of a virtual object as seen by the stereo camera 110 onto a projection surface (e.g., projection surface 272 in FIG. 7) onto which the captured image is projected when generating a see-through image, to generate an intermediate image. That is, the intermediate image generating unit 90 renders a CG in the same state as the captured image projected onto the projection surface 272. In this case, the display image generating unit 76 generates an image of the intermediate image as seen from the virtual camera 260, and an image of the captured image projected onto the projection surface 272 as seen from the virtual camera 260, and then synthesizes the two to generate a display image.

[0060] The difference between Procedure 1 and Procedure 2 is whether the synthesis process is performed before or after projection onto the projection surface. In the case of Procedure 1, by synthesizing the CG with the captured image in accordance with the viewpoint of the stereo camera 110, the subsequent process becomes the same as the process of generating a see-through image from the captured image. In this case, by first drawing and synthesizing the CG in accordance with the viewpoint of the stereo camera 110, it is possible to ultimately generate a natural display image regardless of the density of the polygons.

[0061] In the case of procedure 2, the same process as that for generating a see-through image from a photographed image is performed separately for the CG and the photographed image, and then the two are synthesized. Note that the CG can be drawn on the projection surface by a well-known projective transformation, without first being drawn on the screen coordinate system of the stereo camera 110. In other words, in this case, the CG as seen from the virtual camera 260 can be drawn directly, which can speed up the processing.

[0062] Either procedure can ultimately generate a display image with no positional deviation between the captured image of the real object and the CG. The position of the viewpoint and the direction of the line of sight of the stereo camera 110, the position and orientation of the projection surface, and the position and orientation of the virtual camera 260 used by the intermediate image generating unit 90 and the display image generating unit 76 when generating the respective images depend on the movement of the head mounted display 100 and, ultimately, the user's head. Therefore, the intermediate image generating unit 90 and the display image generating unit 76 determine these parameters at a predetermined rate based on the data acquired by the data acquiring unit 70.

[0063] In either procedure, the intermediate image generating unit 90 is not limited to actually drawing CG as an intermediate image, but may only generate information that determines the position and posture of the image. For example, the intermediate image generating unit 90 may represent only vertex information of the CG on an image plane to create an intermediate image. Here, the vertex information may be data used in general CG drawing, such as position coordinates, normal vectors, colors, and texture coordinates. In this case, the display image generating unit 76 may draw the actual CG while appropriately converting the viewpoint based on the intermediate image, for example, at the stage of synthesis with the see-through image. This reduces the load required for generating the intermediate image, and allows the synthesis image to be generated more quickly.

[0064] The output unit 78 acquires data of the display image from the display image generating unit 76, performs necessary processing for display, and sequentially outputs the data to the head mounted display 100. The display image is composed of a pair of images for the left eye and the right eye. The output unit 78 may correct the display image in a direction to cancel distortion aberration and chromatic aberration so that an undistorted image is viewed when viewed through an eyepiece. The output unit 78 may also perform various data conversions corresponding to the display panel of the head mounted display 100.

[0065] FIG. 11 illustrates an example of a virtual object to be displayed in this embodiment. In this example, a play area object is shown as the virtual object, which is displayed when the user sets the play area. The play area object 60 includes a floor portion 62 and a boundary portion 64. The floor portion 62 represents the range of the play area on the floor. The boundary portion 64 represents the boundary surface of the play area, and is formed, for example, by a surface that intersects perpendicularly with the floor. The floor portion 62 and the boundary portion 64 are represented, for example, as a translucent lattice-shaped object.

[0066] For example, the object placement unit 84 identifies the position and size of the floor surface based on data representing the surface structure of objects around the user detected by the object surface detection unit 80, and then determines the position and shape of the play area in the three-dimensional display world accordingly. By displaying the image of the play area thus determined by compositing it with a see-through image, the user can easily grasp the range of the play area in the real world and adjust the play area as appropriate.

[0067] However, for the reasons described above, if the image of the play area and the image of the real object are misaligned on the displayed image, for example, the floor surface portion 62 displayed by CG may appear to be separated from the image of the actual floor surface, which may hinder the understanding and adjustment of the play area. By using the above-mentioned procedure 1 or procedure 2, such problems are less likely to occur.

[0068] 12 illustrates an example of a process procedure and data transition when the content processing device 200 outputs a composite image. The figure assumes the above-mentioned procedure 1. First, the object placement unit 84 of the content processing device 200 places a three-dimensional model of a virtual object in the three-dimensional space of the display world as required for setting a play area, executing AR or MR, etc. At this time, the object placement unit 84 determines the three-dimensional coordinates 300 of the virtual object at a corresponding position based on the three-dimensional coordinates of the real object stored in the object surface data storage unit 82.

[0069] Next, the intermediate image generating unit 90 renders an image 302 of the virtual object, i.e., CG, as an intermediate image in the screen coordinate system of the stereo camera 110 (S10). Meanwhile, the display image generating unit 76 acquires data of an image 304 captured by the stereo camera 110 from the captured image acquiring unit 72. Naturally, this captured image 304 represents a state in which the real object is projected onto the screen coordinate system of the stereo camera 110.

[0070] The display image generating unit 76 generates a composite image 306 in the screen coordinate system of the stereo camera by combining the image 302 of the virtual object and the captured image 304 (S12). Since the composite image shows the virtual object and the real object as viewed from the same stereo camera 110, no positional deviation occurs between them. Next, the display image generating unit 76 generates a composite image 308 by projecting the composite image 306 onto a predetermined projection surface (S14).

[0071] Then, the display image generation unit 76 draws a composite image 310 obtained by projecting the composite image 308 on the projection surface onto the screen coordinate system of the virtual camera for display, i.e., onto the display image plane (S16). The display image generation unit 76 outputs the composite image 310 to the output unit 78 as a display image. As described above, the output unit 78 performs corrections on the display image to impart distortion according to the eyepiece lens of the head mounted display 100, and outputs the display image to the head mounted display 100.

[0072] Fig. 13 shows another example of the process procedure and data transition in which the content processing device 200 outputs a composite image. This figure assumes the above-mentioned procedure 2. First, the object placement unit 84 of the content processing device 200 determines the three-dimensional coordinates 320 of a virtual object at a corresponding position based on the three-dimensional coordinates of a real object, as in the example of Fig. 11. Next, the intermediate image generation unit 90 draws, as an intermediate image, an image 322 of the virtual object, that is, CG, which represents the state in which the virtual object is projected onto a predetermined projection surface (S20).

[0073] 7, the intermediate image generation unit 90 projects an image of the virtual object 290 seen from the stereo camera 110 onto the projection plane 272, thereby substantially aligning it with the captured image projected onto the same projection plane 272. The display image generation unit 76 draws an image 324 of the virtual object obtained by projecting an image 322 of the virtual object on the projection plane onto the screen coordinate system of the virtual camera for display, i.e., the display image plane (S22).

[0074] Meanwhile, the display image generating unit 76 acquires the captured image 326 captured by the stereo camera 110 from the captured image acquiring unit 72, and generates a captured image 328 by projecting the captured image 326 onto a predetermined projection surface (S24). The display image generating unit 76 then renders a captured image 330 by projecting the captured image 328 on the projection surface onto the screen coordinate system of a virtual camera for display (S26). The display image generating unit 76 then composites the image 324 of the virtual object with the captured image 330, and generates a composite image 332 in the screen coordinate system of the virtual camera (S28).

[0075] Note that the process of S26 for drawing the captured image 330 on the screen coordinate system of the virtual camera can actually be performed together with the synthesis process of S28 by directly drawing the captured image on the image plane on which the image 324 of the virtual object is displayed. The display image generation unit 76 outputs the synthesized image 332 to the output unit 78 as a display image. In this case as well, the output unit 78 appropriately corrects the display image and outputs it to the head mounted display 100.

[0076] According to the embodiment described above, when an image captured by a camera equipped in a head mounted display is synthesized and displayed with a CG of a three-dimensional virtual object, an intermediate image showing the CG from the camera's viewpoint is first generated, and then a synthetic image from the viewpoint for display is generated. This makes it possible to generate a synthetic image with no positional deviation between the CG and the image of the real object without going through a high-load process such as strictly associating the captured image with a three-dimensional real space structure. As a result, it is possible to continue to display a highly accurate synthetic image at high speed regardless of the user's movement.

[0077] The present invention has been described above based on the embodiments. The embodiments are merely examples, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each treatment process, and that such modifications are also within the scope of the present invention.

[0078] For example, the subject to be synthesized with CG is not limited to the image captured by the stereo camera equipped in the head mounted display. For example, even if the image is captured by a single-eye camera or a compound-eye camera with three or more eyes, a synthesized image without positional deviation between the captured image and the CG can be generated with a low processing load by the same processing as in the present embodiment. In addition, as long as the viewpoints of the captured image and the displayed image are different in a display system, the display device is not limited to the head mounted display and can be applied. [Explanation of symbols]

[0079] 10 image display system, 70 data acquisition unit, 72 captured image acquisition unit, 74 sensor data acquisition unit, 76 display image generation unit, 78 output unit, 80 object surface detection unit, 82 object surface data storage unit, 84 object placement unit, 86 object data storage unit, 90 intermediate image generation unit, 100 head mounted display, 110 stereo camera, 120 image processing integrated circuit, 122 display panel, 136 CPU, 138 GPU, 200 content processing device.

Claims

1. a captured image acquisition unit that acquires data of an image captured by a camera; an intermediate image generating unit that generates an intermediate image in which a virtual object arranged in a three-dimensional space to be displayed is represented from the viewpoint of the camera; a display image generating unit that generates a composite image in which the intermediate image and the captured image are represented from a viewpoint of a virtual camera for display; an output unit that outputs the composite image data as a display image; A display image generating device comprising:

2. The captured image acquisition unit acquires an image captured by a camera provided in a head mounted display, The display image generating device according to claim 1 , wherein the output unit outputs data of the composite image to the head mounted display.

3. the intermediate image generation unit generates the intermediate image representing a state in which the virtual object is projected onto a screen coordinate system of the camera; The display image generating device according to claim 1 or 2, characterized in that the display image generating unit generates the composite image by combining the captured image and the intermediate image in a screen coordinate system of the camera and then converting the combined image into an image viewed from the virtual camera.

4. The display image generating device according to claim 3, characterized in that the display image generating unit projects an image synthesized in a screen coordinate system of the camera onto a projection surface set in the three-dimensional space, and the image obtained as viewed from the virtual camera is regarded as the synthesized image.

5. the intermediate image generation unit generates the intermediate image representing a state in which an image of the virtual object seen by the camera is projected onto a projection plane set in the three-dimensional space; The display image generating device according to claim 1 or 2, characterized in that the display image generating unit generates the composite image by combining an image obtained by viewing the intermediate image from the virtual camera with an image obtained by viewing the captured image projected onto the projection surface from the virtual camera.

6. the intermediate image generation unit generates the intermediate image representing vertex information of the virtual object; 3. The display image generating device according to claim 1, wherein the display image generating unit uses the vertex information to draw an image of the virtual object in the composite image.

7. acquiring data of an image captured by a camera; generating an intermediate image showing a virtual object arranged in a three-dimensional space to be displayed from the camera as a viewpoint; generating a composite image in which the intermediate image and the captured image are represented from a viewpoint of a virtual camera for display; outputting the composite image data as a display image; 2. An image display method comprising:

8. A function to acquire data of images captured by the camera; A function of generating an intermediate image in which a virtual object arranged in a three-dimensional space to be displayed is represented from the viewpoint of the camera; a function of generating a composite image in which the intermediate image and the captured image are displayed from a viewpoint of a virtual camera for display; a function of outputting the composite image data as a display image; A computer program characterized by causing a computer to execute the above.