CN114511668A - Method, device and equipment for acquiring three-dimensional decoration image and storage medium - Google Patents

Method, device and equipment for acquiring three-dimensional decoration image and storage medium Download PDF

Info

Publication number
CN114511668A
CN114511668A CN202110295768.6A CN202110295768A CN114511668A CN 114511668 A CN114511668 A CN 114511668A CN 202110295768 A CN202110295768 A CN 202110295768A CN 114511668 A CN114511668 A CN 114511668A
Authority
CN
China
Prior art keywords
room
house
decoration
image
rooms
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110295768.6A
Other languages
Chinese (zh)
Inventor
何亚萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ideamake Software Technology Co Ltd
Original Assignee
Shenzhen Ideamake Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ideamake Software Technology Co Ltd filed Critical Shenzhen Ideamake Software Technology Co Ltd
Priority to CN202110295768.6A priority Critical patent/CN114511668A/en
Publication of CN114511668A publication Critical patent/CN114511668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for acquiring a three-dimensional decoration image, which comprises the following steps: acquiring house layout information and house images of a house to be decorated, wherein the house layout information comprises room size information of a plurality of rooms in the house to be decorated and room function information of the plurality of rooms; determining a three-dimensional house image of the house to be decorated according to the room size information and the house image; and determining the three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information and the room function information. According to the method and the device, the three-dimensional image of the house after the finish decoration of the decoration position can be provided for the user, the purchaser can directly preview the house on line, convenience and rapidness are achieved, energy, time and the like of the user are saved, and the user can experience the house.

Description

Method, device and equipment for acquiring three-dimensional decoration image and storage medium
Technical Field
The application relates to the technical field of communication, in particular to a method and a device for acquiring a three-dimensional decoration image, computer equipment and a storage medium.
Background
At present, many application programs, small programs, computer websites or mobile end webpages and the like can tell house buyers of real house types by displaying house type pictures, real shot videos, real shot Virtual Reality (VR) and the like of one hand and second hand houses to be sold, but only displaying the real house types has certain limitation for the house buyers. The house buyer usually wants the final decorated effect of the house, but the finished decorated effect of the house cannot be provided according to the house type picture, the real shot video, the real shot VR and the like.
Disclosure of Invention
The application provides a method, a device, computer equipment and a storage medium for obtaining a three-dimensional decoration image, which can provide a three-dimensional image of a house after finish decoration in a decoration position for a user, and a purchaser can directly preview the three-dimensional image on line, so that the method, the device, the computer equipment and the storage medium are convenient and fast, the energy, the time and the like of the user are saved, and the user experience is improved.
According to an aspect of the present application, there is provided a method of acquiring a three-dimensional decoration image, the method including:
acquiring house layout information and house images of a house to be decorated, wherein the house layout information comprises room size information of a plurality of rooms in the house to be decorated and room function information of the plurality of rooms;
determining a three-dimensional house image of the house to be decorated according to the room size information and the house image;
and determining the three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information and the room function information.
According to an aspect of the present application, there is provided an apparatus for acquiring a three-dimensional decoration image, the apparatus including:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring the house layout information and the house image of a house to be decorated, and the house layout information comprises the room size information of a plurality of rooms in the house to be decorated and the room function information of the plurality of rooms;
the first determining module is used for determining a three-dimensional house image of the house to be decorated according to the room size information and the house image;
and the second determining module is used for determining the three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information and the room function information.
According to an aspect of the present application, there is also provided a computer apparatus, the apparatus comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to perform the operations of any of the methods described above.
According to an aspect of the application, there is also provided a computer-readable storage medium having stored thereon a computer program, which is loaded by a processor to perform the operations of any of the methods described above.
The three-dimensional decoration image of house to be decorated that corresponds is confirmed through house layout information, the two-dimensional house image of house to be decorated in this application, can provide the house three-dimensional image after the finish decoration of treating the decoration position for the user, and the buyer can directly preview on line, and convenient and fast has saved user's energy, time etc. has promoted the user and can experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a topological diagram of a system for acquiring a three-dimensional decoration image according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for obtaining a three-dimensional decoration image provided in an embodiment of the present application;
fig. 3 illustrates functional blocks of a three-dimensional decoration image acquisition apparatus provided in an embodiment of the present application;
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
It should be noted that, since the method in the embodiment of the present application is executed in the computing device, processing objects of each computing device exist in the form of data or information, for example, time, which is substantially time information, it can be understood that, in the subsequent embodiments, if size information, number, position, and the like are mentioned, corresponding data exist, so that the electronic device performs processing, and details are not described herein.
In a typical configuration of the present application, a terminal or a trusted party, etc. includes one or more processors, such as a Central Processing Unit (CPU), an input/output interface, a network interface, and a memory. The Memory may include forms of volatile Memory, Random Access Memory (RAM), and/or non-volatile Memory in a computer-readable medium, such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by the computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
The present application provides a method for obtaining a three-dimensional decoration image, which is mainly applied to a network device, such as the system shown in fig. 1, where the network device establishes a communication connection with a user device, and the user device is a user device held by a house buyer, and the like. The network equipment can execute the corresponding instruction according to the operation of the house buyer at the user equipment end, and generate a three-dimensional decoration image of the house to be decorated, so that the house buyer can refer to the three-dimensional decoration image, and the network equipment can assist the house buyer in determining whether to buy the house to be decorated currently browsed and the like. The house to be decorated comprises unfinished houses, such as unfinished houses, decorated houses and the like.
The three-dimensional decoration image comprises a naked eye 3D image or a panoramic view image and the like, for example, a picture rendered by modeling software is spliced by the software and played by a special player, a plane photo or a computer modeling picture is changed into a 360-degree full view, and a two-dimensional plane picture is simulated into a real three-dimensional space and the like. The three-dimensional decoration image avoids the defects that the common plane effect image has a single visual angle and cannot bring all-around feeling; and the interactivity is strong, so that a user can interactively observe the scene from any angle, as if being personally on the scene, and feel the final design result most really. The three-dimensional decoration image is displayed through the user equipment, the operation is simple, and the preview effect is good (such as scene switching, view switching and the like can be realized through full angles, hot spots and the like).
In this embodiment, the network device may be an independent server, or may be a server network or a server cluster composed of servers, for example, the network device described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing).
Those skilled in the art can understand that the application environment shown in fig. 1 is only one application scenario of the present application, and does not constitute a limitation on the application scenario of the present application, and as a person of ordinary skill in the art knows, with the evolution of a gateway scenario and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Referring to fig. 2, a method for acquiring a three-dimensional decoration image according to an aspect of the present application is shown, which is suitable for the system topology shown in fig. 1, and includes step S101, step S102, and step S103.
Specifically, in step S101, house layout information and a house image of a house to be decorated are acquired, wherein the house layout information includes room size information of a plurality of rooms in the house to be decorated and room function information of the plurality of rooms.
For example, a house to be decorated generally refers to an unfinished house or a house in the middle of a finish, etc., such as a blank house, etc. The house to be decorated generally comprises a plurality of rooms, the house layout information comprises room size information of each room in the plurality of rooms and room function information of each room, and the room size information is used for representing the length, the width, the overall area, the design shape and the like of each wall surface of each room in the plurality of rooms, wherein the design shape is rectangular, L-shaped and the like; the room function information is used to characterize a room use of each of the plurality of rooms, such as a kitchen, a bedroom, a bathroom, and the like. The house image comprises a plurality of images collected by the camera device about a room, a panoramic image of the house overall can be constructed by the images, such as a fisheye image collected by a fisheye camera about a house to be decorated, a corresponding virtual image obtained by modeling and rendering, and the like.
The house layout information may be obtained from a house database by a network device, for example, the network device establishes or updates the house database according to an import operation of a manager, or the network device crawls house related data from a network to establish or update the house database, where the house database includes house identification information (such as a house serial number, for example, a house address + a room number), image information, house layout information, and the like of each house. And if the network equipment acquires the house identification information uploaded by the user equipment, calling the house layout information, the house image and the like of the house to be decorated from the house database according to the house identification information. In other cases, the house layout information and the house image are determined by the user equipment and uploaded to the network equipment, the network equipment is only used as a processing platform of the data, the result is returned to the user equipment after the data is processed, and the data is not stored and the like.
In step S102, a three-dimensional house image of the house to be finished is determined according to the room size information and the house image.
For example, the three-dimensional house image includes a three-dimensional panoramic image of a plurality of rooms in a house to be finished, for example, a certain room in the plurality of rooms is used as an initial viewing angle, the viewing angle can be adjusted by rotating or moving, and a scene of the current room at the current viewing angle is presented, if a door of another room can be seen at the current viewing angle, a hot spot of the other room is set at the corresponding door for entering the linked other room through the hot spot, so that a user realizes observation of the panoramic image of the plurality of rooms, and of course, the current three-dimensional house image is only a panoramic image of an image to be finished (such as an image of a blank room) of each room. The panoramic image can be determined according to a plurality of images of each room, then, a complete three-dimensional house image and the like are spliced according to the plurality of images, and modeling quantification can be realized in the process of determining the panoramic image of each room by combining the room size information of each room, so that the panoramic image restored based on the fisheye image is more accurate, and the like.
In step S103, a three-dimensional decoration image of the house to be decorated is determined according to the three-dimensional house image, the room size information, and the room function information.
For example, after the network acquires the three-dimensional house image of the house to be decorated, the network can determine a corresponding adaptive decoration scheme according to the room size information, the room function information and the like of the house to be decorated, and fill the three-dimensional house image according to the adaptive decoration scheme to obtain a three-dimensional decoration image, wherein the three-dimensional decoration image and the three-dimensional house image are in the image format types, such as a panoramic view image. The three-dimensional decoration image can be browsed at the initial view angle of a certain room, the decoration effect of the current room is checked by rotating and moving the view angle, other rooms are clicked to check the decoration effects of other rooms, and the like, a corresponding plane guide map can be further arranged in the three-dimensional decoration image, the whole house layout information, the current position, the current view angle and the like are presented in the plane guide map, and a user is assisted to check the three-dimensional decoration image and the like more quickly.
The adaptive decoration scheme comprises an adaptive scheme corresponding to each room in the room to be decorated. The adaptive decoration scheme may be uploaded by the user equipment, for example, if the network equipment returns the three-dimensional house image to the user equipment, the user equipment receives and presents the three-dimensional house image for the user to perform a decoration input operation in the three-dimensional house image, the user equipment determines a corresponding adaptive decoration scheme according to the decoration input operation of the user, and the like, and sends the final adaptive decoration scheme to the network equipment when the confirmation operation of the user is obtained. Or, the network equipment determines the adaptation schemes matched with all rooms in the house to be finished according to the matching in the finishing effect database, and combines at least one adaptation finishing scheme and the like.
In some embodiments, in step S103, obtaining an adapted decoration scheme for the plurality of rooms according to the room size information, the room function information, and the decoration effect database; and filling the three-dimensional house image according to the adaptive decoration scheme to obtain the three-dimensional decoration image of the house to be decorated.
For example, the finishing effect database is used for storing a plurality of template finishing schemes, each template finishing scheme comprises finishing accessories of the room, finishing position information of each finishing accessory and the like, and each template finishing scheme also comprises template room dimension information (such as the length, the width, the height, the shape and the like of the template room) and template room function information (such as a kitchen, a bedroom and the like). The template effect database may be stored in a network device, or may be stored in another device (such as another network device or a user device), and the network device invokes the template effect database through a communication connection with the other device.
And the network equipment matches and determines the adaptive decoration schemes of the rooms according to the room size information and the room function information of the room to be decorated in the decoration effect database, for example, the room size information of each room is matched with the template room size information, meanwhile, the room function information of each room is matched with the template room function information, and if a certain template decoration scheme is matched with one of the rooms of the house to be decorated, the template decoration scheme is determined as the adaptive decoration scheme of the room. The network device can determine an adaptive decoration scheme and the like of each room in the plurality of rooms, and fill the three-dimensional house image according to the adaptive decoration scheme of each room so as to obtain the three-dimensional decoration image of the house to be decorated.
In some embodiments, the obtaining an adapted finishing plan for the plurality of rooms from the room size information, the room function information, and the finishing effect database includes: sending the room size information, the room function information, the three-dimensional house image and decoration effect data to user equipment, wherein the decoration effect data comprises a plurality of decoration accessories; receiving the adaptive decoration schemes of the rooms uploaded by the user equipment, wherein the adaptive decoration schemes of the rooms are determined based on the image positions of the decoration accessories selected by the user operation in the three-dimensional house image.
For example, the fitting decoration scheme determined based on the system template decoration scheme is more modeled, and the requirement of individuation of a house buyer may not be met in detail, and the like, and here, the decoration effect data can be sent to the user equipment of the house buyer, and the house buyer freely collocates a room to determine the corresponding fitting decoration scheme, and the like. The decoration effect data includes decoration accessory information in the decoration effect data, and the like, such as accessory information of various options in a cabinet, a range hood, a sink and the like in a kitchen.
And after the network equipment acquires the house layout information, the room size information, the room function information, the three-dimensional house image and the decoration effect data of the house to be decorated are sent to the user equipment of the house buyer. The user equipment receives and presents the three-dimensional house image, presents a corresponding editing tool in the three-dimensional house image, and can call the decoration accessories in the decoration effect data through the editing tool, for example, the user equipment selects the decoration accessories based on the operation of a user and adjusts the image position of the decoration accessories in the three-dimensional house image, the image position comprises three-dimensional space coordinates of the decoration accessories in a space coordinate system of the house to be decorated, the space coordinate system can be established by taking a certain point (such as a floor center or the upper left corner of the house) of the house to be decorated as an original point, the horizontal direction is an X axis, the vertical direction is a Y axis, and the vertical direction is a Z axis. Here, the user operation includes a selection operation, a movement operation, and the like, such as a touch selection operation, a click selection operation, a touch movement operation, and the like.
The user equipment determines an adaptive decoration scheme of each room based on the image position of the decoration configuration in the three-dimensional house entered by the user, and sends the adaptive decoration scheme to the network equipment. The network equipment receives the adaptive decoration schemes of the rooms determined by the user equipment based on user operation, and fills the three-dimensional house image based on the adaptive decoration schemes to obtain the three-dimensional decoration image of the house to be decorated.
In some embodiments, the finishing effect database comprises a plurality of formwork finishing plans, each formwork finishing plan comprising formwork room size information, formwork room function information; wherein the obtaining of the adapted decoration schemes of the plurality of rooms according to the room size information, the room function information, and the decoration effect database includes: sequentially taking one room in the plurality of rooms as a room to be matched, and determining a target template decoration scheme matched with the room size information of the room to be matched in the plurality of template decoration schemes, wherein the room function information of the room to be matched is the same as the template room function information of the target template decoration scheme; detecting whether the size difference value between the template room size information of the target template decoration scheme and the room size information of the room to be matched is smaller than or equal to a size difference value threshold value or not; and if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until the adaptive decoration schemes of the rooms are determined.
For example, the form finishing plan includes form room size information including the length, width, and height of each wall surface in the form room, and form room function information. Area and room shape, template room function information is used to indicate the purpose of the template room, such as kitchen, bedroom, bathroom, etc. Each of the finishing plans includes a finishing accessory contained in the formwork room and a room position of each finishing accessory in the formwork room, and the room position may be a spatial coordinate of the finishing accessory in a room space coordinate system of the formwork room, for example, the spatial coordinate of the formwork accessory is represented by a finishing accessory center, a spatial coordinate of each vertex, and the like.
In some cases, the network device determines a matching target template finishing plan by matching room size information and room function information for each of a plurality of rooms of a house to be finished with a plurality of template finishing plans. If one room in the plurality of rooms is taken as a room to be matched in sequence, the template room function information of the current template decoration scheme is matched with the room function information of the room to be matched, if the template room function information is the same as the room function information of the room to be matched, it is determined as a target template finishing scheme, and then by matching the room size information and the room function information of the room to be matched with the template room size information and the template room function information of the target template finishing scheme, therefore, an adaptive decoration scheme matched with the room to be matched is determined from a plurality of target template decoration schemes, and specifically, if the size difference between the template room area of the target template decoration scheme and the room area of the room to be matched is less than or equal to a size difference threshold (such as the total area is less than 1 square), and if the template room shape information of the target template decoration scheme is the same as the room shape of the room to be matched, determining that the current target template decoration scheme is the room to be matched and is matched with the decoration scheme.
Of course, the fitting decoration scheme determined for the room to be matched may be one (for example, one room is matched and the next room is matched in sequence), or may be multiple (for example, until the current room to be matched is matched with the template decoration scheme in the database), which is not limited herein. If a plurality of adaptation decoration schemes of the room to be matched are determined, one of the plurality of adaptation decoration schemes is determined as a final adaptation decoration scheme, for example, the final adaptation decoration scheme is selected randomly or is selected according to the adaptation decoration schemes of other rooms in consideration of coordination and the like.
In some embodiments, each of the plurality of form work plans includes a form room finish style; if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until determining the adaptive decoration schemes of the rooms, wherein the method comprises the following steps: if yes, determining the target template decoration scheme as a candidate fitting decoration scheme of the room to be matched; and determining the adaptive decoration schemes of the plurality of rooms according to the template room decoration styles of the candidate adaptive decoration schemes of the plurality of rooms, wherein the template room decoration style corresponding to each room in the adaptive decoration schemes of the plurality of rooms is the same.
For example, each form work plan also includes a form room finish style, which includes a design style for the corresponding form room, typically including: modern reduced style, garden style, post-modern style, chinese style, new chinese style, mediterranean style, southeast Asia style, American style, new classical style, Japanese style, Korean style, desktop style, etc. The decoration style is the base point of room decoration design, and a user can express a requirement on a required decoration effect more easily. The matching can be faster and more accurate according to different decoration styles, and meanwhile, the calculation amount of the matching, the calculation resources and the like can be saved.
After matching the room size information and the room function information according to the decoration effect database, the network equipment determines a target template decoration scheme matched with the room to be matched as a candidate adaptive decoration scheme, then, the network equipment performs adaptation according to the template room decoration style of the candidate adaptive decoration scheme of each room to determine an integrally coordinated adaptive decoration scheme, and the template room decoration style of the adaptive decoration scheme of each room is the same so as to ensure the coordination of the overall decoration effect and the like. And if the decoration styles of the candidate adaptation decoration schemes corresponding to the plurality of rooms are not consistent, selecting the adaptation decoration scheme with the largest number of rooms corresponding to the decoration style as the main style, and taking the similar style as the adaptation decoration schemes of other rooms to obtain the adaptation decoration schemes of the plurality of rooms.
In addition to the aforementioned matching of the finishing styles among the plurality of rooms as a whole, the matching may be based on user finishing style requirements, such as in some embodiments, each of the plurality of template finishing plans includes a template room finishing style, and the target template finishing plan has a template room finishing style that is the same as an adapted finishing style, wherein the adapted finishing style is included in the adaptation request sent by the corresponding user device.
For example, the fitting finishing style is contained in an fitting request acquired by the user equipment based on the user input operation, and the fitting request is used for indicating the finishing design style of the three-dimensional finishing image. After the network equipment receives the adaptation request, after room size information and room function information are matched according to the decoration effect database, the target template decoration scheme matched with the room to be matched is determined as a candidate adaptation decoration scheme, the candidate adaptation decoration scheme is matched with the adaptation decoration style, and the adaptation decoration scheme of the current room to be matched is determined, wherein the template decoration style of the adaptation decoration scheme is the same as the adaptation decoration style. According to the scheme, the personalized requirements of the three-dimensional decoration image are met, and a more precise adaptive environment is provided for a user.
In some embodiments, the obtaining of the house type information of the house to be decorated includes: acquiring room type information of a house to be decorated and room size information corresponding to a plurality of rooms; and determining the room function information of each room in the plurality of rooms according to the room type information and the room size information of the plurality of rooms so as to determine the layout information of the house to be decorated.
For example, the house layout information includes, but is not limited to, a plan space layout of the house to be decorated, i.e., a pattern describing the corresponding positions and affiliations of the individual spaces, and the layout of the house to be decorated can be visually seen. The network device determines room function information of each room, such as the size and shape of each room, the relative size of each room compared with other rooms in the room to be decorated, the room function of the adjacent room of each room and the like, according to the room type information of the room to be decorated, the room size information of each room and the like, for example, the largest room is usually taken as a living room, the next room is taken as a main bedroom and the like, the room adjacent to the living room is taken as a kitchen and the like, and the adjacent small rooms in the main bedroom are taken as independent toilets and the like. After the room function information of each of the plurality of rooms is determined, the room layout information and the like are comprehensively determined.
In some embodiments, the method further includes step S104 (not shown), and in step S104, if a decoration preview request of the user device about the house to be decorated is obtained, the three-dimensional decoration image is returned to the user device.
For example, after the network device obtains a three-dimensional decoration image of a house to be decorated, the three-dimensional decoration image may be stored in a decoration effect gallery and a mapping relationship is established with the corresponding house to be decorated, if a decoration preview request of the user device about the house with the house to be decorated is subsequently received, the three-dimensional decoration image is returned to the user device, and the user device receives and presents the three-dimensional decoration image. For example, the three-dimensional decoration image takes the living room center as a starting point and a certain viewing angle as an initial angle, the user equipment can acquire the input of the user to adjust the current viewing angle and the viewpoint, or the scene of other rooms can be presented by clicking operation related to other room links, and the like. Certainly, the user may not be satisfied with the decoration effect of the three-dimensional decoration image, the user device may replace, move, or rotate the decoration accessories in the three-dimensional decoration image based on the editing operation of the user, and the network device updates the three-dimensional decoration image based on the editing operation uploaded by the user device and returns the updated three-dimensional decoration image to the user device.
Embodiments of the present application for obtaining a three-dimensional decoration image are mainly described above, and an apparatus capable of implementing the embodiments is also provided, which is described below with reference to fig. 3.
Referring to fig. 3, a device for acquiring a three-dimensional decoration image, also called a three-dimensional decoration image acquiring device, according to an aspect of the present application, is shown, which is suitable for the system topology shown in fig. 1, and the method includes an acquiring module 101, a first determining module 102, and a second determining module 103.
Specifically, the obtaining module 101 is configured to obtain house layout information and a house image of a house to be decorated, where the house layout information includes room size information of a plurality of rooms in the house to be decorated and room function information of the plurality of rooms. A first determining module 102, configured to determine a three-dimensional house image of the house to be decorated according to the room size information and the house image. And the second determining module 103 is configured to determine a three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information, and the room function information.
In some embodiments, the second determining module 103 is configured to obtain an adapted decoration scheme for the plurality of rooms according to the room size information, the room function information, and the decoration effect database; and filling the three-dimensional house image according to the adaptive decoration scheme to obtain the three-dimensional decoration image of the house to be decorated.
In some embodiments, the obtaining an adapted finishing plan for the plurality of rooms from the room size information, the room function information, and the finishing effect database includes: sending the room size information, the room function information, the three-dimensional house image and decoration effect data to user equipment, wherein the decoration effect data comprises a plurality of decoration accessories; receiving the adaptive decoration schemes of the rooms uploaded by the user equipment, wherein the adaptive decoration schemes of the rooms are determined based on the image positions of the decoration accessories selected by the user operation in the three-dimensional house image.
In some embodiments, the finishing effect database comprises a plurality of formwork finishing plans, each formwork finishing plan comprising formwork room size information, formwork room function information; wherein the obtaining of the adapted decoration schemes of the plurality of rooms according to the room size information, the room function information, and the decoration effect database includes: sequentially taking one room in the plurality of rooms as a room to be matched, and determining a target template decoration scheme matched with the room size information of the room to be matched in the plurality of template decoration schemes, wherein the room function information of the room to be matched is the same as the template room function information of the target template decoration scheme; detecting whether the size difference value between the template room size information of the target template decoration scheme and the room size information of the room to be matched is smaller than or equal to a size difference value threshold value or not; and if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until the adaptive decoration schemes of the rooms are determined.
In some embodiments, each of the plurality of form work plans includes a form room finish style; if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until determining the adaptive decoration schemes of the rooms, wherein the method comprises the following steps: if yes, determining the target template decoration scheme as a candidate fitting decoration scheme of the room to be matched; and determining the adaptive decoration schemes of the plurality of rooms according to the template room decoration styles of the candidate adaptive decoration schemes of the plurality of rooms, wherein the template room decoration style corresponding to each room in the adaptive decoration schemes of the plurality of rooms is the same.
In addition to the aforementioned matching of the finishing styles among the plurality of rooms as a whole, the matching may be based on user finishing style requirements, such as in some embodiments, each of the plurality of template finishing plans includes a template room finishing style, and the target template finishing plan has a template room finishing style that is the same as an adapted finishing style, wherein the adapted finishing style is included in the adaptation request sent by the corresponding user device. In some embodiments, the obtaining of the house type information of the house to be decorated includes: acquiring room type information of a house to be decorated and room size information corresponding to a plurality of rooms; and determining the room function information of each room in the plurality of rooms according to the room type information and the room size information of the plurality of rooms so as to determine the layout information of the house to be decorated.
Here, the specific implementation of the obtaining module 101, the first determining module 102, and the second determining module 103 shown in fig. 3 is the same as or similar to the embodiment of step S101, step S102, and step S103 shown in fig. 2, and therefore, the description is not repeated and is included herein by way of reference.
In some embodiments, the apparatus further includes a returning module (not shown) configured to return the three-dimensional decoration image to the user device if a decoration preview request of the user device about the house to be decorated is obtained. Here, the return module is the same as or similar to the embodiment of the step S104 according to the specific implementation manner, and thus is not described again and is included herein by way of reference.
In addition to the methods and apparatus described in the embodiments above, the present application also provides a computer-readable storage medium storing computer code that, when executed, performs the method described in any of the preceding claims.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as illustrated in FIG. 4, the system 400 can be implemented as any of the devices described in the various embodiments. In some embodiments, system 400 may include one or more computer-readable media (e.g., system Memory or non-volatile Memory (non-volatile Memory) NVM/storage 420) having instructions and one or more processors (e.g., processor(s) 405) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 410 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 405 and/or any suitable device or component in communication with system control module 410.
The system control module 410 may include a memory controller module 430 to provide an interface to the system memory 415. The memory controller module 430 may be a hardware module, a software module, and/or a firmware module.
System memory 415 may be used, for example, to load and store data and/or instructions for system 400. For one embodiment, system memory 415 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory 415 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 410 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 420 and communication interface(s) 425.
For example, NVM/storage 420 may be used to store data and/or instructions. NVM/storage 420 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drive(s) (HDD (s)), one or more Compact Disc (CD) Drive(s), and/or one or more Digital Versatile Disc (DVD) Drive (s)).
NVM/storage 420 may include storage resources that are physically part of the device on which system 400 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 420 may be accessed over a network via communication interface(s) 425.
Communication interface(s) 425 may provide an interface for system 400 to communicate over one or more networks and/or with any other suitable device. System 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 405 may be packaged together with logic for one or more controller(s) of the system control module 410, such as memory controller module 430. For one embodiment, at least one of the processor(s) 405 may be packaged together with logic for one or more controller(s) of the System control module 410 to form a System in a Package (SiP). For one embodiment, at least one of the processor(s) 405 may be integrated on the same die with logic for one or more controller(s) of the system control module 410. For one embodiment, at least one of the processor(s) 405 may be integrated on the same die with logic for one or more controller(s) of the System control module 410 to form a System on Chip (SoC).
In various embodiments, system 400 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 400 may have more or fewer components and/or different architectures. For example, in some embodiments, system 400 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen Display), a non-volatile memory port, a plurality of antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and a speaker.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functional information described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functional information of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functional information.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital, or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and nonvolatile memories such as flash memories, various read only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic (MRAM)/Ferroelectric memories ferro electric RAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware.
The method, the apparatus, the computer device, and the storage medium for obtaining a three-dimensional decoration image provided in the embodiments of the present application are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method of obtaining a three-dimensional decoration image, the method comprising:
acquiring house layout information and house images of a house to be decorated, wherein the house layout information comprises room size information of a plurality of rooms in the house to be decorated and room function information of the plurality of rooms;
determining a three-dimensional house image of the house to be decorated according to the room size information and the house image;
and determining the three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information and the room function information.
2. The method of claim 1, wherein determining a three-dimensional renovation image of the house to be renovated from the three-dimensional house image, the room size information and the room function information comprises:
acquiring adaptive decoration schemes of the plurality of rooms according to the room size information, the room function information and the decoration effect database;
and filling the three-dimensional house image according to the adaptive decoration scheme to obtain the three-dimensional decoration image of the house to be decorated.
3. The method of claim 1, wherein the obtaining the adapted finishing plan for the plurality of rooms from the room size information, the room function information, and the finishing effect database comprises:
sending the room size information, the room function information, the three-dimensional house image and decoration effect data to user equipment, wherein the decoration effect data comprises a plurality of decoration accessories in the decoration effect data;
receiving the adaptive decoration schemes of the rooms uploaded by the user equipment, wherein the adaptive decoration schemes of the rooms are determined based on image positions of decoration accessories corresponding to the user operation in the three-dimensional house image.
4. The method of claim 2, wherein the finishing effect database comprises a plurality of finishing plans, each finishing plan comprising finishing room size information, finishing room function information; wherein the obtaining of the adapted decoration schemes of the plurality of rooms according to the room size information, the room function information, and the decoration effect database includes:
sequentially taking one room in the plurality of rooms as a room to be matched, and determining a target template decoration scheme matched with the room size information of the room to be matched in the plurality of template decoration schemes, wherein the room function information of the room to be matched is the same as the template room function information of the target template decoration scheme;
detecting whether the size difference value between the template room size information of the target template decoration scheme and the room size information of the room to be matched is smaller than or equal to a size difference value threshold value or not;
and if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until the adaptive decoration schemes of the rooms are determined.
5. The method of claim 4, wherein each of the plurality of form finishing programs comprises a form room finishing style; if so, determining the target template decoration scheme as the adaptive decoration scheme of the rooms to be matched until determining the adaptive decoration schemes of the rooms, wherein the method comprises the following steps:
if yes, determining the target template decoration scheme as a candidate fitting decoration scheme of the room to be matched;
and determining the adaptive decoration schemes of the plurality of rooms according to the template room decoration styles of the candidate adaptive decoration schemes of the plurality of rooms, wherein the template room decoration style corresponding to each room in the adaptive decoration schemes of the plurality of rooms is the same.
6. The method of claim 4, wherein each of the plurality of template finishing plans comprises a template room finishing style, the template room finishing style of the target template finishing plan being the same as an adapted finishing style, wherein the adapted finishing style is included in the adaptation request sent by the corresponding user device.
7. The method of claim 1, wherein the obtaining of the layout information of the house to be finished comprises:
acquiring room type information of a house to be decorated and room size information corresponding to a plurality of rooms;
and determining the room function information of each room in the plurality of rooms according to the room type information and the room size information of the plurality of rooms so as to determine the layout information of the house to be decorated.
8. The method of claim 1, further comprising:
and if a decoration preview request of the user equipment about the house to be decorated is obtained, returning the three-dimensional decoration image to the user equipment.
9. An apparatus for acquiring a three-dimensional decoration image, the apparatus comprising:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring the house layout information and the house image of a house to be decorated, and the house layout information comprises the room size information of a plurality of rooms in the house to be decorated and the room function information of the plurality of rooms;
the first determining module is used for determining a three-dimensional house image of the house to be decorated according to the room size information and the house image;
and the second determining module is used for determining the three-dimensional decoration image of the house to be decorated according to the three-dimensional house image, the room size information and the room function information.
10. A computer device, the device comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to perform the operations of the method of any of claims 1-8 by the processor.
11. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor to perform operations of the method according to any of claims 1 to 8.
CN202110295768.6A 2021-03-19 2021-03-19 Method, device and equipment for acquiring three-dimensional decoration image and storage medium Pending CN114511668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110295768.6A CN114511668A (en) 2021-03-19 2021-03-19 Method, device and equipment for acquiring three-dimensional decoration image and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110295768.6A CN114511668A (en) 2021-03-19 2021-03-19 Method, device and equipment for acquiring three-dimensional decoration image and storage medium

Publications (1)

Publication Number Publication Date
CN114511668A true CN114511668A (en) 2022-05-17

Family

ID=81548512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110295768.6A Pending CN114511668A (en) 2021-03-19 2021-03-19 Method, device and equipment for acquiring three-dimensional decoration image and storage medium

Country Status (1)

Country Link
CN (1) CN114511668A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115270275A (en) * 2022-08-17 2022-11-01 佛山市南海区微高软件有限公司 Window size input prompting method and device, electronic equipment and storage medium
CN116644503A (en) * 2023-07-21 2023-08-25 深圳小米房产网络科技有限公司 House decoration design method and system based on artificial intelligence
CN116663130A (en) * 2023-08-01 2023-08-29 深圳大晟建设集团有限公司 Multidimensional data model information management system and method based on Internet of things

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115270275A (en) * 2022-08-17 2022-11-01 佛山市南海区微高软件有限公司 Window size input prompting method and device, electronic equipment and storage medium
CN115270275B (en) * 2022-08-17 2023-11-24 佛山市南海区微高软件有限公司 Window size input reminding method and device, electronic equipment and storage medium
CN116644503A (en) * 2023-07-21 2023-08-25 深圳小米房产网络科技有限公司 House decoration design method and system based on artificial intelligence
CN116644503B (en) * 2023-07-21 2023-12-08 深圳小米房产网络科技有限公司 House decoration design method and system based on artificial intelligence
CN116663130A (en) * 2023-08-01 2023-08-29 深圳大晟建设集团有限公司 Multidimensional data model information management system and method based on Internet of things
CN116663130B (en) * 2023-08-01 2024-02-09 深圳大晟建设集团有限公司 Multidimensional data model information management system and method based on Internet of things

Similar Documents

Publication Publication Date Title
CN114511668A (en) Method, device and equipment for acquiring three-dimensional decoration image and storage medium
US10587864B2 (en) Image processing device and method
US20190156585A1 (en) Augmented reality product preview
CN109771951B (en) Game map generation method, device, storage medium and electronic equipment
CN114119849A (en) Three-dimensional scene rendering method, device and storage medium
US20130187905A1 (en) Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects
CN111414225B (en) Three-dimensional model remote display method, first terminal, electronic device and storage medium
US20210319149A1 (en) Method, device, equipment and storage medium for generating three-dimensional space of target house
EP3782118B1 (en) Fusion of depth images into global volumes
WO2015178217A1 (en) Image processing apparatus and method
KR102433857B1 (en) Device and method for creating dynamic virtual content in mixed reality
CN111145294B (en) Two-dimensional house type graph construction method and device and storage medium
CN111161336B (en) Three-dimensional reconstruction method, three-dimensional reconstruction apparatus, and computer-readable storage medium
TW201714137A (en) Method for browsing house interactively in 3D virtual reality and system for the same
CN110378947B (en) 3D model reconstruction method and device and electronic equipment
CN110321048A (en) The processing of three-dimensional panorama scene information, exchange method and device
US10147240B2 (en) Product image processing method, and apparatus and system thereof
CN108846899B (en) Method and system for improving area perception of user for each function in house source
KR102003481B1 (en) Method and apparatus for creating virtual reality contents for virtual reality-based interior consulting service
KR102018829B1 (en) Method for calculating interior estimate
CN111028362A (en) Image display method, image annotation processing method, image processing device, image processing program, and storage medium
CN112381946A (en) Digital scene viewing method and device, storage medium and computer equipment
CN109669541B (en) Method and equipment for configuring augmented reality content
CN110990106B (en) Data display method and device, computer equipment and storage medium
CN114511684A (en) Scene switching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination