Image processing device, head-mounted display device, control method for image processing device, control method for head-mounted display device, and program

The head-mounted display device combines grayscale and color images to generate a display image that matches the actual view, addressing the cost and processing challenges of conventional devices by using lower-performance imaging units.

JP7555999B2Active Publication Date: 2024-09-25CANON KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022103268
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-09-25
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

Conventional head-mounted display devices provide users with a view that differs from the actual view due to the mismatch between the imaging unit and eye positions, requiring high-resolution color images from two imaging units, which increases device cost and processing load.

Method used

A head-mounted display device with a first imaging section for distance information, a second imaging section for color information, and a display section, combining grayscale and color images to generate a suitable display image, reducing the need for high-performance imaging units and processing.

Benefits of technology

The solution allows for a display image that closely resembles the actual view while minimizing the cost and processing load by using lower-performance imaging units and efficient image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007555999000001
    Figure 0007555999000001
  • Figure 0007555999000002
    Figure 0007555999000002
  • Figure 0007555999000003
    Figure 0007555999000003
Patent Text Reader

Abstract

To provide a technique for obtaining an image suitable as an image to be displayed on a head-mounted display device.SOLUTION: An image processing apparatus of the present invention is usable together with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit. The image processing apparatus is provided with first acquisition means for acquiring a first image acquired by imaging the subject by the first imaging unit, second acquisition means for acquiring a second image acquired by imaging the subject by the second imaging unit, and generation means for generating a display image to be displayed on the display unit based on the distance information corresponding to the first image and the second image.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 image processing device, a head-mounted display device, a control method for an image processing device, a control method for a head-mounted display device, and a program. [Background technology]

[0002] A video see-through display device has been proposed as a head-mounted display device (e.g., HMD (head mounted display)). A video see-through display device has an imaging section and a display section, and the imaging section captures the outside world (real space), and the display section displays the image (image of the outside world) obtained by the imaging section. Technology relating to a video see-through display device is disclosed in, for example, Patent Document 1. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2016-62593 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in a conventional head-mounted display device (video see-through method), an image different from the real image is provided to the user. For example, the position of the imaging unit is different from the position of the user's eyes, so an image different from the real image is provided to the user. In order to provide an image close to the real image to the user, it is also necessary to display a high-resolution color image. However, if a head-mounted display device is provided with two imaging units capable of obtaining high-resolution color images, one for obtaining an image to be shown to the right eye and the other for obtaining an image to be shown to the left eye, the price of the device will increase due to the price of the imaging units. Furthermore, since it becomes necessary to process two color images (high resolution) obtained by the two imaging units, the processing load increases, and expensive processors and memories are required.

[0005] An object of the present invention is to provide a technique for obtaining an image suitable for display on a head-mounted display device. [Means for solving the problem]

[0006] A first aspect of the present invention is an image processing device that can be used together with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, the first imaging unit being outside world a first acquisition means for acquiring a first image obtained by capturing an image of the second imaging unit; outside world a second acquisition means for acquiring a second image obtained by capturing an image of the first image; The above Distance To based on By synthesizing the first image, which is a grayscale image, and the second image, which is a color image, , displayed on the display unit Color images of the outside world and generating means for generating an image.

[0008] A third aspect of the present invention is a display device comprising the first imaging unit, the second imaging unit, the display unit, and the above-mentioned and an image processing device.

[0009] A fourth aspect of the present invention is a control method for an image processing device that can be used together with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, the first imaging unit being outside world a first acquisition step of acquiring a first image obtained by capturing the second image; outside world a second acquisition step of acquiring a second image obtained by capturing the first image; To based on By synthesizing the first image, which is a grayscale image, and the second image, which is a color image, , displayed on the display unit Color images of the outside world and generating an image.

[0011] A sixth aspect of the present invention is a program for causing a computer to execute each step of the above-mentioned control method. Effect of the Invention

[0012] According to the present invention, it is possible to obtain an image suitable for display on a head-mounted display device. [Brief description of the drawings]

[0013] [Figure 1] 1 is an external view of an HMD 100 according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the functional configuration of a CPU 106 according to the first embodiment. [Diagram 3] FIG. 2 is a diagram showing a state of coordinate projection according to the first embodiment. [Figure 4] FIG. 4 is a data flow diagram of a display image generating process according to the first embodiment. [Diagram 5] FIG. 11 is a block diagram showing the functional configuration of a CPU 106 according to the second embodiment. [Figure 6] FIG. 11 is a diagram showing image acquisition by a stereo camera according to a second embodiment; [Figure 7] 13 is a diagram showing the positional relationship between a display unit, an eye, and a subject according to a third embodiment. FIG. [Figure 8] FIG. 11 is a block diagram showing the functional configuration of a CPU 106 according to a third embodiment. [Figure 9] FIG. 11 is a data flow diagram of a display image generating process according to the third embodiment. [Figure 10] FIG. 13 is a diagram showing a situation where interpolation is required according to the fourth embodiment. [Figure 11] FIG. 13 is a diagram showing the configuration of a synthesis unit according to the fourth embodiment. [Figure 12] FIG. 13 is a diagram showing a situation where interpolation is required according to the fourth embodiment. [Figure 13] FIG. 13 is a diagram showing the configuration of a synthesis unit according to the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] <Embodiment 1> A first embodiment of the present invention will be described. In the first embodiment, an example in which the present invention is applied to an HMD (head mounted display) will be described, but the present invention can also be applied to other head mounted display devices. For example, a handheld display device that a user holds in his / her hands and wears (places) on the head is one type of head mounted display device, and the present invention can also be applied to a handheld display device. The present invention can also be applied to a head mounted display device in which a user views an image with both eyes, and a head mounted display device in which a user views an image with one eye. The present invention can also be applied to electronic devices other than the head mounted display device, so long as the electronic device can be used together with the head mounted display device. An image processing device to which the present invention is applied may be provided in the head mounted display device, or may be provided in an electronic device separate from the head mounted display device. For example, the present invention The invention is also applicable to a controller or a personal computer (PC) connected to the HMD by wire or wirelessly. The HMD according to the first embodiment is a video see-through type HMD, which displays an image of the outside world (real space) by synthesizing it with graphics (e.g., virtual objects) as necessary.

[0015] 1(A) and 1(B) are external views of an HMD 100 according to the first embodiment. FIG. 1(A) is a front perspective view of the HMD 100, and FIG. 1(B) is a rear perspective view of the HMD 100. As shown in FIG. 1(A), the HMD 100 is provided with a headband 110. A user brings the HMD 100 into contact with the eyes and fixes it to the head with the headband 110. The HMD 100 has a stereo camera 101, a monocular camera 102, a projection unit 103, a left display unit 104L, a right display unit 104R, a left eye image capturing unit 105L, and a right eye image capturing unit 105R. The HMD 100 has a CPU (Central Processing Unit) 106, a ROM (Read Only Memory) 107, and a RAM (Random Access Memory) 108 inside.

[0016] The stereo camera 101 is a camera (imaging device) that captures an external world to obtain distance information, and includes a left imaging section 101L and a right imaging section 101R. Each of the left imaging section 101L and the right imaging section 101R is, for example, a global shutter type imaging section. The monocular camera 102 is an imaging device (imaging section) that is oriented in the same direction as the stereo camera 101, and captures an external world. The monocular camera 102 is, for example, a rolling shutter type imaging section. From a certain viewpoint, the monocular camera 102 has higher performance than each of the left imaging section 101L and the right imaging section 101R. In the first embodiment, each of the left imaging section 101L and the right imaging section 101R is an imaging section that captures a grayscale image, and the monocular camera 102 is an imaging section that captures a color image. The projection unit 103 is oriented in the same direction as the stereo camera 101 and the monocular camera 102, and projects invisible light onto the imaging ranges of the stereo camera 101 and the monocular camera 102. Note that in the first embodiment, the projection unit 103 is not used (an example in which the projection unit 103 is used will be described in the second embodiment).

[0017] The left display unit 104L is disposed so as to face the left eye of the user wearing the HMD 100, and displays an image to be viewed by the left eye of the user. The right display unit 104R is disposed so as to face the right eye of the user wearing the HMD 100, and displays an image to be viewed by the right eye of the user. The left eye imaging unit 105L is disposed in association with the left display unit 104L, and images the left eye viewing the left display unit 104L. The right eye imaging unit 105R is disposed in association with the right display unit 104R, and images the right eye viewing the right display unit 104R. Note that in the first embodiment, the left eye imaging unit 105L and the right eye imaging unit 105R are not used (an example in which the left eye imaging unit 105L and the right eye imaging unit 105R are used will be described in the third embodiment).

[0018] The CPU 106 is an information processing device (image processing device) that controls the entire HMD 100. The ROM 107 stores various data (e.g., various programs and various parameters). The RAM 108 also stores various data. For example, the CPU 106 loads a program stored in the ROM 107 into the RAM 108 and executes it.

[0019] 2 is a block diagram showing the functional configuration of the CPU 106 according to embodiment 1. In embodiment 1, the CPU 106 has a depth map generating unit 201, a coordinate conversion unit 202, a synthesis unit 203, a position and orientation estimation unit 204, and a drawing unit 205.

[0020] The depth map generating unit 201 acquires two grayscale images having a parallax from the stereo camera 101 (a grayscale image acquired by the left imaging unit 101L and a grayscale image acquired by the right imaging unit 101R). The depth map generating unit 201 then generates a depth map (distance map, depth The depth map is information indicating the distribution of depth (distance) from the stereo camera 101 to the subject, and is, for example, an image having depth values ​​as pixel values. FIG. 3(A) shows an example of the depth distribution represented by the depth map. As shown in FIG. 3(A), the depth map represents the depth distribution of the range where the imaging range of the left imaging unit 101L and the imaging range of the right imaging unit 101R overlap.

[0021] Based on the depth map generated by the depth map generating unit 201, the coordinate conversion unit 202 converts the coordinates of the pixels of the grayscale image (left grayscale image) acquired by the left imaging unit 101L into the coordinates of the color image (captured color image) acquired by the monocular camera 102. This conversion can also be regarded as "projection (coordinate projection) of the coordinates of the left grayscale image onto the captured color image". This allows the coordinates of the left grayscale image to correspond to the coordinates of the captured color image. Similarly, the coordinate conversion unit 202 projects the coordinates of the grayscale image (right grayscale image) acquired by the right imaging unit 101R onto the captured color image. This allows the coordinates of the right grayscale image to correspond to the coordinates of the captured color image. This coordinate projection is shown in FIG. 3(A). FIG. 3(A) shows the coordinates of the right grayscale image projected onto the captured color image. The coordinates of the left grayscale image are similarly projected onto the captured color image.

[0022] Furthermore, the coordinate conversion unit 202 projects the coordinates of the left grayscale image onto an image (display image, left display image) to be displayed on the left display unit 104L based on the depth map. This allows the coordinates of the left grayscale image to correspond to the coordinates of the left display image. Similarly, the coordinate conversion unit 202 projects the coordinates of the right grayscale image onto an image (display image, right display image) to be displayed on the right display unit 104R. This allows the coordinates of the right grayscale image to correspond to the coordinates of the right display image. This coordinate projection is shown in FIG. 3(B). FIG. 3(B) shows the coordinates of the right grayscale image being projected onto the right display image. The coordinates of the left grayscale image are similarly projected onto the left display image.

[0023] In the first embodiment, a left display image is generated that represents the view of the subject from a position (predetermined position, virtual viewpoint) different from the position of the left imaging unit 101L and the position of the monocular camera 102. For example, a left display image is generated that represents the view of the subject from a position directly facing the left display unit 104L (position where the left eye is considered to be). Similarly, a right display image is generated that represents the view of the subject from a position (predetermined position, virtual viewpoint) different from the position of the right imaging unit 101R and the position of the monocular camera 102. For example, a right display image is generated that represents the view of the subject from a position directly facing the right display unit 104R (position where the right eye is considered to be). The virtual viewpoint may be fixed or may be changeable by the user.

[0024] Since the positional relationships between the stereo camera 101 (left imaging unit 101L and right imaging unit 101R), the monocular camera 102, the left display unit 104L, and the right display unit 104R are known, the above-mentioned processing (correspondence) is possible by using a depth map.

[0025] The synthesis unit 203 acquires grayscale images from the stereo camera 101, acquires captured color images from the monocular camera 102, and acquires the result of the above-mentioned correspondence from the coordinate conversion unit 202. Based on the result of the correspondence by the coordinate conversion unit 202, the synthesis unit 203 synthesizes a pixel value of a pixel of the left grayscale image with a pixel value of a pixel of the captured color image corresponding to the pixel of the left grayscale image. In the first embodiment, the synthesis unit 203 synthesizes a luminance value of the left grayscale image with a chromaticity value (a value indicating chromaticity (hue and saturation)) of the captured color image. Thereby, a pixel value of a pixel of the left display image corresponding to the pixel of the left grayscale image is determined, and a color image is generated as the left display image. Similarly, based on the result of the correspondence by the coordinate conversion unit 202, the synthesis unit 203 synthesizes a pixel value of a pixel of the right grayscale image with a pixel value of a pixel of the captured color image corresponding to the pixel of the right grayscale image. In the first embodiment, the synthesis unit 203 synthesizes the luminance value of the right grayscale image and the chromaticity value of the captured color image, thereby determining the pixel value of the pixel of the right display image corresponding to the pixel of the right grayscale image, and generating a color image as the right display image.

[0026] The position and orientation estimation unit 204 estimates at least one of the position and orientation of the HMD 100 based on the grayscale image acquired by the stereo camera 101. This process may be performed using various known techniques (e.g., SLAM (Simultaneous Localization and Multimedia)). and Mapping) can be used.

[0027] The drawing unit 205 draws (combines) a graphic (e.g., a virtual object) with the left display image as necessary and displays it on the left display unit 104L. Similarly, the drawing unit 205 draws a graphic with the right display image as necessary and displays it on the right display unit 104R. The graphic is combined based on the result of estimation by the position and orientation estimation unit 204, for example.

[0028] FIG. 4 is a data flow diagram of the display image generation process according to the first embodiment. Arrows indicate the flow of data. FIG. 4 distinguishes between pixel-by-pixel processing of the left grayscale image, pixel-by-pixel processing of the right grayscale image, pixel-by-pixel processing of the captured color image, pixel-by-pixel processing of the left display image, and pixel-by-pixel processing of the right display image. The display image generation process of FIG. 4 is realized by the CPU 106 expanding a program stored in the ROM 107 into the RAM 108 and executing it. For example, when the HMD 100 is started, the display image generation process of FIG. 4 starts.

[0029] In step S401, the depth map generating unit 201 acquires a left grayscale image (the luminance value of each pixel in the left grayscale image) and a right grayscale image (the luminance value of each pixel in the right grayscale image) from the stereo camera 101. Furthermore, the synthesizing unit 203 acquires a captured color image (the chromaticity value of each pixel in the captured color image) from the monocular camera 102.

[0030] In step S402, the depth map generating unit 201 determines a depth corresponding to a pixel of the left grayscale image based on the left grayscale image and the right grayscale image acquired in step S401. The depth corresponding to a pixel of the left grayscale image is determined for each pixel of the left grayscale image. This generates a left depth map indicating a depth for each pixel of the left grayscale image. Similarly, the depth map generating unit 201 determines a depth corresponding to a pixel of the right grayscale image based on the left grayscale image and the right grayscale image acquired in step S401. The depth corresponding to a pixel of the right grayscale image is determined for each pixel of the right grayscale image. This generates a right depth map indicating a depth for each pixel of the right grayscale image.

[0031] In step S403, the coordinate conversion unit 202 projects the coordinates of each pixel of the left grayscale image onto the captured color image based on the left depth map generated in step S402. This allows the coordinates of each pixel of the left grayscale image to correspond to the coordinates of the captured color image. Similarly, the coordinate conversion unit 202 projects the coordinates of each pixel of the right grayscale image onto the captured color image based on the right depth map generated in step S402. This allows the coordinates of each pixel of the right grayscale image to correspond to the coordinates of the captured color image.

[0032] In step S404, the synthesis unit 203 synthesizes the luminance value of a pixel in the left grayscale image with the chromaticity value of a pixel in the captured color image that corresponds to that pixel in the left grayscale image. This process is performed for each pixel of the left grayscale image based on the correspondence relationship obtained in step S403 (the correspondence relationship between the coordinates of the left grayscale image and the coordinates of the captured color image). Similarly, the synthesis unit 203 synthesizes the luminance value of a pixel in the right grayscale image with the chromaticity value of a pixel in the captured color image that corresponds to that pixel in the right grayscale image. This process is performed in the step S405. This is performed for each pixel of the right grayscale image based on the correspondence obtained in step S403 (the correspondence between the coordinates of the right grayscale image and the coordinates of the captured color image).

[0033] In step S405, the coordinate conversion unit 202 projects the coordinates of each pixel of the left grayscale image onto the left display image based on the left depth map generated in step S402. This allows the coordinates of each pixel of the left grayscale image to correspond to the coordinates of the left display image. Similarly, the coordinate conversion unit 202 projects the coordinates of each pixel of the right grayscale image onto the right display image based on the right depth map generated in step S402. This allows the coordinates of each pixel of the right grayscale image to correspond to the coordinates of the right display image.

[0034] In step S406, the synthesis unit 203 determines the pixel value (pixel value after synthesis) obtained in step S405 for a pixel of the left grayscale image corresponding to a pixel of the left display image as the pixel value of the pixel in the left display image. This process is performed for each pixel of the left display image based on the correspondence obtained in step S403 (correspondence between the coordinates of the left grayscale image and the coordinates of the left display image). Similarly, the synthesis unit 203 determines the pixel value (pixel value after synthesis) obtained in step S405 for a pixel of the right grayscale image corresponding to a pixel of the right display image as the pixel value of the pixel in the right display image. This process is performed for each pixel of the right display image based on the correspondence obtained in step S403 (correspondence between the coordinates of the right grayscale image and the coordinates of the right display image).

[0035] As described above, according to the first embodiment, by using distance information, it is possible to obtain a suitable display image that shows an appearance close to the actual appearance. For example, it is possible to obtain a display image that shows the appearance of the subject from the position where the user's eyes are thought to be. Furthermore, since the left imaging unit 101L and the right imaging unit 101R of the stereo camera 101 each use an imaging unit with lower performance than the monocular camera 102 in a certain respect, it is possible to suppress an increase in the processing load and the device price.

[0036] The imaging device for acquiring distance information is not limited to a stereo camera. For example, a ToF (Time of Flight) camera may be used as an imaging device (imaging unit) for acquiring distance information. In this case, the image captured by the ToF camera can be used as a depth map (distance information).

[0037] Although an example has been described in which two display images (left display image and right display image) corresponding to two images obtained by a stereo camera are generated separately, the present invention is not limited to this. For example, the left display image may be generated by the above method and used as the right display image as well. Also, only one of the left depth map and the right depth map may be generated, and the left display image and the right display image may be generated using the generated single depth map.

[0038] The imaging unit of the stereo camera does not have to be an imaging unit that obtains a grayscale image, and the monocular camera does not have to be an imaging unit that obtains a color image. For example, an imaging unit that obtains a color image may be used as each of the imaging unit of the stereo camera and the monocular camera. An imaging unit that obtains a color image may be used as the imaging unit of the stereo camera, and an imaging unit that obtains a grayscale image may be used as the monocular camera. The resolution of the image obtained by the monocular camera may be higher than the resolution of the image obtained by the imaging unit of the stereo camera. In that case, it is possible to generate a display image having a resolution higher than the resolution of the image obtained by the imaging unit of the stereo camera based on the above-mentioned correspondence of coordinates.

[0039] The method of combining pixel values ​​of the image obtained by the imaging unit of the stereo camera and pixel values ​​of the image obtained by the monocular camera is not limited to the above method. For example, the chromaticity value of the image obtained by the imaging unit of the stereo camera may be taken into consideration, or the image obtained by the monocular camera may be combined with the chromaticity value of the image obtained by the imaging unit of the stereo camera. The pixel values ​​of the image obtained by the monocular camera may be determined as the pixel values ​​of the display image.

[0040] The image captured by the stereo camera is an HDR (High Dynamic Range) image, and the image captured by the monocular camera is an SDR (Standard Dynamic Range) image. The image obtained by the imaging unit of the stereo camera may be an SDR image, the image obtained by the monocular camera may be an HDR image, and the displayed image may be an HDR image. If the image obtained by the imaging unit of the stereo camera is an HDR image, a depth map (distance information) can be obtained with stable accuracy. The image obtained by the imaging unit of the stereo camera may be an SDR image, the image obtained by the monocular camera may be an HDR image, and the displayed image may be an HDR image. By using an imaging unit that obtains an SDR image, the cost of the device can be reduced.

[0041] Although a position different from the position of the imaging unit of the stereo camera and the position of the monocular camera is set as the virtual viewpoint, this is not limited thereto. For example, the position of the imaging unit of the stereo camera may be set as the virtual viewpoint. If a high-resolution color image can be displayed, a view close to the real view can be provided to the user. Therefore, when a high-resolution grayscale image is obtained by the imaging unit of the stereo camera, an image obtained by coloring the grayscale image obtained by the imaging unit may be used as the display image. When a low-resolution color image is obtained by the imaging unit of the stereo camera, an image obtained by increasing the resolution of the color image obtained by the imaging unit may be used as the display image. When a low-resolution grayscale image is obtained by the imaging unit of the stereo camera, an image obtained by coloring and increasing the resolution of the grayscale image obtained by the imaging unit may be used as the display image.

[0042] <Embodiment 2> A description will be given of a second embodiment of the present invention. Note that in the following, a description of the same points as in the first embodiment (for example, the same configuration and processing as in the first embodiment) will be omitted, and only points different from the first embodiment will be described.

[0043] In general, when acquiring a depth map (distance information), a highly accurate depth (distance) cannot be obtained for a portion of a grayscale image acquired by a stereo camera that has no (few) features, for example, a portion with a uniform luminance value. Therefore, in the second embodiment, the projection unit 103 projects an invisible light pattern image (for example, an infrared dot pattern). The stereo camera 101 can detect invisible light, and the projected pattern image appears in the grayscale image acquired by the stereo camera 101. For example, a highly accurate depth map can be obtained by considering the position and shape of the pattern image that appears in the grayscale image. In the example of a dot pattern, a highly accurate depth map can be obtained by considering the arrangement and intervals of multiple dots in the dot pattern that appears in the grayscale image. The projected pattern image does not appear in the color image acquired by the monocular camera 102.

[0044] However, if a grayscale image containing a pattern image is used, the pattern image will also be reflected in the display image. Therefore, in the second embodiment, the projection unit 103 repeats projecting and not projecting the pattern image (with invisible light). The stereo camera 101 (each of the left imaging unit 101L and the right imaging unit 101R) repeatedly captures images to obtain a first grayscale image containing the pattern image and a second grayscale image not containing the pattern image. Then, the CPU 106 determines a depth map from the first grayscale image, and determines pixel values ​​of the display image by combining pixel values ​​of the second grayscale image and pixel values ​​of the captured color image based on the depth map.

[0045] 5 is a block diagram showing the functional configuration of the CPU 106 according to the second embodiment. 2, the CPU 106 includes a depth map generating unit 201 , a coordinate conversion unit 202 , a synthesis unit 203 , a position and orientation estimating unit 204 , a drawing unit 205 , and an image selecting unit 501 .

[0046] The image selection unit 501 repeatedly acquires a left grayscale image and a right grayscale image from the stereo camera 101. The image selection unit 501 outputs the left grayscale image and the right grayscale image, which are first grayscale images (grayscale images containing a pattern image), to the depth map generation unit 201. Then, the image selection unit 501 outputs the left grayscale image and the right grayscale image, which are second grayscale images (grayscale images not containing a pattern image), to the synthesis unit 203 and the position and orientation estimation unit 204.

[0047] For example, as shown in Fig. 6, in the stereo camera 101, a first grayscale image and a second grayscale image are alternately acquired as a left grayscale image. Therefore, the image selection unit 501 alternately acquires the first grayscale image and the second grayscale image as a left grayscale image from the stereo camera 101. Similarly, in the stereo camera 101, a first grayscale image and a second grayscale image are alternately acquired as a right grayscale image. Therefore, the image selection unit 501 alternately acquires the first grayscale image and the second grayscale image as a right grayscale image from the stereo camera 101.

[0048] Although an example in which one frame of a first grayscale image and one frame of a second grayscale image are alternately acquired has been described, the present invention is not limited to this. For example, acquisition of one frame of a first grayscale image and acquisition of multiple frames (e.g., two, three, or five frames) of second grayscale images may be alternated. Acquisition of multiple frames of first grayscale images and acquisition of one frame of second grayscale images may be alternated. Acquisition of multiple frames of first grayscale images and acquisition of multiple frames of second grayscale images may be alternated.

[0049] Increasing the frequency of acquiring the second grayscale image (grayscale image without a pattern image) also increases the frame rate of the display image. Therefore, when priority is given to smoothness of the display image, it is preferable to increase the frequency of acquiring the second grayscale image. Increasing the frequency of acquiring the second grayscale image decreases the frequency of acquiring the first grayscale image (grayscale image with a pattern image). However, since the depth map can be updated based on changes in the grayscale image without using the first grayscale image, there is no problem even if the frequency of acquiring the first grayscale image is low.

[0050] In the second embodiment, the frame rate of the display of the display image is lower than the frame rate of the imaging by the stereo camera 101 (each of the left imaging section 101L and the right imaging section 101R). For example, the display frame rate is 60 fps, 90 fps, or 120 fps, and the imaging frame rate is 90 fps, 120 fps, or 240 fps. The frame rate of the imaging by the monocular camera 102 may be matched to the frame rate of the display of the display image. Therefore, the stereo camera 101 (each of the left imaging section 101L and the right imaging section 101R) may capture images at a frame rate higher than that of the monocular camera 102.

[0051] As described above, according to the second embodiment, an image including invisible light is used to obtain (determine) distance information, and an image including no invisible light is used to determine pixel values ​​of a display image. This makes it possible to obtain highly accurate distance information while suppressing the inclusion of invisible light in the display image. As a result, a more suitable display image (a suitable display image that shows an appearance closer to the real appearance) can be obtained based on the highly accurate distance information.

[0052] The display modes that can be selectively set for the HMD 100 are the left display unit 104 The display mode may include a display mode in which an image of the outside world (real space) is displayed on each of the left and right display units 104L and 104R, and a display mode in which an image of the outside world is not displayed. The display mode in which an image of the outside world is displayed is, for example, an AR (Augmented Reality) mode. The display mode in which an image of the outside world is not displayed is, for example, a display mode in which an image of a virtual space is displayed on each of the left and right display units 104L and 104R. The display mode in which an image of a virtual space is displayed is, for example, a VR (Virtual Reality) mode.

[0053] The projection unit 103 may repeat projecting and not projecting invisible light when the AR mode is set, and may continue to project invisible light when the AR mode is not set (for example, when the VR mode is set). In this way, when the AR mode is not set, a highly accurate depth map (distance information) can be continuously acquired, and processing based on the depth map can be suitably performed.

[0054] When the AR mode is not set (for example, when the VR mode is set), the stereo camera 101 (each of the left imaging unit 101L and the right imaging unit 101R) may capture images at a frame rate lower than when the AR mode is set. For example, when the AR mode is not set, the stereo camera 101 may capture images so that the frequency of acquiring images that include invisible light is reduced. The stereo camera 101 may capture images so that only images that include invisible light are acquired. This can reduce the power consumption of the HMD 100.

[0055] <Embodiment 3> A third embodiment of the present invention will be described below. Note that in the following, a description of the same points as in the first embodiment (for example, the same configuration and processing as in the first embodiment) will be omitted, and only points different from the first embodiment will be described.

[0056] The eye positions of a user wearing the HMD 100 (the relative position of the left eye with respect to the left display unit 104L and the relative position of the right eye with respect to the right display unit 104R), that is, the actual viewpoint, depend on the user. As shown in FIG. 7, when the relative position of the user's eyes with respect to the display unit changes, the relative position of the subject with respect to the eyes changes even if the relative position of the subject with respect to the display unit does not change, so the image to be displayed on the display unit changes. Therefore, in the third embodiment, the CPU 106 determines the viewpoint of the left eye (the relative position of the left eye with respect to the left display unit 104L) based on the image of the left eye (left eye image) captured by the left eye imaging unit 105L, and generates a left display image that represents the view of the subject from the viewpoint. Similarly, the CPU 106 determines the viewpoint of the right eye (the relative position of the right eye with respect to the right display unit 104R) based on the image of the right eye (right eye image) captured by the right eye imaging unit 105R, and generates a right display image that represents the view of the subject from the viewpoint.

[0057] Also, the human eye has a characteristic that it can detect colors in the central visual field with good sensitivity, but cannot detect colors in the peripheral visual field with good sensitivity. Therefore, in the third embodiment, the CPU 106 processes differently a portion of the left display image corresponding to the central visual field of the left eye and a portion of the left display image corresponding to the peripheral visual field of the left eye based on the left eye image. Then, the CPU 106 determines the pixel value of the portion of the left display image corresponding to the central visual field of the left eye by combining the pixel value of the left grayscale image and the pixel value of the captured color image, as in the first embodiment. However, the CPU 106 determines the pixel value of the portion of the left display image corresponding to the peripheral visual field of the left eye from the pixel value of the left grayscale image. As a result, in the left display image, only the portion corresponding to the central visual field of the left eye is colored, and the pixel value of the portion corresponding to the peripheral visual field of the left eye is a grayscale pixel value.

[0058] Similarly, based on the right-eye image, CPU 106 processes a portion of the right display image corresponding to the central visual field of the right eye differently from a portion of the right display image corresponding to the peripheral visual field of the right eye. Then, CPU 106 determines pixel values ​​of a portion of the right display image that corresponds to the central visual field of the right eye by combining pixel values ​​of the right grayscale image and pixel values ​​of the captured color image, as in the first embodiment. However, CPU 106 determines pixel values ​​of a portion of the right display image that corresponds to the peripheral visual field of the right eye from pixel values ​​of the right grayscale image. As a result, in the right display image, only the portion that corresponds to the central visual field of the right eye is colored, and pixel values ​​of the portion that corresponds to the peripheral visual field of the right eye are grayscale pixel values.

[0059] 8 is a block diagram showing the functional configuration of the CPU 106 according to embodiment 3. In embodiment 3, the CPU 106 has a depth map generating unit 201, a coordinate conversion unit 202, a synthesis unit 203, a position and orientation estimation unit 204, a drawing unit 205, and an eye image processing unit 801.

[0060] The eye image processing unit 801 acquires a left-eye image from the left-eye imaging unit 105L and performs processing using the left-eye image. For example, the eye image processing unit 801 detects the left eye from the left-eye image and determines the viewpoint of the left eye (the relative position of the left eye with respect to the left display unit 104L). The eye image processing unit 801 also acquires gaze information related to the gaze of the left eye based on the left-eye image (gaze detection). The gaze information includes, for example, at least one of angle information indicating the direction of the gaze and position information indicating the position of the gaze on the display surface of the left display unit 104L. Similarly, the eye image processing unit 801 acquires a right-eye image from the right-eye imaging unit 105R and performs processing using the right-eye image. Various known techniques can be used for the processing of the eye image processing unit 801. For example, a plurality of light sources can be provided around the left-eye imaging unit 105L, and gaze information can be acquired based on the positional relationship between a plurality of corneal reflection images corresponding to the plurality of light sources and the pupil.

[0061] The processing of the synthesis unit 203 is generally the same as that of the first embodiment. However, the left display image is generated based on the viewpoint of the left eye determined by the eye image processing unit 801, rather than a predetermined virtual viewpoint, as the viewpoint of the left eye. Also, based on the gaze information of the left eye acquired by the eye image processing unit 801, a left display image is generated in which only a portion corresponding to the central visual field of the left eye is colored, and the pixel values ​​of the portion corresponding to the peripheral visual field of the left eye are grayscale pixel values. Similarly, the right display image is generated based on the gaze information of the right eye acquired by the eye image processing unit 801, rather than a predetermined virtual viewpoint, as the viewpoint of the right eye. Also, based on the gaze information of the right eye acquired by the eye image processing unit 801, a right display image is generated in which only a portion corresponding to the central visual field of the right eye is colored, and the pixel values ​​of the portion corresponding to the peripheral visual field of the right eye are grayscale pixel values.

[0062] FIG. 9 is a data flow diagram of the display image generation process according to the third embodiment. Arrows indicate the flow of data. FIG. 9 shows pixel-by-pixel processing of the left grayscale image, pixel-by-pixel processing of the captured color image, and pixel-by-pixel processing of the left display image, with distinction therebetween. The display image generation process of FIG. 9 is realized by the CPU 106 expanding a program stored in the ROM 107 into the RAM 108 and executing it. For example, when the HMD 100 is started, the display image generation process of FIG. 9 starts. Note that the method of generating the right display image is the same as the method of generating the left display image, and therefore a description of the method of generating the right display image will be omitted.

[0063] The processing in steps S901 to S903 is the same as the processing in steps S401 to S403 in the first embodiment (FIG. 4).

[0064] In step S911, eye image processing unit 801 detects the position of the left eye from the left eye image obtained by left eye imaging unit 105L, and determines the viewpoint of the left eye (the relative position of the left eye with respect to left display unit 104L).

[0065] In step S912, eye image processing unit 801 determines the posture of the left eye (the direction of gaze) based on the left eye image.

[0066] In step S913, the coordinate conversion unit 202 determines a portion of the display surface of the left display unit 104L that corresponds to the central visual field of the left eye based on the posture of the left eye determined in step S912. For example, the coordinate conversion unit 202 determines a portion that corresponds to a predetermined viewing angle centered on the direction of the line of sight of the left eye as the portion that corresponds to the central visual field. The predetermined viewing angle is, for example, a viewing angle of 30 degrees or more and 50 degrees or less. Then, the coordinate conversion unit 202 projects a portion of the display surface of the left display unit 104L that corresponds to the central visual field of the left eye onto the left grayscale image based on the left depth map generated in step S902. This allows the portion of the left grayscale image that corresponds to the central visual field of the left eye to be determined.

[0067] In step S904, similarly to step S404 in the first embodiment (FIG. 4), the synthesis unit 203 synthesizes the luminance value of a pixel in the left grayscale image with the chromaticity value of a pixel in the captured color image corresponding to the pixel in the left grayscale image. However, the process of step S904 is executed only for the portion determined in step S913 (the portion of the left grayscale image corresponding to the central visual field of the left eye).

[0068] In step S905, similar to step S405 in the first embodiment (FIG. 4), the coordinate conversion unit 202 projects the coordinates of each pixel of the left grayscale image onto the left display image. However, the coordinate conversion unit 202 performs the projection based on the viewpoint of the left eye determined in step S911, not based on a predetermined virtual viewpoint.

[0069] The process of step S906 is the same as step S406 in the first embodiment (FIG. 4). However, as described above, the process of step S904 is executed only for the portion of the left grayscale image that corresponds to the central visual field of the left eye. Therefore, the process of step S906 generates a left display image in which only the portion that corresponds to the central visual field of the left eye is colored and the pixel values ​​of the portion that corresponds to the peripheral visual field of the left eye are grayscale pixel values.

[0070] As described above, according to the third embodiment, the user's viewpoint is determined based on an image capturing the user's eye. Then, a display image is generated that represents the view of the subject from the determined viewpoint. This makes it possible to obtain a more suitable display image (a suitable display image that represents a view closer to the real view). Furthermore, pixel values ​​are synthesized only for a portion that corresponds to the user's central visual field. This also makes it possible to obtain a more suitable display image (a suitable display image that represents a view closer to the real view). By limiting the portions where pixel values ​​are synthesized, the processing load can also be reduced.

[0071] It is not necessary to perform gaze detection. In that case, for example, the CPU 106 determines pixel values ​​of the central part of the left display image by combining pixel values ​​of the left grayscale image and pixel values ​​of the captured color image. Then, the CPU 106 determines pixel values ​​of the peripheral part (part other than the central part) of the left display image from pixel values ​​of the left grayscale image. Similarly, the CPU 106 determines pixel values ​​of the central part of the right display image by combining pixel values ​​of the right grayscale image and pixel values ​​of the captured color image. Then, the CPU 106 determines pixel values ​​of the peripheral part (part other than the central part) of the right display image from pixel values ​​of the right grayscale image. This also makes it possible to obtain a more suitable display image (a suitable display image that shows a more realistic appearance). Taking into account the range in which the user's gaze changes, a part wider than the central visual field may be predetermined as the central part. The central part may be fixed or may be changeable by the user.

[0072] In general, when acquiring a depth map (distance information), it is not possible to obtain highly accurate depth (distance) for the peripheral parts of an image. Therefore, processing based on a depth map may not be performed properly for the peripheral parts. For example, when coloring the peripheral parts of a grayscale image, a mismatch may occur between the color and the subject. For the peripheral parts, pixel value synthesis is used. According to the above-mentioned configuration in which no such problem is performed, the occurrence of such a problem can be suppressed.

[0073] <Embodiment 4> A fourth embodiment of the present invention will be described. In the following, the same points as in the first embodiment (for example, the same configuration and processing as in the first embodiment) will be omitted, and differences from the first embodiment will be described. In the following, matters related to the right eye will be described. Matters related to the left eye are similar to those related to the right eye, so descriptions of the matters related to the left eye will be omitted.

[0074] When acquiring a depth map (distance information), it may be impossible to acquire depth (distance) for some positions in a display image. In the fourth embodiment, the CPU 106 (synthesizer 203) determines pixel values ​​for such positions by interpolation.

[0075] For example, a position seen from the right eye (viewpoint) may be hidden by the right imaging unit 101R and not appear in the right grayscale image. In such a case, the depth (distance) cannot be obtained for a position in the right display image that is not appearing in the right grayscale image, and the pixel value cannot be determined. This state is shown in FIG.

[0076] The configuration of the synthesis unit 203 for solving the first problem is shown in Fig. 11. In Fig. 11, the synthesis unit 203 has a meshing unit 1101 and a texture mapping unit 1102. Note that the synthesis unit 203 in Fig. 11 also performs the same process (synthesis of pixel values) as the synthesis unit 203 in the first embodiment.

[0077] The meshing unit 1101 sets a plurality of regions having vertices at a plurality of positions in the right grayscale image or captured color image whose depth (distance) is indicated by the depth map (distance information) (meshing in FIG. 10).

[0078] The texture mapping unit 1102 performs texture mapping using a plurality of textures corresponding to the plurality of regions set by the meshing unit 1101. This determines pixel values ​​at positions in the right display image where the depth is not indicated by the depth map. In the fourth embodiment, a plurality of regions of the right grayscale image after pixel value synthesis, i.e., a plurality of regions of the colored right grayscale image, are used as a plurality of textures.

[0079] In addition, multiple regions of the captured color image may be used as multiple textures. The number of multiple positions (multiple vertices) used for meshing may be the same as the number of pixels of the right grayscale image, or may be less than the number of pixels of the right grayscale image. By reducing the number of multiple positions used for meshing, the processing load can be reduced. The interpolation method is not limited to the above method. For example, without performing texture mapping, the depth value may be interpolated so that the pixel value of an undetermined position (a position where the pixel value is not determined) of the display image can be determined in the same manner as the pixel value of a determined position (a position where the pixel value is determined). After obtaining a right display image in which some pixel values ​​are not determined, the pixel value of the undetermined position may be determined by an interpolation process (for example, linear interpolation) using pixel values ​​around the undetermined position of the right display image.

[0080] 12, the end of the range corresponding to the right display image may be outside the acquisition range of the depth map (the range where the imaging range of the left imaging unit 101L and the imaging range of the right imaging unit 101R overlap). In such a case, the depth cannot be acquired for the end of the right display image, and the pixel value cannot be determined.

[0081] The configuration of the synthesis unit 203 for solving the second problem is shown in Fig. 13. In Fig. 13, the synthesis unit 203 has a pixel value synthesis unit 1301 and an interpolation unit 1302.

[0082] The pixel value synthesis unit 1301 performs the same process (synthesis of pixel values) as the synthesis unit 203 of the first embodiment. The pixel value synthesis unit 1301 also generates a mask image that represents an undetermined area (an area where pixel values ​​have not been determined) of the right display image.

[0083] The interpolation unit 1302 performs an inpainting process on the right display image generated by the pixel value synthesis unit 1301. When the right display image generated by the pixel value synthesis unit 1301 is an incomplete right display image including an undetermined region, the pixel values ​​of the undetermined region are determined by inpainting, and a complete right display image is generated. Various known techniques can be used for inpainting. The interpolation unit 1302 is, for example, a calculator (trained model) that performs inpainting using AI (Artificial Intelligence), for example, GAN (Generative Adversarial Network). In the fourth embodiment, the right display image and the mask image generated by the pixel value synthesis unit 1301 are input to the interpolation unit 1302, and the complete right display image is output from the interpolation unit 1302.

[0084] If the synthesis unit 203 in FIG. 13 is used, the first problem can also be solved.

[0085] As described above, according to the fourth embodiment, a complete display image is generated by interpolation, thereby making it possible to obtain a more suitable display image (a suitable display image that presents an appearance closer to the real appearance).

[0086] The synthesis unit 203 may generate a display image in which a portion is colored by synthesis of pixel values, and color the other portion of the display image based on the result of coloring the portion. A calculator (trained model) that performs coloring using AI (e.g., GAN) may be used to color the other portion. For example, the calculator receives input of the colored display image in part and a mask image that represents the color distribution of the portion, and outputs the complete display image.

[0087] The above-described embodiment (including the modified examples) is merely an example, and the present invention also includes configurations obtained by appropriately modifying or changing the above-described configurations within the scope of the gist of the present invention. The present invention also includes configurations obtained by appropriately combining the above-described configurations.

[0088] <Other embodiments> The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0089] The disclosure of this embodiment includes the following configuration, method, and program. (Configuration 1) An image processing device usable with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, a first acquisition means for acquiring a first image obtained by capturing an image of a subject by the first imaging unit; A second acquisition means for acquiring a second image of the subject captured by the second imaging unit; a generating means for generating a display image to be displayed on the display unit based on distance information corresponding to the first image and the second image; 13. An image processing device comprising: (Configuration 2) The generating means generates the display image that represents how the subject appears from a position different from the position of the first imaging unit and the position of the second imaging unit. 2. The image processing device according to claim 1, (Configuration 3) The generating means determines pixel values ​​of the display image by combining pixel values ​​of the first image and pixel values ​​of the second image based on the distance information. 3. The image processing device according to configuration 1 or 2. (Configuration 4) the resolution of the second image is higher than the resolution of the first image; The generating means generates the display image having a resolution higher than a resolution of the first image. Any one of configurations 1 to 3, characterized in that Crab The image processing device described herein. (Configuration 5) the first image is a grayscale image; the second image is a color image; The generating means generates a color image as the display image. Any one of configurations 1 to 4, Crab The image processing device described herein. (Configuration 6) The generating means determines pixel values ​​of the display image by combining luminance values ​​of the first image and chromaticity values ​​of the second image based on the distance information. 6. The image processing device according to configuration 5. (Configuration 7) the first image is an HDR image; the second image is an SDR image; The displayed image is an HDR image. Any one of configurations 1 to 6, Crab The image processing device described herein. (Configuration 8) the first image is an SDR image; the second image is an HDR image; The displayed image is an HDR image. Any one of configurations 1 to 4, Crab The image processing device described herein. (Configuration 9) The generating means determines, by interpolation, pixel values ​​at positions in the display image where the distance information does not indicate a distance. Any one of configurations 1 to 8, characterized in that Crab The image processing device described herein. (Configuration 10) The generating means generates the display image representing an appearance of the subject from a predetermined position. Any one of configurations 1 to 9, Crab The image processing device described herein. (Configuration 11) the head-mounted display device has a third imaging unit that captures an image of an eye of a user wearing the head-mounted display device, The generating means generates the display image representing how the subject looks from a position based on a third image in which the third imaging unit captures an image of the eye. Any one of configurations 1 to 9, Crab The image processing device described herein. (Configuration 12) The first imaging unit is an imaging unit of a stereo camera. Any one of configurations 1 to 11, Crab The image processing device described herein. (Configuration 13) the first acquisition means acquires two first images having a parallax with respect to each other; The generating means generates two display images corresponding to the two first images, respectively. 13. The image processing device according to claim 12, (Configuration 14) The first imaging unit is a ToF camera. Any one of configurations 1 to 11, Crab The image processing device described herein. (Configuration 15) The first imaging unit captures images at a frame rate higher than that of the second imaging unit. Any one of configurations 1 to 14, Crab The image processing device described herein. (Configuration 16) the head-mounted display device has a projection unit that repeatedly projects and does not project invisible light onto an imaging range of the first imaging unit, the first imaging unit repeatedly captures an image to obtain a first image in which the invisible light is captured and a first image in which the invisible light is not captured; The generating means determines distance information from a first image in which the invisible light is captured, and determines pixel values ​​of the display image by combining pixel values ​​of the first image in which the invisible light is not captured and pixel values ​​of the second image based on the distance information. Any one of configurations 1 to 15, Crab The image processing device described herein. (Configuration 17) The projection unit is When a display mode in which an image of the outside world is displayed on the display unit is set, the invisible light is repeatedly projected and not projected onto the imaging range of the first imaging unit, When the display mode is not set, the invisible light is continuously projected onto the imaging range of the first imaging unit. 17. The image processing device according to claim 16, (Configuration 18) When a display mode for displaying an image of the outside world is not set on the display unit, the first imaging unit captures an image at a frame rate lower than that when the display mode is set. 18. The image processing device according to claim 16 or 17, (Configuration 19) The generating means performs texture mapping using a plurality of textures corresponding to a plurality of regions having vertices at a plurality of positions of the first image or the second image where the distance is indicated by the distance information, thereby determining pixel values ​​of the positions of the display image where the distance is not indicated by the distance information. Any one of configurations 1 to 18, Crab The image processing device described herein. (Configuration 20) The number of the plurality of positions is less than the number of pixels of the first image. 20. The image processing device according to claim 19, (Configuration 21) The generating means determines pixel values ​​of positions in the display image where the distance is not indicated by the distance information by performing inpainting. Any one of configurations 1 to 20, Crab The image processing device described herein. (Configuration 22) The generating means performs a process of determining pixel values ​​of a central portion of the display image by combining pixel values ​​of the first image and pixel values ​​of the second image, and determining pixel values ​​of a peripheral portion of the display image from the pixel values ​​of the first image, based on the distance information. Any one of configurations 1 to 21, Crab The image processing device described herein. (Configuration 23) the head-mounted display device has a third imaging unit that captures an image of an eye of a user wearing the head-mounted display device, The generating means determines pixel values ​​of a portion of the display image corresponding to the user's central visual field by combining pixel values ​​of the first image and pixel values ​​of the second image, and determines pixel values ​​of a portion of the display image corresponding to the user's peripheral visual field from pixel values ​​of the first image, based on the distance information and a third image captured by the third imaging unit of the eye. Any one of configurations 1 to 21, Crab The image processing device described herein. (Configuration 24) The head mounted display device further includes an estimation unit for estimating at least one of a position and an orientation of the head mounted display device based on the first image. Any of configurations 1 to 23, Crab The image processing device described herein. (Configuration 25) the first imaging unit is a global shutter type imaging unit, The second imaging unit is a rolling shutter type imaging unit. Any of configurations 1 to 24, Crab The image processing device described herein. (Configuration 26) The generating means includes: generating the partially colored display image by combining the luminance values ​​of the first image and the chromaticity values ​​of the second image based on the distance information; Based on the result of coloring the one portion, coloring the other portion of the display image. Any of configurations 1 to 25, Crab The image processing device described herein. (Configuration 27) an imaging unit for obtaining distance information; a projection unit that projects invisible light onto an imaging range of the imaging unit; Display and having The projection unit is When a display mode in which an image of the outside world is displayed on the display unit is set, the invisible light is repeatedly projected and not projected onto the imaging range of the imaging unit. When the display mode is not set, the invisible light is continuously projected onto the imaging range of the imaging unit. A head-mounted display device comprising: (Configuration 28) The first imaging unit, The second imaging unit; The display unit; Any of configurations 1 to 26 Crab The image processing device according to the present invention A head-mounted display device comprising: (Method 1) A control method for an image processing device usable with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, comprising: a first acquisition step of acquiring a first image obtained by capturing an image of a subject by the first imaging unit; a second acquisition step of acquiring a second image obtained by capturing an image of the subject by the second imaging unit; a generating step of generating a display image to be displayed on the display unit based on distance information corresponding to the first image and the second image; A control method comprising the steps of: (Method 2) an imaging unit for obtaining distance information; a projection unit that projects invisible light onto an imaging range of the imaging unit; Display and A method for controlling a head-mounted display device comprising: a step of controlling the projection unit to repeatedly project and not project the invisible light onto an imaging range of the imaging unit when a display mode in which an image of the outside world is displayed on the display unit is set; a step of controlling the projection unit to continue projecting the invisible light onto an imaging range of the imaging unit when the display mode is not set; A control method comprising the steps of: (Program M) A program for causing a computer to execute each step of the control method according to Method 1 or 2. [Explanation of symbols]

[0090] 100: HMD 101: Stereo camera 102: Monocular camera 103: Projection unit 104L: Left display section 104R: Right display section 106: CPU

Claims

1. An image processing device usable with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, A first acquisition means for acquiring a first image obtained by capturing an image of an external environment by the first imaging unit; A second acquisition means for acquiring a second image captured by the second imaging unit of the outside world; a generating means for generating an image of the outside world that is a color image to be displayed on the display unit by synthesizing the first image, which is a grayscale image, and the second image, which is a color image, based on the distance information corresponding to the first image; 13. An image processing device comprising:

2. The generating means generates the image of the outside world by associating pixels of the first image with pixels of the second image based on the distance information corresponding to the first image and synthesizing pixel values ​​of the first image with pixel values ​​of the second image.

2. The image processing device according to claim 1,

3. The generating means generates the image of the external world by combining a luminance value of the first image and a chromaticity value of the second image.

3. The image processing device according to claim 2.

4. The generating means generates the image of the external world by using a trained model.

4. The image processing device according to claim 3.

5. The first imaging unit is an imaging unit of a stereo camera.

2. The image processing device according to claim 1,

6. The second imaging unit is a monocular camera imaging unit.

6. The image processing device according to claim 5,

7. The first imaging unit has a left imaging unit and a right imaging unit, The second imaging unit is disposed between the left imaging unit and the right imaging unit.

7. The image processing device according to claim 6,

8. The generating means generates a display image to be displayed on the display unit by synthesizing the image of the outside world with a graphic.

2. The image processing device according to claim 1,

9. An estimation means for estimating at least one of a position and an orientation of the head-mounted display device, The generating means generates the graphic based on at least one of the position and the orientation.

9. The image processing device according to claim 8,

10. The image processing apparatus according to claim 9 , wherein the estimation means estimates at least one of the position and the orientation based on the first image.

11. the resolution of the second image is higher than the resolution of the first image; The image processing apparatus according to claim 1 , wherein the generating means generates an image of the external environment having a higher resolution than a resolution of the first image.

12. the first imaging unit is a global shutter type imaging unit, The second imaging unit is a rolling shutter type imaging unit.

2. The image processing device according to claim 1,

13. The first imaging unit captures images at a frame rate higher than that of the second imaging unit.

2. The image processing device according to claim 1,

14. the first image is an SDR image; the second image is an HDR image; The generating means generates an image of the outside world which is an HDR image.

2. The image processing device according to claim 1,

15. The head-mounted display device has a projection unit that projects invisible light, The distance information is generated based on the first image in which the invisible light is captured.

2. The image processing device according to claim 1,

16. The generating means generates the image of the outside world by synthesizing the first image and the second image in which the invisible light is not captured.

16. The image processing device according to claim 15,

17. The generating means generates an image of the external world representing an appearance from a position different from the position of the first imaging unit and the position of the second imaging unit based on the distance information corresponding to the first image.

2. The image processing device according to claim 1,

18. the head-mounted display device has a third imaging unit that images an eye of a user wearing the head-mounted display device, The generating means generates an image of the external environment that represents an appearance from a position based on a third image obtained by capturing an image of the eye by the third imaging unit.

18. The image processing device according to claim 17,

19. The first imaging unit; The second imaging unit; The display unit; The image processing device according to any one of claims 1 to 18. A head-mounted display device comprising:

20. A control method for an image processing device usable with a head-mounted display device having a first imaging unit for obtaining distance information, a second imaging unit different from the first imaging unit, and a display unit, comprising: a first acquisition step of acquiring a first image captured by the first imaging unit of an external environment; a second acquisition step of acquiring a second image obtained by capturing an image of the outside world by the second imaging unit; a generating step of generating an image of the outside world that is a color image to be displayed on the display unit by synthesizing the first image, which is a grayscale image, and the second image, which is a color image, based on distance information corresponding to the first image; A control method comprising the steps of:

21. A program for causing a computer to execute each step of the control method according to claim 20.

Citation Information

Patent Citations

  • Head-mounted display device and control method of the same

    JP2013186641A

  • Information processing apparatus, information processing method, and program

    JP2016062593A

  • Head-mounted display, method for controlling head-mounted display, and computer program

    JP2017067876A

  • Imaging apparatus, image processing method, and image processing system

    JP2018117309A

  • Image processing apparatus, head-mounted display, and image display method

    JP2020167659A