A wall panel three-dimensional model generation method, device, equipment and storage medium

By obtaining and analyzing wall information, determining the laying method and area, and generating a three-dimensional model, the problem of the existing technology being unable to intelligently design wall panels is solved, and the effect of automatically identifying and batch generation of three-dimensional wall panel models is achieved.

CN114004928BActive Publication Date: 2024-11-15GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111252718.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-11-15
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

The existing three-dimensional home design software cannot complete the intelligent installation design of the solid wood wall panel model in the whole house space with one click based on the design and installation process of the solid wood wall panel.

Method used

By obtaining the scene information and coordinate information of each wall in the target scene, determining the angle information and laying method of adjacent walls, determining the wall panel laying area based on the three-dimensional coordinate information, and generating a three-dimensional model of the wall panel.

Benefits of technology

It realizes automatic identification of the three-dimensional house characteristics of the whole house, and the installation location of the whole house wall panel is identified according to the wall panel installation process, reducing the designer's operational complexity and conveniently and quickly batch generation of three-dimensional wall panel models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114004928B_ABST
    Figure CN114004928B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to a method, device, equipment and storage medium for generating a three-dimensional model of a wall panel, including: obtaining the wall height, wall panel material, number of wall panel frames, two-dimensional coordinates and three-dimensional coordinates in a target scene; determining the angle information of adjacent walls in the target scene according to the two-dimensional coordinate information; determining the paving method corresponding to the connection between the adjacent walls according to the angle information; determining the wall panel paving area corresponding to each wall according to the three-dimensional coordinates; generating a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information. In this way, it is possible to automatically identify the wall features to determine the paving area of ​​the wall panel, and complete the generation of the three-dimensional model of the wall panel of the whole house with one click according to the paving area and the wall panel style set by the user, which is faster and more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of three-dimensional home improvement technology, and in particular to a method, device, equipment and storage medium for generating a three-dimensional model of a wall panel. Background Art

[0002] 3D home design software is a widely used design software in the decoration industry. It helps designers to display the design plan intuitively. Currently, the 3D home design software on the market cannot complete the intelligent installation design of the solid wood wall panel model of the whole house space in one click according to the design and installation process of the solid wood wall panels and the 3D floor plan. Summary of the invention

[0003] In view of this, in order to solve the above-mentioned technical problems or part of the technical problems, an embodiment of the present invention provides a method, device, equipment and storage medium for generating a three-dimensional model of a wall panel.

[0004] In a first aspect, an embodiment of the present invention provides a method for generating a three-dimensional model of a wall panel, comprising:

[0005] Obtaining scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information;

[0006] Determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information;

[0007] Determine the paving method corresponding to the connection between the adjacent walls according to the angle information;

[0008] Determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information;

[0009] A three-dimensional model of the wall panel is generated according to the wall panel paving area, the paving method and the scene information.

[0010] In a possible implementation, determining angle information of adjacent walls in the target scene according to the two-dimensional coordinate information includes:

[0011] Sort the two-dimensional ground coordinate information of the target scene counterclockwise or clockwise to obtain the starting point two-dimensional coordinate information and the ending point two-dimensional coordinate information of each wall in the room;

[0012] The angle information of the adjacent walls is determined based on the two-dimensional coordinate information of the starting point and the two-dimensional coordinate information of the end point.

[0013] In a possible implementation manner, determining the paving method corresponding to the connection between adjacent walls according to the angle information includes:

[0014] When the angle information is less than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the faces of the wall panels that are not attached to the wall are connected, wherein when the angle information is equal to 90 degrees, the side of the wall panels on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panels on the other side are retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panels on the other side;

[0015] In a possible implementation manner, determining the paving method corresponding to the connection between adjacent walls according to the angle information includes:

[0016] When the angle information is greater than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, the wall panels on one side of the adjacent walls expand outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panels on the other side, and the side surfaces of the wall panels on the other side are close to the expanded wall panels.

[0017] In a possible implementation manner, determining the wainscot paving area corresponding to each wall according to the three-dimensional coordinate information includes:

[0018] Determine the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall according to the three-dimensional coordinate information;

[0019] Determine a first area and a second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate a paving area of ​​the wall, and the second area is used to indicate a paving area of ​​the entity;

[0020] The wall panel laying area is determined according to the wall height information, the wall panel frame number information, the first area and the second area.

[0021] In a possible implementation, the method further includes:

[0022] Acquire the ceiling height information of the target scene, and determine that the minimum value of the ceiling height information and the wall height information is the paving height;

[0023] Determine the actual paving height of the paving area of ​​the wallboard according to the wallboard frame number information and the paving height;

[0024] The wall panel paving area is determined according to the actual paving height, the first area and the second area.

[0025] In a possible implementation manner, generating the three-dimensional model of the wallboard according to the wallboard paving area, the paving method and the scene information includes:

[0026] Convert the siding paving area into 3D data;

[0027] A three-dimensional model of the wall panel is generated according to the three-dimensional data, the paving method and the wall panel material information.

[0028] In a second aspect, an embodiment of the present invention provides a device for generating a three-dimensional model of a wall panel, comprising:

[0029] An acquisition module is used to acquire scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information;

[0030] A determination module, used to determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information;

[0031] The determination module is further used to determine the paving method corresponding to the connection between the adjacent walls according to the angle information;

[0032] The determination module is further used to determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information;

[0033] A paving module is used to generate a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information.

[0034] In a third aspect, an embodiment of the present invention provides a device comprising: a processor and a memory, wherein the processor is used to execute a three-dimensional model generation program for wall panels stored in the memory to implement the three-dimensional model generation method for wall panels described in any one of the first aspects above.

[0035] In a fourth aspect, an embodiment of the present invention provides a storage medium, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the three-dimensional model generation method of the wall panel described in any one of the first aspects above.

[0036] The wall panel three-dimensional model generation solution provided by the embodiment of the present invention obtains the wall height information, wall panel material information, wall panel frame number information, two-dimensional coordinate information and three-dimensional coordinate information of each wall in the target scene; determines the angle information of adjacent walls in the target scene according to the two-dimensional coordinate information; determines the paving method corresponding to the connection between the adjacent walls according to the angle information; determines the wall panel paving area corresponding to each wall according to the three-dimensional coordinate information; generates the three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information, thereby realizing automatic recognition of the three-dimensional apartment characteristics of the whole house and identifying the installation positions of the wall panels of the whole house according to the wall panel installation process; allows designers to choose wall panels of different styles and generate wall panels according to the identified installation positions, reducing complicated operations and conveniently and quickly generating three-dimensional wall panel models in batches. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of a flow chart of a method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the structure of a wall panel three-dimensional model generating device provided by an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of the structure of a device provided by an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of a first method for generating a three-dimensional model of a wall panel provided in an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of a second method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0042] Figure 6 A schematic diagram of a third method for generating a three-dimensional model of a wall panel provided in an embodiment of the present invention;

[0043] Figure 7 A schematic diagram of a fourth method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0044] Figure 8 A schematic diagram of a fifth method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0045] Fig. 9 A schematic diagram of a sixth method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0046] Fig.10 A schematic diagram of a seventh method for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention;

[0047] Fig.11 A schematic diagram of an eighth method for generating a three-dimensional model of a wall panel provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0050] Figure 1 A schematic diagram of a process for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention, such as Figure 1 As shown, the method specifically includes:

[0051] S11. Acquire scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information.

[0052] The method for generating a three-dimensional model of wall panels provided in an embodiment of the present invention is applied to home decoration design software, and the home decoration design equipment may be: three-dimensional home design software, drawing software, etc. Specifically, the paving area is identified, the corresponding paving method is determined, and a three-dimensional model of the wall panel paving is generated.

[0053] In this embodiment, the target scene is the area where wainscoting is required, and the room that needs wainscoting selected by the user in the three-dimensional floor plan is the target scene. The three-dimensional floor plan is used to indicate the three-dimensional structure of the room of the house where wainscoting is to be laid.

[0054] The scene information is used to indicate the paving parameter information in the target scene, including: wall height information, wall panel material information and wall panel frame number information. The scene information can be set or selected by the user. The wall height information is the highest height of the wall panel paving in the target scene. The wall height information includes half wall and full wall. The height of the half wall is half of the actual wall height, and the height of the full wall is the actual wall height. If there is a ceiling in the room, the highest paving height is compared with the height of the ceiling in the room from the ground. The minimum value is the actual paving height on the wall, that is, the wall height information; the wall panel material information is the material of the generated wall panel, including but not limited to the style, style and material of the wall panel. The frame number information is the number of areas into which the wall panel is divided in the vertical direction. The frame number information can include single frame, two frames and three frames, two frames. The coordinate information is used to indicate the two-dimensional coordinate information of the ground of the target scene and the three-dimensional coordinate information of the wall.

[0055] Furthermore, the maximum height h of the wall is first obtained; when the user selects the wall height information as half wall, the frame number information can only select a single frame, and the paving height is h / 2.

[0056] When the user selects the wall height information as the whole wall: the number of frames can be selected as single frame, two frames and three frames, among which the height of the paving area of ​​the single frame is h; the two frames divide h into two paving areas A and B from top to bottom, and the longitudinal length ratio of A and B is 1:0.618; the three frames divide h into three paving areas A, B and C from top to bottom, and the longitudinal length ratio of A, B and C is 1:2:4.

[0057] For example, first, the user establishes the target scene and clicks the mouse to enter the smart design mode. First, draw the house type on the canvas. After the house type is drawn, click the whole wood module entrance button to enter the whole house customized whole wood module. The user selects the "smart wall panel" in the top menu and selects "smart paving" to enter the smart design mode. The user selects the room that needs to be paved with wall panels as the living room, the wall panel material information is solid wood gray, the wall height information is full wall, and the number of wall panel frames is two frames. After determining the number of frames, the height area of ​​the wall paving is divided into two upper and lower frames with a ratio of 1:0.618 according to the default setting ratio. Convert the 3D scene information of the target scene into 2D coordinate information. The 2D coordinates of the ground area in the target scene are two-dimensional coordinate information, the 3D coordinates of the wall are three-dimensional coordinate information, and the height of the wall is the height on the Z axis of the 3D coordinate.

[0058] In an optional solution provided by an embodiment of the present invention, a schematic diagram of a method for generating a three-dimensional model of a wall panel includes:

[0059] Figure 4 : First, create an empty apartment and reserve an area for laying the wall panels;

[0060] Figure 5: Click Smart Wall Panel in the top menu bar and select Smart Paving;

[0061] Figure 6 : Enter the smart wall panel design selection interface, select the space area to be tiled, support single or multiple space selection, the selected space is the target scene, click next after selection;

[0062] Figure 7 : Select the type and number of frames for smart paving of wall panels. After selecting, click Next. The types include full wall and half wall, and the number of frames includes single frame, two frames and three frames.

[0063] Figure 8 : Select the style of the wall panel to be laid, and click OK after completing the selection;

[0064] Fig. 9 : Confirm the wainscoting style and material included in the selected wainscoting style. Now all the settings for wainscoting are completed. Click Generate.

[0065] S12. Determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information.

[0066] In this embodiment, the angle information of adjacent walls is the angle between two adjacent walls in the target scene. The two-dimensional coordinate information of the ground in the target scene is sorted counterclockwise or clockwise to obtain the starting point and end point of each wall in the target scene, and the angle between the connected walls is calculated using the starting and end points of the walls.

[0067] S13, determining a paving method corresponding to the connection between the adjacent walls according to the angle information.

[0068] In this embodiment, a paving rule is preset, and the paving rule is used to indicate the paving method corresponding to the connection between two adjacent walls in the target scene. The paving rule is used to avoid overlapping of the wall panels at the connection between the walls.

[0069] In an optional scheme of an embodiment of the present invention, it is determined whether the angle information is greater than 180 degrees. When the angle information is less than 180 degrees, the paving method corresponding to the connection between the adjacent walls is: the edges corresponding to the surfaces of the wall panels that are not attached to the walls are connected, wherein, when the angle information is equal to 90 degrees, special processing is performed, and the special processing method is that the side surface of the wall panel on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panel on the other side is retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panel on the other side.

[0070] In an optional scheme of an embodiment of the present invention, it is determined whether the angle information is less than 180 degrees. When the angle information is greater than 180 degrees, the paving method corresponding to the connection between the adjacent walls is: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, special processing is performed, and the special processing method is that the wall panels on one side of the adjacent walls are expanded outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panels on the other side, and the side of the wall panels on the other side are close to the expanded wall panels.

[0071] S14, determining the wall panel paving area corresponding to each wall according to the three-dimensional coordinate information.

[0072] In this embodiment, the three-dimensional coordinate information of the wall is subjected to 2D plane processing to obtain the two-dimensional coordinate information corresponding to each vertex in the wall, as well as the three-dimensional coordinate information of each vertex of the entity in the wall, wherein the entity includes but is not limited to windows, doors, wall-attached pillars, wall-attached platforms, etc. in the wall.

[0073] In an optional scheme of the embodiment of the present invention, the first area and the second area of ​​the wall are determined according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate the paving area of ​​the wall, that is, the paving area of ​​the wall except the entity area, and the second area is used to indicate the paving area of ​​the entity, and the paving area of ​​the entity is the non-wall-adhering plane area of ​​the entity.

[0074] Specifically, the first horizontal coordinate value is taken from the starting point to the end point of the wall, and the wall height information is determined according to the full wall or half wall set by the user. The first vertical coordinate value is determined according to the wall height information, that is, the actual height of the wall to be tiled is the first vertical coordinate value, and the a area of ​​the wall is obtained according to the first horizontal coordinate value and the first vertical coordinate value. The width of the entity (doors and windows, etc.) in the wall and the cube attached to the wall (columns, platforms, etc.) is the second horizontal coordinate value, and the height of the entity is the second vertical coordinate value. The 2D coordinate of the entity on the wall is taken as the starting point, and the b area occupied by the entity in the 2D plane area of ​​the wall is obtained. The b area is the non-tiled area in the wall. The b area in the a area is removed to obtain the actual tiling area in the wall, that is, the wall plane area is divided into a set of areas for tiling the wallboard with the horizontal starting point of each area in the a area set. After the tiling area on the wall is determined, the tiling area of ​​the entity against the wall in the room is determined, and the plane area of ​​the entity not attached to the wall is the tiling area.

[0075] S15. Generate a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information.

[0076] In this embodiment, the wallboard size data and a conversion rule are preset, the size data includes the length, width, thickness of each wallboard corresponding to different wallboard material information, and the 2D coordinate data in each wall and the 3D coordinate data in the target scene, and the conversion rule is used to convert the 2D coordinate data in each wall into the 3D coordinate data in the target scene. The paving area obtained in the above steps is divided into individual wallboard data, and the paving area is divided into the paving data of individual wallboards by the wallboard width value of the preset size data, and the 2D coordinate data in the target scene is converted into 3D data according to the preset conversion rule to obtain the data of the wallboard in the 3D scene.

[0077] In an optional scheme of an embodiment of the present invention, the wallboard style data is requested through the selected wallboard material information, the wallboard paving area is converted into three-dimensional data, the wallboard style data is batch-generated into 3D scene wallboard models according to the three-dimensional data using a method integrated within the software, the wallboard paving data is assigned to the generated wallboard model to obtain a wallboard with correct performance, and all the wallboard paving data are looped through. Using the above-mentioned wallboard generation method, the intelligent paving of the wallboard in the selected space can be completed to generate a three-dimensional model of the wallboard.

[0078] In an optional solution provided by an embodiment of the present invention, a schematic diagram of a method for generating a three-dimensional model of a wall panel includes:

[0079] Fig.10 : Automatically complete the paving of wall panels in the corresponding space area of ​​the target scene according to the paving settings;

[0080] Fig.11 :The effect after paving is completed.

[0081] The solution for generating a three-dimensional model of wall panels provided in an embodiment of the present invention obtains wall height information, wall panel material information, wall panel frame number information, two-dimensional coordinate information and three-dimensional coordinate information of each wall in a target scene; determines angle information of adjacent walls in the target scene according to the two-dimensional coordinate information; determines a paving method corresponding to a connection between adjacent walls according to the angle information; determines a wall panel paving area corresponding to each wall according to the three-dimensional coordinate information; generates a three-dimensional model of the wall panels according to the wall panel paving area, the paving method and the scene information, thereby realizing automatic identification of a paving area of ​​a room to be paved, selecting a corresponding paving method and paving style for paving, and generating a three-dimensional model of the wall panels, thereby reducing some complicated operations and conveniently and quickly generating three-dimensional models of wall panels in batches.

[0082] Figure 2 A schematic diagram of a structure of a device for generating a three-dimensional model of a wall panel provided by an embodiment of the present invention, such as Figure 2As shown, the device specifically includes:

[0083] An acquisition module 21 is used to acquire scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information;

[0084] A determination module 22, configured to determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information;

[0085] The determination module 22 is further used to determine the paving method corresponding to the connection between the adjacent walls according to the angle information;

[0086] The determination module 22 is further used to determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information;

[0087] The paving module 23 is used to generate a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information.

[0088] In a possible implementation, the acquisition module 21 is specifically configured to sort the two-dimensional ground coordinate information of the target scene counterclockwise or clockwise to obtain the starting point two-dimensional coordinate information and the ending point two-dimensional coordinate information of each wall in the room;

[0089] The determination module 22 is specifically configured to determine the angle information of the adjacent walls based on the two-dimensional coordinate information of the starting point and the two-dimensional coordinate information of the end point.

[0090] In one possible embodiment, the determination module 22 is specifically used to determine the paving method corresponding to the connection between the adjacent walls when the angle information is less than 180 degrees: the edges corresponding to the surfaces of the wall panels that are not attached to the walls are connected, wherein, when the angle information is equal to 90 degrees, the side surface of the wall panels on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panels on the other side are retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panels on the other side.

[0091] In a possible implementation, the determination module 22 is specifically used to determine the paving method corresponding to the connection between the adjacent walls when the angle information is greater than 180 degrees: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, the wall panels on one side of the adjacent walls expand outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panel on the other side, and the side of the wall panel on the other side is close to the expanded wall panel.

[0092] In one possible implementation, the determination module 22 is specifically used to determine the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall according to the three-dimensional coordinate information; determine the first area and the second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate the paved area of ​​the wall, and the second area is used to indicate the paved area of ​​the entity; determine the wall panel paving area according to the wall height information, the wall panel frame number information, the first area and the second area.

[0093] In one possible implementation, the acquisition module 21 is further used to acquire the ceiling height information of the target scene, and the determination module 22 is further used to determine the minimum value of the ceiling height information and the wall height information as the paving height; determine the actual paving height of the wall panel paving area according to the wall panel frame number information and the paving height; determine the wall panel paving area according to the actual paving height, the first area and the second area.

[0094] In a possible implementation, the paving module 23 is specifically used to convert the paving area of ​​the wall panel into three-dimensional data; and generate a three-dimensional model of the wall panel according to the three-dimensional data, the paving method and the wall panel material information.

[0095] Figure 3 A schematic diagram of a device provided in an embodiment of the present invention is provided. Figure 3 The device 300 shown includes: at least one processor 301, a memory 302, at least one network interface 304 and other user interfaces 303. The various components in the device 300 are coupled together via a bus system 305. It is understood that the bus system 305 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 305 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 305 is not shown in FIG. Figure 3 Various buses are labeled as bus system 305 .

[0096] The user interface 303 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0097] It can be understood that the memory 302 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 302 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0098] In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 3021 and an application program 3022 .

[0099] The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 3022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 3022.

[0100] In the embodiment of the present invention, by calling the program or instruction stored in the memory 302, specifically, the program or instruction stored in the application 3022, the processor 301 is used to execute the method steps provided by each method embodiment, for example, including:

[0101] Obtaining scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information;

[0102] Determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information;

[0103] Determine the paving method corresponding to the connection between the adjacent walls according to the angle information;

[0104] Determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information;

[0105] A three-dimensional model of the wall panel is generated according to the wall panel paving area, the paving method and the scene information.

[0106] In a possible implementation, the two-dimensional ground coordinate information of the target scene is sorted counterclockwise or clockwise to obtain the starting point two-dimensional coordinate information and the ending point two-dimensional coordinate information of each wall in the room;

[0107] The angle information of the adjacent walls is determined based on the two-dimensional coordinate information of the starting point and the two-dimensional coordinate information of the end point.

[0108] In one possible implementation, when the angle information is less than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels that are not attached to the walls are connected, wherein, when the angle information is equal to 90 degrees, the side surface of the wall panels on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panels on the other side are retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panels on the other side.

[0109] In one possible implementation, when the angle information is greater than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, the wall panels on one side of the adjacent walls expand outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panel on the other side, and the side of the wall panel on the other side is close to the expanded wall panel.

[0110] In a possible implementation, the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall are determined according to the three-dimensional coordinate information;

[0111] Determine a first area and a second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate a paving area of ​​the wall, and the second area is used to indicate a paving area of ​​the entity;

[0112] The wall panel laying area is determined according to the wall height information, the wall panel frame number information, the first area and the second area.

[0113] In a possible implementation, the ceiling height information of the target scene is obtained, and a minimum value of the ceiling height information and the wall height information is determined to be a paving height;

[0114] Determine the actual paving height of the paving area of ​​the wallboard according to the wallboard frame number information and the paving height;

[0115] The wall panel paving area is determined according to the actual paving height, the first area and the second area.

[0116] In one possible implementation, the siding paving area is converted into three-dimensional data;

[0117] A three-dimensional model of the wall panel is generated according to the three-dimensional data, the paving method and the wall panel material information.

[0118] The method disclosed in the above embodiment of the present invention can be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 301 or the instruction in the form of software. The above processor 301 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the above method in combination with its hardware.

[0119] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0120] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0121] The device provided in this embodiment can be Figure 3 The device shown in , can be executed as Figure 1 All steps of the method for generating a three-dimensional model of the wall panel are implemented Figure 1 The technical effect of the method for generating the three-dimensional model of the wall panel is shown in the figure. Figure 1 For the sake of brevity, the relevant description is not repeated here.

[0122] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0123] When one or more programs in the storage medium can be executed by one or more processors, the wainscot three-dimensional model generation method executed on the device side of the wainscot three-dimensional model generation method is implemented.

[0124] The processor is used to execute the program for generating the three-dimensional model of the wallboard stored in the memory to implement the following steps of the method for generating the three-dimensional model of the wallboard executed on the device side of the method for generating the three-dimensional model of the wallboard:

[0125] Obtaining scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information;

[0126] Determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information;

[0127] Determine the paving method corresponding to the connection between the adjacent walls according to the angle information;

[0128] Determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information;

[0129] A three-dimensional model of the wall panel is generated according to the wall panel paving area, the paving method and the scene information.

[0130] In a possible implementation, the two-dimensional ground coordinate information of the target scene is sorted counterclockwise or clockwise to obtain the starting point two-dimensional coordinate information and the ending point two-dimensional coordinate information of each wall in the room;

[0131] The angle information of the adjacent walls is determined based on the two-dimensional coordinate information of the starting point and the two-dimensional coordinate information of the end point.

[0132] In one possible implementation, when the angle information is less than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels that are not attached to the walls are connected, wherein, when the angle information is equal to 90 degrees, the side surface of the wall panels on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panels on the other side are retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panels on the other side.

[0133] In one possible implementation, when the angle information is greater than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, the wall panels on one side of the adjacent walls expand outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panel on the other side, and the side of the wall panel on the other side is close to the expanded wall panel.

[0134] In a possible implementation, the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall are determined according to the three-dimensional coordinate information;

[0135] Determine a first area and a second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate a paving area of ​​the wall, and the second area is used to indicate a paving area of ​​the entity;

[0136] The wall panel laying area is determined according to the wall height information, the wall panel frame number information, the first area and the second area.

[0137] In a possible implementation, the ceiling height information of the target scene is obtained, and a minimum value of the ceiling height information and the wall height information is determined to be a paving height;

[0138] Determine the actual paving height of the paving area of ​​the wallboard according to the wallboard frame number information and the paving height;

[0139] The wall panel paving area is determined according to the actual paving height, the first area and the second area.

[0140] In one possible implementation, the siding paving area is converted into three-dimensional data;

[0141] A three-dimensional model of the wall panel is generated according to the three-dimensional data, the paving method and the wall panel material information.

[0142] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0143] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0144] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for generating a three-dimensional model of a wall panel, characterized in that: include: Obtaining scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information; Determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information; Determine the paving method corresponding to the connection between the adjacent walls according to the angle information; Determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information; Generate a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information; Wherein, determining the wainscot paving area corresponding to each wall according to the three-dimensional coordinate information includes: Determine the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall according to the three-dimensional coordinate information; Determine a first area and a second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate a paving area of ​​the wall, and the second area is used to indicate a paving area of ​​the entity; The wall panel laying area is determined according to the wall height information, the wall panel frame number information, the first area and the second area.

2. The method according to claim 1, characterized in that The determining the angle information of adjacent walls in the target scene according to the two-dimensional coordinate information includes: Sort the two-dimensional ground coordinate information of the target scene counterclockwise or clockwise to obtain the starting point two-dimensional coordinate information and the end point two-dimensional coordinate information of each wall in the room; The angle information of the adjacent walls is determined based on the two-dimensional coordinate information of the starting point and the two-dimensional coordinate information of the end point.

3. The method according to claim 1, characterized in that: The determining, according to the angle information, a paving method corresponding to the connection between the adjacent walls includes: When the angle information is less than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels that are not attached to the walls are connected, wherein, when the angle information is equal to 90 degrees, the side surface of the wall panels on one side of the adjacent walls is close to the wall surface of the other wall, and the wall panels on the other side are retracted at the connection between the adjacent walls, and the retraction value is the thickness of the wall panels on the other side.

4. The method according to claim 1, characterized in that: The determining, according to the angle information, a paving method corresponding to the connection between the adjacent walls includes: When the angle information is greater than 180 degrees, the paving method corresponding to the connection between the adjacent walls is determined as follows: the edges corresponding to the surfaces of the wall panels attached to the walls are connected, wherein, when the angle information is equal to 270 degrees, the wall panels on one side of the adjacent walls expand outward at the connection between the adjacent walls, and the expansion value is the thickness of the wall panels on the other side, and the side surfaces of the wall panels on the other side are close to the expanded wall panels.

5. The method according to claim 1, characterized in that: The method further comprises: Acquire the ceiling height information of the target scene, and determine that the minimum value of the ceiling height information and the wall height information is the paving height; Determine the actual paving height of the paving area of ​​the wallboard according to the wallboard frame number information and the paving height; The wall panel paving area is determined according to the actual paving height, the first area and the second area.

6. The method according to claim 1, characterized in that The generating of the three-dimensional model of the wallboard according to the wallboard paving area, the paving method and the scene information includes: Convert the siding paving area into 3D data; A three-dimensional model of the wall panel is generated according to the three-dimensional data, the paving method and the wall panel material information.

7. A device for generating a three-dimensional model of a wall panel, characterized in that: include: An acquisition module is used to acquire scene information and coordinate information of each wall in the target scene, wherein the scene information includes: wall height information, wall panel material information and wall panel frame number information, and the coordinate information includes: two-dimensional coordinate information and three-dimensional coordinate information; A determination module, used to determine angle information of adjacent walls in the target scene according to the two-dimensional coordinate information; The determination module is further used to determine the paving method corresponding to the connection between the adjacent walls according to the angle information; The determination module is further used to determine the wainscoting area corresponding to each wall according to the three-dimensional coordinate information; A paving module, used for generating a three-dimensional model of the wall panel according to the wall panel paving area, the paving method and the scene information; Wherein, determining the wainscot paving area corresponding to each wall according to the three-dimensional coordinate information includes: Determine the two-dimensional coordinate information corresponding to each vertex in the wall and the entity coordinate information in the wall according to the three-dimensional coordinate information; Determine a first area and a second area of ​​the wall according to the two-dimensional coordinate information and the entity coordinate information, wherein the first area is used to indicate a paving area of ​​the wall, and the second area is used to indicate a paving area of ​​the entity; The wall panel laying area is determined according to the wall height information, the wall panel frame number information, the first area and the second area.

8. A device, characterized in that include: A processor and a memory, wherein the processor is used to execute a three-dimensional model generation program of a wall panel stored in the memory to implement the three-dimensional model generation method of a wall panel according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the three-dimensional model generation method of the wall panel described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Indoor three-dimensional scene layout and color transfer generation method driven by image contents

    CN104050722A

  • Home simulation design system and method

    CN105787230A

  • BIM (Building Information Model)-based temporary-building designing and modeling method and system

    CN108197376A

  • Method and device for generating three-dimensional space of target house, equipment and storage medium

    CN111369424A

  • Virtual interaction with three-dimensional indoor room imagery

    US20200302681A1