A three-dimensional indoor scene generation method, device, storage medium and program product
By segmenting and estimating the point map of a two-dimensional reference image, a three-dimensional object is generated and optimized, which solves the problem that the size and layout of the object do not conform to ergonomics in the existing technology, and realizes the generation of ergonomic three-dimensional indoor scenes.
Patent Information
- Application Number
- CN202611695259.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
Existing image-guided reconstruction-based methods for generating 3D indoor scenes fail to effectively meet ergonomic requirements, resulting in objects in the generated scenes having sizes and layouts that do not meet human user needs.
By segmenting and estimating the point map of the two-dimensional reference image, an initial three-dimensional object is generated and its position is corrected. The initial three-dimensional image is then optimized by combining physical consistency rules, ergonomic dimensions, and layout information, including object movement, rotation, replacement, deletion, and scale correction, until it meets ergonomic requirements.
The generated 3D indoor scenes have object sizes and layouts that meet ergonomic requirements, improving the quality of the generated 3D indoor scenes and the user interaction experience.
Smart Images

Figure CN123181748A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to a method, apparatus, storage medium, and program product for generating three-dimensional indoor scenes. Background Technology
[0002] 3D indoor scene generation is a fundamental technology for applications such as virtual reality, robot simulation, and interior design, and its generation results directly affect the user's interactive experience in the 3D environment.
[0003] In the exemplary technology, an image-guided reconstruction method is used to generate a 3D indoor scene. Image-guided reconstruction methods typically utilize holistic scene representations such as neural radiation fields and 3D Gaussian representations to generate visually realistic 3D indoor scenes from images or text descriptions.
[0004] However, the above methods output a holistic scene representation, focusing only on the visual rationality of the 3D indoor scene. The size of objects in the generated scene and the layout between objects often do not meet ergonomic requirements, making it difficult for the generated 3D indoor scene to meet the actual use needs of the human body. Summary of the Invention
[0005] Based on the above-mentioned technological status, this application provides a method, apparatus, storage medium, and program product for generating three-dimensional indoor scenes, which can enable the generated three-dimensional indoor scenes to meet the actual use needs of the human body.
[0006] To achieve the above-mentioned technical objectives, this application proposes the following technical solution: Firstly, this application provides a method for generating a three-dimensional indoor scene, including: A two-dimensional reference image of the indoor scene can be generated based on the description information of the indoor scene, or the image to be processed can be used as a two-dimensional reference image. The two-dimensional reference image is segmented to obtain multiple two-dimensional objects and a segmentation mask for each of the two-dimensional objects; Perform point plot estimation on the two-dimensional reference image to obtain the three-dimensional coordinates of each pixel in the two-dimensional reference image; Based on the two-dimensional reference image, the segmentation mask, and the three-dimensional coordinates, the two-dimensional object is converted into an initial three-dimensional object and the corresponding initial rigid body pose parameters; Based on the initial rigid body pose parameters and three-dimensional coordinates corresponding to the initial three-dimensional object, the position of the initial three-dimensional object is corrected to obtain intermediate three-dimensional objects, and the initial three-dimensional image is constructed based on each of the intermediate three-dimensional objects. Based on the optimized description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information of the initial 3D image, the initial 3D image is optimized to obtain the target 3D image. The optimized description information is the evaluation information obtained by evaluating the initial 3D image. The physical consistency rule information is used to correct errors such as objects intersecting, objects exceeding room boundaries, and support relationships in the initial 3D image.
[0007] In some embodiments, segmenting the two-dimensional reference image to obtain multiple two-dimensional objects and performing three-dimensional transformation on each two-dimensional object includes: The two-dimensional reference image is segmented to obtain multiple two-dimensional objects and a segmentation mask for each of the two-dimensional objects; Perform point plot estimation on the two-dimensional reference image to obtain the three-dimensional coordinates of each pixel in the two-dimensional reference image; Based on the two-dimensional reference image, the segmentation mask, and the three-dimensional coordinates, the two-dimensional object is converted into an initial three-dimensional object and the corresponding initial rigid body pose parameters; Based on the initial rigid body pose parameters and three-dimensional coordinates corresponding to the initial three-dimensional object, the initial three-dimensional object is positionally corrected to obtain intermediate three-dimensional objects, and the initial three-dimensional image is constructed based on each of the intermediate three-dimensional objects.
[0008] In some implementations, constructing the initial 3D image based on each of the intermediate 3D objects includes: Determine the predicted contour of the intermediate 3D object projected onto the reference plane; Based on the segmentation mask corresponding to the predicted contour and the intermediate 3D object, the projection contour of the intermediate 3D object is optimized to obtain the target 3D object and the corresponding target rigid body pose parameters. The initial three-dimensional image is constructed based on each of the target three-dimensional objects and the corresponding target rigid body pose parameters.
[0009] In some embodiments, optimizing the initial three-dimensional image based on optimized description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information of the initial three-dimensional image includes: The initial 3D image is rendered from multiple angles to obtain a first multi-angle rendered image; Based on the optimized description information of the first multi-angle rendered image and the initial 3D image, the initial evaluation suggestion information of the initial 3D image is determined; Based on the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic size information, and the ergonomic layout information, the initial 3D image is optimized to obtain the target 3D image.
[0010] In some implementations, optimizing the initial 3D image based on the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic size information, and the ergonomic layout information to obtain the target 3D image includes: The initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image are input into the planner to obtain the intermediate 3D image output by the planner, which is constructed based on the physical consistency rule information, the ergonomic dimension information, and the ergonomic layout information. The intermediate 3D image is rendered from multiple angles to obtain a second multi-angle rendered image. Based on the second multi-angle rendered image, the optimization description information, and the planner's historical optimization record information for the initial 3D image, intermediate evaluation suggestion information for the intermediate 3D image is determined; If the intermediate evaluation suggestion information indicates that the intermediate 3D image meets the optimization target specified by the optimization description information, the intermediate 3D image is determined as the target 3D image.
[0011] In some implementations, after determining the intermediate evaluation suggestion information for the intermediate 3D image based on the second multi-angle rendered image, the optimization description information, and the planner's historical optimization record information for the initial 3D image, the method further includes: If the intermediate evaluation suggestion information indicates that the intermediate 3D image does not meet the optimization target specified by the optimization description information, the intermediate 3D image will be updated to the initial 3D image. Return to the step of inputting the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image into the planner.
[0012] In some implementations, updating the intermediate 3D image to the initial 3D image includes: Determine the number of optimization attempts for the initial 3D image; If the preset number of optimization attempts is not reached, the intermediate 3D image is updated to the initial 3D image.
[0013] Secondly, this application provides a three-dimensional indoor scene generation device, including a memory and a processor, wherein, The memory is connected to the processor and is used to store programs; The processor is used to implement the three-dimensional indoor scene generation method as described in the first aspect or any implementation thereof by running the program in the memory.
[0014] Thirdly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the three-dimensional indoor scene generation method as described in the first aspect or any implementation thereof.
[0015] Fourthly, this application provides a computer program product, including computer instructions, which, when executed by a processor, implement the three-dimensional indoor scene generation method as described in the first aspect or any implementation thereof.
[0016] This application provides a method, apparatus, storage medium, and program product for generating a 3D indoor scene. It generates a 2D reference image of the indoor scene based on the scene's description information, or uses an image to be processed as a 2D reference image. The 2D reference image is segmented to obtain multiple 2D objects, and each 2D object is transformed into a 3D image to obtain an initial 3D image. Then, based on the optimized description information, physical consistency rule information, ergonomic size information, and ergonomic layout information of the initial 3D image, the initial 3D image is optimized to obtain a target 3D image. In this application, by segmenting the 2D image to obtain individual 2D objects, the objects in the generated initial 3D image can be moved, rotated, replaced, deleted, added, and scaled. This allows for optimization of the initial 3D image through physical consistency rules, ergonomic dimensions, and ergonomic layout, ensuring that the size of objects and the layout between objects in the final generated 3D indoor scene meet ergonomic requirements, thereby improving the quality of the generated 3D indoor scene. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0018] Figure 1 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 1 .
[0019] Figure 2 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 2 .
[0020] Figure 3 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 3 .
[0021] Figure 4 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 4 .
[0022] Figure 5 This is a schematic diagram of the functional modules of a three-dimensional indoor scene generation device provided in an embodiment of this application.
[0023] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0026] 3D indoor scene generation is a fundamental technology for applications such as virtual reality, robot simulation, and interior design, and its generation results directly affect the user's interactive experience in the 3D environment.
[0027] In the exemplary technology, an image-guided reconstruction method is used to generate a 3D indoor scene. Image-guided reconstruction methods typically utilize holistic scene representations such as neural radiation fields and 3D Gaussian representations to generate visually realistic 3D indoor scenes from images or text descriptions.
[0028] However, the above methods output a holistic scene representation, focusing only on the visual rationality of the 3D indoor scene. The size of objects in the generated scene and the layout between objects often do not meet ergonomic requirements, making it difficult for the generated 3D indoor scene to meet the actual use needs of the human body.
[0029] To address the aforementioned technical problems, this application provides a method for generating three-dimensional indoor scenes. The following detailed description of the proposed method for generating three-dimensional indoor scenes is provided through various embodiments.
[0030] Reference Figure 1 , Figure 1 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 1 .like Figure 1 As shown, the three-dimensional indoor scene generation method provided in this embodiment includes: Step S101: Generate a two-dimensional reference image of the indoor scene based on the description information of the indoor scene, or use the image to be processed as a two-dimensional reference image.
[0031] In this embodiment, the executing entity is a 3D indoor scene generation device. For ease of description, the term "device" will be used to refer to the 3D indoor scene generation device below. The device can be a terminal device or a server with 3D indoor scene generation capabilities.
[0032] The device acquires descriptive information about the indoor scene. The indoor scene can be the interior space of a building where people work, live, or engage in other activities. For example, the indoor scene could be a residential scene such as a restaurant, bedroom, or living room; or it could be an office scene such as a conference room or office. The descriptive information can be information describing the components or generation requirements of the indoor scene to be generated. For example, the descriptive information could be a text command input by the user, such as generating a restaurant; or it could be natural language descriptive text containing room type, object type, and style requirements.
[0033] The device generates a two-dimensional reference image based on the descriptive information. For example, the two-dimensional reference image may be a reference image of the target indoor scene directly generated by calling a text-to-image generation model based on the descriptive information; or it may be a reference image selected from multiple candidate images generated in batches by the text-to-image generation model.
[0034] In addition, the device not only supports generating new scenes from text, but also supports editing existing scenes, thus using the image to be processed as a two-dimensional reference image.
[0035] Step S102: Segment the two-dimensional reference image to obtain multiple two-dimensional objects, and perform three-dimensional transformation on each two-dimensional object to obtain an initial three-dimensional image.
[0036] In one example, after obtaining a 2D reference image, the 2D reference image is segmented to obtain multiple 2D objects. For instance, a segmentation model can be used to segment the 2D reference image. After segmenting the 2D reference image, 2D objects and room information are obtained. The 2D objects are, for example, instances of chairs, sofas, tables, etc. The room information includes at least the room boundaries, floor, walls, ceiling height, coordinate system, and optional material information.
[0037] After obtaining the individual 2D objects, a 3D transformation is performed on each 2D object to obtain a 3D image, which is defined as the initial 3D image. For example, the 2D objects can be input into an image-to-3D object generation model to generate corresponding 3D mesh assets as 3D objects; alternatively, the corresponding 3D objects can be reconstructed by combining the masks of the 2D objects (obtained by segmenting the 2D image to obtain the 2D objects and their corresponding masks) and the 3D point cloud information corresponding to the 2D reference image. The initial 3D image can be an object-level initial 3D scene composed of multiple independent 3D objects. For example, the initial 3D image can be an initial scene represented by a combination of room-level information and individual 3D objects, where each 3D object has a corresponding category pose, that is, each 3D object is placed in the background formed by the room information according to its own pose to form the initial 3D image.
[0038] In another example, refer to Figure 2 Step S102 includes: Step S201: Segment the two-dimensional reference image to obtain multiple two-dimensional objects and the segmentation mask for each two-dimensional object.
[0039] Step S202: Perform point plot estimation on the two-dimensional reference image to obtain the three-dimensional coordinates of each pixel in the two-dimensional reference image.
[0040] Step S203: Based on the two-dimensional reference image, segmentation mask, and three-dimensional coordinates, the two-dimensional object is converted into an initial three-dimensional object and the corresponding initial rigid body pose parameters.
[0041] Step S204: Based on the initial rigid body pose parameters and three-dimensional coordinates corresponding to the initial three-dimensional object, the position of the initial three-dimensional object is corrected to obtain intermediate three-dimensional objects, and an initial three-dimensional image is constructed based on each intermediate three-dimensional object.
[0042] In this example, the segmentation mask of each two-dimensional object is obtained by segmenting the two-dimensional reference image. The segmentation method can be segmentation using a segmentation model.
[0043] Specifically, the Vision-Language Model (VLM) is used to extract object categories, functional objects, and possible room types from text instructions and 2D reference images, with the category serving as the segmentation query. Before segmentation, the segmentation model queries the object category, functional object, and room type. Based on the query information, the 2D reference image is segmented to obtain the 2D objects and their corresponding segmentation masks. The segmentation mask is used for subsequent 3D object generation, point set extraction, and 2D contour matching.
[0044] The device performs monocular 3D geometric estimation on a 2D reference image I, obtaining a depth map, a pointmap, and camera parameters. Monocular estimation is performed using a monocular geometric estimation model. The pointmap represents each effective pixel in the 2D reference image. Assign a 3D point This maps the two-dimensional object mask to the corresponding three-dimensional point set. For the i-th object mask... Extract its corresponding 3D point set: Effective means The three-dimensional points are not outliers.
[0045] In this way, the three-dimensional coordinates of each pixel in the two-dimensional reference image can be obtained.
[0046] After determining the three-dimensional coordinates, the two-dimensional object is converted into an initial three-dimensional object and the corresponding initial rigid body pose parameters based on the two-dimensional reference image, segmentation mask, and three-dimensional coordinates.
[0047] For example, by inputting a two-dimensional reference image, a segmentation mask, and a point map (containing three-dimensional coordinates) into a three-dimensional object generation model, an initial three-dimensional object can be obtained. and initial rigid body pose parameters i The initial rigid body pose parameters can be the initial rigid body transformation matrix.
[0048] Since the initial 3D object output by the 3D object generation model may have deviations in scale, depth, and pose, it is necessary to correct the initial 3D object.
[0049] For example, based on the initial rigid body pose parameters and 3D coordinates corresponding to the initial 3D object, the position of the initial 3D object is corrected to obtain an intermediate 3D object. Specifically, from the initial 3D object... Surface sampling yields point sets and with i Starting from this point, optimization is achieved through bidirectional chamfer distance loss. iThrough optimization i optimization ,make The 3D point set of the object extracted from the point map Alignment: This stage primarily corrects the translation and scale of the object in three-dimensional space, ensuring that the object occupies a spatial position consistent with the geometric estimate in the two-dimensional reference image.
[0050] The corrected initial 3D objects are defined as intermediate 3D objects, and the initial 3D image is constructed based on each intermediate 3D object.
[0051] Furthermore, for existing scenes (images to be processed), a converter can transform composite scenes generated by other methods into a unified scene state S (initial 3D image). The converter can use LLM / VLM to parse scene files, object lists, asset paths, object categories, object positions, and room information, and write them into an object-level representation. Users can input basic or high-level editing commands. Basic editing commands include moving an object, rotating an object, adding an object, and deleting an object; high-level editing commands include "making the room tidier," "making the living room richer and more logical," "making the meeting room more formal," and "improving the ergonomics of the scene." For high-level goals, they are broken down into multi-step tool calls, such as first deleting inappropriate objects, then adding new objects, then performing scale and layout optimization, and finally using VLM to evaluate whether the goal has been achieved.
[0052] In this example, the initial 3D image is accurately obtained by correcting the initial 3D object.
[0053] Step S103: Based on the optimized description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information of the initial 3D image, the initial 3D image is optimized to obtain the target 3D image. The optimized description information is the evaluation information obtained by evaluating the initial 3D image. The physical consistency rule information is used to correct errors such as the interpenetration between objects, objects exceeding the room boundary, and support relationship errors in the initial 3D image.
[0054] After obtaining the initial 3D image, the initial 3D image is evaluated. The evaluation method can be manual evaluation or equipment evaluation. The evaluation information serves as optimization description information. The optimization description information can be determined through generative tasks, such as "a reasonable, usable, and visually coherent indoor scene is needed"; or it can be determined through editing tasks, such as "make this scene neater", "replace the sofa with two armchairs" or "improve the ergonomics of the room".
[0055] The device acquires pre-stored physical consistency rule information, ergonomic dimension information, and ergonomic layout information. Based on the optimization description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information, it optimizes the initial 3D image to obtain the target 3D image.
[0056] For example, the device first optimizes the three-dimensional objects in the initial three-dimensional image based on the optimization description information. For example, if the optimization description information is "replace the sofa with two armchairs", then the sofa in the initial three-dimensional image is replaced with two armchairs. The device then optimizes the optimized initial three-dimensional image based on physical consistency rule information, ergonomic size information, and ergonomic layout information.
[0057] Specifically, physical consistency rule information is used to correct geometric problems in the initial 3D image, such as objects intersecting, objects exceeding room boundaries, and incorrect support relationships. The device constructs a physical optimization objective based on the object geometry, room boundaries, and support relationships in the initial 3D image: ;in, This represents the object-to-object collision penalty term based on the signed distance field. This indicates a penalty for violating room boundaries. This indicates a penalty for support relationships, such as whether an object should be placed on the ground or a parent support surface. , , These are the weighting coefficients.
[0058] The optimizer can be configured with physical consistency rules. The optimizer optimizes the initial 3D image by making local corrections within the bounded object translation range, rather than completely rearranging the scene, thereby preserving the original scene semantics and the user's editing intent as much as possible.
[0059] Ergonomic dimensional information optimization is used to correct for inaccurate real-world object dimensions. The device can first use model-assisted annotation, that is, assigning a predefined functional category to each 3D object. The parameters input to the model can include the 3D object name, object description, and front or multi-view renderings of the object. The model only selects categories from existing categories in the rule file and does not create new dimensional rules.
[0060] The device retrieves real-world size ranges from ergonomic design standards and guidelines based on object categories. Ergonomic size information can be stored in YAML, JSON, databases, or other structured formats. This information includes size rules, which may include length, width, height, seat height, desktop height, bed width, cabinet depth, etc.
[0061] The preferred scenario representation in this embodiment adopts a uniform scale. The device transforms the dimensional constraints of each 3D object's x, y, and z dimensions into constraints on a single scale value. For example, suppose the original bounding box size of the 3D object is... The current unified standard is The activated size rules induce feasible scale ranges. , ].like If the rule has already been met, it remains unchanged; otherwise, it will be... Projected onto the feasible region: If no uniform scale can simultaneously satisfy all dimensional constraints, select the scale value that minimizes the violation of size rules, perform size correction on the 3D object, and write the corrected scale back to the scene state while maintaining the object's original shape and proportions. Here, s_i represents the uniform scale of the i-th 3D object, and r represents the original bounding box size of the 3D object. These represent the dimensions of the original bounding box in the x, y, and z dimensions, respectively. This represents the lower bound of the feasible scale interval. The upper bound of the feasible scale interval is indicated by , and clamp() is a function that truncates the values to the given interval.
[0062] Ergonomic layout information is used to describe common human activity space constraints, preferably including three types of rules: spacing rules between objects, clearance rules in front of objects, and clearance rules in specific directions.
[0063] Spacing rules between objects are used to constrain the distance between two objects that have a functional relationship, such as the distance between a sofa and a coffee table, a dining table and a dining chair, or a bed and a bedside table. The measurement indicators for this rule... The distance between the two objects is in the plane, and the target range is [min, max].
[0064] The headroom rule for objects is used to ensure the availability and accessibility of objects, such as refrigerators, cabinets, air conditioners, and display cases, which should have sufficient headroom in front of them. The metric for this rule is the available headroom in front of the object; usually, only the minimum value is required, and the maximum value can be considered positive infinity.
[0065] Specific directional clearance rules are used to constrain the movement space of an object in a certain direction, such as lateral clearance on both sides of a bed, pull-out space behind a chair, wheelchair turning space, and aisle width. The measurement indicators for this rule... The minimum clearance space along the specified direction, with a target range of [min, max] or [min, +∞).
[0066] Each ergonomic rule r can be represented as including the category of the subject object, the category of the object or the set of obstacles, and measurement indicators. Target Scope , and weight The structured record. A square hinge penalty is applied to the degree of rule violation in the current scene S: ;in, .
[0067] The loss is zero when the measured value is within the target range; the loss increases quadratically with the degree of violation when the value is below the lower bound or above the upper bound. For rules with only a minimum value, we can let... =+∞ or omit the second term.
[0068] Before applying the rules, a model-assisted labeling step is used to assign functional category labels to objects in the scene, such as large household appliances, storage furniture, beds, sofas, small tables, and chairs. The device retrieves candidate ergonomic rules based on these functional labels, resulting in a set of candidate rules. Since candidate rules may contain redundancy or errors, the device further employs a model for rule filtering.
[0069] Rule-based filtering and optimization include the following two categories: 1. Object Pair Filtering. For the spacing rules between objects, determine which objects constitute a true functional pairing. For example, a scene might contain a sofa and multiple small tables. The goal is to determine which table is in front of the sofa and forms a functional pairing based on the scene rendering and object layout, rather than pairing the sofa with every table. Irrelevant spacing rules are removed and do not participate in subsequent optimization.
[0070] 2. Obstacle Screening. For forward and directional clearance rules, all objects falling into the defined clearance area are first identified as potential obstacles. Then, the model uses multi-view renderings, scene information, and object functional relationships to determine which are truly avoidable obstacles and which are reasonable accompanying objects. For example, bedside tables and lamps on either side of a bed should generally not be considered obstacles to the side clearance of the bed, a table in front of a sofa should not be considered an obstacle to the front clearance of the sofa, and a carpet in front of an air conditioner should not be considered an obstacle to the front clearance. Filtered-out objects are not included in the loss calculation corresponding to this rule.
[0071] After rule filtering, the set of activation rules is obtained. And optimize the object's planar position while keeping the object's orientation unchanged or making limited adjustments: , represents the weighting coefficients for the physical consistency rule terms; where the first term in the formula ensures that the scene meets human activity constraints, and the second term is used to prevent ergonomic adjustments from introducing new collisions, boundary crossings, or support relationship errors. The optimized object positions are written back to the scene state.
[0072] In this embodiment, a two-dimensional reference image of the indoor scene is generated based on the description information of the indoor scene, or the image to be processed is used as a two-dimensional reference image. The two-dimensional reference image is segmented to obtain multiple two-dimensional objects, and each two-dimensional object is transformed into a three-dimensional image to obtain an initial three-dimensional image. Then, based on the optimized description information, physical consistency rule information, ergonomic size information, and ergonomic layout information of the initial three-dimensional image, the initial three-dimensional image is optimized to obtain the target three-dimensional image. In this embodiment, by segmenting the two-dimensional image to obtain various two-dimensional objects, the objects in the generated initial three-dimensional image can be moved, rotated, replaced, deleted, added, and scaled. This allows for optimization of the initial three-dimensional image through physical consistency rules, ergonomic dimensions, and ergonomic layout, ensuring that the size of the objects and the layout between the objects in the final generated three-dimensional image of the indoor scene meet ergonomic requirements, thereby improving the generation quality of the three-dimensional indoor scene.
[0073] Figure 3 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 3 ,based on Figure 2 In the embodiment shown, step S204 includes: Step S301: Determine the predicted profile of the intermediate 3D object projected onto the reference plane.
[0074] After obtaining the intermediate three-dimensional object, two-dimensional correction is then performed, that is, according to the current rigid body pose parameters T. i (The rigid body pose parameters corresponding to the intermediate 3D object) Project the intermediate 3D object onto the reference plane, and then render it to obtain the predicted contour of the intermediate 3D object. : The reference plane can be a preset plane, such as the plane where the horizontal ground is located.
[0075] Step S302: Based on the segmentation mask corresponding to the predicted contour and the intermediate 3D object, optimize the projection contour of the intermediate 3D object to obtain the target 3D object and the corresponding target rigid body pose parameters.
[0076] Step S303: Construct an initial three-dimensional image based on each target three-dimensional object and its corresponding target rigid body pose parameters.
[0077] After obtaining the predicted contour, the device will predict the contour. With segmentation mask The comparisons are performed, and optimization is achieved using a 2D contour loss that incorporates mask overlap, center alignment, extent alignment, and boundary consistency. In this optimization process, the orientation of the predicted contour object is kept unchanged, and the translation and scale of the predicted contour are conservatively optimized to make the predicted contour more consistent with the segmentation mask.
[0078] After optimizing the predicted contour, the target 3D object is obtained based on the optimized predicted contour, and then the target rigid body pose parameters of the target 3D object are deduced from the target 3D object. The device can obtain the initial 3D image by writing a unified scene state based on room information, the target 3D object, and the target rigid body pose parameters.
[0079] In this embodiment, the initial three-dimensional image is accurately obtained by performing two-dimensional correction on the intermediate three-dimensional object.
[0080] Figure 4 The flowchart of a three-dimensional indoor scene generation method provided in this application embodiment Figure 4 ,based on Figures 1 to 3 In any of the embodiments shown, step S103 includes: Step S401: Perform multi-angle rendering on the initial 3D image to obtain the first multi-angle rendered image.
[0081] In this embodiment, the device can perform multi-angle rendering on the initial three-dimensional image to obtain a first multi-angle rendered image. The aforementioned multi-angle rendering can be a process of rendering a 3D scene from multiple perspectives. For example, the first multi-angle rendered image may include a front view rendering image and a rear view rendering image; or, it may include one or more of a left view rendering image, a right view rendering image, a top view rendering image, and a perspective rendering image.
[0082] Step S402: Determine the initial evaluation suggestion information for the initial 3D image based on the optimized description information of the first multi-angle rendered image and the initial 3D image.
[0083] After obtaining the first multi-angle rendered image, based on the first multi-angle rendered image and the optimized description information of the initial 3D image, initial evaluation suggestion information for the initial 3D image is determined. For example, the first multi-angle rendered image... Initial 3D image Optimized description information of the initial 3D image and historical tool call records Input into the VLM evaluation module to generate initial evaluation recommendation information. : .
[0084] Initial assessment recommendations It should include at least the degree of goal completion, visual rationality, existing problems or flaws, and follow-up suggestions. For example, VLM can point out that an object intersects with a wall, a chair is too large, the distance between tables and chairs is inappropriate, the refrigerator is blocked by other objects, or an editing goal has not yet been completed.
[0085] Step S403: Based on the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic size information, and the ergonomic layout information, the initial three-dimensional image is optimized to obtain the target three-dimensional image.
[0086] After obtaining the initial evaluation suggestions, the initial 3D image is optimized based on the initial evaluation suggestions, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic size information, and the ergonomic layout information.
[0087] In one example, the initial 3D image is first optimized using initial evaluation suggestions and optimization description information. Then, the physical, ergonomic dimensions, and ergonomic layout of the initially optimized 3D image are further optimized using physical consistency rules, ergonomic dimensions, and ergonomic layout information to obtain the target 3D image.
[0088] In another example, the device includes a planner. The planner includes fine-tuning tools, editing tools, and optimization tools.
[0089] The fine-tuning tools are used to make local adjustments to the transformations of existing objects, including moving, rotating, and resetting. The move tool updates the object's position. Rotate tool to update yaw angle The reset tool repositions abnormal objects based on LLM / VLM or scene rules.
[0090] Editing tools are used to modify scene content, including adding and deleting objects. The add tool can call up a 3D generated model to create a new asset based on the object name, function description, reference image, or text prompts provided by the planner, and insert the new object into the current scene; the delete tool is used to remove unwanted, duplicate, or non-functional objects.
[0091] Optimization tools are used to improve the overall scene rationality, including physical optimization based on physical consistency rule information, ergonomic scale optimization, and ergonomic layout optimization. These optimization tools can be actively invoked by the planner or automatically invoked when the device detects violations of physical or ergonomic constraints. In other words, the planner constructs these tools based on physical consistency rule information, ergonomic dimension information, and ergonomic layout information.
[0092] The device inputs initial evaluation suggestion information, a first multi-angle rendered image, optimization description information, and an initial 3D image into the planner to obtain an intermediate 3D image optimized by the planner from the initial 3D image. Furthermore, the device can also input historical tool recall record information, initial evaluation suggestion information, a first multi-angle rendered image, optimization description information, and an initial 3D image into the planner to obtain an intermediate 3D image optimized by the planner from the initial 3D image.
[0093] The device performs multi-angle rendering on the intermediate 3D image to obtain a second multi-angle rendered image; based on the second multi-angle rendered image, optimization description information, and the planner's historical optimization record information (historical tool call record information) of the initial 3D image, it determines intermediate evaluation suggestion information for the intermediate 3D image; if the intermediate evaluation suggestion information indicates that the intermediate 3D image has reached the optimization target specified by the optimization description information, the intermediate 3D image is determined as the target 3D image.
[0094] If the intermediate evaluation suggestion information indicates that the intermediate 3D image has not reached the optimization target specified in the optimization description information, the intermediate 3D image will be updated to the initial 3D image. The process returns to the step of inputting the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image into the planner, i.e., iterating over the initial 3D image. Further, before updating the intermediate 3D image to the initial 3D image, i.e., before iterating again, the number of optimization attempts for the initial 3D image is determined. If the number of optimization attempts has not reached a preset number, the intermediate 3D image is updated to the initial 3D image, and iteration continues; if the number of optimization attempts has reached the preset number, the intermediate 3D image is used as the target 3D image.
[0095] In this embodiment, an indoor 3D scene with a more reasonable layout is generated by evaluating the initial 3D image and iteratively optimizing it based on the evaluation results.
[0096] Corresponding to the above-mentioned three-dimensional indoor scene generation method, this application embodiment also provides a three-dimensional indoor scene generation device. Figure 5 This is a functional module diagram of a three-dimensional indoor scene generation device provided in an embodiment of this application. The three-dimensional indoor scene generation device 500 provided in this embodiment includes: The generation module 510 is used to generate a two-dimensional reference image of the indoor scene based on the description information of the indoor scene, or to use the image to be processed as a two-dimensional reference image. The segmentation module 520 is used to segment the two-dimensional reference image to obtain multiple two-dimensional objects and the segmentation mask of each two-dimensional object; to perform point image estimation on the two-dimensional reference image to obtain the three-dimensional coordinates of each pixel in the two-dimensional reference image; to convert the two-dimensional objects into initial three-dimensional objects and their corresponding initial rigid body pose parameters based on the two-dimensional reference image, the segmentation mask, and the three-dimensional coordinates; to perform position correction on the initial three-dimensional objects based on the initial rigid body pose parameters and the three-dimensional coordinates of the initial three-dimensional objects to obtain intermediate three-dimensional objects; and to construct an initial three-dimensional image based on each intermediate three-dimensional object. The optimization module 530 is used to optimize the initial three-dimensional image based on the optimization description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information of the initial three-dimensional image to obtain the target three-dimensional image. The optimization description information is the evaluation information obtained by evaluating the initial three-dimensional image. The physical consistency rule information is used to correct errors such as the interpenetration between objects, objects exceeding the room boundary, and support relationship errors in the initial three-dimensional image.
[0097] In some implementations, the 3D indoor scene generation device 500 is also used for: Determine the predicted profile of the intermediate 3D object projected onto the reference plane; Based on the segmentation mask corresponding to the predicted contour and the intermediate 3D object, the projection contour of the intermediate 3D object is optimized to obtain the target 3D object and the corresponding target rigid body pose parameters. An initial 3D image is constructed based on each target 3D object and its corresponding target rigid body pose parameters.
[0098] In some implementations, the 3D indoor scene generation device 500 is also used for: The initial 3D image is rendered from multiple angles to obtain the first multi-angle rendered image; Based on the optimized description information of the first multi-angle rendered image and the initial 3D image, the initial evaluation suggestion information of the initial 3D image is determined; Based on the initial assessment recommendations, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic dimension information, and the ergonomic layout information, the initial 3D image is optimized to obtain the target 3D image.
[0099] In some implementations, the 3D indoor scene generation device 500 is also used for: The initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image are input into the planner to obtain the intermediate 3D image output by the planner. The planner constructs the image based on the physical consistency rule information, ergonomic dimension information, and ergonomic layout information. The intermediate 3D image is rendered from multiple angles to obtain a second multi-angle rendered image. Based on the second multi-angle rendered image, the optimized description information, and the planner's historical optimization record information for the initial 3D image, intermediate evaluation suggestion information for the intermediate 3D image is determined; If the intermediate evaluation suggestion information indicates that the intermediate 3D image has reached the optimization target specified in the optimization description information, the intermediate 3D image is identified as the target 3D image.
[0100] In some implementations, the 3D indoor scene generation device 500 is also used for: If the intermediate evaluation suggestion information indicates that the intermediate 3D image has not met the optimization target specified in the optimization description information, the intermediate 3D image will be updated to the initial 3D image. Return to the step of inputting the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image into the planner.
[0101] In some implementations, the 3D indoor scene generation device 500 is also used for: Determine the number of optimization attempts for the initial 3D image; If the preset number of optimization attempts is not reached, the intermediate 3D image will be updated to the initial 3D image.
[0102] The 3D indoor scene generation device and the 3D indoor scene generation method provided in the above embodiments of this application belong to the same inventive concept. They can execute the 3D indoor scene generation method provided in any of the above embodiments of this application, and have the corresponding functional modules and beneficial effects of executing the 3D indoor scene generation method. Technical details not described in detail in this embodiment can be found in the specific processing content of the 3D indoor scene generation method provided in the above embodiments of this application, and will not be repeated here.
[0103] The functions implemented by each module in the 3D indoor scene generation device can be implemented by the same or different processors, and this application embodiment does not limit this.
[0104] It should be understood that the modules in the above-described 3D indoor scene generation device can be implemented in the form of a processor calling firmware. For example, it includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to realize the functions of each module of the device. The processor can be a general-purpose processor, such as a CPU or microprocessor, and the memory can be internal to the device or external to the system. Alternatively, the modules in the system can be implemented in the form of hardware circuits. The functions of some or all modules can be realized through the design of the hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above modules are realized through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a PLD, such as an FPGA, which can include a large number of logic gates. The connection relationships between the logic gates are configured through a configuration file, thereby realizing the functions of some or all of the above modules. All modules of the above-described 3D indoor scene generation device can be implemented entirely through processor calling firmware, entirely through hardware circuits, or partially through processor calling firmware with the remaining parts implemented through hardware circuits.
[0105] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, GPU, or DSP. In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement the functions of some or all of the above modules. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, or DPU.
[0106] As can be seen, each module in the above-mentioned three-dimensional indoor scene generation device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor types.
[0107] Furthermore, the modules in the above-mentioned 3D indoor scene generation device can be integrated in whole or in part, or they can be implemented independently. In one implementation, these modules are integrated together and implemented in the form of a System-on-Chip (SoC). The SoC may include at least one processor for implementing any of the above methods or implementing the functions of the modules of the device. The at least one processor can be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.
[0108] This application provides an electronic device, the structural schematic of which is shown in the figure below. Figure 6 As shown, the electronic device includes a memory 600 and a processor 610; wherein the memory 600 is connected to the processor 610 and is used to store programs; the processor 610 is used to implement the three-dimensional indoor scene generation method disclosed in any of the above embodiments by running the programs stored in the memory 600.
[0109] Specifically, the aforementioned electronic device may further include: a bus, a communication interface 620, an input device 630, and an output device 640. The electronic device may also include a data transceiver module, an image monitoring module, and a signal monitoring module.
[0110] The processor 610, memory 600, communication interface 620, input device 630, and output device 640 are interconnected via a bus. Among them: A bus can include a pathway for transmitting information between various components in an electronic device.
[0111] The processor 610 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0112] The processor 610 may include a main processor, as well as a baseband chip, modem, etc.
[0113] The memory 600 stores a program for executing the technical solution of this application, and may also store an operating system and other critical business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 600 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.
[0114] Input device 630 may include a device for receiving user input data and information, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.
[0115] Output device 640 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0116] The communication interface 620 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0117] The processor 610 executes the program stored in the memory 600 and calls other devices, and can be used to implement each step of any of the three-dimensional indoor scene generation methods provided in the above embodiments of this application.
[0118] This application also proposes a chip, which includes a processor and a data interface. The processor reads and runs a program stored in the memory through the data interface to execute the three-dimensional indoor scene generation method described in any of the above embodiments. For the specific processing procedure and its beneficial effects, please refer to the embodiments of the three-dimensional indoor scene generation method described above.
[0119] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer instructions that, when executed by a processor, cause the processor to perform the steps in the three-dimensional indoor scene generation method described in any of the embodiments above.
[0120] Computer program products can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone firmware package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0121] Furthermore, embodiments of this application may also be computer-readable storage media storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the three-dimensional indoor scene generation method described in any of the above embodiments of this specification. Specifically, it can implement the steps of the three-dimensional indoor scene generation method described above.
[0122] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0123] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0124] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.
[0125] The units of the apparatus in the various embodiments of this application can be merged, divided, and deleted according to actual needs.
[0126] It should be understood that the disclosed terminals, devices, and methods can be implemented in other ways, given the several embodiments provided in this application. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0127] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.
[0128] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or as firmware functional modules or sub-modules.
[0129] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer firmware, or a combination of both. To clearly illustrate the interchangeability of hardware and firmware, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or firmware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0130] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, firmware units executed by a processor, or a combination of both. The firmware unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0131] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0132] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating a three-dimensional indoor scene, characterized in that, include: A two-dimensional reference image of the indoor scene can be generated based on the description information of the indoor scene, or the image to be processed can be used as a two-dimensional reference image. The two-dimensional reference image is segmented to obtain multiple two-dimensional objects and a segmentation mask for each of the two-dimensional objects; Perform point plot estimation on the two-dimensional reference image to obtain the three-dimensional coordinates of each pixel in the two-dimensional reference image; Based on the two-dimensional reference image, the segmentation mask, and the three-dimensional coordinates, the two-dimensional object is converted into an initial three-dimensional object and the corresponding initial rigid body pose parameters; Based on the initial rigid body pose parameters and three-dimensional coordinates corresponding to the initial three-dimensional object, the position of the initial three-dimensional object is corrected to obtain intermediate three-dimensional objects, and the initial three-dimensional image is constructed based on each of the intermediate three-dimensional objects. Based on the optimized description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information of the initial 3D image, the initial 3D image is optimized to obtain the target 3D image. The optimized description information is the evaluation information obtained by evaluating the initial 3D image. The physical consistency rule information is used to correct errors such as objects intersecting, objects exceeding room boundaries, and support relationships in the initial 3D image.
2. The method for generating a three-dimensional indoor scene according to claim 1, characterized in that, The step of constructing the initial 3D image based on each of the intermediate 3D objects includes: Determine the predicted contour of the intermediate 3D object projected onto the reference plane; Based on the segmentation mask corresponding to the predicted contour and the intermediate 3D object, the projection contour of the intermediate 3D object is optimized to obtain the target 3D object and the corresponding target rigid body pose parameters. The initial three-dimensional image is constructed based on each target three-dimensional object and its corresponding target rigid body pose parameters.
3. The method for generating a three-dimensional indoor scene according to claim 1, characterized in that, The optimization of the initial 3D image based on its optimized description information, physical consistency rule information, ergonomic dimension information, and ergonomic layout information includes: The initial 3D image is rendered from multiple angles to obtain a first multi-angle rendered image; Based on the optimized description information of the first multi-angle rendered image and the initial 3D image, the initial evaluation suggestion information of the initial 3D image is determined; Based on the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic size information, and the ergonomic layout information, the initial 3D image is optimized to obtain the target 3D image.
4. The method for generating a three-dimensional indoor scene according to claim 3, characterized in that, The step of optimizing the initial 3D image based on the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, the physical consistency rule information, the ergonomic dimension information, and the ergonomic layout information to obtain the target 3D image includes: The initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image are input into the planner to obtain the intermediate 3D image output by the planner, which is constructed based on the physical consistency rule information, the ergonomic dimension information, and the ergonomic layout information. The intermediate 3D image is rendered from multiple angles to obtain a second multi-angle rendered image. Based on the second multi-angle rendered image, the optimization description information, and the planner's historical optimization record information for the initial 3D image, intermediate evaluation suggestion information for the intermediate 3D image is determined; If the intermediate evaluation suggestion information indicates that the intermediate 3D image meets the optimization target specified by the optimization description information, the intermediate 3D image is determined as the target 3D image.
5. The method for generating a three-dimensional indoor scene according to claim 4, characterized in that, After determining the intermediate evaluation suggestion information for the intermediate 3D image based on the second multi-angle rendered image, the optimization description information, and the planner's historical optimization record information for the initial 3D image, the method further includes: If the intermediate evaluation suggestion information indicates that the intermediate 3D image does not meet the optimization target specified by the optimization description information, the intermediate 3D image will be updated to the initial 3D image. Return to the step of inputting the initial evaluation suggestion information, the first multi-angle rendered image, the optimization description information, and the initial 3D image into the planner.
6. The method for generating a three-dimensional indoor scene according to claim 5, characterized in that, The step of updating the intermediate 3D image to the initial 3D image includes: Determine the number of optimization attempts for the initial 3D image; If the preset number of optimization attempts is not reached, the intermediate 3D image is updated to the initial 3D image.
7. A three-dimensional indoor scene generation device, characterized in that, Including memory and processor, among which, The memory is connected to the processor and is used to store programs; The processor is used to implement the three-dimensional indoor scene generation method as described in any one of claims 1-6 by running the program in the memory.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the three-dimensional indoor scene generation method as described in any one of claims 1-6.
9. A computer program product, characterized in that, It includes computer instructions, which, when executed by a processor, implement the three-dimensional indoor scene generation method as described in any one of claims 1-6.
