IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING PROGRAM
The image processing device addresses the challenge of optimizing stereoscopic image display by using an imaging and analysis system to adjust images based on user and object posture, ensuring accurate and immersive viewing experiences.
Patent Information
- Application Number
- JP2021567120
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-27
- Filing Date
- 2020-12-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-12-01
AI Technical Summary
Conventional technologies for displaying stereoscopic images, such as those used in autostereoscopic displays, lack effective methods to accurately adjust and display stereoscopic images based on the user's posture, object posture, and environmental conditions, leading to suboptimal viewing experiences.
An image processing device that includes an imaging unit to capture user and object images, an analysis unit to analyze posture and object characteristics, and a control unit to adjust image display based on these factors, ensuring accurate and immersive stereoscopic image presentation without the need for additional viewing aids.
The device enables precise adjustment of stereoscopic images to match user and object postures, sizes, and environmental conditions, enhancing the viewing experience by allowing users to see stereoscopic images with correct orientation and size, reducing overlap, and supporting efficient work by allowing simultaneous viewing of real and virtual objects.
Smart Images

Figure 0007548246000001 
Figure 0007548246000019 
Figure 0007548246000006
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device, an image processing method, and an image processing program. [Background technology]
[0002] Various technologies have been proposed for displaying 3D images on displays. Among them, there are also proposals for naked-eye 3D display that does not require tools such as glasses. For example, there is a Light Field display, which is typified by the lenticular method, as a display for naked-eye 3D display.
[0003] When displaying a stereoscopic image on a light field display, the viewpoint positions of the user's left and right eyes are detected, optimal light rays are focused on the viewpoint positions, and an image for the right eye and an image for the left eye are generated. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2000-224612 A [Patent Document 2] JP 2018-44824 A [Patent Document 3] Japanese Patent Application Publication No. 9-54821 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the above-mentioned conventional technology, there is room for improvement in the process of displaying a stereoscopic image.
[0006] Therefore, the present disclosure provides an image processing device, an image processing method, and an image processing program that can appropriately display a stereoscopic image to a user. [Means for solving the problem]
[0007] In order to solve the above problems, one form of image processing device according to the present disclosure includes an imaging unit that images a user and a real object, an analysis unit that analyzes the posture of the real object based on imaging information captured by the imaging unit, and a control unit that controls display of an image related to the real object based on the posture of the real object. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating an example of the appearance of an image processing device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of stereoscopic image display by the image processing device according to the first embodiment. [Diagram 3] FIG. 2 is a diagram for explaining an example of a situation according to the first embodiment. [Figure 4] 1 is a diagram illustrating an example of the configuration of an image processing device according to a first embodiment. [Diagram 5] FIG. 4 is a diagram for explaining a process of an analysis unit according to the first embodiment. [Figure 6] FIG. 13 illustrates an example of a data structure of an analysis result table. [Figure 7] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P1. [Figure 8] 13 is a diagram for explaining the processing of the control unit based on the control policy P2. FIG. [Figure 9] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P2. [Figure 10] 13 is a diagram for explaining the processing of a control unit based on a control policy P3. FIG. [Figure 11] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P3. [Figure 12] 13 is a diagram for explaining the processing of a control unit based on a control policy P3. FIG. [Figure 13] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P4. [Figure 14]FIG. 11 is a diagram (1) for explaining the processing of the control unit based on the control policy P5. [Figure 15] FIG. 13 is a diagram (2) for explaining the processing of the control unit based on the control policy P5. [Figure 16] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P5. [Figure 17] FIG. 11 is a diagram for explaining the processing of the control unit based on the control policy P6. [Figure 18] FIG. 13 is a diagram (2) for explaining the processing of the control unit based on the control policy P6. [Figure 19] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P6. [Figure 20] FIG. 13 is a diagram for explaining the processing of the control unit based on the control policy P7. [Figure 21] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P7. [Figure 22] FIG. 13 is a diagram for explaining the processing of the control unit based on the control policy P8. [Diagram 23] 13 is a flowchart showing a processing procedure of the image processing device based on the control policy P8. [Figure 24] FIG. 11 is a diagram for explaining an example of a situation according to the second embodiment. [Diagram 25] FIG. 1 is a diagram showing an example of the configuration of an image processing device according to a second embodiment. [Figure 26] FIG. 2 is a diagram showing an example of the configuration of an image processing device according to a second embodiment. [Figure 27] 11 is a flowchart (1) showing a processing procedure of an image processing device according to a second embodiment. [Figure 28] 13 is a flowchart (2) showing the processing procedure of the image processing device according to the second embodiment. [Figure 29] FIG. 13 is a diagram for explaining an example of a situation according to the third embodiment. [Diagram 30] FIG. 13 is a diagram illustrating an example of the configuration of an image processing device according to a third embodiment. [Diagram 31] 13 is a flowchart showing a processing procedure of a terminal device according to the third embodiment. [Diagram 32] 13 is a flowchart showing a processing procedure of an image processing device according to a third embodiment. [Diagram 33] FIG. 13 is a diagram showing an example of an occluded area and a non-occluded area when there are a plurality of users. [Diagram 34] 10 is a flowchart showing a processing procedure of an image processing apparatus according to another embodiment. [Diagram 35] FIG. 2 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of the image processing apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and duplicated descriptions will be omitted.
[0010] The present disclosure will be described in the following order. 1. First embodiment 1.1. Example of the appearance of an image processing device 1.2. Situation according to the first embodiment 1.3. Configuration of Image Processing Apparatus According to First Embodiment 1.4. Effects of the Image Processing Device According to the First Embodiment 2. Second embodiment 2.1. Situation according to the second embodiment 2.2. Configuration of Image Processing Apparatus According to Second Embodiment 2.3. Effects of the image processing device according to the second embodiment 3. Third embodiment 3.1. Situation according to the third embodiment 3.2. Configuration of Image Processing Apparatus According to Third Embodiment 3.3. Effects of the image processing device according to the third embodiment 4. Other embodiments 5. Hardware Configuration 6. Conclusion
[0011] <1. First embodiment> <<1.1. Example of the appearance of the image processing device>> 1 is a diagram showing an example of the appearance of an image processing device according to a first embodiment. The image processing device 100 has a base 2 and a display 3 standing upward from the base 2. The image processing device 100 has a camera (stereo camera) 4 above the display 3. The camera 4 is configured to be able to capture an image of a "user" positioned in front of the display 3 and a "real object" held by the user.
[0012] The image processing device 100 is capable of displaying, for example, a lenticular stereoscopic image on the display 3. In general, the viewpoint position of a naked-eye user who is not using glasses or the like for stereoscopic display is detected using an image captured by the camera 4. Images (parallax images) for the right and left eyes are generated by light rays focused at the respective viewpoint positions on the left and right, and the generated images are displayed on the display 3 equipped with a lenticular lens.
[0013] Fig. 2 is a diagram showing an example of stereoscopic image display by the image processing device according to the first embodiment. As shown in Fig. 2, the image processing device 100 detects the user's viewpoint position (left eye 5a, right eye 5b) based on an image captured by the camera 4, and generates images (parallax images) for the right and left eyes by using light rays that converge at the left and right viewpoint positions, respectively. The image processing device 100 displays the generated images on the display 3, allowing the user to view a stereoscopic image 6 without using glasses, a HUD (Head Up Display), or the like.
[0014] <<1.2 Situation according to the first embodiment>> FIG. 3 is a diagram for explaining an example of a situation according to the first embodiment. As shown in FIG. 3, it is assumed that a user 10 is positioned in front of an image processing device 100 and the user 10 is holding a real object 11a. The image processing device 100 captures an image including the user 10 and the real object 11a by the camera 4. The image processing device 100 generates an image (virtual object 11b) related to the real object 11a based on the image (imaging information) captured by the camera 4, and displays a stereoscopic image of the virtual object 11b on the display 3. When the user 10 moves the real object 11a, the image processing device 100 controls the movement of the virtual object 11b in accordance with the movement of the real object 11a.
[0015] The real object 11a and the virtual object 11b do not have to have completely the same shape. For example, the real object 11a may be a part of the virtual object 11b (such as only a face), and the shape of the real object 11a may be an approximation of the shape of the virtual object 11b. The real object 11a may be a non-rigid body, and the user 10 may deform the shape of a part of the real object 11a.
[0016] <<1.3. Configuration of the image processing device according to the first embodiment>> Fig. 4 is a diagram showing an example of the configuration of an image processing device according to the first embodiment. As shown in Fig. 4, the image processing device 100 is connected to an image capturing section 50 and an image display section 60. Note that the image processing device 100 may also have the image capturing section 50 and the image display section 60.
[0017] The image capturing unit 50 is a stereo camera that captures an image of the user 10 located within an imaging range and a real object 11a held by the user 10. The image capturing unit 50 corresponds to the camera 4 shown in Figs. 1 to 3. The image capturing unit 50 includes a CMOS (Complementary Metal Oxide Semiconductor) sensor or another image sensor such as a CCD (Charge Coupled Device). The image capturing unit 50 outputs information about the captured image to the image processing device 100. In the following description, information about the image captured by the image capturing unit 50 is referred to as "capture information".
[0018] Since the image capturing unit 50 is a stereo camera, the imaging information includes an image captured by one camera and an image captured by the other camera. The image capturing unit 50 captures an image at a predetermined frame rate (fps: frame per second), and outputs the imaging information to the image processing device 100 every time an image is captured. The imaging information may be assigned frame numbers in ascending order in chronological order.
[0019] The image display unit 60 is a display device that displays a stereoscopic image based on information output from the image processing device 100. The image display unit 60 corresponds to the display 3 shown in Figures 1 to 3. For example, the image display unit 60 displays a stereoscopic image of the virtual object 11b described in Figure 3.
[0020] The image processing device 100 includes a viewpoint position detection unit 110 , a display image generation unit 120 , an analysis unit 130 , a storage unit 140 , and a control unit 150 .
[0021] The viewpoint position detection unit 110 is a processing unit that detects the viewpoint position of the user 10 by performing face detection based on imaging information. The viewpoint position detected by the viewpoint position detection unit 110 includes the left eye position and the right eye position of the user 10. The viewpoint position detection unit 110 outputs the viewpoint position information to the display image generation unit 120. The viewpoint position detection unit 110 can detect the user's face (face frame, left eye coordinates, right eye coordinates) using a known method such as a method using image features. For example, the left eye coordinates and right eye coordinates are two-dimensional coordinates.
[0022] The display image generating unit 120 is a processing unit that generates information for displaying a stereoscopic image on the image display unit 60 and outputs the generated information to the image display unit 60. For example, the display image generating unit 120 acquires information on the viewpoint position from the viewpoint position detecting unit 110, and converts two-dimensional coordinates indicating the viewpoint position into viewpoint coordinates (three-dimensional coordinates) in a spatial position by applying a known method.
[0023] The display image generation unit 120 generates light ray (image) information from the relationship between the stereoscopic image information determined by the model data 140a and the control information and the viewpoint coordinates at the spatial position, outputs the light ray (image) information to the image display unit 60, and displays the light ray (image) on the image display unit 60, thereby showing the stereoscopic image to the user 10.
[0024] Here, the model data 140a is information that defines in advance the shape, color, and reference size of each part of the virtual object 11b, and is stored in the storage unit 140. The display image generation unit 120 acquires the model data 140a from the storage unit 140.
[0025] The control information includes a posture and a display coordinate. The posture is the posture of the virtual object 11b. The posture may be defined in any way, but for example, the difference between the reference position and the reference direction of each part is specified as the posture. The display coordinate indicates the coordinate at which the virtual object 11b is displayed on the display screen of the image display unit 60. The display image generation unit 120 obtains the control information from the control unit 150, which will be described later.
[0026] The analysis unit 130 is a processing unit that performs various analyses based on the imaging information acquired from the image capturing unit 50, and outputs the analysis results to the control unit 150. Various analysis processes executed by the analysis unit 130 will be described below.
[0027] Fig. 5 is a diagram for explaining the processing of the analysis unit according to the first embodiment. In Fig. 5, the camera 4 corresponds to the image capturing unit 50, and the display 3 corresponds to the image display unit 60. It is assumed that the camera 4 is installed above the display 3, and that the distance between the display 3 and the user 10 is the same as the distance between the camera 4 and the user 10. It is assumed that the internal parameters of the camera 4 and the installation position of the camera 4 (external parameters) are known.
[0028] An example of the "process of detecting real object 11a" performed by analysis unit 130 will be described. Analysis unit 130 calculates the distance of each pixel by performing stereo matching for each part (pixel) of two images included in the imaging information. Analysis unit 130 detects, as real object 11a, a pixel region whose distance from display 3 is less than a threshold and whose difference in distance is less than a threshold. Analysis unit 130 may detect real object 11a from imaging information using any other known technology.
[0029] An example of the "process of calculating the posture of the real object 11a" performed by the analysis unit 130 will be described. The analysis unit 130 detects the area of the real object 11a from the imaging information by the above-mentioned process of detecting the real object 11a, and specifies the position of each part of the real object 11a. The analysis unit 130 calculates the difference between the position of each specified part and a preset reference position and reference direction of each part as the posture of the real object 11a.
[0030] An example of the "process of calculating the size of the real object 11a" performed by the analysis unit 130 will be described. The analysis unit 130 detects the area of the real object 11a from the imaging information by the above-mentioned process of detecting the real object 11a. The analysis unit 130 calculates the size of the real object 11a in real space from the size of the area of the real object 11a using a conversion table that defines the relationship between the size of the area of the imaging information and the size in real space. For example, the analysis unit 130 determines the vertical width H and horizontal width W of the real object 11a in real space to be the size of the real object 11a.
[0031] An example of the "processing of calculating the position of the real object 11a" performed by the analysis unit 130 will be described. The analysis unit 130 detects the area of the real object 11a from the imaging information by the above-mentioned processing of detecting the real object 11a. The analysis unit 130 detects the center of gravity of the area of the real object 11a as the coordinates of the real object 11a. The analysis unit 130 calculates the position of the real object 11a in the real space from the coordinates on the imaging information, using a conversion table that defines the relationship between the coordinates on the imaging information (two-dimensional coordinates) and the position in the real space (three-dimensional coordinates).
[0032] An example of the "process of calculating the occluded area 60a and the non-occluded area 60b" performed by the analysis unit 130 will be described. The analysis unit 130 calculates the distance between the user 10 and the display 3 and the distance between the real object 11a and the display 3, both included in the imaging information, by performing stereo matching for each part of the two images included in the imaging information. In the following description, the distance between the user 10 and the display 3 will be referred to as the "first distance." The distance between the real object 11a and the display 3 will be referred to as the "second distance."
[0033] The analysis unit 130 calculates an occluded area 60a and a non-occluded area 60b from the size of the real object 11a, the viewpoint position of the user 10, the first distance, and the second distance, and calculates the occluded area 60a and the non-occluded area 60b. The occluded area 60a indicates an area of the display area of the display 3 that the user 10 cannot see because of the real object 11a. The non-occluded area 60b indicates an area of the display area of the display 3 that the user 10 can see.
[0034] The analysis unit 130 calculates the size of the real object 11a by the above-mentioned process of calculating the size of the real object 11a. The process of calculating the viewpoint position of the user 10 in the real space by the analysis unit 130 is similar to that by the viewpoint position detection unit 110 and the display image generation unit 120.
[0035] The analysis unit 130 repeatedly executes the above process every time imaging information is obtained from the image capturing unit 50, and outputs the analysis result to the control unit 150. The analysis unit 130 may also register a part or all of the analysis result in an analysis result table in the storage unit 140. The analysis unit 130 may also generate model data 140a (described later) based on the image of the real object 11a included in the imaging information.
[0036] The storage unit 140 has model data 140a and an analysis result table 140b. The storage unit 140 corresponds to a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk drive (HDD).
[0037] The model data 140a is information (3D model) that defines the shape, color, and reference size of each part of the virtual object 11b. The storage unit 140 may include model data other than that of the virtual object 11b, and the display image generating unit 120 may select any one of the model data.
[0038] Analysis result table 140b is a table that holds the analysis results by analysis unit 130. Fig. 6 is a diagram showing an example of the data structure of the analysis result table. As shown in Fig. 6, this analysis result table 140b has a frame number, a position, a viewpoint position, a size, a posture, an occluded area, and a non-occluded area.
[0039] In Fig. 6, the frame number is a frame number given to the imaging information, and is information that uniquely identifies the imaging information. Records (position, viewpoint position, size, orientation, occluded area, non-occluded area) corresponding to the same frame number are information obtained by analyzing the same imaging information.
[0040] 6, position indicates the position (three-dimensional coordinates) of real object 11a in real space. Viewpoint position indicates the viewpoint position (left eye coordinates, right eye coordinates) of user 10 in real space. Size indicates the size of real object 11a in real space, and is represented by vertical width H and horizontal width W. Orientation indicates the orientation of real object 11a, and is represented by the difference θ between the position and direction of each part detected from real object 11a and the preset reference position and reference direction of each part.
[0041] In Fig. 6, the occluded region corresponds to occluded region 60a in Fig. 5 and is indicated by the upper left and lower right coordinates of occluded region 60a, and the non-occluded region corresponds to non-occluded region 60b in Fig. 5 and is indicated by the upper left and lower right coordinates of non-occluded region 60b.
[0042] Returning to the description of Fig. 4, the control unit 150 is a processing unit that generates control information based on the analysis result of the analysis unit 130 and outputs the generated control information to the display image generation unit 120. A plurality of control policies are prepared in the control unit 150, and it is assumed that the user 10 selects a desired control policy in advance. In the following, the processing of the control unit 150 based on each of the control policies P1 to P8 will be described individually, but processing that combines a plurality of policies may also be executed.
[0043] (Control policy P1: Adjust posture) When the control policy P1 is selected, the control unit 150 performs control to match the posture of the real object 11a with the posture of the stereoscopic image (virtual object 11b) displayed on the image display unit 60. For example, the control unit 150 acquires the posture (θ) of the real object 11a from the analysis unit 130, sets the acquired posture in the control information, and outputs it to the display image generation unit 120. The display image generation unit 120 adjusts the posture set in the model data 140a to match the posture set in the control information, and causes the image display unit 60 to display the stereoscopic image using the adjusted model data 140a. Furthermore, the control unit 150 can determine the posture of the virtual object 11b based on the viewpoint position of the user 10 so that the postures of the real object 11a and the virtual object 11b appear to be the same from the position of the user 10.
[0044] (Processing procedure of image processing device based on control policy P1) Fig. 7 is a flowchart showing a processing procedure of the image processing device based on the control policy P1. As shown in Fig. 7, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S11). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S12).
[0045] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S13). The analysis unit 130 calculates the orientation (θ) of the real object 11a (step S14). The control unit 150 of the image processing device 100 calculates the orientation of the virtual object 11b that matches the orientation of the real object 11a, and generates control information (step S15).
[0046] The display image generating unit 120 of the image processing device 100 generates information of a stereoscopic image based on the model data 140a and the control information, and causes the image display unit 60 to display the stereoscopic image (step S16).
[0047] If the image processing device 100 continues the process (Yes at step S17), the process proceeds to step S12. On the other hand, if the image processing device 100 does not continue the process (No at step S17), the process ends.
[0048] By executing processing in accordance with the control policy P1, the image processing device 100 enables the user 10 to refer to a stereoscopic image of the virtual object 11b having the same posture as the real object 11a held by the user 10, thereby supporting the work of the user 10.
[0049] (Control policy P2: Match size) When control policy P2 is selected, control unit 150 performs control to match the size of real object 11a with the size of the stereoscopic image (virtual object 11b) displayed on image display unit 60. For example, control unit 150 acquires the size (H, W) of real object 11a from analysis unit 130, sets the acquired size in control information, and outputs it to display image generation unit 120. Display image generation unit 120 adjusts the size set in model data 140a to match the size set in the control information, and causes image display unit 60 to display the stereoscopic image using adjusted model data 140a.
[0050] Fig. 8 is a diagram for explaining the processing of the control unit based on the control policy P2. As shown in Fig. 8, the size of the virtual object 11b-1 is different from the size of the real object 11a. The control unit 150 resizes the virtual object 11b-1 through the above processing to become the virtual object 11b-2, and the size of the virtual object 11b-1 becomes the same as the size of the real object 11a.
[0051] (Processing procedure of image processing device based on control policy P2) Fig. 9 is a flowchart showing a processing procedure of the image processing device based on the control policy P2. As shown in Fig. 9, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S21). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S22).
[0052] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S23). The analysis unit 130 calculates the size (H, W) of the real object 11a (step S24). The control unit 150 of the image processing device 100 calculates the size of the virtual object in accordance with the size of the real object 11a, and generates control information (step S25).
[0053] The display image generating unit 120 generates information about a stereoscopic image based on the model data 140a and the control information, and causes the image display unit 60 to display the resized stereoscopic image (step S26).
[0054] If the image processing device 100 continues the process (Yes at step S27), the process proceeds to step S22. On the other hand, if the image processing device 100 does not continue the process (No at step S27), the process ends.
[0055] By executing processing in accordance with control policy P2, the image processing device 100 enables the user 10 to refer to a stereoscopic image of a virtual object 11b that is the same size as the real object 11a that the user 10 is holding, thereby supporting the work of the user 10.
[0056] (Control policy P3: Match the visual size) Since the real object 11a is located in front of the image display unit 60, even if the real object 11a and the stereoscopic image (virtual object 11b) are the same size, the stereoscopic image appears relatively small to the user 10. For this reason, the control unit 150 performs control to match the relative sizes of the real object 11a and the stereoscopic image.
[0057] FIG. 10 is a diagram for explaining the process of the control unit based on the control policy P3. The control unit 150 calculates the height Hv of the virtual object 11b based on the analysis result. In FIG. 10, H r indicates the height of the actual object 11a. D r indicates the distance between the real object 11a and the user 10, and corresponds to, for example, the distance obtained by subtracting the second distance from the first distance. Dv indicates the distance between the user 10 and the virtual object 11b (image display unit 60), and corresponds to, for example, the first distance.
[0058] The control unit 150 calculates the height H of the virtual object 11b according to the formula (1). v Although not shown in the figure, the control unit 150 calculates the width W of the virtual object 11b according to the formula (2). v In equation (2), W r indicates the width of the real object 11a. In the following description, the height H v and width W v These will be collectively referred to as "size after resizing."
[0059] H v =H r ×D v / D r (1) W v =W r ×D v / D r (2)
[0060] The control unit 150 calculates the resized size through the above processing, sets the resized size in the control information, and outputs it to the display image generation unit 120. The display image generation unit 120 adjusts the size set in the model data 140a to match the resized size set in the control information, and causes the image display unit 60 to display a stereoscopic image using the adjusted model data 140a.
[0061] (Processing procedure of image processing device based on control policy P3) Fig. 11 is a flowchart showing a processing procedure of the image processing device based on the control policy P3. As shown in Fig. 11, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S31). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S32).
[0062] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S33). The analysis unit 130 calculates the size (H, W) of the real object 11a (step S34). The control unit 150 of the image processing device 100 calculates the size after resizing (H v , W v ) and generates control information (step S35).
[0063] The display image generating unit 120 generates information about a three-dimensional image based on the model data 140a and the control information, and causes the image display unit 60 to display the resized three-dimensional image (step S36).
[0064] If the image processing device 100 continues the process (Yes at step S37), the process proceeds to step S32. On the other hand, if the image processing device 100 does not continue the process (No at step S37), the process ends.
[0065] By executing processing in accordance with control policy P3, the image processing device 100 can support the work of the user 10 by allowing the user 10 to refer to a stereoscopic image of the virtual object 11b that appears to be the same size as the real object 11a that the user 10 is holding, even if the real object 11a is located in front of the image display unit 60.
[0066] (Control policy P4: Move to a non-overlapping position) If the stereoscopic image of the virtual object 11b is displayed in the blocked area of the image display unit 60, the stereoscopic image and the real object 11a will overlap. For this reason, the control unit 150 performs control to display the stereoscopic image in the non-blocked area of the image display unit 60.
[0067] 12 is a diagram for explaining the processing of the control unit based on the control policy P4. As described above, the analysis unit 130 calculates the occluded area 60a and the non-occluded area 60b by analyzing the imaging information. The control unit 150 adjusts the display position of the stereoscopic image according to any one of the control policies P4-1, P4-2, and P4-3. The display position of the stereoscopic image before adjustment is set to "R". The display position of the stereoscopic image after adjustment is set to "Q".
[0068] The "control policy P4-1" will be described. The control unit 150 calculates a display position Q1 of a stereoscopic image in which the entire virtual object 11b is included in the non-occluded region 60b included in the analysis result. For example, the control unit 150 calculates the display position Q1 so that the distance from the position R to the display position Q1 is minimized.
[0069] The control policy P4-2 will now be described. The control unit 150 calculates the display position Q2 so that the display position Q2 is included in the non-obstructed region 60b and the distance from the position R to the display position Q2 is maximized.
[0070] The "control policy P4-3" will now be described. The control unit 150 calculates a display position Q3 that is closer to the center of the image display unit 60 (display 3). This is because the quality of a stereoscopic image is improved closer to the center of the display 3. For example, the control unit 150 calculates the display position Q3 based on formula (3).
[0071] C = min(C RQ (D RQ )+C CQ (D CQ ))···(3)
[0072] In formula (3), C RQ (D RQ ) is D RQ The cost of the display position Q3 determined by the function C decreases as the display position Q3 is farther from the occluded area 60a. CQ (D CQ ) is D CQ This is a function in which the cost decreases as the display position Q3 determined by the formula (3) is closer to the center of the display 3. The control unit 150 calculates the position at which the value of the formula (3) is minimized as the final display position Q3.
[0073] The control unit 150 calculates the display position of the virtual object 11b based on any one of the control policies P4-1 to P4-3. The control unit 150 sets the calculated display position in the control information and outputs it to the display image generation unit 120. The display image generation unit 120 adjusts the display position of the stereoscopic image to match the display position set in the control information, and causes the image display unit 60 to display the stereoscopic image.
[0074] (Processing procedure of image processing device based on control policy P4) Fig. 13 is a flowchart showing the processing procedure of the image processing device based on the control policy P4. As shown in Fig. 13, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S41). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S42).
[0075] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S43). The analysis unit 130 calculates the positional relationship between the real object 11a and the virtual object 11b (step S44). The control unit 150 of the image processing device 100 identifies the occluded area and the non-occluded area (step S45).
[0076] The control unit 150 calculates the display position included in the unobstructed region and generates control information (step S46). The display image generation unit 120 generates information of a stereoscopic image based on the model data 140a and the control information, and displays the stereoscopic image in the unobstructed region of the image display unit 60 (step S47).
[0077] If the image processing device 100 continues the process (step S48, Yes), the process proceeds to step S42. On the other hand, if the image processing device 100 does not continue the process (step S48, No), the process ends.
[0078] By executing processing in accordance with control policy P4, the image processing device 100 prevents the real object 11a and the stereoscopic image (virtual object 11b) from overlapping, allowing the user 10 to simultaneously view both the real object 11a and the stereoscopic image, thereby supporting the work of the user 10.
[0079] (Control policy P5: Automatically select overlap / non-overlapping) When the user 10 performs a task, there are two cases: "viewing the real object 11a and the stereoscopic image superimposed" and "viewing the real object 11a and the stereoscopic image side by side for comparison." For this reason, the control unit 150 controls the display position of the stereoscopic image based on the distance D between the apparent position of the real object 11a and the display position of the stereoscopic image. Here, as an example, the apparent position of the real object 11a is set to the position where the display 3 intersects with a straight line passing through the viewpoint position of the user 10 and the position of the real object 11a.
[0080] Fig. 14 is a diagram (1) for explaining the processing of the control unit based on the control policy P5. As shown in Fig. 14, when the distance between the apparent position of real object 11a and virtual object 11b (stereoscopic image) is less than a threshold, control unit 150 displays virtual object 11b in the occluded region. On the other hand, when the distance between the apparent position of real object 11a and virtual object 11b (stereoscopic image) is equal to or greater than the threshold, control unit 150 displays virtual object 11b in the non-occluded region.
[0081] Fig. 15 is a diagram (2) for explaining the processing of the control unit based on the control policy P5. In Fig. 15, the apparent position of the real object 11a is "S". The control unit 150 calculates the apparent position "S" from the position of the line of sight of the user 10, the spatial position of the real object 11a, and the positional relationship of the display 3. Position "Q" indicates the display position of the stereoscopic image.
[0082] The control unit 150 calculates the distance D between the position S and the position Q, and the distance D is equal to or smaller than the threshold value D th If the difference is less than the threshold value D, the display position of the stereoscopic image is set to the position S. On the other hand, the control unit 150 calculates the distance D between the positions S and Q, and determines whether the distance D is equal to or smaller than the threshold value D th In the above cases, the display position of the display image is set so that it is included in the non-obstructed region 60b.
[0083] Through the above processing, the control unit 150 calculates the display position of the stereoscopic image, sets the display position in the control information, and outputs it to the display image generation unit 120. The display image generation unit 120 adjusts the display position of the stereoscopic image to match the display position set in the control information, and causes the image display unit 60 to display the stereoscopic image.
[0084] (Processing procedure of image processing device based on control policy P5) Fig. 16 is a flowchart showing a processing procedure of the image processing device based on the control policy P5. As shown in Fig. 16, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S51). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S52).
[0085] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S53). The analysis unit 130 calculates the positional relationship between the real object 11a and the virtual object 11b (step S54). The control unit 150 of the image processing device 100 identifies the occluded area and the non-occluded area (step S55).
[0086] The control unit 150 calculates the distance D between the apparent position of the real object 11a and the position of the virtual object 11b (step S56). th It is determined whether it is less than this value (step S57).
[0087] The control unit 150 determines whether the distance D is a threshold D th If it is less than the predetermined value (Yes at step S57), the display position included in the blocked area is calculated, control information is generated (step S58), and the process proceeds to step S60.
[0088] On the other hand, the control unit 150 determines whether the distance D is a threshold D th If it is not less than this (No at step S57), the display position included in the non-obstructed area is calculated, control information is generated (step S59), and the process proceeds to step S60.
[0089] The display image generating unit 120 generates information of a stereoscopic image based on the model data 140a and the control information, and displays the stereoscopic image at the display position of the image display unit 60 (step S60). If the image processing device 100 continues the processing (step S60, Yes), it proceeds to step S52. On the other hand, if the image processing device 100 does not continue the processing (step S48, No), it ends the processing.
[0090] By executing processing according to control policy P5, image processing device 100 causes control unit 150 to display virtual object 11b in the occluded region when the distance between the apparent position of real object 11a and virtual object 11b (stereoscopic image) is less than the threshold. On the other hand, when the distance between the apparent position of real object 11a and virtual object 11b (stereoscopic image) is equal to or greater than the threshold, control unit 150 causes virtual object 11b to be displayed in the non-occluded region. This makes it possible to support the work of user 10 in corresponding to the cases of "viewing real object 11a and the stereoscopic image superimposed on each other" and "comparing real object 11a and the stereoscopic image side by side".
[0091] (Control policy P6: Motion parallax) For example, the user 10 may view the image by moving the real object 11a while keeping the viewpoint position fixed. The control unit 150 represents a change corresponding to the movement of the real object 11a by moving the display position of the virtual object 11b.
[0092] Fig. 17 is a diagram (1) for explaining the processing of the control unit based on the control policy P6. As shown in Fig. 17, it is assumed that the user 10 moves the real object 11a in the "right direction". In this case, the control unit 150 moves the virtual object 11b in the "right direction", thereby substituting the change equivalent to the movement of the real object 11a with the movement of the display position of the virtual object.
[0093] FIG. 18 is a diagram (2) for explaining the processing of the control unit based on the control policy P6. As shown in FIG. 18, the user 10 moves the real object 11a to the right. If the viewpoint position of the user 10 does not move, the left side surface of the real object 11a becomes visible by moving the real object 11a to the right. The control unit 150 moves the display position of the virtual object 11b from position R1 to R2, so that the user 10 becomes able to view the left side surface of the virtual object 11b. That is, a change equivalent to the movement of the real object 11a is alternatively expressed by the movement of the display position of the virtual object 11b.
[0094] The control unit 150 calculates the movement trajectory of the real object 11a based on the position of the real object included in the analysis result for each piece of imaging information, and calculates the movement of the virtual object 11b. For example, the control unit 150 calculates the movement of the virtual object 11b by converting the movement trajectory for a predetermined period of time into the coordinate system of the image display unit 60. The information on the movement of the virtual object 11b includes information on a plurality of coordinates on the image display unit 60 arranged in chronological order.
[0095] The control unit 150 calculates the movement of the virtual object 11b through the above processing, sets the movement of the virtual object 11b in the control information, and outputs it to the display image generation unit 120. The display image generation unit 120 moves the stereoscopic image displayed on the image display unit 60 based on the movement set in the control information.
[0096] (Processing procedure of image processing device based on control policy P6) Fig. 19 is a flowchart showing the processing procedure of the image processing device based on the control policy P6. As shown in Fig. 19, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S71). The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S72).
[0097] The control unit 150 of the image processing device 100 calculates the movement trajectory of the real object 11a based on the analysis result (step S73).The control unit 150 calculates the movement of the virtual object 11b and generates control information (step S74).
[0098] The display image generating unit 120 generates information about a stereoscopic image based on the model data 140a and the control information, and causes the image display unit 60 to display the stereoscopic image and move the stereoscopic image (step S75).
[0099] If the image processing device 100 continues the process (step S76, Yes), the process proceeds to step S72. On the other hand, if the image processing device 100 does not continue the process (step S76, No), the process ends.
[0100] By executing processing in accordance with the control policy P6, the image processing device 100 can substitute a change equivalent to the movement of the real object 11a by moving the display position of the virtual object 11b, thereby supporting the work of the user 10.
[0101] (Control policy P7: Recording and replaying movements) For example, as described above, the analysis unit 130 records the analysis results (position of the real object 11a) of each piece of imaging information in the analysis result table 140b in chronological order. The control unit 150 calculates the movement of the real object 11a based on each position of the real object 11a during a certain period of time recorded in the analysis result table 140b. The control unit 150 calculates the movement of the virtual object 11b based on the movement of the real object 11a, and moves the virtual object 11b based on this movement, thereby reproducing the past movement of the real object 11a.
[0102] Here, when the analysis unit 130 uses the movement of the real object 11a, it may remove noise by calculating a moving average of the real object 11a. Furthermore, the analysis unit 130 may record different movements of the real object 11a and synthesize the recorded positions to edit the fragmented movement into information of a continuous movement. For example, the analysis unit 130 may synthesize the movement trajectories of the first period, the second period, and the third period.
[0103] FIG. 20 is a diagram for explaining the processing of the control unit based on the control policy P7. The user 10 moves the real object 11a for a certain period of time, and the analysis unit 130 records the movement of the real object 11a (the position of each frame number) in the analysis result table 140b based on the imaging information. The control unit 150 calculates the movement of the virtual object 11b based on the movement of the real object 11a for a certain period of time recorded in the analysis result table 140b, and generates control information for moving the virtual object 11b based on the movement. For example, the control unit 150 performs a calculation to convert the position of each frame (position in real space) that is the movement of the real object 11a into the coordinate system of the display screen of the image display unit 61. It is assumed that the relationship between the position in real space and the coordinate of the display screen is defined in advance.
[0104] (Processing procedure of image processing device based on control policy P7) Fig. 21 is a flowchart showing the processing procedure of the image processing device based on the control policy P7. As shown in Fig. 21, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S81). The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S82).
[0105] The analysis unit 130 calculates the position of the real object 11a and records it in the analysis result table 140b (step S83). If the fixed period has not elapsed (step S84, No), the image processing device 100 proceeds to step S82. On the other hand, if the fixed period has elapsed (step S84, Yes), the image processing device 100 proceeds to step S85.
[0106] The control unit 150 of the image processing device 100 calculates the movement of the virtual object 11b based on each position of the real object 11a recorded in the analysis result table 140b, and generates control information (step S85). The display image generating unit 120 generates information of a stereoscopic image based on the model data 140a and the control information, displays the stereoscopic image on the image display unit 60, and moves the stereoscopic image (step S86).
[0107] The image processing device 100 executes processing according to the control policy P7 to record the movement of the real object 11a for a certain period of time, calculate the movement of the virtual object 11b based on the recorded movement, and control the movement of the stereoscopic image. This makes it possible to reproduce the past movement of the real object 11a with the virtual object 11b.
[0108] (Control policy P8: Lighting) When the control unit 150 receives a designation of the lighting position and lighting color from the outside, it calculates the color and reflection position of the virtual object 11b based on the lighting position and lighting color in the control information, and generates the control information. The display image generation unit 120 generates information of a stereoscopic image based on the color and reflection position of the virtual object 11b set in the control information, and causes the image display unit 60 to display it.
[0109] FIG. 22 is a diagram for explaining the processing of the control unit based on the control policy P8. The user 10 uses an input device (not shown) or the like to specify the lighting position and lighting color of the lighting 12 to the image processing device 100. The analysis unit 130 may also estimate the lighting position and lighting color using imaging information and output the analyzed lighting position and lighting color information to the control unit 150. The control unit 150 calculates the color and reflection position of the virtual object 11b-1 based on the lighting position and lighting color. The display image generation unit 120 generates the virtual object 11b-2 by performing correction to add effects (color, gloss) to the virtual object 11b-1 based on the color and reflection position calculated by the analysis unit 130, and causes the image display unit 60 to display the virtual object 11b-2.
[0110] The control unit 150 changes the color of the virtual object 11b-2 when the color of the real object 11a changes. Furthermore, the control unit 150 may change the position of the specular reflection of the virtual object 11b-2 when the lighting position changes.
[0111] (Processing procedure of image processing device based on control policy P8) Fig. 23 is a flowchart showing a processing procedure of the image processing device based on the control policy P8. As shown in Fig. 23, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S91). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint position of the user 10 (step S92).
[0112] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10 (step S93). The control unit 150 of the image processing device 100 accepts the designation of the lighting color and lighting position (or the analysis unit 130 estimates the lighting position and lighting color using the imaging information, and outputs the analyzed lighting position and lighting color information to the control unit 150) (step S94). The control unit 150 calculates the color and reflection position of the virtual object 11b according to the lighting color and lighting position, and generates control information (step S95).
[0113] The display image generating unit 120 generates information about a stereoscopic image based on the model data 140a and the control information, and displays the stereoscopic image reflecting the lighting effect (step S96).
[0114] If the image processing device 100 continues the process (step S97, Yes), the process proceeds to step S92. On the other hand, if the image processing device 100 does not continue the process (step S97, No), the process ends.
[0115] The image processing device 100 executes processing in accordance with the control policy P8, thereby making it possible to cause the virtual object 11b to have the same lighting effect as that obtained when lighting is applied to the real object 11a.
[0116] <<1.4. Effects of the image processing device according to the first embodiment>> As described above, in the image processing device according to the first embodiment, the analysis unit 130 analyzes the imaging information, and the control unit 150 generates control information based on the analysis result and the control policies P1 to P8 to control the display of the stereoscopic image, thereby making it possible to appropriately display a stereoscopic image to the user. For example, when a 3D real object 11a is displayed as a virtual object 11b on the image display unit 60 by the above processing, the task of simultaneously appreciating and comparing the real object 11a and the virtual object 11b can be automatically assisted, thereby improving the user's work efficiency.
[0117] <2. Second embodiment> <<2.1. Situation according to the second embodiment>> 24 is a diagram for explaining an example of a situation according to the second embodiment. As shown in FIG 24, an image processing device 200 and an image processing device 300 are connected to each other via a network 20.
[0118] It is assumed that a user 10 is positioned in front of the image processing device 200 and is holding a real object 11a. The image processing device 200 captures an image of the real object 11a with a camera 4a and calculates the movement of the real object 11a. The image processing device 200 sets information on the movement of the real object 11a in control information and transmits the control information to the image processing device 300. The image processing device 200 may display a stereoscopic image of the virtual object 11b on the display 3a in the same manner as the image processing device 100 of the first embodiment.
[0119] Note that the image processing device 300 may execute the same process as the image processing device 100 by using the camera 4b, in addition to the above process.
[0120] Upon receiving the control information, the image processing device 300 displays a stereoscopic image of the virtual object 11b on the display 3b based on the model data of the virtual object 11b and the control information. The control information includes information on the movement of the real object 11a, and the image processing device 300 controls the movement of the virtual object 11b in accordance with the movement of the real object 11a.
[0121] <<2.2. Configuration of image processing device according to second embodiment>> Fig. 25 is a diagram (1) showing a configuration example of an image processing device according to a second embodiment. As shown in Fig. 25, this image processing device 200 is connected to an image capturing unit 51 and an image display unit 61. Note that the image processing device 200 may have the image capturing unit 51 and the image display unit 61.
[0122] The image capturing unit 51 is a stereo camera that captures an image of the user 10 located within an imaging range and a real object 11a held by the user 10. The image capturing unit 51 corresponds to the camera 4a shown in FIG. 24. The image capturing unit 51 includes a CMOS sensor or another image sensor such as a CCD. The image capturing unit 51 outputs information about the captured image to the image processing device 200. In the following description, information about the image captured by the image capturing unit 51 is referred to as "capture information."
[0123] Since the image capturing unit 51 is a stereo camera, the image capturing information includes an image captured by one camera and an image captured by the other camera. The image capturing unit 51 captures an image at a predetermined frame rate, and outputs the image capturing information to the image processing device 200 every time an image is captured. The frame numbers may be assigned to the image capturing information in ascending order in chronological order.
[0124] The image display unit 61 is a display device that displays a stereoscopic image based on information output from the image processing device 200. The image display unit 61 corresponds to the display 3a shown in Fig. 24. For example, the image display unit 61 displays a stereoscopic image of a virtual object 11b.
[0125] The image processing device 200 includes a viewpoint position detection section 210 , a display image generation section 220 , an analysis section 230 , a storage section 240 , a control section 250 , and a communication section 260 .
[0126] The viewpoint position detection unit 210 is a processing unit that performs face detection based on imaging information and detects the viewpoint position of the user 10. The viewpoint position detection unit 210 outputs information on the viewpoint position to the display image generation unit 220. Other details regarding the viewpoint position detection unit 210 are the same as those regarding the viewpoint position detection unit 110 described in the first embodiment.
[0127] The display image generating unit 220 is a processing unit that generates information for displaying a stereoscopic image on the image display unit 61 and outputs the generated information to the image display unit 61. Other explanations regarding the display image generating unit 220 are the same as those regarding the display image generating unit 120 described in the first embodiment.
[0128] The analysis unit 230 is a processing unit that performs various analyses based on the imaging information acquired from the image capturing unit 51, and outputs the analysis results to the control unit 250. Other processes related to the analysis unit 230 are similar to those described for the analysis unit 130 in the first embodiment.
[0129] The storage unit 240 has model data 240a and an analysis result table 240b. The storage unit 240 corresponds to a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a HDD. The description of the model data 240a is the same as the description of the model data 140a described in the first embodiment. The description of the analysis result table 240b is the same as the description of the analysis result table 140b described in the first embodiment.
[0130] The control unit 250 is a processing unit that generates control information based on the analysis result of the analysis unit 230, and outputs the generated control information to the display image generation unit 220. In addition, the control unit 250 transmits the control information to the image processing device 300 via the communication unit 260.
[0131] For example, the control unit 250 performs a calculation to convert the position of the real object 11a included in the analysis result into the coordinate system of the display screen of the image display unit 62 of the image processing device 300 described later, sets the calculated position information as control information, and transmits it to the image processing device 300.
[0132] The communication unit 260 is a processing unit that transmits control information acquired from the control unit 250 to the image processing device 300 via the network 20. The communication unit 260 corresponds to a communication device such as a NIC (Network Interface Card).
[0133] Fig. 26 is a diagram (2) showing a configuration example of an image processing device according to the second embodiment. As shown in Fig. 26, this image processing device 300 is connected to an image capturing unit 52 and an image display unit 62. Note that the image processing device 300 may have the image capturing unit 52 and the image display unit 62.
[0134] The image capturing unit 52 is a stereo camera that captures an image of the user 15 located within an imaging range. The image capturing unit 52 corresponds to the camera 4b shown in FIG. 24. The image capturing unit 52 includes a CMOS sensor or another image sensor such as a CCD. The image capturing unit 52 outputs information about the captured image to the image processing device 200. In the following description, information about the image captured by the image capturing unit 52 is referred to as "capture information."
[0135] The image display unit 62 is a display device that displays a stereoscopic image based on information output from the image processing device 300. The image display unit 62 corresponds to the display 3b shown in Fig. 24. For example, the image display unit 62 displays a stereoscopic image of the virtual object 11b.
[0136] The image processing device 300 includes a viewpoint position detection unit 310, a display image generation unit 320, an analysis unit 330, a storage unit 340, a control unit 350, and a communication unit 360. Here, a "first operation mode" or a "second operation mode" is set in advance in the image processing device 300. The first operation mode is a mode in which the image processing device 300 receives control information from the image processing device 200 via the network 20, and displays a stereoscopic image of the virtual object 11b based on the received control information.
[0137] The second operation mode is a mode in which the image processing device 300 itself analyzes imaging information captured by the camera 4b and displays a stereoscopic image of the virtual object 11b. The processing of the viewpoint position detection unit 310, the display image generation unit 320, the analysis unit 330, and the control unit 350 of the image processing device 300 in the second operation mode is similar to the processing of the viewpoint position detection unit 110, the display image generation unit 120, the analysis unit 130, and the control unit 150 of the image processing device 100 described in the first embodiment, and therefore the description thereof will be omitted.
[0138] The following describes the processing of the viewpoint position detection unit 310, display image generation unit 320, analysis unit 330, control unit 350, and communication unit 360 of the image processing device 300 in the first operation mode.
[0139] The viewpoint position detection unit 310 is a processing unit that performs face detection based on imaging information and detects the viewpoint position of the user 15. The viewpoint position detection unit 210 outputs information on the viewpoint position to the display image generation unit 320. Other explanations regarding the viewpoint position detection unit 310 are the same as those regarding the viewpoint position detection unit 110 described in the first embodiment.
[0140] The display image generating unit 320 is a processing unit that generates information for displaying a stereoscopic image on the image display unit 62 and outputs the generated information to the image display unit 62. Other explanations regarding the display image generating unit 320 are the same as those regarding the display image generating unit 120 described in the first embodiment.
[0141] In the first operation mode, the analysis section 330 may suspend processing, or may execute the same processing as the analysis section 130 described in the first embodiment.
[0142] The storage unit 340 has model data 340a and an analysis result table 340b. The storage unit 340 corresponds to a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a HDD. The description of the model data 340a is the same as the description of the model data 140a described in the first embodiment. The description of the analysis result table 340b is the same as the description of the analysis result table 140b described in the first embodiment.
[0143] The control unit 250 is a processing unit that acquires control information from the image processing device 200 via the communication unit 360 and outputs the acquired control information to the display image generating unit 320.
[0144] The communication unit 360 is a processing unit that receives control information from the image processing device 200 via the network 20. The communication unit 360 corresponds to a communication device such as a NIC.
[0145] (Processing procedure of image processing device 200) Fig. 27 is a flowchart (1) showing a processing procedure of the image processing device according to the second embodiment. As shown in Fig. 27, the image processing device 200 starts acquiring imaging information from the image capturing unit 51 (step S100). The viewpoint position detection unit 210 of the image processing device 200 detects the viewpoint position of the user 10 (step S101).
[0146] The analysis unit 230 of the image processing device 200 detects the real object 11a held by the user 10 (step S102). The control unit 250 of the image processing device 200 calculates the movement of the real object 11a (step S103). The control unit 250 of the image processing device 200 calculates the movement of the virtual object 11b in accordance with the movement of the real object 11a, and generates control information (step S104).
[0147] The communication unit 260 of the image processing device 200 transmits the control information to the image processing device 300 (step S105). If the image processing device 200 continues the process (step S106, Yes), the image processing device 200 proceeds to step S101. On the other hand, if the image processing device 200 does not continue the process (step S106, No), the image processing device 200 ends the process.
[0148] (Processing procedure of image processing device 300) Fig. 28 is a flowchart (2) showing the processing procedure of the image processing device according to the second embodiment. As shown in Fig. 28, the image processing device 300 starts acquiring imaging information from the image capturing unit 52 (step S150). The viewpoint position detection unit 310 of the image processing device 300 detects the viewpoint position of the user 15 (step S151).
[0149] The communication unit 360 of the image processing device 300 receives the control information from the image processing device 200 (step S152). The control unit 350 of the image processing device 300 outputs the control information to the display image generating unit 320 (step S153).
[0150] The display image generating unit 320 of the image processing device 300 generates information about a stereoscopic image based on the model data 340a and the control information, and causes the image display unit 60 to display and move the stereoscopic image (step S154).
[0151] If the image processing device 300 continues the process (step S155, Yes), the image processing device 300 proceeds to step S151. On the other hand, if the image processing device 300 does not continue the process (step S155, No), the image processing device 300 ends the process.
[0152] <<2.3. Effects of the image processing device according to the second embodiment>> As described above, in the image processing device 200, the analysis unit 230 analyzes the imaging information, and the control unit 250 generates control information based on the analysis result and transmits the control information to the image processing device 300. Upon receiving the control information, the image processing device 300 displays a stereoscopic image of the virtual object 11b on the display 3b based on the model data 340a and the control information. This makes it possible to reproduce the movement of the real object 11a held by the user 10 located at a different place from the user 15 in the stereoscopic image displayed by the image processing device 300.
[0153] <3. Third embodiment> <<3.1. Example of the appearance of the image processing device>> Fig. 29 is a diagram for explaining an example of a situation according to the third embodiment. As shown in Fig. 29, an image processing device 400 and a terminal device 70 are connected to each other via a network 20. The terminal device 70 corresponds to a tablet terminal, a smartphone, or the like.
[0154] The user 10 holds a terminal device 70. When the user 10 moves the terminal device 70, the terminal device 70 calculates information about the movement of the terminal device 70 using an acceleration sensor or the like, and transmits control information in which the movement information is set to the image processing device 400. Upon receiving the control information, the image processing device 400 displays a stereoscopic image of the virtual object 11b on the display 3 based on the model data of the virtual object 11b and the control information.
[0155] <<3.2. Configuration of image processing device according to third embodiment>> Fig. 30 is a diagram showing an example of the configuration of an image processing device according to the third embodiment. As shown in Fig. 30, the image processing device 400 is connected to an image capturing unit 53 and an image display unit 63. Note that the image processing device 400 may have the image capturing unit 53 and the image display unit 63.
[0156] The image capturing unit 53 is a stereo camera that captures an image of the user 15 located within the capturing range. The image capturing unit 51 corresponds to the camera 4 shown in FIG. 29. The image capturing unit 53 includes a CMOS sensor or another image sensor such as a CCD. The image capturing unit 53 outputs information about the captured image to the image processing device 400. In the following description, information about the image captured by the image capturing unit 53 is referred to as "capture information."
[0157] Since the image capturing unit 53 is a stereo camera, the image capturing information includes an image captured by one camera and an image captured by the other camera. The image capturing unit 53 captures an image at a predetermined frame rate, and outputs the image capturing information to the image processing device 400 every time an image is captured. The frame numbers may be assigned to the image capturing information in ascending order in chronological order.
[0158] The image display unit 63 is a display device that displays a stereoscopic image based on information output from the image processing device 400. The image display unit 63 corresponds to the display 3 shown in Fig. 29. For example, the image display unit 63 displays a stereoscopic image of the virtual object 11b.
[0159] The image processing device 400 includes a viewpoint position detection section 410 , a display image generation section 420 , an analysis section 430 , a storage section 440 , a control section 450 , and a communication section 460 .
[0160] The viewpoint position detection unit 410 is a processing unit that performs face detection based on imaging information and detects the viewpoint position of the user 15. The viewpoint position detection unit 410 outputs information on the viewpoint position to the display image generation unit 420. Other details regarding the viewpoint position detection unit 410 are the same as those regarding the viewpoint position detection unit 110 described in the first embodiment.
[0161] The display image generating unit 420 is a processing unit that generates information for displaying a stereoscopic image on the image display unit 63 and outputs the generated information to the image display unit 63. Other explanations regarding the display image generating unit 420 are the same as those regarding the display image generating unit 120 described in the first embodiment.
[0162] The analysis unit 430 is a processing unit that performs various analyses based on the imaging information acquired from the image capturing unit 53, and outputs the analysis results to the control unit 450. Other processes related to the analysis unit 430 are similar to those described for the analysis unit 130 in the first embodiment. Note that, if the imaging information does not include the real object 11a, the analysis unit 430 does not perform a process to detect the real object 11a.
[0163] The storage unit 440 has model data 440a and an analysis result table 440b. The storage unit 440 corresponds to a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a HDD. The description of the model data 440a is the same as the description of the model data 140a described in the first embodiment. The description of the analysis result table 440b is the same as the description of the analysis result table 140b described in the first embodiment.
[0164] The control unit 450 is a processing unit that acquires control information from the terminal device 70 and outputs the acquired control information to the display image generating unit 420. Note that the control unit 450 may convert a change in movement included in the control information acquired from the terminal device 70 into the coordinate system of the image display unit 60, thereby updating the control information so as to match the movement of the virtual object 11b, and then output the control information to the display image generating unit 420.
[0165] The communication unit 460 is a processing unit that receives control information from the terminal device 70 via the network 20. The communication unit 460 corresponds to a communication device such as a NIC.
[0166] (Processing procedure of terminal device 70) Fig. 31 is a flowchart showing a processing procedure of a terminal device according to the third embodiment. As shown in Fig. 31, the terminal device 70 starts detecting a movement using an acceleration sensor or the like set in the terminal device (step S200). The terminal device 70 sets information about the movement of the terminal device 70 in the control information (step S201).
[0167] The terminal device 70 transmits control information to the image processing device 400 (step S202). If the terminal device 70 continues the process (step S203, Yes), the terminal device 70 proceeds to step S201. If the terminal device 70 does not continue the process (step S203, No), the terminal device 70 ends the process.
[0168] (Processing procedure of image processing device 400) Fig. 32 is a flowchart showing a processing procedure of the image processing device according to the third embodiment. As shown in Fig. 32, the image processing device 400 starts acquiring imaging information from the image capturing unit 53 (step S250). The viewpoint position detection unit 410 of the image processing device 400 detects the viewpoint position of the user 15 (step S251).
[0169] The communication unit 460 of the image processing device 400 receives the control information from the terminal device 70 (step S252). The control unit 450 of the image processing device 400 outputs the control information to the display image generating unit 420 (step S253).
[0170] The display image generating unit 420 of the image processing device 400 generates information about a stereoscopic image based on the model data 440a and the control information, and causes the image display unit 63 to display and move the stereoscopic image (step S254).
[0171] If the image processing device 400 continues the process (step S255, Yes), the image processing device 400 proceeds to step S251. On the other hand, if the image processing device 400 does not continue the process (step S255, No), the image processing device 400 ends the process.
[0172] <<3.3. Effects of the image processing device according to the third embodiment>> As described above, the image processing device 400 receives control information indicating the movement of the terminal device 70 from the terminal device 70, and displays a stereoscopic image of the virtual object 11b on the display 3b based on the model data 440a and the control information. This makes it possible to reproduce the movement of the terminal device 70 held by the user 10 located at a different place from the user 15 in the stereoscopic image displayed by the image processing device 400.
[0173] <4. Other embodiments> (Occluded and unoccluded areas when there are multiple users) 5, the analysis unit 130 calculates the occluded area 60a and the non-occluded area 60b when there is one user, but the analysis unit 130 can calculate the occluded area 60a and the non-occluded area 60b even when there are multiple users (for example, two users). In the description of each processing unit in other embodiments, the reference numerals of each processing unit in FIG. 4 are used.
[0174] FIG. 33 is a diagram showing an example of the occluded area and the non-occluded area when there are multiple users. The analysis unit 130 calculates the distance between the users 10A, 10B and the display 3 and the distance between the real object 11a and the display 3, which are included in the imaging information, by performing stereo matching for each part of the two images included in the imaging information. In the following description, the distance between the user 10A and the display 3 is referred to as the "third distance". The distance between the user 10B and the display 3 is referred to as the "fourth distance". The distance between the real object 11a and the display 3 is referred to as the "second distance".
[0175] The analysis unit 130 calculates the occluded area 60a and the non-occluded area 60b from the geometric relationship between the size of the real object 11a, the viewpoint position of the user 10A, the viewpoint position of the user 10B, the second distance, the third distance, and the fourth distance. The occluded area 60a indicates an area of the display area of the display 3 that cannot be seen by the user 10A or the user 10B due to the real object 11a. The non-occluded area 60b indicates an area of the display area of the display 3 that cannot be seen by the user 10A or the user 10B due to the real object 11a. 10 B indicates the visible area.
[0176] The control unit 150 executes, for example, the process described in the control policy P4 based on the analysis result of the analysis unit 130. That is, the control unit 150 performs control to display a stereoscopic image in the non-obstructed area of the image display unit 60.
[0177] (Processing Procedure of Image Processing Device According to Other Embodiments) Fig. 34 is a flowchart showing a processing procedure of an image processing device according to another embodiment. As shown in Fig. 34, the image processing device 100 starts acquiring imaging information from the image capturing unit 50 (step S300). The viewpoint position detection unit 110 of the image processing device 100 detects the viewpoint positions of a plurality of users 10A and 10B (step S301).
[0178] The analysis unit 130 of the image processing device 100 detects the real object 11a held by the user 10A (or the user 10B) (step S302). The analysis unit 130 calculates the positional relationship between the real object 11a and the virtual object 11b (step S303). The control unit 150 of the image processing device 100 identifies the occluded area and the unoccluded area (step S304).
[0179] The control unit 150 calculates the display position included in the unobstructed region and generates control information (step S305). The display image generation unit 120 generates information of a stereoscopic image based on the model data 140a and the control information, and displays the stereoscopic image in the unobstructed region of the image display unit 60 (step S306).
[0180] If the image processing device 100 continues the process (Yes at step S307), the process proceeds to step S301. On the other hand, if the image processing device 100 does not continue the process (No at step S307), the process ends.
[0181] By executing the above-mentioned processing, the image processing device 100 displays a stereoscopic image (virtual object 11b) in the non-obstructed area based on the viewpoint positions of multiple users, so that multiple users can simultaneously view both the real object 11a and the stereoscopic image.
[0182] <5. Hardware configuration> The image processing device according to each embodiment described above is realized, for example, by a computer 500 configured as shown in FIG. 35. The image processing device 100 (200, 300, 400) according to the embodiment will be described below as an example. FIG. 35 is a hardware configuration diagram showing an example of a computer 500 that realizes the functions of the image processing device. The computer 500 has a CPU 501 that executes various arithmetic processes, an input device 502 that accepts data input from a user, and a display 503 that displays a stereoscopic image. The computer 500 also has an interface 504 for connecting to various devices. The interface 504 is connected to a camera or the like.
[0183] The hard disk device 506 has an image processing program 506a. The CPU 501 reads out the image processing program 506a and loads it in the RAM 505. The image processing program 506a functions as an image processing process 505a.
[0184] The processing of the image processing process 505a corresponds to the processing of the viewpoint position detection unit 110, the display image generation unit 120, the analysis unit 130, and the control unit 150 described with reference to FIG.
[0185] It is not necessary that image processing program 506a is stored in hard disk device 206 from the beginning. For example, each program may be stored in a "portable physical medium" such as a flexible disk (FD), CD-ROM, DVD disk, magneto-optical disk, or IC card that is inserted into computer 500. Then, computer 500 may read and execute image processing program 506a.
[0186] <6. Conclusion> The image processing device has an imaging unit, an analysis unit, and a control unit. The imaging unit captures an image of a user and a real object. The analysis unit analyzes the posture of the real object based on the imaging information captured by the imaging unit. The control unit controls the display of an image related to the real object based on the posture of the real object. This allows the user 10 to refer to a stereoscopic image of a virtual object 11b that has the same posture as the posture of a real object 11a that the user 10 holds, thereby supporting the work of the user 10.
[0187] The analysis unit further executes a process of calculating the size of the real object based on the imaging information, and the control unit controls the size of the image related to the real object based on the size of the real object. This allows the user 10 to refer to a stereoscopic image of the virtual object 11b that is the same size as the real object 11a held by the user 10, thereby supporting the work of the user 10.
[0188] The analysis unit calculates a first distance between the display screen displaying the image and the user, and a second distance between the display screen and the real object based on the imaging information, and the control unit adjusts the size of the image related to the real object based on the first distance and the second distance. This allows the user 10 to refer to a stereoscopic image of the virtual object 11b that appears to be the same size as the real object 11a held by the user 10, even if the real object 11a is located in front of the image display unit 60, and supports the work of the user 10.
[0189] The real object is located between the user and a display screen displaying the image, and the analysis unit calculates, based on the imaging information, obstructed areas of the display screen that are not visible to the user due to the real object, and non-obstructed areas that are visible to the user, and the control unit displays an image related to the real object in the non-obstructed areas.
[0190] The real object is located between the display screen and the multiple users, and the analysis unit calculates, based on the imaging information, an obstructed area of the display screen that the multiple users cannot see because of the real object and an unobstructed area that the multiple users can see, and the control unit displays an image related to the real object in the unobstructed area, thereby allowing the multiple users to see both the real object 11a and the stereoscopic image at the same time.
[0191] The control unit displays the image related to the real object in the non-occluded area or the occluded area based on the distance between the real object and the image related to the real object displayed on the display screen. This supports the work of the user 10 in two cases: "viewing the real object 11a and the stereoscopic image superimposed on each other" and "viewing the real object 11a and the stereoscopic image side by side for comparison."
[0192] The analysis unit calculates the movement of the user's position and the movement of the real object based on the imaging information, and the control unit controls the position of a display screen that displays an image related to the real object based on the movement of the user's position and the movement of the real object. This makes it possible to alternatively express a change corresponding to the movement of the real object 11a by the movement of the display position of the virtual object 11b, thereby supporting the work of the user 10.
[0193] The control unit receives display control information from another device, the display control information being created based on imaging information captured by another imaging unit that captures an image of another real object, and the display control information being information for controlling the display of an image related to the real object, and controls the display of the image related to the real object based on the received display control information. This makes it possible to reproduce the movement of a real object 11a held by a user 10 located at a different place from a user 15 in a stereoscopic image displayed by the image processing device 300.
[0194] The control unit receives display control information from the terminal device, the display control information being created based on the movement of the terminal device and being information for controlling the display of an image related to the real object, and controls the display of the image related to the real object based on the received display control information. This makes it possible to reproduce the movement of the terminal device 70 held by the user 10 located at a different location from the user 15 in a stereoscopic image displayed by the image processing device 400.
[0195] The analysis unit analyzes the posture and movement of the real object based on the imaging information, and stores the characteristics of the real object and the posture and movement information of the real object in a storage unit. The control unit acquires posture and movement information corresponding to the characteristics of the real object analyzed by the analysis unit from the storage unit, and controls the display of an image related to the real object based on the acquired posture and movement information. This makes it possible to reproduce the past movement of real object 11a with virtual object 11b.
[0196] The analysis unit estimates the position and color of lighting relative to the real object based on the imaging information, and the control unit changes the color of the image related to the real object based on the position and color of lighting. This makes it possible to reflect on the virtual object 11b the same lighting effect as when lighting is irradiated on the real object 11a.
[0197] It should be noted that the effects described in this specification are merely examples and are not limiting, and other effects may also be obtained.
[0198] The present technology can also be configured as follows. (1) an imaging unit that captures an image of a user and a real object; an analysis unit that analyzes a posture of the real object based on image information captured by the imaging unit; a control unit that controls display of an image related to the real object based on the posture of the real object; An image processing device comprising: (2) The image processing device described in (1) is characterized in that the analysis unit further executes a process of calculating a size of the real object based on the imaging information, and the control unit controls a size of an image related to the real object based on the size of the real object. (3) The image processing device described in (1) or (2) is characterized in that the analysis unit calculates a first distance between the display screen displaying the image and the user, and a second distance between the display screen and the real object, based on the imaging information, and the control unit adjusts a size of the image related to the real object based on the first distance and the second distance. (4) The image processing device described in (1), (2) or (3) is characterized in that the real object is located between the user and a display screen displaying the image, the analysis unit calculates, based on the imaging information, an occluded area of the display screen that is not visible to the user due to the real object and an unoccluded area that is visible to the user, and the control unit displays an image related to the real object in the unoccluded area. (5) The image processing device described in any one of (1) to (4), characterized in that the real object is located between the display screen and a plurality of users, the analysis unit calculates, based on the imaging information, an occluded area of the display screen that is not viewable by the real object to the plurality of users, and an unoccluded area that is viewable to the plurality of users, and the control unit displays an image related to the real object in the unoccluded area. (6) The image processing device described in (4) is characterized in that the control unit displays an image related to the real object in the non-occluded area or the blocked area based on a distance between the real object and an image related to the real object displayed on the display screen. (7) The image processing device described in any one of (1) to (6), characterized in that the analysis unit calculates the movement of the user's position and the movement of the real object based on the imaging information, and the control unit controls the position of a display screen that displays an image related to the real object based on the movement of the user's position and the movement of the real object. (8) The control unit receives display control information from another device, the display control information being created based on imaging information captured by another imaging unit that captures an image of another real object, and the display control information being information for controlling the display of an image related to the real object, and controls the display of the image related to the real object based on the received display control information. (9) The control unit receives display control information from the terminal device, the display control information being created based on the movement of the terminal device, and controlling the display of an image related to the real object based on the received display control information. The image processing device described in (1) is characterized in that (10) The image processing device described in (1) is characterized in that the analysis unit further executes a process of analyzing the posture and movement of the real object based on the imaging information, and storing the characteristics of the real object and information on the posture and movement of the real object in a memory unit. (11) The image processing device described in (1) is characterized in that the control unit acquires posture and movement information corresponding to the characteristics of the real object analyzed by the analysis unit from a memory unit, and controls the display of an image related to the real object based on the acquired posture and movement information. (12) The image processing device described in any one of (1) to (7), characterized in that the analysis unit estimates a lighting position and a lighting color with respect to the real object based on the imaging information, and the control unit changes a color of an image related to the real object based on the lighting position and the lighting color. (13) The image processing device according to any one of (1) to (12), wherein the control unit controls display of a stereoscopic image related to the real object. (14) The computer Analyzing a posture of the real object based on image information captured by an image capture unit that captures an image of the user and the real object; Based on the posture of the real object, display of an image related to the real object is controlled. An image processing method to perform the processing. (15) Computer, an analysis unit that analyzes a posture of a real object based on image information captured by an image capture unit that captures an image of a user and a real object; a control unit that controls display of an image related to the real object based on the posture of the real object; An image processing program to make it function as a [Explanation of symbols]
[0199] 50, 51, 52, 53 Image capture unit 60, 61, 62, 63 Image display section 100,200,300,400 Image processing device 110,210,310,410 Viewpoint position detection section 120,220,320,420 Display image generation section 130,230,330,430 Analysis Department 140,240,340,440 Storage section 140a, 240a, 340a, 440a model data 140b,240b,340b,440b Analysis result table 150,250,350,450 Control section 260,360,460 Communications Department
Claims
1. an imaging unit that captures a captured image including a user viewing a display and an actual object between the display and the user; an analysis unit that analyzes a posture of the real object based on the captured image, and calculates, based on the posture of the real object, an occluded area that is blocked by the real object and cannot be viewed by the user, and a non-occluded area that is viewable by the user, within a display area of the display; a control unit that controls the display to display, in the non-occluded area, a stereoscopic image of a virtual object having a shape corresponding to the posture of the real object; An image processing device comprising:
2. The analysis unit further executes a process of calculating a size of the real object based on the captured image, The control unit controls the display to display the virtual object having a size based on the size of the real object. The image processing device according to claim 1 .
3. the analysis unit calculates, based on the captured image, a first distance representing a distance between the display area and the user in a viewing direction, and a second distance representing a distance between the display area and the real object in the viewing direction; The control unit adjusts a size of the virtual object based on the first distance and the second distance. The image processing device according to claim 1 .
4. The users include a plurality of users viewing the display; the occlusion region includes a plurality of occlusion regions corresponding to the plurality of users, the unobstructed region includes the unobstructed region common to the plurality of users, The control unit causes the stereoscopic image to be displayed in the common non-obstructed area, The control unit does not display the stereoscopic image in the non-occluded area that is not common to the multiple users. The image processing device according to claim 1 .
5. the control unit automatically switches whether or not the virtual object is occluded by the real object based on a distance between the real object and the virtual object with respect to the display area as seen by the user. The image processing device according to claim 1 .
6. the control unit controls the display so as to change the motion parallax of the virtual object based on a viewpoint position of the user and a movement of the real object. The image processing device according to claim 1 .
7. The computer Analyzing a posture of a real object based on a captured image acquired by an imaging unit that acquires a captured image including a user viewing a display and a real object between the display and the user; calculating an occluded area that is not visible to the user due to the real object and an unoccluded area that is visible to the user, within a display area of the display, based on the orientation of the real object; controlling the display to display, in the non-occluded area, a stereoscopic image of a virtual object having a shape corresponding to the pose of the real object; An image processing method to perform the processing.
8. Computer, an analysis unit that analyzes the posture of a real object based on a captured image acquired by an imaging unit that acquires a captured image including a user viewing a display and a real object between the display and the user, and calculates, based on the posture of the real object, an occluded area that is blocked by the real object and cannot be seen by the user, and a non-occluded area that is visible to the user, within a display area of the display; a control unit that controls the display to display, in the non-occluded area, a stereoscopic image of a virtual object having a shape corresponding to the posture of the real object; An image processing program to make it function as a
Citation Information
Patent Citations
Tv game system
JP1995185131A
Image generating device, image generating method and recording medium
JP1997054821A
Method and unit for virtual body control and record medium
JP2000020193A
Three-dimensional image input-output device
JP2000224612A
Image fusion system, information processor, information terminal and information processing method
JP2015210379A
