CN111986300B - Rendering point determining method and device for house decoration, storage medium and electronic equipment - Google Patents

Rendering point determining method and device for house decoration, storage medium and electronic equipment Download PDF

Info

Publication number
CN111986300B
CN111986300B CN202010915357.8A CN202010915357A CN111986300B CN 111986300 B CN111986300 B CN 111986300B CN 202010915357 A CN202010915357 A CN 202010915357A CN 111986300 B CN111986300 B CN 111986300B
Authority
CN
China
Prior art keywords
point
points
preselected
merging
area
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.)
Active
Application number
CN202010915357.8A
Other languages
Chinese (zh)
Other versions
CN111986300A (en
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN202010915357.8A priority Critical patent/CN111986300B/en
Publication of CN111986300A publication Critical patent/CN111986300A/en
Application granted granted Critical
Publication of CN111986300B publication Critical patent/CN111986300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for determining rendering points of house decoration, a storage medium and electronic equipment, wherein the method comprises the following steps: drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram; determining a plurality of preselected points in the plan finishing map; determining at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points; according to the embodiment, the rendering points are determined through the determination of the preselected points and the determination of the rendering points based on the communication relation among the preselected points, so that the automatic determination of the positions of the rendering points is realized, and manpower and material resources are saved.

Description

Rendering point determining method and device for house decoration, storage medium and electronic equipment
Technical Field
The disclosure relates to visual rendering technology, in particular to a method and a device for determining rendering points of house decoration, a storage medium and electronic equipment.
Background
The rendering of the effect graph is to simulate a high-simulation virtual picture of a real environment through a computer three-dimensional simulation software technology, and the main function of the effect graph is to three-dimension and simulate a planar drawing in view of subdivision industries such as construction, industry and the like, and the high-simulation degree is realized.
For house decoration rendering, after a decoration scheme is designed, decoration effects need to be rendered at a plurality of positions.
Disclosure of Invention
The present disclosure has been made in order to solve the above technical problems. The embodiment of the disclosure provides a rendering point determining method and device for house decoration, a storage medium and electronic equipment.
According to an aspect of the embodiments of the present disclosure, there is provided a rendering point determining method for house decoration, including:
Drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram;
Determining a plurality of preselected points in the plan finishing map;
At least one rendering point is determined based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points.
Optionally, the determining a plurality of pre-selected points in the plane decoration map includes:
determining legal areas in the plane decoration map;
dividing the legal area to obtain a plurality of divided areas;
at least one pre-selected point is determined in each of the plurality of partitioned areas, resulting in a plurality of pre-selected points.
Optionally, the determining the legal area in the plane decoration map includes:
Performing expansion operation on all walls and the area where the decoration design object is located in the plane decoration map according to a first set pixel length value to obtain an expansion area; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design and the rendering point;
and determining the part except the expansion area in the plane decoration map as a legal area.
Optionally, the dividing the legal area to obtain a plurality of divided areas includes:
Performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area;
Taking the maximum rectangle except the corrosion area in the legal area as a division area;
Judging whether the legal area comprises a residual area except the segmentation area or not, if so, taking the residual area except the segmentation area in the legal area as a new legal area, and performing iteration: performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a division area; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
Optionally, the determining at least one pre-selected point in each of the plurality of partitioned areas, to obtain a plurality of pre-selected points, includes:
determining, for each of the divided regions, whether a length pixel value and a width pixel value of the divided region are simultaneously greater than a first set pixel length value;
Determining the number of preselected points and the preselected point coordinates of each preselected point included in the divided area according to the length pixel value, the width pixel value and the second set pixel length value in response to the length pixel value and the width pixel value of the divided area being simultaneously greater than a first set pixel length value; the second set pixel length value is determined according to a maximum distance between the set two rendering points.
Optionally, the determining the number of pre-selected points included in the segmented region and the pre-selected point coordinates of each pre-selected point according to the length pixel value, the width pixel value and the second set pixel length value includes:
determining a first number of preselected points in a length direction of the segmented region based on a quotient of the length pixel value and the second set pixel length value;
determining a second number of preselected points in the width direction of the divided region based on a quotient of the width pixel value and the second set pixel length value;
determining the number of preselected points based on the first number of preselected points and the second number of preselected points;
and determining preselected point coordinates of each of the preselected points in the segmented region based on the number of preselected points, the length pixel value and the width pixel value.
Optionally, after determining the number of pre-selected points included in the divided area and the pre-selected point coordinates of each of the pre-selected points according to the length pixel value, the width pixel value, and the second set pixel length value, the method further includes:
determining a coverage area corresponding to each preselected point according to the area of the segmented area and the number of the preselected points; the area of the divided region is determined based on the length pixel value and the width pixel value.
Optionally, the determining at least one rendering point based on the plurality of pre-selected points according to the communication relationship between the plurality of pre-selected points includes:
Performing merging operation on the preselected points according to the communication relation among the preselected points to obtain a plurality of merging points;
performing deleting operation on the merging points according to the communication relation among the merging points to obtain a plurality of residual points;
dividing the plurality of residual points according to the communication relation among the plurality of residual points to obtain at least one point set; wherein each of the sets of points includes at least one remaining point;
And determining all the remaining points in one point set as the at least one rendering point according to the number of the remaining points included in each point set in the at least one point set.
Optionally, after determining the legal area in the plane decoration map, the method further comprises:
determining all wall surfaces and areas where furniture capable of shielding vision are located in the plane decoration map as shielding areas;
The communication relation comprises direct communication and common communication; the direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than a second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is in common communication with the other preselected point of the two preselected points which are directly communicated.
Optionally, the performing a merging operation on the plurality of pre-selected points according to the communication relationship between the plurality of pre-selected points to obtain a plurality of merging points includes:
Determining whether a first preselected point and a second preselected point in the plurality of preselected points need to be combined according to a first preset condition; the first pre-selected point is any one of the pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point, and the other pre-selected points are except the first pre-selected point;
When the combination is needed, determining a plurality of new preselected points according to the coordinates of the first preselected points and the coordinates of the second preselected points, and determining whether the first preselected points and the second preselected points in the plurality of new preselected points need to be combined or not according to a first preset condition;
and when the combination is not needed, taking the plurality of pre-selected points as the plurality of combination points.
Optionally, the first setting condition includes: the distance between the first preselected point and the second preselected point is less than a third set pixel length value, and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
Optionally, the performing a deletion operation on the multiple merging points according to the communication relationship between the multiple merging points to obtain multiple remaining points includes:
determining whether a first merging point or a second merging point in the plurality of merging points needs to be deleted or not according to a second preset condition; the first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point, which are communicated with the first merging point and are closest to the first merging point;
When the first merging point or the second merging point needs to be deleted, determining whether the first merging point or the second merging point in the plurality of remaining merging points needs to be deleted or not according to a second preset condition for all the merging points remaining after the deletion;
And when deletion is not needed, taking the plurality of remaining merging points as the plurality of remaining points.
Optionally, the second preset condition includes:
in the case that a third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions simultaneously:
There are a plurality of other merge points in direct communication with the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is located or not;
The third preset condition includes: the distance between the first merging point and the second merging point is smaller than a third set pixel length value, and one other merging point is directly communicated with the first merging point and the second merging point.
Optionally, the dividing the plurality of remaining points according to the communication relationship between the plurality of remaining points to obtain at least one point set includes:
Determining a communication relationship between the plurality of remaining points;
And dividing a plurality of residual points with a communication relationship in the plurality of residual points into the same point set to obtain the at least one point set.
Optionally, the drawing the house pattern of the house according to the house information to be rendered, and drawing the decoration design to be rendered in the set position of the house pattern, to obtain a plane decoration pattern, including:
Drawing the walls, the doors and the windows in the images with set sizes in a line mode according to the position coordinates of all the walls, the doors and the windows in the house to be rendered, and determining the conversion ratio between the actual coordinate length and the image coordinate length;
Determining thicknesses of wall lines, door lines and window lines in the image based on the actual thicknesses of the wall, the door and the window and the conversion ratio;
Drawing the wall, the door and the window according to the lines with determined thickness to obtain a house type diagram of the house;
And drawing the decoration design in the house type graph according to the position coordinates of the known decoration design in the house to obtain the plane decoration graph.
Optionally, the method further comprises:
And determining whether the decoration design object belongs to furniture capable of shielding the sight line in the plane decoration diagram according to the set highest position and the set minimum height.
According to another aspect of the embodiments of the present disclosure, there is provided a rendering point determining apparatus for house decoration, including:
the decoration drawing module is used for drawing a house type drawing of the house according to house information to be rendered, drawing a decoration design to be rendered in a set position of the house type drawing, and obtaining a plane decoration drawing;
the pre-selected point determining module is used for determining a plurality of pre-selected points in the plane decoration map;
And the rendering point determining module is used for determining at least one rendering point based on the pre-selected points according to the communication relation among the pre-selected points.
Optionally, the pre-selection point determining module includes:
a legal area determining unit, configured to determine a legal area in the plane decoration map;
The region segmentation unit is used for segmenting the legal region to obtain a plurality of segmented regions;
And the point determining unit is used for determining at least one pre-selected point in each of the plurality of partitioned areas to obtain a plurality of pre-selected points.
Optionally, the legal area determining unit is specifically configured to perform expansion operation on all walls and areas where the decoration design object is located in the plane decoration map according to a first set pixel length value to obtain an expansion area; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design and the rendering point; and determining the part except the expansion area in the plane decoration map as a legal area.
Optionally, the area dividing unit is specifically configured to perform an etching operation on the legal area based on a side length of a largest square included in the legal area, so as to obtain an etched area; taking the maximum rectangle except the corrosion area in the legal area as a division area; judging whether the legal area comprises a residual area except the segmentation area or not, if so, taking the residual area except the segmentation area in the legal area as a new legal area, and performing iteration: performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a division area; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
Optionally, the point determining unit is specifically configured to determine, for each of the divided regions, whether a length pixel value and a width pixel value of the divided region are simultaneously greater than a first set pixel length value; determining the number of preselected points and the preselected point coordinates of each preselected point included in the divided area according to the length pixel value, the width pixel value and the second set pixel length value in response to the length pixel value and the width pixel value of the divided area being simultaneously greater than a first set pixel length value; the second set pixel length value is determined according to a maximum distance between the set two rendering points.
Optionally, the point determining unit is configured to determine, when determining the number of preselected points included in the divided area and the preselected point coordinates of each of the preselected points according to the length pixel value, the width pixel value, and the second set pixel length value, a first number of preselected points in the length direction of the divided area based on a quotient of the length pixel value and the second set pixel length value; determining a second number of preselected points in the width direction of the divided region based on a quotient of the width pixel value and the second set pixel length value; determining the number of preselected points based on the first number of preselected points and the second number of preselected points; and determining preselected point coordinates of each of the preselected points in the segmented region based on the number of preselected points, the length pixel value and the width pixel value.
Optionally, the point determining unit is further configured to determine a coverage area corresponding to each of the preselected points according to the area of the segmented region and the number of the preselected points; the area of the divided region is determined based on the length pixel value and the width pixel value.
Optionally, the rendering point determining module includes:
the merging unit is used for executing merging operation on the preselected points according to the communication relation among the preselected points to obtain a plurality of merging points;
a deleting unit, configured to perform a deleting operation on the multiple merging points according to a communication relationship between the multiple merging points, so as to obtain multiple remaining points;
A point set determining unit, configured to segment the plurality of remaining points according to a communication relationship between the plurality of remaining points, to obtain at least one point set; wherein each of the sets of points includes at least one remaining point;
and the rendering point set unit is used for determining all the remaining points in one point set as the at least one rendering point according to the number of the remaining points included in each point set in the at least one point set.
Optionally, the pre-selected point determining module is further configured to determine that all the wall surfaces and the area where the furniture capable of shielding the line of sight are located in the plane decoration map as shielding areas;
The communication relation comprises direct communication and common communication; the direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than a second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is in common communication with the other preselected point of the two preselected points which are directly communicated.
Optionally, the merging unit is specifically configured to determine, according to a first preset condition, whether a first preselected point and a second preselected point of the plurality of preselected points need to be merged; the first pre-selected point is any one of the pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point, and the other pre-selected points are except the first pre-selected point; when the combination is needed, determining a plurality of new preselected points according to the coordinates of the first preselected points and the coordinates of the second preselected points, and determining whether the first preselected points and the second preselected points in the plurality of new preselected points need to be combined or not according to a first preset condition; and when the combination is not needed, taking the plurality of pre-selected points as the plurality of combination points.
Optionally, the first setting condition includes: the distance between the first preselected point and the second preselected point is less than a third set pixel length value, and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
Optionally, the deleting unit is specifically configured to determine, according to a second preset condition, whether a first merging point or a second merging point of the plurality of merging points needs to be deleted; the first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point, which are communicated with the first merging point and are closest to the first merging point; when the first merging point or the second merging point needs to be deleted, determining whether the first merging point or the second merging point in the plurality of remaining merging points needs to be deleted or not according to a second preset condition for all the merging points remaining after the deletion; and when deletion is not needed, taking the plurality of remaining merging points as the plurality of remaining points.
Optionally, the second preset condition includes:
in the case that a third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions simultaneously:
There are a plurality of other merge points in direct communication with the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is located or not;
The third preset condition includes: the distance between the first merging point and the second merging point is smaller than a third set pixel length value, and one other merging point is directly communicated with the first merging point and the second merging point.
Optionally, the point set determining unit is specifically configured to determine a communication relationship between the plurality of remaining points; and dividing a plurality of residual points with a communication relationship in the plurality of residual points into the same point set to obtain the at least one point set.
Optionally, the decoration drawing module is specifically configured to draw the walls, the doors and the windows in the images with the set sizes in a line form according to the position coordinates of all the walls, the doors and the windows in the house to be rendered, and determine a conversion ratio between an actual coordinate length and an image coordinate length; determining thicknesses of wall lines, door lines and window lines in the image based on the actual thicknesses of the wall, the door and the window and the conversion ratio; drawing the wall, the door and the window according to the lines with determined thickness to obtain a house type diagram of the house; and drawing the decoration design in the house type graph according to the position coordinates of the known decoration design in the house to obtain the plane decoration graph.
Optionally, the decoration drawing module is further configured to determine, according to the set highest position and the set minimum height, whether the decoration design object belongs to furniture capable of shielding the line of sight in the plane decoration drawing.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the house decoration rendering point determination method according to any one of the embodiments.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic device including:
A processor;
A memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method for determining a rendering point of house decoration according to any one of the embodiments.
The method and device for determining rendering points of house decoration, storage medium and electronic equipment provided by the embodiment of the disclosure comprise the following steps: drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram; determining a plurality of preselected points in the plan finishing map; determining at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points; according to the embodiment, the rendering points are determined through the determination of the preselected points and the determination of the rendering points based on the communication relation among the preselected points, so that the automatic determination of the positions of the rendering points is realized, and manpower and material resources are saved.
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing embodiments thereof in more detail with reference to the accompanying drawings. The accompanying drawings are included to provide a further understanding of embodiments of the disclosure, and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure, without limitation to the disclosure. In the drawings, like reference numerals generally refer to like parts or steps.
Fig. 1 is a flowchart illustrating a method for determining a rendering point of house decoration according to an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic flow chart of step 104 in the embodiment shown in fig. 1 of the present disclosure.
Fig. 3 is a schematic flow chart of step 1041 in the embodiment shown in fig. 2 of the present disclosure.
Fig. 4a is a plan view illustration in an alternative example provided by the present disclosure.
Fig. 4b is a schematic diagram of a legal area in an alternative example provided by the present disclosure.
Fig. 4c is a schematic diagram of a plurality of partitioned areas in an alternative example provided by the present disclosure.
Fig. 4d is a schematic diagram of a plurality of candidate points in an alternative example provided by the present disclosure.
Fig. 4e is a schematic illustration of an occluded area in a plan view of an alternative example provided by the present disclosure.
Fig. 4f is a schematic representation of rendering points in an alternative example provided by the present disclosure.
Fig. 4g is a family type illustration of a house in an alternative example provided by the present disclosure.
Fig. 5 is a schematic flow chart of step 1042 in the embodiment shown in fig. 2 of the present disclosure.
Fig. 6 is a schematic flow chart of step 1043 in the embodiment shown in fig. 2 of the present disclosure.
Fig. 7 is a schematic flow chart of step 106 in the embodiment shown in fig. 1 of the present disclosure.
Fig. 8 is a schematic flow chart of step 1061 in the embodiment of fig. 7 of the disclosure.
Fig. 9 is a schematic flow chart of step 1062 in the embodiment of fig. 7 of the disclosure.
Fig. 10 is a schematic flow chart of step 102 in the embodiment shown in fig. 1 of the present disclosure.
Fig. 11 is a schematic structural view of a rendering point determining apparatus for house decoration according to an exemplary embodiment of the present disclosure.
Fig. 12 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present disclosure and not all of the embodiments of the present disclosure, and that the present disclosure is not limited by the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present disclosure are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present disclosure, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the presently disclosed embodiments may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this disclosure is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the front and rear association objects are an or relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the present disclosure may be applicable to electronic devices such as terminal devices, computer systems, servers, etc., which may operate with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
Summary of the application
In the process of realizing the present disclosure, the inventor finds that, in the rendering process of the existing house decoration, the selection of the rendering point location is the point location when VR is manually shot; however, there are at least the following problems with manually determining rendering points: the manpower and material resources are wasted, and the house decoration effect cannot be accurately rendered. Therefore, a method for automatically generating rendering points is needed, and the automatically generated rendering points need to cover all corners of a room, so that a user can observe the whole appearance of the room decoration, the point distance cannot be too dense to improve the rendering efficiency, and all the points are required to be mutually communicated through the points.
Exemplary method
Fig. 1 is a flowchart illustrating a method for determining a rendering point of house decoration according to an exemplary embodiment of the present disclosure. The embodiment can be applied to an electronic device, as shown in fig. 1, and includes the following steps:
And 102, drawing a house type diagram of a house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram.
Optionally, the house information includes, but is not limited to, coordinate information of house hardware (e.g., walls, doors, windows, etc.), and in order to improve the rendering effect, the house information may also be thickness information of the house hardware; the decorative designs in this embodiment may include, but are not limited to, furniture, ceilings, carpeting, and the like that can affect the appearance of the room.
Step 104, determining a plurality of pre-selected points in the plane decoration map.
In one embodiment, after the locations of walls, doors, windows, and trim designs have been determined, a plurality of locations where rendering points can be set may be determined as pre-selected points in other selectable spaces; the position selection of the pre-selected points needs to avoid overlapping with the position coordinates of walls, doors and windows and the like, and cannot be selected on the decoration design.
And 106, determining at least one rendering point based on the plurality of pre-selected points according to the communication relation among the plurality of pre-selected points.
In this embodiment, operations such as merging and/or deleting a plurality of pre-selected points can be performed through a communication relationship between the plurality of pre-selected points, so that the obtained rendering points can render all rooms of the house with the least number of points.
The method for determining the rendering point of house decoration provided by the embodiment of the disclosure comprises the following steps: drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram; determining a plurality of preselected points in the plan finishing map; determining at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points; according to the embodiment, the rendering points are determined through the determination of the preselected points and the determination of the rendering points based on the communication relation among the preselected points, so that the automatic determination of the positions of the rendering points is realized, and manpower and material resources are saved.
As shown in fig. 2, step 104 may include the following steps, based on the embodiment shown in fig. 1, described above:
In step 1041, a legal area in the plan view is determined.
Step 1042, dividing the synthesized region to obtain a plurality of divided regions.
Step 1043, determining at least one pre-selected point in each of the plurality of partitioned areas, resulting in a plurality of pre-selected points.
In the embodiment, since the rendering points cannot be arranged in walls, doors and windows and cannot be arranged in furniture, firstly, the area in which the pre-selection points can be arranged in the plane decoration map needs to be determined, the position where the rendering points cannot be arranged is eliminated, the area where the pre-selection points are arranged is reduced, and the accuracy and the efficiency of the position of the rendering points which are determined later are improved; and at least one pre-selection point is respectively arranged in each partition area by partitioning the legal area, so that the coverage range of the pre-selection points can cover all rooms of a house, and the problem of incomplete rendering is avoided.
As shown in fig. 3, the step 1041 may include the following steps based on the embodiment shown in fig. 2, which is described above:
Step 301, performing expansion operation on all the walls and the areas where the decoration design objects are located in the plane decoration map according to the first set pixel length value, so as to obtain an expansion area.
The first set pixel length value is determined according to the minimum set distance between the wall and the decorative design and the rendering point.
At step 302, the portion of the planar decoration map other than the expansion area is determined as a legal area.
In this embodiment, in order to avoid the occurrence of redundant rendering points, a minimum set distance (which may be set according to practical situations, for example, 20 cm) between one rendering point and a wall and a decoration design may be set, and the minimum set distance is converted into an image according to an image conversion ratio (determined when a house pattern diagram of a house is drawn), so as to obtain a first set pixel length value; and performing expansion operation by using the first set pixel length value, wherein the obtained expansion region is a position which is in the minimum set distance range and does not need to be provided with a rendering point, so that other regions excluding the expansion region in the plane decoration map are legal regions which can be provided with pre-selected points. The expansion operation is to move the defined structural element (the first set pixel length value in the embodiment) in the whole image (the region where all the walls and the decoration design object are located in the embodiment) to each pixel point, and if the pixel value of the structural element is equal to at least one pixel of the corresponding pixel point on the image, the value of the pixel point is reserved; for example, in an alternative example, the legal area shown in fig. 4b may be obtained by performing an expansion operation based on the planar finishing map shown in fig. 4a.
As shown in fig. 5, the step 1042 may include the following steps, based on the embodiment shown in fig. 2, as described above:
And step 501, performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area.
Step 502, taking the maximum rectangle except the corrosion area in the legal area as a division area.
Step 503, judging whether the legal area includes a residual area except the division area, if so, taking the residual area except the division area in the legal area as a new legal area, and returning to execute step 501; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
Alternatively, the divided area in the present embodiment may be a rectangular area, and the process of obtaining the divided area may include: performing corrosion operation by using square cores with larger side lengths, and dividing the residual maximum rectangle; then gradually reducing the side length of the kernel, continuing the corrosion operation on the rest part of the original legal area, and iteratively executing the steps until all areas of the legal area are segmented, so as to realize the segmentation of the legal area into a plurality of rectangular areas from large to small, for example, in an alternative example, the legal area shown in fig. 4b can be segmented to obtain a plurality of segmented areas as shown in fig. 4 c.
As shown in fig. 6, the step 1043 may include the following steps, based on the embodiment shown in fig. 2, as described above:
step 601, determining, for each divided area, whether the length pixel value and the width pixel value of the divided area are simultaneously greater than a first set pixel length value, and if so, executing step 602; otherwise, step 603 is performed.
Step 602, determining the number of pre-selected points included in the segmentation area and the pre-selected point coordinates of each pre-selected point according to the length pixel value, the width pixel value and the second set pixel length value.
Wherein the second set pixel length value is determined according to a maximum distance between the set two rendering points.
In step 603, the pre-selection point is not determined in the segmented region.
In this embodiment, in order to ensure that rendering can be achieved for all positions of a house based on the obtained rendering points, a maximum distance between two rendering points is set, and the maximum distance is converted into a second set pixel length through image conversion; when the length and width of the divided area are simultaneously greater than the first set pixel length value, it is indicated that the divided area satisfies the condition for setting at least one rendering point, at which time at least one pre-selection point is set in the divided area, and when the divided area does not satisfy the condition for setting at least one rendering point, it is indicated that the divided area may be too small, and the pre-selection point is not determined for the divided area.
In some alternative embodiments, step 602 may include:
Determining a first number of preselected points in a length direction of the segmented region based on a quotient of the length pixel value and a second set pixel length value;
determining a second number of preselected points in the width direction of the segmented region based on a quotient of the width pixel value and a second set pixel length value;
Determining a number of pre-selected points based on the first number of pre-selected points and the second number of pre-selected points;
The preselected point coordinates for each of the preselected points in the segmented region are determined based on the number of preselected points, the length pixel value, and the width pixel value.
Optionally, after determining the number of preselected points and the coordinates of the preselected points, an area corresponding to the preselected points may also be obtained; the method specifically comprises the following steps: determining a coverage area corresponding to each preselected point according to the area of the segmented area and the number of the preselected points; the area of the divided region is determined based on the length pixel value and the width pixel value.
In this embodiment, the preset point is set in the divided area satisfying the preset point setting condition, and it may be assumed that the divided area has a length and a width (both are pixel values), and the second set pixel length value is max pix: first, the x-direction (long direction) of the divided region is examined, and the number of preselected points arranged in this direction is(Wherein/>Representing a rounded up). If num=1, then a point is arranged at the length/2 position (i.e. the coordinates of the preselected point are determined); if num >1, then starting from length/num/2, arranging a point every interval length/num pixels, thereby obtaining the coordinates of all points in the rectangle in x direction; the y direction (wide direction) of the rectangle is inspected by a similar method, and the coordinates of all the points in the rectangle in the y direction are obtained; let the rectangle arrange num l points in x-direction and num w points in y-direction, then note the area covered by each preselected point s= (length x width)/(num l*numw). And sequentially carrying out the processing on each divided area to obtain a series of point positions p of the preselected points, wherein each p comprises three attributes: the x-coordinate p x, the y-coordinate p y, and the covered area p s, for example, in some alternative examples, candidate point determinations may be made for each of the plurality of segmented regions shown in fig. 4c, resulting in the graph shown in fig. 4d.
As shown in fig. 7, step 106 may include the following steps, based on the embodiment shown in fig. 1, described above:
Step 1061, performing a merging operation on the plurality of pre-selected points according to the communication relationship between the plurality of pre-selected points, to obtain a plurality of merging points.
Step 1062, performing a deletion operation on the multiple merging points according to the communication relationship between the multiple merging points, to obtain multiple remaining points.
Step 1063, dividing the plurality of remaining points according to the connection relationship between the plurality of remaining points to obtain at least one point set.
Wherein each set of points includes at least one remaining point.
Step 1064, determining all the remaining points in one point set as at least one rendering point according to the number of remaining points included in each of the at least one point set.
Alternatively, all the remaining points in the point set including the largest number of remaining points are taken as rendering points.
In the embodiment shown in fig. 3, after determining the legal area in the plane decoration map, the method may further include: the determination of all walls and areas of furniture capable of obstructing the view in the planar decoration map as the obstructing areas may be based on the area of the planar decoration map shown in fig. 4a, for example, as shown in fig. 4 e. Optionally, the connectivity relationship referred to in the embodiments of the present disclosure may include: direct communication and ordinary communication; direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than the second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is commonly communicated with the other preselected point of the two preselected points which are directly communicated.
In this embodiment, the merging and deleting operations are performed through the communication relationship among the plurality of pre-selected points, so that redundant points are reduced to the maximum extent, and finally, all points in a point set with all the communication relationships are used as rendering points, that is, all obtained rendering points are communicated (common communication); because all rendering points in the point set are communicated, the rendering graphs obtained based on the rendering points can be combined, and certain or some rendering points cannot reach from other rendering points due to shielding and other reasons, and the embodiment ensures the rendering integrity.
As shown in fig. 8, the step 1061 may include the following steps, based on the embodiment shown in fig. 7, as described above:
Step 801, determining whether a first pre-selected point and a second pre-selected point in a plurality of pre-selected points need to be combined according to a first preset condition, and if so, executing step 802; otherwise, step 803 is performed.
The first pre-selected point is any one of a plurality of pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point.
Step 802, determining a plurality of new pre-selected points according to the coordinates of the first pre-selected point and the coordinates of the second pre-selected point, and returning to the step 801;
step 803, using the plurality of pre-selected points as a plurality of merging points.
Wherein the first setting condition includes: the distance between the first preselected point and the second preselected point is less than the third set pixel length value and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
In order to avoid the situation that too many rendering points cause redundancy and waste of computing power, the embodiment may set a minimum distance between two rendering points, and obtain a third set pixel length by performing image conversion on the minimum distance. The determination of whether each preselected point needs to be merged with its nearest connected point may be based on a first set condition. Determining a new pre-selected point may include the steps of: new preselected point new p with its corresponding coordinates [ ]Corresponding to the x-axis coordinate,/>Corresponding to y-axis coordinates) and coverage area/>Can be determined based on the following formulas (1), (2), (3): /(I)
Wherein p1 x and p1 y represent coordinate values of the x-axis and the y-axis of the first pre-selected point; p2 x and p2 y represent coordinate values of the x-axis and the y-axis of the second preselected point; p1 s represents the coverage area corresponding to the first preselected point; p2 s represents the coverage area corresponding to the second preselected point. After the new pre-selected point new p is obtained, it is further required to determine whether the new pre-selected point is within the legal area, and whether all other pre-selected points directly connected to the first pre-selected point or the second pre-selected point can be connected to the point set composed of the new pre-selected point (i.e., any one pre-selected point is connected to all pre-selected points except for the point set), and only if these conditions are met, the first pre-selected point and the second pre-selected point are replaced by the new pre-selected point (the first pre-selected point and the second pre-selected point are deleted, the new pre-selected point is reserved), and then the steps are iteratively performed on all obtained combined pre-selected points until any pre-selected point cannot be combined, thereby obtaining a plurality of combined points.
As shown in fig. 9, step 1062 may include the following steps, based on the embodiment shown in fig. 7, described above:
Step 901, determining whether a first merging point or a second merging point in a plurality of merging points needs to be deleted according to a second preset condition, and if so, executing step 902; otherwise, step 903 is performed.
The first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point of the plurality of merging points which are communicated with the first merging point and are closest to the first merging point.
In step 902, the first merging point or the second merging point is deleted, and all the merging points remaining after deletion are obtained, and the execution returns to step 901.
In step 903, the plurality of remaining merging points are used as a plurality of remaining points.
Wherein the second preset condition includes: in the case that the third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions at the same time: there are a plurality of other merge points in direct communication with either the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is positioned or not;
Wherein the third preset condition includes: the distance between the first merging point and the second merging point is smaller than the third set pixel length value, and one other merging point is directly communicated with both the first merging point and the second merging point.
In the embodiment, whether one merging point needs to be deleted in the first merging point is determined through two preset conditions, when the first merging point and the second merging point simultaneously meet the second set condition, the merging point with larger coverage area is deleted, and when the first merging point or the second merging point meets the second set condition, the first merging point or the second merging point meeting the second set condition is deleted; if the first merging point and the second merging point do not meet the second setting condition, deleting is not carried out; and iteratively executing the steps on all the remaining merging points obtained through deletion until all the merging points do not meet the second setting condition, and taking the remaining merging points as a plurality of remaining points.
Step 1063 in the embodiment shown in fig. 7 described above may include:
determining a communication relationship between a plurality of remaining points;
and dividing a plurality of residual points with a communication relation in the plurality of residual points into the same point set to obtain at least one point set.
In this embodiment, the communication condition of all the remaining points is analyzed, and the remaining points are divided into a plurality of point sets according to the communication relationship (common communication), wherein any one of the remaining points in each point set is communicated with all the remaining points except for the one of the remaining points in the point set, and is not communicated with any one of the remaining points except for the one of the remaining points in the point set; at this time, all the remaining points in the point set including the largest number of remaining points are taken as rendering points to be finally selected. For example, the rendering point shown in FIG. 4f may be determined based on the candidate points shown in FIG. 4d in one alternative example.
As shown in fig. 10, step 102 may include the following steps, based on the embodiment shown in fig. 1, described above:
And 1021, drawing the walls, the doors and the windows in the image with the set size in a line mode according to the position coordinates of all the walls, the doors and the windows in the house to be rendered, and determining the conversion ratio between the actual coordinate length and the image coordinate length.
Step 1022, determining thickness of the wall lines, door lines and window lines in the image based on the actual thickness and conversion ratio of the wall, door and window.
And 1023, drawing walls, doors and windows according to the lines with the determined thickness to obtain a house type diagram of the house.
And step 1024, drawing the decoration design in the house type graph according to the known position coordinates of the decoration design in the house, and obtaining the plane decoration graph.
Optionally, the method further comprises: and determining whether the decoration design object belongs to furniture capable of shielding the sight line in the plane decoration diagram according to the set highest position and the set minimum height.
The embodiment performs visualization of house type drawings and decoration design schemes of houses, and firstly, coordinate conversion from actual positions to image positions is achieved: assuming that the side length of a square image (an image with a set size) of a house type graph to be drawn is img size pixels, the x-axis and y-axis coordinates of all element corner points of walls, doors and windows, furniture and the like in the house structure are (x, y) (here, the z-axis coordinate values are ignored because the height has no influence on the house type graph), wherein the minimum value of the x-coordinate of all points is x min, the maximum value of the x-coordinate is x max, the minimum value of the y-coordinate is y min, and the maximum value of the y-coordinate is y max, and at this time, the possible occupied maximum range of the house type graph can be max range=max((xmax-xmin),(ymax-ymin), in order to avoid incomplete display of the house type graph, the maximum range can be scaled in a proper proportion, for example, scale=1.1×max range.
Based on the above, the coordinates of all the elements such as walls, doors and windows, furniture and the like in the house are converted to obtain coordinate values, the x-axis coordinate transformation is shown in formula (4), and the y-axis coordinate transformation is shown in formula (5):
While obtaining the actual length (i.e., the image conversion ratio) represented by each pixel:
/>
Under the condition that the thicknesses of the wall and the door window and the image conversion proportion are known, converting the thicknesses of the wall and the door window into pixel values with corresponding thickness, drawing the wall and the door window by the pixel values with the thickness, and drawing line segments of all the walls according to the corner positions after the conversion and the calculated thickness in the corresponding positions in the image; the door and window are drawn according to a similar method, and when the house type graph is drawn, the wall, the door and the window can be respectively drawn by adopting different colors, and the house entrance door can not be drawn. For example, a family pattern diagram of a house as shown in FIG. 4g may be obtained in one alternative example.
After the house type diagram is obtained, drawing a decoration scheme, optionally, considering that furniture with a high position and furniture with a too low height cannot influence the selection of a rendering point, setting the highest position of the selected furniture as max position and the smallest height as min height, and filtering out furniture with the furniture position larger than max position and the furniture height smaller than min height (the furniture cannot influence the setting position of the rendering point); and then dividing the rest furniture into two parts which can block the view of the rendering point according to the characteristics of height, transparency and the like (for example, setting a height threshold, wherein furniture which is lower than the height threshold is not blocked, transparent furniture is not blocked), distinguishing the furniture which can block the view from the furniture which cannot block the view in the house type graph through different colors, and overlapping and drawing the furniture in the house type graph obtained in the step 1023 to obtain a plane decoration graph, for example, obtaining the plane decoration graph shown in the figure 4a based on the house type graph shown in the figure 4 g.
Any of the rendering point determination methods of house furnishings provided by embodiments of the present disclosure may be performed by any suitable device having data processing capabilities, including, but not limited to: terminal equipment, servers, etc. Or any of the rendering point determination methods for house decoration provided by the embodiments of the present disclosure may be executed by a processor, such as the processor executing any of the rendering point determination methods for house decoration mentioned by the embodiments of the present disclosure by calling corresponding instructions stored in a memory. And will not be described in detail below.
Exemplary apparatus
Fig. 11 is a schematic structural view of a rendering point determining apparatus for house decoration according to an exemplary embodiment of the present disclosure. As shown in fig. 11, the apparatus provided in this embodiment includes:
and the decoration drawing module 111 is used for drawing a house type drawing of a house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type drawing to obtain a plane decoration drawing.
The pre-selection point determining module 112 is configured to determine a plurality of pre-selection points in the planar decoration map.
The rendering point determining module 113 is configured to determine at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points.
The rendering point determining device for house decoration provided by the above embodiment of the present disclosure includes: drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram; determining a plurality of preselected points in the plan finishing map; determining at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points; according to the embodiment, the rendering points are determined through the determination of the preselected points and the determination of the rendering points based on the communication relation among the preselected points, so that the automatic determination of the positions of the rendering points is realized, and manpower and material resources are saved.
In some alternative embodiments, the pre-selection point determination module 112 includes:
the legal area determining unit is used for determining legal areas in the plane decoration map;
The region segmentation unit is used for segmenting the legal region to obtain a plurality of segmented regions;
and a point determining unit for determining at least one pre-selected point in each of the plurality of partitioned areas to obtain a plurality of pre-selected points.
Optionally, the legal area determining unit is specifically configured to perform expansion operation on areas where all walls and decoration designs are located in the plane decoration map according to a first set pixel length value to obtain an expansion area; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design and the rendering point; the portion of the planar finishing map other than the expansion area is determined as a legal area.
Optionally, the area dividing unit is specifically configured to perform a corrosion operation on the legal area based on a side length of a largest square included in the legal area, so as to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a dividing area; judging whether the legal area comprises a residual area except the segmentation area or not, if so, taking the residual area except the segmentation area in the legal area as a new legal area, and performing iteration: performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a dividing area; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
Optionally, the point determining unit is specifically configured to determine, for each of the divided regions, whether a length pixel value and a width pixel value of the divided region are simultaneously greater than a first set pixel length value; determining the number of preselected points and the preselected point coordinates of each preselected point included in the divided area according to the length pixel value, the width pixel value and the second set pixel length value in response to the length pixel value and the width pixel value of the divided area being simultaneously greater than the first set pixel length value; the second set pixel length value is determined based on a maximum distance between the set two rendering points.
Optionally, the point determining unit is configured to determine, when determining the number of preselected points included in the divided area and the preselected point coordinates of each of the preselected points according to the length pixel value, the width pixel value, and the second set pixel length value, the first number of preselected points in the length direction of the divided area based on a quotient of the length pixel value and the second set pixel length value; determining a second number of preselected points in the width direction of the segmented region based on a quotient of the width pixel value and a second set pixel length value; determining a number of preselected points based on the first number of preselected points and the second number of preselected points; the preselected point coordinates for each of the preselected points in the segmented region are determined based on the number of preselected points, the length pixel value, and the width pixel value.
Optionally, the point determining unit is further configured to determine a coverage area corresponding to each preselected point according to the area of the segmented region and the number of the preselected points; the area of the divided region is determined based on the length pixel value and the width pixel value.
In some alternative embodiments, the rendering point determination module 113 includes:
the merging unit is used for executing merging operation on the preselected points according to the communication relation among the preselected points to obtain a plurality of merging points;
a deleting unit, configured to perform a deleting operation on the multiple merging points according to a communication relationship between the multiple merging points, so as to obtain multiple remaining points;
a point set determining unit, configured to segment a plurality of remaining points according to a communication relationship between the plurality of remaining points, to obtain at least one point set; wherein each point set includes at least one remaining point;
And the rendering point set unit is used for determining all the remaining points in one point set as at least one rendering point according to the number of the remaining points included in each point set in the at least one point set.
Optionally, the preselected point determining module is further used for determining that all wall surfaces and areas where furniture capable of shielding vision are located in the plane decoration map are shielding areas;
The communication relation includes direct communication and ordinary communication; direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than the second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is commonly communicated with the other preselected point of the two preselected points which are directly communicated.
Optionally, the merging unit is specifically configured to determine, according to a first preset condition, whether a first preselected point and a second preselected point in the plurality of preselected points need to be merged; the first pre-selected point is any one of a plurality of pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point and are apart from the first pre-selected point; when the combination is needed, determining a plurality of new preselected points according to the coordinates of the first preselected points and the coordinates of the second preselected points, and determining whether the first preselected points and the second preselected points in the plurality of new preselected points need to be combined or not according to a first preset condition; when the combination is not needed, the plurality of pre-selected points are taken as a plurality of combination points.
Optionally, the first setting condition includes: the distance between the first preselected point and the second preselected point is less than the third set pixel length value and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
Optionally, the deleting unit is specifically configured to determine, according to a second preset condition, whether a first merging point or a second merging point of the multiple merging points needs to be deleted; the first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point among the plurality of merging points which are communicated with the first merging point and are closest to the first merging point; when the first merging point or the second merging point needs to be deleted, determining whether the first merging point or the second merging point in the plurality of remaining merging points needs to be deleted or not according to a second preset condition for all the merging points remaining after the deletion; when deletion is not needed, the plurality of remaining merging points are taken as a plurality of remaining points.
Optionally, the second preset condition includes:
In the case that the third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions at the same time:
There are a plurality of other merge points in direct communication with either the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is positioned or not;
The third preset condition includes: the distance between the first merging point and the second merging point is smaller than the third set pixel length value, and one other merging point is directly communicated with both the first merging point and the second merging point.
Optionally, the point set determining unit is specifically configured to determine a communication relationship between a plurality of remaining points; and dividing a plurality of residual points with a communication relation in the plurality of residual points into the same point set to obtain at least one point set.
In some optional embodiments, the decoration drawing module 111 is specifically configured to draw the walls, the doors, and the windows in the image with a set size in a line form according to the position coordinates of all the walls, the doors, and the windows in the house to be rendered, and determine a conversion ratio between an actual coordinate length and an image coordinate length; determining the thickness of wall lines, door lines and window lines in the image based on the actual thickness and conversion proportion of the wall, the door and the window; drawing walls, doors and windows according to the lines with determined thickness to obtain a house type diagram; and drawing the decoration design in the house type graph according to the known position coordinates of the decoration design in the house to obtain a plane decoration graph.
Optionally, the decoration drawing module 111 is further configured to determine whether the decoration design belongs to furniture capable of shielding the line of sight in the plane decoration drawing according to the set highest position and the set minimum height.
Exemplary electronic device
Next, an electronic device according to an embodiment of the present disclosure is described with reference to fig. 12. The electronic device may be either or both of the first device 100 and the second device 200, or a stand-alone device independent thereof, which may communicate with the first device and the second device to receive the acquired input signals therefrom.
Fig. 12 illustrates a block diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 12, the electronic device 120 includes one or more processors 121 and memory 122.
Processor 121 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities and may control other components in electronic device 120 to perform desired functions.
Memory 122 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that may be executed by the processor 121 to implement the house decoration rendering point determination method and/or other desired functions of the various embodiments of the present disclosure described above. Various contents such as an input signal, a signal component, a noise component, and the like may also be stored in the computer-readable storage medium.
In one example, the electronic device 120 may further include: an input device 123 and an output device 124, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
For example, when the electronic device is the first device 100 or the second device 200, the input means 123 may be a microphone or a microphone array as described above for capturing an input signal of a sound source. When the electronic device is a stand-alone device, the input means 123 may be a communication network connector for receiving the acquired input signals from the first device 100 and the second device 200.
In addition, the input device 123 may include, for example, a keyboard, a mouse, and the like.
The output device 124 may output various information to the outside, including the determined distance information, direction information, and the like. The output device 124 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device 120 that are relevant to the present disclosure are shown in fig. 12, components such as buses, input/output interfaces, etc. are omitted for simplicity. In addition, the electronic device 120 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer readable storage Medium
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in a rendering point determination method of house decoration according to various embodiments of the present disclosure described in the "exemplary methods" section of the present description.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, cause the processor to perform the steps in a rendering point determination method of house decoration according to various embodiments of the present disclosure described in the above "exemplary method" section of the present description.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present disclosure have been described above in connection with specific embodiments, but it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in this disclosure are merely illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (30)

1. A method of determining a rendering point for house decoration, comprising:
Drawing a house type diagram of the house according to house information to be rendered, and drawing a decoration design to be rendered in a set position of the house type diagram to obtain a plane decoration diagram;
Determining a plurality of preselected points in the plan finishing map;
Determining at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points;
The determining a plurality of pre-selected points in the plane decoration map comprises:
determining legal areas in the plane decoration map;
dividing the legal area to obtain a plurality of divided areas;
determining at least one pre-selected point in each of the plurality of partitioned areas to obtain a plurality of pre-selected points;
determining at least one pre-selected point in each of the plurality of partitioned areas to obtain a plurality of pre-selected points, including:
Determining, for each of the divided regions, whether a length pixel value and a width pixel value of the divided region are simultaneously greater than a first set pixel length value; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design in the plane decoration map and the rendering point;
Determining the number of preselected points and the preselected point coordinates of each of the preselected points included in the divided region according to the length pixel value, the width pixel value and a second set pixel length value in response to the length pixel value and the width pixel value of the divided region being simultaneously greater than the first set pixel length value; the second set pixel length value is determined according to a maximum distance between the set two rendering points.
2. The method of claim 1, wherein said determining legal areas in the plan view comprises:
Performing expansion operation on all walls and the area where the decoration design object is located in the plane decoration map according to a first set pixel length value to obtain an expansion area;
and determining the part except the expansion area in the plane decoration map as a legal area.
3. The method of claim 1, wherein the segmenting the legal region to obtain a plurality of segmented regions comprises:
Performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area;
Taking the maximum rectangle except the corrosion area in the legal area as a division area;
Judging whether the legal area comprises a residual area except the segmentation area or not, if so, taking the residual area except the segmentation area in the legal area as a new legal area, and performing iteration: performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a division area; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
4. The method of claim 1, wherein said determining the number of preselected points and the preselected point coordinates for each of said preselected points included in said segmented region based on said length pixel value, said width pixel value, and a second set pixel length value comprises:
determining a first number of preselected points in a length direction of the segmented region based on a quotient of the length pixel value and the second set pixel length value;
determining a second number of preselected points in the width direction of the divided region based on a quotient of the width pixel value and the second set pixel length value;
determining the number of preselected points based on the first number of preselected points and the second number of preselected points;
and determining preselected point coordinates of each of the preselected points in the segmented region based on the number of preselected points, the length pixel value and the width pixel value.
5. The method of claim 1, further comprising, after determining the number of preselected points and the preselected point coordinates for each of the preselected points included in the segmented region based on the length pixel value, the width pixel value, and a second set pixel length value:
determining a coverage area corresponding to each preselected point according to the area of the segmented area and the number of the preselected points; the area of the divided region is determined based on the length pixel value and the width pixel value.
6. The method of any of claims 1-5, wherein the determining at least one rendering point based on the plurality of pre-selected points according to the connectivity relationship between the plurality of pre-selected points comprises:
Performing merging operation on the preselected points according to the communication relation among the preselected points to obtain a plurality of merging points;
performing deleting operation on the merging points according to the communication relation among the merging points to obtain a plurality of residual points;
dividing the plurality of residual points according to the communication relation among the plurality of residual points to obtain at least one point set; wherein each of the sets of points includes at least one remaining point;
And determining all the remaining points in one point set as the at least one rendering point according to the number of the remaining points included in each point set in the at least one point set.
7. The method of claim 6, further comprising, after determining the legal area in the plan view:
determining all wall surfaces and areas where furniture capable of shielding vision are located in the plane decoration map as shielding areas;
The communication relation comprises direct communication and common communication; the direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than a second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is in common communication with the other preselected point of the two preselected points which are directly communicated.
8. The method of claim 7, wherein the performing a merging operation on the plurality of preselected points according to the communication relationship between the plurality of preselected points to obtain a plurality of merging points comprises:
Determining whether a first preselected point and a second preselected point in the plurality of preselected points need to be combined according to a first preset condition; the first pre-selected point is any one of the pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point, and the other pre-selected points are except the first pre-selected point;
When the combination is needed, determining a plurality of new preselected points according to the coordinates of the first preselected points and the coordinates of the second preselected points, and determining whether the first preselected points and the second preselected points in the plurality of new preselected points need to be combined or not according to a first preset condition;
and when the combination is not needed, taking the plurality of pre-selected points as the plurality of combination points.
9. The method of claim 8, wherein the first preset condition comprises: the distance between the first preselected point and the second preselected point is less than a third set pixel length value, and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
10. The method of claim 6, wherein the performing a deletion operation on the plurality of merging points according to a communication relationship between the plurality of merging points to obtain a plurality of remaining points includes:
determining whether a first merging point or a second merging point in the plurality of merging points needs to be deleted or not according to a second preset condition; the first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point, which are communicated with the first merging point and are closest to the first merging point;
When the first merging point or the second merging point needs to be deleted, determining whether the first merging point or the second merging point in the plurality of remaining merging points needs to be deleted or not according to a second preset condition for all the merging points remaining after the deletion;
And when deletion is not needed, taking the plurality of remaining merging points as the plurality of remaining points.
11. The method of claim 10, wherein the second preset condition comprises:
in the case that a third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions simultaneously:
There are a plurality of other merge points in direct communication with the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is located or not;
The third preset condition includes: the distance between the first merging point and the second merging point is smaller than a third set pixel length value, and one other merging point is directly communicated with the first merging point and the second merging point.
12. The method of claim 6, wherein the partitioning the plurality of remaining points according to the connectivity relationship between the plurality of remaining points to obtain at least one point set comprises:
Determining a communication relationship between the plurality of remaining points;
And dividing a plurality of residual points with a communication relationship in the plurality of residual points into the same point set to obtain the at least one point set.
13. The method according to any one of claims 1 to 5, wherein the drawing the house pattern of the house according to the house information to be rendered, and drawing the finishing design to be rendered in the setting position of the house pattern, to obtain the plane finishing pattern, includes:
Drawing the walls, the doors and the windows in the images with set sizes in a line mode according to the position coordinates of all the walls, the doors and the windows in the house to be rendered, and determining the conversion ratio between the actual coordinate length and the image coordinate length;
Determining thicknesses of wall lines, door lines and window lines in the image based on the actual thicknesses of the wall, the door and the window and the conversion ratio;
Drawing the wall, the door and the window according to the lines with determined thickness to obtain a house type diagram of the house;
And drawing the decoration design in the house type graph according to the position coordinates of the known decoration design in the house to obtain the plane decoration graph.
14. The method as recited in claim 13, further comprising:
And determining whether the decoration design object belongs to furniture capable of shielding the sight line in the plane decoration diagram according to the set highest position and the set minimum height.
15. A rendering point determining apparatus for house decoration, comprising:
the decoration drawing module is used for drawing a house type drawing of the house according to house information to be rendered, drawing a decoration design to be rendered in a set position of the house type drawing, and obtaining a plane decoration drawing;
the pre-selected point determining module is used for determining a plurality of pre-selected points in the plane decoration map;
A rendering point determining module, configured to determine at least one rendering point based on the plurality of pre-selected points according to a communication relationship between the plurality of pre-selected points;
The pre-selection point determination module includes:
a legal area determining unit, configured to determine a legal area in the plane decoration map;
The region segmentation unit is used for segmenting the legal region to obtain a plurality of segmented regions;
A point determining unit, configured to determine at least one pre-selected point in each of the plurality of divided regions, to obtain a plurality of pre-selected points; the point determining unit is specifically configured to determine, for each of the divided regions, whether a length pixel value and a width pixel value of the divided region are simultaneously greater than a first set pixel length value; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design in the plane decoration map and the rendering point; determining the number of preselected points and the preselected point coordinates of each preselected point included in the divided area according to the length pixel value, the width pixel value and the second set pixel length value in response to the length pixel value and the width pixel value of the divided area being simultaneously greater than a first set pixel length value; the second set pixel length value is determined according to a maximum distance between the set two rendering points.
16. The apparatus according to claim 15, wherein the legal area determining unit is specifically configured to perform expansion operation on all walls and areas where the decorative design is located in the plane decorative drawing according to a first set pixel length value to obtain an expanded area; the first set pixel length value is determined according to the minimum set distance between the wall and the decoration design and the rendering point; and determining the part except the expansion area in the plane decoration map as a legal area.
17. The apparatus according to claim 15, wherein the area dividing unit is specifically configured to perform an erosion operation on the legal area based on a side length of a largest square included in the legal area, to obtain an eroded area; taking the maximum rectangle except the corrosion area in the legal area as a division area; judging whether the legal area comprises a residual area except the segmentation area or not, if so, taking the residual area except the segmentation area in the legal area as a new legal area, and performing iteration: performing corrosion operation on the legal area based on the side length of the largest square included in the legal area to obtain a corrosion area; taking the maximum rectangle except the corrosion area in the legal area as a division area; otherwise, the segmentation is finished, and a plurality of segmented areas are obtained.
18. The apparatus according to claim 15, wherein the point determining unit, when determining the number of preselected points included in the divided area and the preselected point coordinates of each of the preselected points from the length pixel value, the width pixel value, and a second set pixel length value, is configured to determine the first number of preselected points in the length direction of the divided area based on a quotient of the length pixel value and the second set pixel length value; determining a second number of preselected points in the width direction of the divided region based on a quotient of the width pixel value and the second set pixel length value; determining the number of preselected points based on the first number of preselected points and the second number of preselected points; and determining preselected point coordinates of each of the preselected points in the segmented region based on the number of preselected points, the length pixel value and the width pixel value.
19. The apparatus of claim 15, wherein the point determining unit is further configured to determine a coverage area corresponding to each of the preselected points based on the area of the segmented region and the preselected number of points; the area of the divided region is determined based on the length pixel value and the width pixel value.
20. The apparatus according to any one of claims 15-19, wherein the rendering point determination module comprises:
the merging unit is used for executing merging operation on the preselected points according to the communication relation among the preselected points to obtain a plurality of merging points;
a deleting unit, configured to perform a deleting operation on the multiple merging points according to a communication relationship between the multiple merging points, so as to obtain multiple remaining points;
A point set determining unit, configured to segment the plurality of remaining points according to a communication relationship between the plurality of remaining points, to obtain at least one point set; wherein each of the sets of points includes at least one remaining point;
and the rendering point set unit is used for determining all the remaining points in one point set as the at least one rendering point according to the number of the remaining points included in each point set in the at least one point set.
21. The apparatus of claim 20, wherein the preselected point determining module is further configured to determine that all walls and areas of furniture capable of blocking vision in the planar finishing map are blocked areas;
The communication relation comprises direct communication and common communication; the direct communication means that two preselected points simultaneously meet the following conditions: the distance between the two preselected points is smaller than a second set pixel length value, and the connecting line between the two preselected points does not pass through the shielding area; the common communication means that one preselected point is directly communicated with one preselected point of two preselected points which are directly communicated, and then the preselected point is in common communication with the other preselected point of the two preselected points which are directly communicated.
22. The apparatus according to claim 21, wherein the merging unit is specifically configured to determine, according to a first preset condition, whether a first preselected point and a second preselected point of the plurality of preselected points need to be merged; the first pre-selected point is any one of the pre-selected points, and the second pre-selected point is other pre-selected points which are communicated with the first pre-selected point and are closest to the first pre-selected point, and the other pre-selected points are except the first pre-selected point; when the combination is needed, determining a plurality of new preselected points according to the coordinates of the first preselected points and the coordinates of the second preselected points, and determining whether the first preselected points and the second preselected points in the plurality of new preselected points need to be combined or not according to a first preset condition; and when the combination is not needed, taking the plurality of pre-selected points as the plurality of combination points.
23. The apparatus of claim 22, wherein the first preset condition comprises: the distance between the first preselected point and the second preselected point is less than a third set pixel length value, and there is one other preselected point in direct communication with both the first preselected point and the second preselected point.
24. The apparatus according to claim 20, wherein the deleting unit is specifically configured to determine whether a first merging point or a second merging point of the plurality of merging points needs to be deleted according to a second preset condition; the first merging point is any merging point of the plurality of merging points, and the second merging point is other merging points except the first merging point, which are communicated with the first merging point and are closest to the first merging point; when the first merging point or the second merging point needs to be deleted, determining whether the first merging point or the second merging point in the plurality of remaining merging points needs to be deleted or not according to a second preset condition for all the merging points remaining after the deletion; and when deletion is not needed, taking the plurality of remaining merging points as the plurality of remaining points.
25. The apparatus of claim 24, wherein the second preset condition comprises:
in the case that a third preset condition is met, determining whether the first merging point and/or the second merging point meet the following conditions simultaneously:
There are a plurality of other merge points in direct communication with the first merge point or the second merge point; after the first merging point or the second merging point is removed, whether all other merging points which are directly communicated with the first merging point or the second merging point are communicated with a point set where the first merging point or the second merging point is located or not;
The third preset condition includes: the distance between the first merging point and the second merging point is smaller than a third set pixel length value, and one other merging point is directly communicated with the first merging point and the second merging point.
26. The apparatus according to claim 20, wherein the point set determining unit is specifically configured to determine a communication relationship between the plurality of remaining points; and dividing a plurality of residual points with a communication relationship in the plurality of residual points into the same point set to obtain the at least one point set.
27. The apparatus according to any one of claims 15 to 19, wherein the decorative drawing module is specifically configured to draw the walls, the doors and the windows in the image of a set size in the form of lines according to the position coordinates of all the walls, the doors and the windows in the house to be rendered, and determine a conversion ratio between an actual coordinate length and an image coordinate length; determining thicknesses of wall lines, door lines and window lines in the image based on the actual thicknesses of the wall, the door and the window and the conversion ratio; drawing the wall, the door and the window according to the lines with determined thickness to obtain a house type diagram of the house; and drawing the decoration design in the house type graph according to the position coordinates of the known decoration design in the house to obtain the plane decoration graph.
28. The apparatus of claim 27, wherein the decorative drawing module is further configured to determine whether the decorative design belongs to a piece of furniture capable of obstructing a line of sight in the planar decorative drawing based on a set highest position and a set lowest height.
29. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the rendering point determination method of house decoration according to any one of the preceding claims 1-14.
30. An electronic device, the electronic device comprising:
A processor;
A memory for storing the processor-executable instructions;
The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method for determining a rendering point for house decoration according to any one of the preceding claims 1-14.
CN202010915357.8A 2020-09-03 2020-09-03 Rendering point determining method and device for house decoration, storage medium and electronic equipment Active CN111986300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010915357.8A CN111986300B (en) 2020-09-03 2020-09-03 Rendering point determining method and device for house decoration, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010915357.8A CN111986300B (en) 2020-09-03 2020-09-03 Rendering point determining method and device for house decoration, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111986300A CN111986300A (en) 2020-11-24
CN111986300B true CN111986300B (en) 2024-04-19

Family

ID=73448070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010915357.8A Active CN111986300B (en) 2020-09-03 2020-09-03 Rendering point determining method and device for house decoration, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111986300B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113591313B (en) * 2021-08-05 2022-07-15 贝壳找房(北京)科技有限公司 View angle point determining method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440360A (en) * 2013-07-19 2013-12-11 北京尔宜居科技有限责任公司 Method for splitting, making and recombining house type data
CN103533501A (en) * 2013-10-15 2014-01-22 厦门雅迅网络股份有限公司 Geofence generating method
CN103761526A (en) * 2014-01-26 2014-04-30 北京理工大学 Urban area detecting method based on feature position optimization and integration
CN106898246A (en) * 2015-12-21 2017-06-27 高德软件有限公司 A kind of generation method of indoor map and generation system
CN107103607A (en) * 2017-03-29 2017-08-29 中国科学院合肥物质科学研究院 A kind of global optimization's image partition method chosen automatically based on seed point
CN110838167A (en) * 2019-11-05 2020-02-25 网易(杭州)网络有限公司 Model rendering method and device and storage medium
CN111125807A (en) * 2019-11-06 2020-05-08 贝壳技术有限公司 Decoration three-dimensional model rendering display method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102655810B1 (en) * 2016-11-22 2024-04-09 삼성전자주식회사 Method and apparatus for rendering 3d image

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440360A (en) * 2013-07-19 2013-12-11 北京尔宜居科技有限责任公司 Method for splitting, making and recombining house type data
CN103533501A (en) * 2013-10-15 2014-01-22 厦门雅迅网络股份有限公司 Geofence generating method
CN103761526A (en) * 2014-01-26 2014-04-30 北京理工大学 Urban area detecting method based on feature position optimization and integration
CN106898246A (en) * 2015-12-21 2017-06-27 高德软件有限公司 A kind of generation method of indoor map and generation system
CN107103607A (en) * 2017-03-29 2017-08-29 中国科学院合肥物质科学研究院 A kind of global optimization's image partition method chosen automatically based on seed point
CN110838167A (en) * 2019-11-05 2020-02-25 网易(杭州)网络有限公司 Model rendering method and device and storage medium
CN111125807A (en) * 2019-11-06 2020-05-08 贝壳技术有限公司 Decoration three-dimensional model rendering display method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于2D头部图像的3D建模及优化;宋重钢;高鑫;孙光泽;李旭;李龙泉;李涛;;南开大学学报(自然科学版)(第06期);全文 *
面向空间多视点图像的三维场景渲染与重建技术研究;董天祯;《中国博士学位论文全文数据库 信息科技辑(月刊) 计算机软件及计算机应用》;第3.3节,第5.2.4节 *

Also Published As

Publication number Publication date
CN111986300A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
Ochmann et al. Automatic reconstruction of parametric building models from indoor point clouds
CN111985036B (en) House type frame line drawing method and device, storage medium and electronic equipment
US20090273598A1 (en) Methods and apparatuses for automatically converting objects in CAD drawing from two-dimensions to three-dimensions
CN112767551B (en) Three-dimensional model construction method and device, electronic equipment and storage medium
CN111340938B (en) Method for obtaining house layout information, network model training method and device
US10452788B2 (en) Modeling a three-dimensional object having multiple materials
CN111383355B (en) Three-dimensional point cloud completion method, device and computer readable storage medium
CN111986300B (en) Rendering point determining method and device for house decoration, storage medium and electronic equipment
JP7519462B2 (en) Method, apparatus and program for generating floorplans
CN116433869B (en) Fragment hiding method and device in model rendering and storage medium
CN111080792A (en) Model simplification processing method and device, electronic equipment and storage medium
CN112465692A (en) Image processing method, device, equipment and storage medium
EP2993613A1 (en) A capture system arranged to create a 3d model from a scanned scene, a method and a graphical user interface
US10643395B2 (en) Real-time spatial authoring in augmented reality using additive and subtractive modeling
US11670045B2 (en) Method and apparatus for constructing a 3D geometry
CN116503562B (en) Method for determining space building information model and fusing three-dimensional space model images
CN112862961B (en) Horizon dead pixel filtering method, device, equipment and storage medium
CN113674418B (en) Processing method and device for elements in house type graph, medium and electronic equipment
CN112417558B (en) Wall decoration scheme determination method and device and computer readable storage medium
WO2024093610A1 (en) Shadow rendering method and apparatus, electronic device, and readable storage medium
WO2020053899A1 (en) Systems and methods for optimizing lighting in a three dimensional (3-d) scene(s)
CN115455552A (en) Model editing method and device, electronic equipment, storage medium and product
CN115248944A (en) Method, device, equipment and storage medium for drawing primitive
CN117635792A (en) Rendering method and device, electronic equipment and storage medium
KR20240057685A (en) Method, device and computer program for generating space model

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
GR01 Patent grant
GR01 Patent grant