DEVICE AND METHOD FOR GENERATING DYNAMIC VIRTUAL CONTENT IN MIXED REALITY - Patent application

The device and method dynamically adapt virtual content to real-world constraints, addressing inefficiencies in AR/MR by transforming virtual scenes to meet scenario requirements, ensuring seamless interaction and reducing resource demands.

JP7556839B2Active Publication Date: 2024-09-26INTERDIGITALCE PATENT HLDG SAS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2021179542
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-12-26
Filing Date
2021-11-02
Publication Date
2024-09-26
Estimated Expiration
2037-12-19

AI Technical Summary

Technical Problem

Existing augmented reality (AR) and mixed reality (MR) technologies struggle to efficiently render complex virtual animations in real-world environments due to uncontrolled real-world conditions, leading to geometric aberrations and semantic issues, and require significant storage and computational resources for flexible adaptation.

Method used

A device and method that dynamically adapt virtual content to real-world constraints by transforming a virtual 3D scene to satisfy predefined scenario requirements, allowing execution in a virtually adapted 3D scene instead of the real one, using real-world information captured in real-time to ensure compliance with constraints.

Benefits of technology

Enables flexible adaptation of MR scenarios to various real-world situations without additional storage or computational resources, providing a seamless user experience by ensuring virtual content interacts correctly with the real environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556839000003
    Figure 0007556839000003
  • Figure 0007556839000002
    Figure 0007556839000002
  • Figure 0007556839000001
    Figure 0007556839000001
Patent Text Reader

Abstract

Advantageously, it allows flexible adaptation of MR scenarios to a wide range of real-world situations without requiring significant additional storage or computational resources. [Solution] Dynamic virtual content(s) overlaid on a representation of a real 3D scene conform to a scenario (23) that is defined before runtime and includes real-world constraints. Real-world information (22) is captured in the real 3D scene, and the scenario is executed at runtime in the presence of the real-world constraints (14). When real-world constraints are not identified from the real-world information (12), before executing the scenario, a transformation of the representation of the real 3D scene into a virtual adapted 3D scene is performed (13) so that the virtual adapted 3D scene satisfies the constraints, and the scenario is executed in place of the real 3D scene and in the virtual adapted 3D scene replacing the real 3D scene. Application to mixed reality.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of Mixed Reality (MR), where computer-generated (CG) content is not simply overlaid on top of a view of the real world, but actually interacts with the real-world environment in such a way that digital and physical reality are seamlessly blended together. [Background technology]

[0002] Augmented reality (AR) applications refer to a live view of a real-world environment whose elements are augmented by CG content such as video or graphics. In MR, the CG content also interacts with the real-world environment.

[0003] In AR / MR applications, visual CG content is inserted into the real-world view at a given position, which is typically either defined relative to a predefined visual 2D / 3D pattern (e.g., in industrial applications), predetermined by spatial coordinates (e.g., outdoor location-based applications) or screen coordinates (e.g., Google Glass applications), or manually selected by the user (e.g., interactive applications).

[0004] However, in advanced applications, the virtual scene may contain prepared animated content, ranging from animations based on a single surface and reduced occupied volume (e.g., a character hopping in place or a dancer spinning) to animations built with complex scenarios based on various surfaces including several characters and / or objects with possible interactions and complex trajectories (e.g., a character walks on a surface from an initial position to a second position, grabs an object, then the character turns around and hides the object behind another object, then the character turns around again and suddenly falls into a hole).

[0005] For good user experience, immersion, and realism, such complex virtual animated content should spatially interact with the real environment: the surface on which the character walks should be large enough and may be a real plane with enough open space, e.g., a table, the occluding objects may be real objects on the table, the holes may correspond to the boundaries of the table, etc.

[0006] It is based on these kinds of strong assumptions and constraints on the shape of the real environment and the presence or absence of real elements that animated CG content is generated by artists. However, if the real environment is not controlled, it becomes problematic to efficiently render such complex MR animations. For example, a horizontal place may be much smaller or much larger than expected, and a horizontal surface may have many objects on its surface, so that there is not enough free space left to perform animation without geometric aberrations such as missing occlusion. This situation may further lead to questioning the semantics of animation itself.

[0007] Known solutions consist of adapting virtual animations to the real environment, which may consist in two steps: by parameterizing the animations upstream when preparing the virtual animated content; and by scanning the real environment and analyzing its layout in order to calculate the optimal position, orientation and scale to be applied to the virtual content in a subsequent pre-processing step.

[0008] A flexible and extended solution in this respect is developed in patent application US2015 / 0187108 to Daqri LLC, where the augmented reality content is adapted to changes in the real-world spatial geometry of the local environment. More precisely, the device can determine physical changes in the real-world spatial geometry based on the mapped real-world spatial geometry and modify the virtual object according to the physical changes. Such modifications may concern the size, shape, position, or behavior of the virtual object.

[0009] However, such existing solutions do not ensure that the real environment contains sufficient minimum requirements to efficiently render animations: for example, a horizontal surface for a virtual character to walk on may be missing, or a real object may obscure a virtual object being grabbed by a character.

[0010] Also, dynamically adapting virtual content as proposed in US2015 / 0187108 may be detrimental to desired scenarios. In addition, providing scenarios that are flexible enough to be adapted to a wide range of real-world situations may require significant storage and computational resources. Summary of the Invention

[0011] An objective of the present disclosure is to advantageously enable flexible adaptation of MR scenarios to a wide range of real-world situations without requiring significant additional storage or computational resources.

[0012] In a preferred embodiment, several scenarios with different constraints can therefore be run in real time on the basis of a real-world environment.

[0013] In this respect, an object of the present disclosure is in particular a device for generating at least one dynamic virtual content to be overlaid on a representation of a real 3D scene, the dynamic virtual content(s) being compliant with at least one scenario(s) defined prior to runtime of the scenario(s) and including at least one real-world constraint. at least one input adapted to receive real-world information captured in a real 3D scene; - at least one processor configured to execute the scenario(s) at runtime in the presence of real-world constraint(s) identified from real-world information.

[0014] According to the present disclosure, the at least one processor is further configured to, when at least one real-world constraint is not identified from the real-world information, before executing the scenario(s), transform the representation of the real 3D scene into the virtual adapted 3D scene such that the virtual adapted 3D scene satisfies the constraint(s), and instead of executing the scenario(s) in the real 3D scene, execute the scenario(s) in the virtual adapted 3D scene replacing the real 3D scene.

[0015] The device is advantageously configured to thereby operate as if the acquired information on the virtual adapted 3D scene were information on a valid real 3D scene, leading to some intentional misleading of the system, i.e. the planned scenario may advantageously be successfully executed and subjected to some preliminary virtual patches applied to the representation of the real world.

[0016] It may be noted that MR scenarios may be designed upstream without precise knowledge of the environment, or even more precisely for a wide variety of different environments, e.g. a television set and a table on which the TV sits, and adaptation is advantageously achieved locally at the execution site to make those scenarios usable.

[0017] In the following, reference will be made to an "adapted" or "completed" environment or real scene, or to "moved" or "transformed" real objects. These expressions, used for convenience and brevity, should be understood as meaning that the real 3D scene undergoes, via virtual effects, the relevant transformation of its representation before the execution of the scenario. These virtual effects may include, inter alia, addition, subtraction, color or texture modification. More generally, they comprise any change to the perception of the real 3D scene by the user due to an action on the representation of reality.

[0018] Such a representation furthermore means any kind of representation to the user, which may in particular be through transparent or semi-transparent glass (direct view) or via a camera capturing an image of the real 3D scene visualized by the user on a screen (indirect view), techniques which are well known to those skilled in the art and will not be described further herein.

[0019] The scenario is defined as a CG content animation pre-designed by the creator.

[0020] The rendering of the real 3D scene as well as the virtual adapted 3D scene is preferably done in real time.

[0021] Unlike existing solutions, and surprising to those skilled in the art of virtual to real world adaptation, the present device artificially introduces virtual modifications to satisfy the constraints of a virtual scenario as if they were applied to the real world: the applied deformations in fact remain in the fields of the virtual world, but they are introduced before a given scenario is executed in such a way that they normally comply with the constraints related to the real world.

[0022] In one embodiment, the transformation of the representation of the real 3D scene is performed in a preliminary refinement stage, before any scenario runtime.

[0023] In another embodiment, the transformation of the representation occurs during run-time of a previous scenario in preparation for one or more subsequent scenarios. In this regard, different successive portions of a given scenario comprising two or more scenes may be considered as different scenarios, so long as each of those successive portions is associated with at least one respective real-world constraint.

[0024] In an extension, the transition from one part of the scenario to another is triggered by a change in the real 3D scene (e.g. a real object is removed in the environment). This advantageously also includes the case where the scenario comprises similar features and real-world constraints in both parts, but at least one of the constraints depends on a peculiarity of the real 3D scene that is modified during runtime. The change can then be taken into account by satisfying the relevant constraint(s) in the virtual adapted 3D scene, as disclosed above, as a means of fooling the perception of the real 3D scene within the framework of MR processing. The part of the scenario that follows the change is then considered as a "scenario" in itself.

[0025] The captured real-world information of the real 3D scene advantageously comprises a point cloud or a 3D model obtained from scanning the environment, and the at least one processor is advantageously configured to determine environment specifics, in particular identifying objects present in the real 3D scene and some or all of their types, positions, sizes and shapes, as well as free planar areas, and to analyze MR application requirements (in particular real-world constraints that may relate to elements or free planar areas) and to check whether the environment meets those requirements at least partially.

[0026] The at least one processor is also advantageously configured to update an executed or currently executing MR application with the virtually adapted 3D scene replacing the real 3D scene.

[0027] In a preferred implementation, the at least one real-world constraint is at least two in number and potentially interacting, and the at least one processor is further configured to jointly transform the virtual adapted 3D scene with respect to the real-world constraints such that the virtual adapted 3D scene satisfies the constraints.

[0028] In some related embodiments, the congruent deformation is then achieved iteratively through several successive attempts targeting different items of deformation until two or more constraints are satisfied.

[0029] In another implementation, the at least one real-world constraint, which is at least two and potentially interacting, is ranked according to an order of importance, and the at least one processor is further configured to perform the transformation in favor of the constraint(s) having the at least one most significant rank, and to execute the scenario at runtime in the absence of at least one of the real-world constraints that differs from the real-world constraint(s) having the most significant rank.

[0030] As a result, some constraints may be satisfied without other constraints being satisfied, as long as the other constraints are deemed less important in the execution of the scenario concerned.

[0031] According to a preferred embodiment, contemplated alone or in any suitable combination: - the at least one constraint includes a presence of at least one real-world object, and the at least one processor is configured to add a virtual representation of the real-world object(s) in the virtual adapted 3D scene; - the at least one constraint relates to at least one dimension of the at least one real-world object, and the at least one processor is configured to modify the representation of the at least one dimension of the real-world object(s) in the virtually adapted 3D scene such that the at least one constraint on the dimension(s) is satisfied; -the at least one processor is configured to deform the virtual representation of the at least one real-world object adverse to the at least one constraint such that, in the virtual adapted 3D scene, the at least one constraint is satisfied; -the at least one processor is configured to perform deformations by at least one of removing, shrinking, and moving the real-world object(s) in the virtual adapted 3D scene; - the at least one constraint relates to at least one real-world object, and the at least one processor is configured to transform, by at least one of moving, rotating, translating, scaling, and replicating, the real-world object(s) such that the at least one constraint on the real-world object(s) is satisfied.

[0032] Advantageously, the transformation includes clearing up at least one area in the virtually adapted 3D scene, and the at least one processor is further configured to repair at least one area in the virtually adapted 3D scene.

[0033] And even if some irregularities are introduced by the virtual fitting, for example by virtually removing real objects in the real 3D scene, the perception of continuity can be provided to the user.

[0034] In some implementations, the at least one processor is further configured to explicitly involve a user in performing the transformation.

[0035] A user can thereby complete an automated process, which among other things allows for the execution of more user-friendly or customized scenarios.

[0036] Advantageously, the at least one input unit is also adapted to receive the scenario(s), and the device further comprises at least one output unit adapted to output at least a part of a representation of the virtually adapted 3D scene for a user to visualize the scenario(s) in the virtually adapted 3D scene.

[0037] The disclosure further relates to an apparatus comprising a device according to the disclosure, the apparatus being a video receiver, a mobile phone, a tablet, or a head mounted display system for augmented reality.

[0038] Another object of the present disclosure is a device for generating at least one dynamic virtual content to be overlaid on a representation of a real 3D scene, the dynamic virtual content(s) being compliant with at least one scenario(s) defined prior to runtime of the scenario(s) and including at least one real-world constraint. - means for receiving real world information captured in a real 3D scene; and means for executing the scenario(s) at runtime in the presence of real-world constraint(s) identified from real-world information.

[0039] According to the present disclosure, the executing means is configured to, when at least one real-world constraint is not identified from the real-world information, before executing the scenario(s), transform a representation of the real 3D scene into the virtual adapted 3D scene such that the virtual adapted 3D scene satisfies the constraint(s), and instead of executing the scenario(s) in the real 3D scene, execute the scenario(s) in the virtual adapted 3D scene replacing the real 3D scene.

[0040] The disclosure also relates to a method for generating at least one dynamic virtual content overlaid on a representation of a real 3D scene, the at least one dynamic virtual content being compliant with at least one scenario defined prior to runtime of the scenario(s) and including at least one real-world constraint, the method comprising: - receiving real world information captured in a real 3D scene; - executing the scenario(s) at runtime in the presence of real-world constraint(s) identified from the real-world information.

[0041] According to the disclosure, the method further includes, when at least one real-world constraint is not identified from the real-world information, before executing the scenario(s), transforming the representation of the real 3D scene into the virtual adapted 3D scene such that the virtual adapted 3D scene satisfies the at least one constraint, and instead of executing the scenario(s) in the real 3D scene, executing the scenario(s) in the virtual adapted 3D scene replacing the real 3D scene.

[0042] The method is advantageously performed by a device according to any of the disclosed modes of operation.

[0043] Additionally, the disclosure relates to a computer program for generating at least one dynamic virtual content, the computer program comprising software code adapted, when the program is executed by a processor, to perform a method complying with any of the above mentioned modes of execution.

[0044] The present disclosure further relates to a non-transitory program storage device tangibly embodying a program of computer-readable and computer-executable instructions for performing at least one method of generating dynamic virtual content pursuant to the present disclosure.

[0045] Such non-transitory program storage devices may be, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor devices, or any suitable combination of the foregoing. The following provide more specific examples: portable floppy disks, hard disks, ROM (read only memory), EPROM (erasable programmable ROM) or flash memory, portable CD-ROM (compact disc ROM), but are understood to be merely illustrative and not exhaustive, as will be readily appreciated by those skilled in the art.

[0046] The present disclosure will be better understood and other specific features and advantages will become apparent on reading the following description of certain non-limiting exemplary embodiments, the description making reference to the accompanying drawings, in which: [Brief description of the drawings]

[0047] [Figure 1] FIG. 1 is a block diagram that generally represents a device for generating dynamic virtual content in accordance with the present disclosure. [Diagram 2] FIG. 2 is a diagram of an example of a user's environment that may be considered for utilizing the device of FIG. 1. [Diagram 3] 2 is a flowchart illustrating continuous mixed reality steps performed using the device of FIG. 1. [Figure 4]FIG. 2 is a diagram of an MR apparatus equipped with the device depicted in FIG. 1. Detailed Description of the Invention

[0048] The present description illustrates the principles of the disclosure and it will thus be appreciated that those skilled in the art will be able to devise various arrangements which, although not explicitly described or shown herein, embody the principles of the disclosure and are included within its spirit and scope.

[0049] All examples and conditional language recited herein are intended for educational purposes to aid the reader in understanding the principles of the disclosure and concepts contributed by the inventors to further the art, and are to be construed as no limitation to such specifically recited examples and conditions.

[0050] Moreover, all statements herein reciting disclosed principles, aspects, and embodiments, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. In addition, such equivalents are intended to include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure.

[0051] Thus, for example, it will be appreciated by those skilled in the art that the block diagrams presented herein represent conceptual views of illustrative circuitry embodying the principles of the disclosure. Similarly, it will be appreciated that any flow charts, flow diagrams, or the like may be substantially represented in a computer-readable medium and represent various processes that may be so executed by a computer or processor, whether or not such a computer or processor is explicitly shown.

[0052] The terms "made" and "configured" are used in this disclosure broadly to cover the initial configuration, later adaptation, or supplementation of the device, or any combination thereof, whether accomplished by material or software means (including firmware).

[0053] The functions of the various elements shown in the figures may be provided by the use of dedicated hardware as well as hardware capable of executing software with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, a single shared processor, or multiple individual processors, some of which may be shared. Furthermore, the explicit use of the term "processor" should not be construed to refer only to hardware capable of executing software, but generally refers to a processing device, which may include, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device (PLD). In addition, instructions and / or data enabling the execution of the relevant and / or resulting functions may be stored on any processor-readable medium, such as, for example, an integrated circuit, a hard disk, an optical disk such as a CD (compact disk), a DVD (digital versatile disk), a RAM (random access memory), or a ROM memory. The instructions may be stored in hardware, software, firmware, or any combination thereof, among others.

[0054] It should be understood that the elements shown in the figures may be implemented in various forms of hardware, software, or a combination thereof. Preferably, these elements are implemented in a combination of hardware and software on one or more appropriately programmed general-purpose devices, which may include a processor, memory, and input / output interfaces.

[0055] The present disclosure will be described with reference to an embodiment of a particular functionality of a device 1 for generating dynamic virtual content, as illustrated in FIG.

[0056] Figure 1 The device 1 is adapted to generate at least one dynamic virtual content that is overlaid on a representation of a real 3D scene and conforms to at least one scenario, and is associated with mixed reality (MR).

[0057] Device 1 is advantageously an apparatus, or a physical portion of an apparatus, designed, configured, and / or adapted to perform the described functions and to produce the described effects or results. In alternative implementations, device 1 is embodied as a set of apparatuses or physical portions of apparatuses, whether grouped on the same machine or on different, possibly remote, machines.

[0058] In the following, modules will be understood as functional entities rather than material, physically distinct components. They may consequently be embodied either grouped together in the same tangible and concrete component or distributed among several such components. Also, each of the modules may itself possibly be shared between at least two physical components. In addition, the modules may be implemented in hardware, software, firmware or similarly in any mixed form thereof. They are preferably embodied in at least one processor of the device 1.

[0059] The device 1 comprises a module 11 for analyzing real-world information 22, e.g. obtained from a camera capture of a real 3D scene, a module 12 for analyzing and validating requirements of an MR scenario (virtual application 23) against the analyzed real-world information 22, a module 13 for developing an associated virtual adaptation applied to a representation of the real 3D scene, and a module 14 for executing the scenario applied to the virtual adapted 3D scene resulting from the adaptation. The output of module 13 may possibly be fed back to module 12 so that the adaptation can be iteratively adjusted until a satisfactory adaptation solution is found.

[0060] Information may be input and obtained by a user interacting with the device 1 via a user interface 20. The user interface 20 comprises any means suitable for inputting or obtaining data, information or instructions, in particular visual, tactile and / or audio capabilities, which may encompass any or some of the following means as are well known by those skilled in the art: a screen, a keyboard, a trackball, a touchpad, a touchscreen, a speaker, a voice recognition system.

[0061] The device 1 is also adapted to provide virtual tools 21 from storage resources 10 for virtual adaptation to MR scenario requirements. Those storage resources 10 may be available among any kind of suitable storage means, which may in particular be a RAM, possibly in an SSD (Solid State Disk), or an EEPROM (Electrically Erasable Programmable Read Only Memory), such as a Flash memory.

[0062] The functionality of Device 1 is detailed below.

[0063] 5.1 Prerequisites: Scenario Specification In an initial step, the creator of the MR application specifies a scenario. In particular, the creator specifies the real elements that will be included in the scenario and how the virtual elements will interact with them. Examples of elements of a continuous scenario are: -The first virtual stone falls, bounces on the real cube, and comes to rest on the real table - A second virtual stone crashes into the real empty glass - Virtual animals have predefined and unchangeable animations that are positioned on free flat areas on a real table - A virtual character walks on the ground in the open area, climbs the legs of the real table, walks on the real table and merges with the virtual animal; its trajectory depends on the open area on the real table.

[0064] To fulfill this scenario, the creator specifies some requirements about the real-world environment. Some examples of requirements for the previous scenario are listed below. The scene takes place indoors: - A table with a minimum size of 1.20m x 0.60m - The free flat area on the table having dimensions of 0.3m x 0.2m and centred on the centre of the table - A cube with a side of 0.10 m resting on the left side of the table -An empty glass on the table - A clear flat area on the ground having dimensions 0.6m x 0.3m located to the left of the table and including the left front leg of the table.

[0065] Requirements may also impose a specific location or orientation. They may further be influenced by "levels of constraint": some requirements are strongly constraining while others are not. For example, a strongly constraining requirement might consist of having a table of size 1.20m x 0.60m, because if the table exists it must have these exact dimensions to satisfy the requirement. A less constraining requirement might consist of having a cube with sides of 0.10m resting on the left side of the table, because it does not impose its exact location.

[0066] 5.2 Prerequisite: Hierarchical Sorting of Requirements The requirements are preferably sorted in a hierarchy regarding the relationships between the requirements: each requirement is thus assigned a hierarchical level, and the hierarchical classification is done within the content authoring stage by the content creator.

[0067] Considering the requirements above for example, the most important requirement is the first one ("A table with a minimum size of 1.20m x 0.60m"). The four other requirements depend on the existence of a table, but are independent of each other. They therefore have the same importance, i.e. the same hierarchical level. Thus, we get the following sorted table: 1. A table with a minimum size of 1.20m x 0.60m 1.1 The free planar area on the table having dimensions of 0.3m x 0.2m and centred on the centre of the table 1.2 A cube with a side length of 0.10 m rests on the left side of the table. 1.3 An empty glass on a table 1.4 A clear flat area on the ground having dimensions of 0.6m x 0.3m situated to the left of the table and including the left front leg of the table

[0068] If a further requirement such as "a cylinder with a radius of 0.1 m and a height of 0.3 m resting on the cube" is included, the level is 1.2.1, since it depends on meeting requirement 1.2.

[0069] 5.3 Scanning the Environment and Determining Specificities The next step consists of scanning the environment and determining the relevant peculiarities, which are aimed at establishing an environment description by detecting and labeling the environmental peculiarities, in particular the objects present in the environment (e.g., the table, the glass on the table, the plants) and the free flat areas.

[0070] Thus, the user scans his / her environment, which can be achieved in particular by using a device equipped with a depth sensor, such as the product commercially available under the name "Intel Real Sense", which provides a point cloud of the scanned scene.

[0071] The point cloud is then analyzed to detect and label environmental features. Technical solutions to accomplish that task are described in, inter alia, "Real-Time Plane Segmentation using RGB-D Cameras" by Dirk Holz, Stefan Holzer, Rady Bogdan Rusu, and Sven Behnke in Proceedings of the 15th RoboCup International Symposium, Istanbul, July 2011; "Real-time 3D segmentation of cluttered scenes for robot grasping" by Andre Uckermann, Robert Haschke, and Helge J. Ritter in Humanoids 2012, pp. 198-203; "Segment and Label Indoor Scene Based on RB-D for the Visually Impaired" by Zhe Whang, Hong Liu, Xiangdong Wang, and Yueliang Qian in MultiMedia Modeling 2014, pp. 449-460; and "Robotics and Autonomous Systems 2013: 1071-1075". In the article "Three-dimensional point cloud plane segmentation in both structured and unstructured environments" by J. Xiao, J. Zhang, B. Adler, H. Zhang, and J. Zhang, 2013, 61(12), pp. 1641-1652.

[0072] Analysis of the environment can also be achieved using devices such as the one commercially available under the name Microsoft Hololens, which output a 3D mesh. Some solutions that allow obtaining environmental characteristics from such 3D meshes include those described in the articles "Mesh Based Semantic Modelling for Indoor and Outdoor Scenes" by Julien PCValentin, Sunando Sengupta, Jonathan Warrel, Ali Shahrokni, and Philip HS Torr, in CVPR 2013; and "A survey on Mesh Segmentation Techniques" by Ariel Shamir, in Computer Graphics forum, vol. 27, 2008, n. 6, pp. 1539-1556.

[0073] The module 11 responsible for this step, which analyses real-world information, can be embedded in the device used to scan the scene or can run on a server.

[0074] 5.4 Determination of Virtual Information At this level, the environment description is known. This step consists of analyzing the various environment descriptions together with the scenario requirements to determine a virtual environment that may be required. This virtual environment is unique to each user and is overlaid on the real environment to provide a similar behavior and experience for all users.

[0075] The step comprises two parts: identifying the scenario requirements that are met and those that are not met (module 12) and determining how to complement each scenario requirement that is not fully met for each real-world environment (module 13).

[0076] These two parts are detailed below with reference to the exemplary requirements presented above. 1 / With a table having a minimum size of 1.20m x 0.60m; a free planar area on the table having dimensions of 2 / 03m x 0.2m and centred on the centre of the table; 3 / A cube with sides of 0.10 m resting on the left part of the table; 4 / An empty glass on the table; 5 / A clear flat area on the ground having dimensions 0.6m x 0.3m located to the left of the table and including the left front leg of the table.

[0077] An exemplary real-world environment is depicted in FIG. 2, in which a table 31 has a cube 32 resting on its left side and a vase 33 resting on its right side, with a plant 34 located to the right of the table 31 .

[0078] 5.4.1 Identifying Scenario Requirements Module 12 checks which scenario requirements are met and which are not. The total number of requirements is denoted nbReq.

[0079] The corresponding algorithm proceeds as follows: - Loading the characteristics inferred from scanning the environment and determining its specificity (module 11); -Create a list of nbReq boolean status lists storing the status of each requirement (fully satisfied or not); - Compile a list of data lists for nbReq data that contain the peculiarities / peculiarities of the real environment if the corresponding scenario requirements are partially or fully met, or none otherwise; -Load a list of scenario requirements. -Per the scenario requirements, Module 13 is then responsible for: -Check whether requirements are met; - if yes, set the corresponding element of the status list to True and fill the corresponding elements of the data list with the environment peculiarity / peculiarities related to this requirement; If -no, set the corresponding element of the status list to False and fill the corresponding element of the data list with the environment idiosyncrasy / idiosyncrasies related to this requirement (e.g. the object is present but smaller than expected or in the wrong position), or Empty if no idiosyncrasies exist (e.g. the requested object does not exist).

[0080] It should be noted that even if the requirement is only partially met, it may be interesting to store the environment specificity / specificities, for reasons that will be developed below.

[0081] Continuing with the above example, the status list could have the following values: 1 / False (Table 31 does not have the required dimensions) 2 / True 3 / True (Cube 32) 4 / False 5 / True and the data list has the following values: 1 / Table size is 1.0m x 0.6m 2 / 0.5m×0.6m size (X tfp , Y tfp ) is a vacant flat area centered on 3 / 0.10m size (X c , Y c ) at the center of the cube 32 4 / 5 / 2m×1m (X gfp , Y gfp ) is the open flat area on the ground centered at has.

[0082] 5.4.2 Scenario Requirements Analysis In addition to analyzing the MR application requirements (especially the elements, the free planar areas) and checking if the environment even partially meets these requirements, module 13 completes with virtual elements the current parts of the user's (real) environment that do not fully meet the requirement(s). This adaptation is such that any environment will eventually contain common specificities that ensure that the MR application is rendered similarly.

[0083] Finally, module 13 updates the MR application with the virtual environment that augments the real environment.

[0084] More precisely, module 13 determines how to complement each scenario requirement that is not fully met for each concrete real-world environment.

[0085] In the first situation, a specificity is missing, which may mean the absence of a required element, such as the glass in the above example. This problem is solved by adding a virtual object that is based on a predefined virtual model of the object.

[0086] In the second situation, the idiosyncrasies exist not properly in the real environment. This specifically covers cases where the required object exists but its size, position, and / or orientation do not meet the scenario requirements. Once the real object is labeled, its associated 3D model and possibly its texture are revealed. Then, in an advantageous implementation, the 3D model is transformed (moved, scaled, and / or rotated).

[0087] If the 3D model is too small, its scale can be increased, if it is too large, its scale can be reduced. In the latter case, parts of the "deleted" or "missing" real objects in the real environment are filled in, which can be done for example by inpainting techniques such as the technique developed in the article "High-Quality Real-Time Video Inpainting with PixMix" by Jan Herling and Wolfgang Broll in IEEE Transactions on Visualization and Computer Graphics, Vol. 20, 2014, n. 6, pp. 866-879.

[0088] If the requested object is present in the real 3D scene but its position is incorrect, it is advantageously moved or duplicated / copied. And if the applied solution consists of moving the object, the areas of the real object that are no longer covered by the object are filled in (which can be done by inpainting). Similar actions can be performed if the orientation of the object is incorrect.

[0089] In another embodiment, the user is asked to manually move and / or rotate the real object in the correct position and / or orientation. At this point, the final position and / or orientation of the object is indicated to the user by displaying a virtual object whose shape is identical to that of the real object. The user moves / rotates the representation of the real object until it is overlaid with the virtual object.

[0090] In case of empty planar areas / volumes that are missing or not large enough, the two previously described methods can be applied: by using inpainting techniques it is possible to "remove" the representation of real elements occupying the planar area / volume, and the user can be asked to "clean" the area / volume manually.

[0091] 5.4.3 Joint management of multiple scenario requirements Completing a requirement that is not fully met may lead to another requirement no longer being met. For example, by adding a missing glass onto table 31 (Figure 2), the free area of ​​requirement 2 (the free planar area on the table of 0.3 m x 0.2 m) may disappear.

[0092] The algorithm used to manage such situations is described below: For each current element of the status list that has its value set to False and has an index called Ifalse, the following steps are performed: - determining a solution that satisfies the requirements corresponding to the current element, as developed above; - setting the current element of the status list having index Ifalse to True; - for each other element of the status list whose value is set to True (and has an index called Itrue), checking whether the corresponding requirement is still satisfied when applying the above solution to the current element; if not, testing, relative to the current requirement, another configuration that allows the requirement of index Itrue to still be satisfied; - if not possible, set the current element of the status list with index Ifalse to False.

[0093] An extension of that process allows avoiding an uncontrolled manner of satisfying only the first-processed requirement ("first come, first served"), while requirements considered later cannot be satisfied. Thus, the requirement with the highest priority ranking is processed first, and other requirements are processed according to successively descending rankings down to the lowest ranking.

[0094] A further refinement checks whether some modifications can be applied to the representation of one or more reality elements (including in particular elements already in place) that already satisfy the requirement that the value of that status list be true or not, to obtain the following: -Requirements already met will remain fully met -The current requirement with index Ifalse is also fully met.

[0095] In other words, this step seeks to find a combination of modifications that satisfies both objectives, and moreover, a modification of a representation of a reality element may induce modifications of one or more (possibly many) other representations.

[0096] Furthermore, the hierarchy of requirements can be advantageously used to prioritize the highest ranking when not all constraints can be satisfied.

[0097] If all elements of the status list are equal to True, a solution has been found that completely satisfies the scenario. Otherwise, no obvious solution was found and one or more constraints with the lowest priority ranking (or lowest priority rankings) may be left behind. In a variant implementation where there is no global solution, all requirements are presented to the user, who is asked to modify (add / move / remove elements) the representation of his / her real environment to satisfy the requirements.

[0098] In implementation, as illustrated in Fig. 3, the device 1 in MR operation preferably proceeds as follows: In the acquisition stage, the specificities of the real 3D environment (which are associated with respective, possibly the same topic) are loaded (step 41) in addition to the list of scenario requirements (step 42). It is checked (step 431) whether all the requirements have been processed. If yes, the process is stopped (step 432). If not, the next requirement is loaded, the corresponding status list is initialized with False and the corresponding data list is Empty (step 433).

[0099] Then it is checked whether all the environment specificities have been processed (step 441). If yes, the process loops back to step 431. If not, the next environment specificity is loaded (step 451). Then it is checked whether the specificity corresponds to the requirement's topic (step 452). If no, the process loops back to step 441. If not, it is checked whether the specificity satisfies the requirement being considered (step 453). If no, the corresponding status list is set to False, the specificity is added in the corresponding data list, and the process loops back to step 441.

[0100] If not, the corresponding status list is set to True, the specificity is added into the corresponding data list, and the process loops back to step 441 .

[0101] A particular apparatus 5 visible in Fig. 4 embodies the device 1 described above. It corresponds for example to a tablet, a smartphone, a head mounted display (HMD), a gaming console - dedicated gaming console for generating and displaying images live, etc., or a laptop. That apparatus 5 is suitable for augmented reality, whether direct vision (the user usually sees the real 3D scene through a glass) or indirect vision (the user sees the real 3D scene displayed on a screen). It is also possible to combine both capabilities.

[0102] The device 5 comprises the following elements, connected to each other by an address and data bus 55 which also transports a clock signal: - a microprocessor 51 (i.e. a CPU); - a graphics card 52 comprising several Graphical Processor Units (i.e. GPUs) 520 and Graphical Random Access Memory (GRAM) 521; - a non-volatile memory 56 of the ROM type; -RAM57 and; - one or several I / O (Input / Output) devices 54, such as, for example, a keyboard, a mouse, a joystick, a webcam; other modes of introducing commands are also possible, such as, for example, voice recognition; - with power supply 58; - a radio frequency unit 59.

[0103] The device 5 also comprises a display device 53 of the type of a display screen connected directly to the graphics card 52 for displaying a composite image, for example live, calculated and constructed in the graphics card. The use of a dedicated bus for connecting the display device 53 to the graphics card 52 provides the advantage of a considerably higher data transmission bit rate and thus a reduced latency for displaying an image constructed by the graphics card. According to a variant, the display device is external to the device 5 and is connected to the device 5 by cable or wirelessly for transmitting a display signal. The device 5 comprises a transmission or connection interface adapted for transmitting, for example through the graphics card 52, a display signal to an external display means, for example an LCD or plasma screen or a video projector. In this respect, an RF unit 59 can be used for wireless transmission.

[0104] In an alternative implementation, the display device 53 corresponds to glasses through which the user views the real environment, and the apparatus 5 further comprises an optical projection system (not shown) that allows, for example, to project the generated virtual images or content onto the glasses.

[0105] It should be noted that the word "register" used in the description of memories 521, 56, and 57 denotes both lower capacity memory zones (some binary data) as well as higher capacity memory zones (capable of storing entire programs or computing or displaying all or part of data representative of the data) in each of the described memories. Also, the registers represented for GRAM 521 may be arranged and organized in any manner, and each of them may not necessarily correspond to a contiguous memory location, but may be distributed (particularly encompassing the situation where one register contains several smaller registers).

[0106] When switched on, the microprocessor 51 loads and executes instructions of a program contained in the RAM 57 .

[0107] The random access memory 57 includes, in particular: - in a register 570, the operating program of the microprocessor 51 involved in the switching on the device 5; - in register 571, parameters describing a real 3D scene (e.g. models and lighting parameters of the object(s) of the scene); - in register 572, parameters representing one or several MR scenarios; - in register 573, constraints on the real 3D scene relevant to the MR scenario; - In register 574, it is provided with parameters of a virtual fit to the real 3D scene and corresponding to the constraints of the MR scenario.

[0108] The algorithms implementing the steps of the method specific to the present disclosure and described above are stored in a memory GRAM 521 of a graphics card 52 associated with the device 5 implementing those steps. When switched on and parameters 571, 572 and 574 are loaded into the RAM 57, a graphics processor 520 of the graphics card 52 loads those parameters into the GRAM 521 and executes the instructions of those algorithms in the form of microprograms of the "shader" type, for example using the language HLSL (High Level Shading Language) or GLSL (OpenGL Shading Language).

[0109] The random access memory GRAM521 is, in particular, - in register 5211, parameters representing a real 3D scene; - in register 5212, a parameter representing the MR scenario; - in register 5213, a parameter representing the hypothetical adaptation to be applied in conjunction with the scenario constraints;

[0110] According to a variant, at least part of the data relating to the primitives is stored in the RAM 57 and processed by the microprocessor 51. This variant, however, gives rise to a greater latency in constructing the image comprising a representation of the environment constructed from the microprograms contained in the GPU 520, since the data must be transmitted from the graphics card to the random access memory 57 in transit by the bus 55, the transmission capacity of which is generally less than that available in the graphics card for transmitting data from the GPU 520 to the GRAM 521 and vice versa.

[0111] As will be appreciated by those skilled in the art, the presence of a graphics card 52 is not essential and can be replaced with a simpler visualization implementation.

[0112] According to another variant, the power supply 58 is external to the device 1 .

[0113] Based on the present disclosure and the detailed embodiments, other implementations are possible and within the reach of those skilled in the art without departing from the scope of the invention. The elements specified may be specifically interchanged or related in any manner that remains within the scope of the present disclosure. Also, elements of the various implementations may be combined, supplemented, modified, or deleted to create other implementations. All of these possibilities are contemplated by the present disclosure. A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) A device (1, 5) for generating at least one dynamic virtual content to be overlaid on a representation of a real 3D scene, said at least one dynamic virtual content being compliant with at least one scenario defined prior to runtime of said scenario and including at least one real-world constraint (23), said device comprising: at least one input adapted to receive real-world information (22) captured in said real 3D scene; at least one processor configured to execute (14) the at least one scenario at runtime in the presence of the at least one real-world constraint identified from the real-world information; the at least one processor is further configured to, when the at least one real-world constraint is not identified from the real-world information (12), before executing the at least one scenario, transform (13) the representation of the real 3D scene into a virtual adapted 3D scene such that the virtual adapted 3D scene satisfies the at least one constraint, and to execute the at least one scenario in the virtual adapted 3D scene replacing the real 3D scene instead of executing the at least one scenario in the real 3D scene. (Appendix 2) 2. The device (1, 5) of claim 1, wherein the at least one real-world constraint is at least two and potentially interacting, and the at least one processor is further configured to perform the transformations jointly with respect to the at least two real-world constraints such that the virtually adapted 3D scene satisfies the at least two constraints. (Appendix 3) 3. The device (1, 5) of claim 1 or 2, wherein the at least one real-world constraint is at least two, potentially interacting, and ranked according to order of importance, and the at least one processor is further configured to perform the transformation in preference to the at least one real-world constraint having at least one highest priority ranking, and to execute the at least one scenario at runtime in the absence of the at least one real-world constraint that differs from the at least one real-world constraint having the at least one highest priority ranking. (Appendix 4) 5. The device (1, 5) according to any of the preceding claims, wherein the at least one constraint comprises the presence of at least one real-world object, and wherein the at least one processor is configured to add a virtual representation of the at least one real-world object in the virtually adapted 3D scene. (Appendix 5) 13. The device (1, 5) of any of the preceding claims, characterized in that the at least one constraint relates to at least one dimension of at least one real-world object, and the at least one processor is configured to modify the representation of the at least one dimension of the at least one real-world object in the virtually adapted 3D scene such that the at least one constraint on the at least one dimension is satisfied. (Appendix 6) The device (1, 5) according to any of the preceding claims, characterized in that the at least one processor is configured to deform, in the virtual adapted 3D scene, the virtual representation of at least one real-world object that is detrimental to the at least one constraint, such that the at least one constraint is satisfied. (Appendix 7) The device (1, 5) described in Appendix 6, characterized in that the at least one processor is configured to perform the transformation by at least one of deleting, shrinking, and moving the at least one real-world object in the virtually adapted 3D scene. (Appendix 8) 13. The device (1, 5) of any of the preceding claims, wherein the at least one constraint relates to at least one real-world object, and the at least one processor is configured to perform the transformation by at least one of moving, rotating, translating, scaling, replicating the at least one real-world object such that the at least one constraint on the at least one real-world object is satisfied. (Appendix 9) 5. The device (1, 5) of any of the preceding claims, wherein the transformation comprises clearing up at least one area in the virtually adapted 3D scene, and wherein the at least one processor is further configured to repair the at least one area in the virtually adapted 3D scene. (Appendix 10) 13. The device (1, 5) according to any of the preceding claims, wherein the at least one processor is further configured to explicitly involve a user in performing the transformation. (Appendix 11) 5. The device (1, 5) according to any of the preceding claims, characterized in that the at least one input unit is also adapted to receive the at least one scenario, and the device further comprises at least one output unit adapted to output at least a part of a representation of the virtual adapted 3D scene for a user to visualize the at least one scenario in the virtual adapted 3D scene. (Appendix 12) An apparatus (5), comprising a device according to any of the preceding claims, characterized in that the apparatus is selected from a video receiver, a mobile phone, a tablet, and a head-mounted display system for augmented reality. (Appendix 13) 1. A method for generating at least one dynamic virtual content to be overlaid on a representation of a real 3D scene, the at least one dynamic virtual content being compliant with at least one scenario defined prior to runtime of the at least one scenario and including at least one real-world constraint, the method comprising: - receiving (41) real world information captured in said real 3D scene; - executing the at least one scenario at run-time in the presence of the at least one real-world constraint identified from the real-world information; The method further comprises, when the at least one real-world constraint is not identified from the real-world information (452, 453), before executing the at least one scenario, transforming the representation of the real 3D scene into a virtual adapted 3D scene such that the virtual adapted 3D scene satisfies the at least one constraint, and instead of executing the at least one scenario in the real 3D scene, executing the at least one scenario in the virtual adapted 3D scene replacing the real 3D scene. (Appendix 14) 14. The method according to claim 13, characterized in that it is performed by a device (1, 5) according to any of claims 1 to 10. (Appendix 15) 15. A computer program for generating at least one dynamic virtual content, said program comprising software code adapted to perform a method according to claim 13 or 14, when said program is executed by a processor.

Claims

1. A method for executing a mixed reality scenario in the presence of a real 3D scene, the mixed reality scenario including at least one real-world constraint requiring the presence of an object, the method comprising: determining whether the object is present in the real 3D scene based on real-world information captured in the real 3D scene; upon determining that the object is present in the real 3D scene, executing the mixed reality scenario with the object present in the real 3D scene; and upon determining that the object is not present in the real 3D scene, executing the mixed reality scenario with an additional virtual version of the object.

2. The method of claim 1, further comprising adding the virtual version of the object by overlaying the virtual version of the object onto a representation of the real 3D scene.

3. A device configured to execute a mixed reality scenario in the presence of a real 3D scene, the mixed reality scenario including at least one real-world constraint requiring the presence of an object, the device comprising: determining whether the object is present in the real 3D scene based on real-world information captured in the real 3D scene; upon determining that the object is present in the real 3D scene, executing the mixed reality scenario with the object present in the real 3D scene; 11. A device comprising: at least one processor configured to, upon determining that the object is not present in the real 3D scene, execute the mixed reality scenario with an additional virtual version of the object.

4. The device described in claim 3, wherein the at least one processor is further configured to add the virtual version of the object by overlaying the virtual version of the object onto a representation of the real 3D scene.

5. A method for executing a mixed reality scenario in the presence of a real 3D scene, the mixed reality scenario including at least one real-world constraint associated with an object, the method comprising: processing the received real-world information to detect the presence of the object in the real 3D scene; executing the mixed reality scenario using the object detected in the real 3D scene upon determining that the object satisfies the at least one real-world constraint associated with the object; and and upon determining that the object detected in the real 3D scene does not satisfy the at least one real-world constraint associated with the object, executing the mixed reality scenario with a virtual adapted version of the object that satisfies the at least one real-world constraint associated with the object.

6. The method of claim 5, further comprising generating a virtual adapted version of the object that satisfies the at least one real-world constraint associated with the object.

7. The method described in claim 6, wherein the real-world constraints relate to at least one of the size, position, and orientation of the object, and at least one of translation, scaling, and rotation is performed on the virtual adapted version of the object.

8. The method described in claim 7, wherein the virtual adapted version of the object is scaled by increasing the scale if the object is too small to meet the real-world constraints, or by decreasing the scale if the object is too large to meet the real-world constraints.

9. The method of claim 8, wherein when a scale reduction is performed, inpainting is performed to fill in parts of the object that are missing in the real world after the scale reduction.

10. The method of claim 7, wherein when the object is moved or rotated, repair is performed to fill in parts of the real world that are no longer filled by the object.

11. A device configured to execute a mixed reality scenario in the presence of a real 3D scene, the mixed reality scenario including at least one real-world constraint associated with an object, the device comprising: processing the received real-world information to detect the presence of the object in the real 3D scene; executing the mixed reality scenario with the object upon determining that the object detected in the real 3D scene satisfies the at least one real-world constraint associated with the object; a device comprising at least one processor configured to, when determining that the object detected in the real 3D scene does not satisfy the at least one real-world constraint associated with the object, execute the mixed reality scenario using a virtual adapted version of the object that satisfies the at least one real-world constraint associated with the object.

12. The device described in claim 11, wherein the at least one processor is further configured to generate the virtual adapted version of the object that satisfies the at least one real-world constraint associated with the object.

13. The device described in claim 12, wherein the real-world constraints relate to at least one of the size, position, and orientation of the object, and at least one of translation, scaling, and rotation is performed on the virtual adapted version of the object.

14. The device of claim 13, wherein the at least one processor is further configured to scale the virtual adapted version of the object by increasing the scale if the object is too small to meet the real-world constraints, or by decreasing the scale if the object is too large to meet the real-world constraints.

15. The device described in claim 14, wherein the at least one processor is further configured to, when reducing the scale, perform inpainting to fill in portions of the object that are missing in the real world after the reduction in scale.

16. The device of claim 13, wherein the at least one processor is further configured to perform inpainting to fill in portions of the real world that are no longer filled by the object when the object is moved or rotated.

Citation Information

Patent Citations

  • Information processing apparatus, image display apparatus, control method of information processing apparatus and image display apparatus, and computer program

    JP2016200920A