CN108805955B - Method and device for automatically applying wave routing to regional boundary - Google Patents
Method and device for automatically applying wave routing to regional boundary Download PDFInfo
- Publication number
- CN108805955B CN108805955B CN201810359003.2A CN201810359003A CN108805955B CN 108805955 B CN108805955 B CN 108805955B CN 201810359003 A CN201810359003 A CN 201810359003A CN 108805955 B CN108805955 B CN 108805955B
- Authority
- CN
- China
- Prior art keywords
- area
- paving
- boundary
- template
- wave routing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Structural Engineering (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a device for automatically applying wave routing at a regional boundary in the field of modern home decoration ceramic tile design. Compared with the solution that the prior art draws in the electronic equipment manually, the method only needs to select the wave routing pattern and the designated area to automatically apply the wave routing to the template, so that the wave routing generation efficiency is effectively improved, meanwhile, the drawing accuracy is ensured based on the boundary information identification, and the generation efficiency of the effect graph is greatly improved.
Description
Technical Field
The invention relates to the field of automatic design of tiles designed for home decoration, in particular to a method and a device for automatically applying wave routing to a regional boundary.
Background
In the field of modern home decoration tile design, with the increase of consumer consumption level, more and more consumers choose to customize the tile style, which has certain requirements on effect display in the sales link, and the wavy bonding wire is a common decoration means and is generally applied to decoration of a large-scale area, such as one or more rooms. For such large area pre-sale displays, previewing of effect maps using computer technology is particularly desirable. In the prior art, an effect diagram is generally generated by drawing on computer equipment or mobile equipment. Although the method can achieve the primary visual effect display, the manual drawing process is complex and is easy to draw wrongly. Therefore, a computer technology is needed to quickly complete the drawing of the bonding wire based on the boundary information.
Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide a method and an apparatus for automatically applying bonding on a boundary of an area, which can rapidly draw bonding.
The technical scheme adopted by the invention for solving the problems is as follows:
a method for automatically applying wave routing to a zone boundary comprises the following steps:
step A, reading a template and selected routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
and D, applying the selected wave routing in the application area.
Further, the wave routing information in step a includes wave routing size information, style information, rendering parameters, and wave routing names.
Further, the style information comprises a lining line style, a corner style and a wave routing size; the rendering parameters include surface reflectance and reflective glossiness.
Further, the paving area in the step B is an area for wave routing paving in the template; the type of the paving area comprises a default paving area and a user-defined paving area, the default paving area is an imported template, and the user-defined paving area is an area in the template except the user-defined area drawn by a user.
Further, in the step B, the paving initial boundary information indicates that, if the paving region has the wave bonding, the default paving region uses the boundary of the innermost wave bonding near the center of the template as the paving initial boundary, the custom paving region uses the boundary of the outermost wave bonding near the template as the paving initial boundary, and if there is no wave bonding, the template boundary is the paving initial boundary.
Further, the application area in step C is an area determined by taking the initial paving boundary as an initial edge and the wave routing size as a width.
Further, the step D further includes the steps of:
step D1: if the type of the paving area obtained in the step B is a default paving area, executing a step D2, and if the type of the paving area is a user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the obtained initial boundary and the wave routing size;
and D3: generating application areas in the corresponding boundary directions of the template according to the obtained initial boundary and the wave routing size;
and D4: the read bonding is applied to the application area.
An apparatus for automatically applying wire bonding to a zone boundary, comprising:
a template reading device: a template for reading the wave wire bonding;
wave routing storage device: the device is used for storing wave routing information;
wave bonding reading device: reading the selected wave routing information;
paving and pasting area type judgment device: the method is used for judging the type of the paving area;
start boundary reading means: the method comprises the steps of reading boundary information of a tiled area according to the type of the tiled area;
an application area generation device: generating an application area according to the obtained initial boundary information and the wave routing size information;
wave routing application device: for applying the selected bonding wire to the application area.
Further, the device also comprises the following devices:
wave routing information storage device: the system is used for storing wave routing information in a server;
the user-defined region acquisition device: the method is used for acquiring the custom area information drawn by the client.
The device for automatically applying the wave wire bonding to the area boundary is characterized by comprising a control module and a storage module for storing a control instruction, wherein the control module reads the instruction and executes the following steps:
step A, reading a template and selected wave routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
and D, applying the selected wave routing in the application area.
Further, the wave routing information in step a includes wave routing size information, style information, rendering parameters, and wave routing names.
Further, the pattern information comprises a lining line pattern, a corner pattern and a wave routing size; the rendering parameters include surface reflectivity and reflective gloss.
Further, in the step B, the paving area is an area for wave routing paving in the template, the type includes a default paving area and a custom paving area, the default paving area is the imported template, and the custom paving area is an area in the template except the custom area drawn by the user.
Further, in the step B, the paving initial boundary information indicates that, if the paving region has the wave bonding, the default paving region uses the boundary of the innermost wave bonding near the center of the template as the paving initial boundary, the custom paving region uses the boundary of the outermost wave bonding near the template as the paving initial boundary, and if there is no wave bonding, the template boundary is the paving initial boundary.
Further, the application area in step C is an area determined by taking the initial paving boundary as an initial edge and the wave routing size as a width.
Further, the step D further includes the steps of:
step D1: if the type of the paving area obtained in the step B is the default paving area, executing a step D2, and if the type of the paving area is the user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the acquired initial boundary and the routing size;
and D3: generating application areas in the directions of all corresponding boundaries of the template according to the acquired initial boundary and the wave routing size;
step D4: the read bonding is applied to the application area.
The invention has the beneficial effects that: the method and the device for automatically applying the wave routing at the area boundary are adopted by the invention, the wave routing application area is quickly obtained according to the selected wave routing and the paving area in the template, and the wave routing is applied to the application area in different forms according to different types of paving areas. Compared with the solution that the prior art relies on manual drawing in the electronic equipment, the invention effectively improves the efficiency of wave routing generation, simultaneously ensures the drawing accuracy based on boundary information identification, and greatly improves the generation efficiency of the effect graph.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a flow chart of a method for automatically applying wire bonding to a zone boundary according to the present invention;
FIG. 2 is a flow chart of the wave routing applied in step D of the method for automatically applying wave routing to the area boundary according to the present invention;
FIG. 3 is a schematic diagram of a single application of a default tiled area with automatically applied bonding wires at the area boundary according to the present invention;
FIG. 4 is a schematic diagram of multiple applications of a default tiled area with automatic bond wire application at the area boundary according to the present invention;
FIG. 5 is a schematic diagram of a single application of a custom-laid area with automatic bonding of the area boundaries according to the present invention.
The reference numbers illustrate:
1. wave routing applied for a single time in a default area; 2. wave routing applied for the second time in the default area; 3. and (4) wave routing of single application in a user-defined area.
Detailed Description
Referring to fig. 1-5, a method for automatically applying wire bonding to a zone boundary according to the present invention comprises the following steps:
step A, reading a template and selected wave routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
and D, applying the selected wave routing in the application area.
In the step A, the template is a regional house figure applying routing, and the length information of each boundary is displayed on the outer side of the boundary after the template is applied;
the steps A-D are a primary wave routing process, the generated wave routing 1 applied once in the default area or the wave routing 3 applied once in the user-defined area is executed once, if the wave routing is applied to the template of the default area again, the steps A-D are repeated for 1 time, and the wave routing 2 applied for the second time in the default area is generated; repeat for many times and so on.
When the size of the application area is smaller than the size of the wave routing, stopping applying the wave routing;
preferably, the wave routing information is stored in the server and is displayed in an image list form in the wave routing selection process;
further, the wave routing information in step a includes wave routing size information, style information, rendering parameters, and wave routing names.
Further, the pattern information comprises a lining line pattern, a corner pattern and a wave routing size; the rendering parameters include surface reflectance and reflective glossiness.
The default sizes of all types of wave routing are fixed to be the same numerical value;
preferably, when the wave routing is detected to be selected in the template by a user after the wave routing is applied, the pattern information and the rendering parameters are displayed in a window form, when the mode that the user operates the lining pattern and the corner pattern through a rotary button is detected, the pattern is correspondingly rotated and applied to a corresponding area of the wave routing, and when the mode that the user modifies the size, the surface reflectivity and the reflection glossiness of the wave routing is detected, the wave routing is reapplied to the corresponding area of the wave routing according to the modified parameters;
and C, when the wave routing size is detected to be modified by the user, the wave routing contracts or stretches in the direction of the wave routing boundary which is in contact with the initial boundary determined in the step B. For example, by modifying the size of the bond wire applied to the default tiling area to be reduced by 0.1 meter, the initial boundary is the template boundary, and the bond wire is recessed from the boundary near the center of the template by 0.1 meter toward the boundary in contact with the template boundary.
Further, the paving area in the step B is an area for wave bonding and paving in the template, the type of the paving area includes a default paving area and a custom paving area, the default paving area is the imported template, and the custom paving area is an area in the template except the custom area drawn by the user.
The template in the step A is the house type template read in the step A and used for applying the wave routing, and the range drawn by the user-defined area does not exceed the house type template.
Further, in the step B, the paving initial boundary information indicates that, if the paving region has the wave bonding, the default paving region uses the boundary of the innermost wave bonding near the center of the template as the paving initial boundary, the custom paving region uses the boundary of the outermost wave bonding near the template as the paving initial boundary, and if there is no wave bonding, the template boundary is the paving initial boundary.
When the default paving area is paved, the wave routing starts from the first wave routing to be paved towards the direction of the inner part of the template by the template boundary, and when the user-defined paving area is paved, the wave routing starts from the first wave routing to be paved towards the direction of the template boundary, and the wave routing does not exceed the template boundary at most.
Further, the application area in step C is an area determined by taking the initial paving boundary as an initial edge and the wave routing size as a width.
When the generated application area is overlapped with the existing bonding area, the boundary of the application area is adjusted to the boundary of the bonding area, namely the application area is not overlapped with the existing bonding area.
Further, the step D further includes the steps of:
step D1: if the type of the paving area obtained in the step B is the default paving area, executing a step D2, and if the type of the paving area is the user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the obtained initial boundary and the wave routing size;
and D3: generating application areas in the corresponding boundary directions of the template according to the obtained initial boundary and the wave routing size;
step D4: the read bonding is applied to the application area.
And D4, when the wave routing is applied, filling the image of the wave routing into the application area to finish the application of the wave routing.
An apparatus for automatically applying wire bonding to a zone boundary, comprising:
a template reading device: a template for reading the wave wire bonding;
wave routing storage device: the device is used for storing wave routing information;
wave routing reading device: reading the selected wave routing information;
paving and pasting area type judgment device: the method is used for judging the type of the paving area;
start boundary reading means: the system comprises a paving area, a control unit and a display unit, wherein the paving area is used for reading boundary information of the paving area according to the type of the paving area;
an application area generation device: generating an application area according to the acquired initial boundary information and the routing size information;
wave routing application device: for applying selected wire bonds to the application area.
Further, the device also comprises the following devices:
wave routing information storage device: the system is used for storing wave routing information in a server;
the user-defined region acquisition device: the method is used for acquiring the custom area information drawn by the client.
The device for automatically applying the wave wire bonding to the zone boundary is characterized by comprising a control module and a storage module for storing control instructions, wherein the control module reads the instructions and executes the following steps:
step A, reading a template and selected wave routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
and D, applying the selected wave routing in the application area.
Further, the wave routing information in step a includes wave routing size information, style information, rendering parameters, and wave routing names.
Further, the style information comprises a lining line style, a corner style and a wave routing size; the rendering parameters include surface reflectance and reflective glossiness.
Further, in the step B, the paving area is an area for wave routing paving in the template, the type includes a default paving area and a custom paving area, the default paving area is the imported template, and the custom paving area is an area in the template except the custom area drawn by the user.
Further, in the step B, the paving initial boundary information indicates that, if the paving region has the wave bonding, the default paving region uses the boundary of the innermost wave bonding near the center of the template as the paving initial boundary, the custom paving region uses the boundary of the outermost wave bonding near the template as the paving initial boundary, and if there is no wave bonding, the template boundary is the paving initial boundary.
Further, the application area in step C is an area determined by taking the initial paving boundary as an initial edge and the wave routing size as a width.
Further, the step D further includes the steps of:
step D1: if the type of the paving area obtained in the step B is a default paving area, executing a step D2, and if the type of the paving area is a user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the obtained initial boundary and the wave routing size;
and D3: generating application areas in the corresponding boundary directions of the template according to the obtained initial boundary and the wave routing size;
step D4: the read bonding is applied to the application area.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means.
Claims (7)
1. A method for automatically applying wave wire bonding to a zone boundary is characterized by comprising the following steps:
step A, reading a template and selected wave routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
step D, applying the selected wave routing in the application area;
the step D further comprises the following steps:
step D1: if the type of the paving area obtained in the step B is the default paving area, executing a step D2, and if the type of the paving area is the user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the obtained initial boundary and the wave routing size;
and D3: generating application areas in the directions of all corresponding boundaries of the template according to the acquired initial boundary and the wave routing size;
step D4: applying the read wave routing to an application area;
when the application area is generated in the step D2 or the step D3, generating an area according to the acquired initial boundary and the wave routing size, and deleting original image data of a template in the area to obtain the application area;
the paving area in the step B is an area used for wave routing paving in the template, the type of the paving area comprises a default paving area and a custom paving area, the default paving area is the imported template, and the custom paving area is an area in the template except the custom area drawn by the user;
and B, the initial paving boundary information in the step B is that if the wave routing exists in the template, the boundary of the innermost wave routing close to the center of the template is used as the initial paving boundary in the default paving area, the boundary of the outermost wave routing close to the template is used as the initial paving boundary in the self-defined paving area, and if the wave routing does not exist, the template boundary is the initial paving boundary.
2. The method of claim 1, wherein the bonding process is performed by a bonding machine, and the bonding machine comprises: and step A, the wave routing information comprises wave routing size information, style information, rendering parameters and wave routing names.
3. The method of claim 2, wherein the bonding process is performed automatically at the zone boundaries: the pattern information comprises a lining line pattern, a corner pattern and a wave routing size; the rendering parameters include surface reflectance and reflective glossiness.
4. The method of claim 1, wherein the bonding process is performed by a bonding machine, and the bonding machine comprises: and C, the application area is an area determined by taking the paving initial boundary as an initial edge and taking the wave routing size as the width.
5. An apparatus for automatically applying bonding wire to a zone boundary, comprising:
a template reading device: a template for reading the wave wire bonding;
wave routing storage device: the device is used for storing wave routing information;
wave routing reading device: reading the selected wave routing information;
paving and pasting area type judgment device: the method is used for judging the type of the paving area;
start boundary reading means: the method comprises the steps of reading boundary information of a tiled area according to the type of the tiled area;
an application area generation device: generating an application area according to the obtained initial boundary information and the wave routing size information;
wave routing application device: for applying selected wire bonds to the application area.
6. The apparatus of claim 5, further comprising:
wave routing information storage device: the system is used for storing wave routing information in a server;
the user-defined area acquisition device: the method is used for acquiring the custom area information drawn by the client.
7. The device for automatically applying the wave wire bonding to the area boundary is characterized by comprising a control module and a storage module for storing a control instruction, wherein the control module reads the instruction and executes the following steps:
step A, reading a template and selected wave routing information;
b, judging the type of the paving area and acquiring paving initial boundary information;
step C, determining an application area according to the information obtained in the step B and the wave routing information;
step D, applying the selected wave routing in the application area;
the step D also comprises the following steps:
step D1: if the type of the paving area obtained in the step B is a default paving area, executing a step D2, and if the type of the paving area is a user-defined paving area, executing a step D3;
step D2: generating an application area towards the center direction of the template according to the obtained initial boundary and the wave routing size;
and D3: generating application areas in the corresponding boundary directions of the template according to the obtained initial boundary and the wave routing size;
step D4: applying the read wave routing to an application area;
when the application area is generated in the step D2 or the step D3, generating an area according to the acquired initial boundary and the wave routing size, and deleting original image data of a template in the area to obtain the application area;
the paving area in the step B is an area used for wave routing paving in the template, the type of the paving area comprises a default paving area and a custom paving area, the default paving area is the imported template, and the custom paving area is an area in the template except the custom area drawn by the user;
and B, the initial paving boundary information in the step B is that if the wave routing exists in the template, the boundary of the innermost wave routing close to the center of the template is used as the initial paving boundary in the default paving area, the boundary of the outermost wave routing close to the template is used as the initial paving boundary in the self-defined paving area, and if the wave routing does not exist, the template boundary is the initial paving boundary.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810359003.2A CN108805955B (en) | 2018-04-19 | 2018-04-19 | Method and device for automatically applying wave routing to regional boundary |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810359003.2A CN108805955B (en) | 2018-04-19 | 2018-04-19 | Method and device for automatically applying wave routing to regional boundary |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108805955A CN108805955A (en) | 2018-11-13 |
CN108805955B true CN108805955B (en) | 2023-04-07 |
Family
ID=64093445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810359003.2A Active CN108805955B (en) | 2018-04-19 | 2018-04-19 | Method and device for automatically applying wave routing to regional boundary |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108805955B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111339595B (en) * | 2020-02-27 | 2023-10-03 | 杭州群核信息技术有限公司 | Cutting system and method for pinch plate model in cloud computing environment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268944A (en) * | 2014-09-09 | 2015-01-07 | 北京尔宜居科技有限责任公司 | Automatic display method of decorative tile and marble laying scheme |
CN105404761A (en) * | 2015-12-31 | 2016-03-16 | 中民筑友有限公司 | Method and system for generating tile paving scheme |
CN107590341A (en) * | 2017-09-18 | 2018-01-16 | 巧夺天宫(深圳)科技有限公司 | Ground style paving service system, laying method, electronic equipment and computer program product |
-
2018
- 2018-04-19 CN CN201810359003.2A patent/CN108805955B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268944A (en) * | 2014-09-09 | 2015-01-07 | 北京尔宜居科技有限责任公司 | Automatic display method of decorative tile and marble laying scheme |
CN105404761A (en) * | 2015-12-31 | 2016-03-16 | 中民筑友有限公司 | Method and system for generating tile paving scheme |
CN107590341A (en) * | 2017-09-18 | 2018-01-16 | 巧夺天宫(深圳)科技有限公司 | Ground style paving service system, laying method, electronic equipment and computer program product |
Also Published As
Publication number | Publication date |
---|---|
CN108805955A (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220358734A1 (en) | Augmented reality task identification and assistance in construction, remodeling, and manufacturing | |
CN103634650B (en) | A kind of image processing method and system based on intelligent television platform | |
US9674425B2 (en) | Image acquisition method and apparatus | |
CN104703044B (en) | A kind of picture barrage dissemination method | |
CN108986233B (en) | Method and system for rapidly drawing indoor preview | |
CN114127833B (en) | Display screen configuration method, device and system and computer readable storage medium | |
CN103530117A (en) | Method and device for adapting to screens, of different sizes, of mobile terminals | |
US11734805B2 (en) | Utilizing context-aware sensors and multi-dimensional gesture inputs to efficiently generate enhanced digital images | |
US9542703B2 (en) | Virtual custom framing expert system | |
WO2014152581A1 (en) | Virtual magnifying lens touch graphic effect for mobile devices | |
US11087561B2 (en) | Three-dimensional sketching in mobile augmented reality | |
CN106681586A (en) | Placement position adjusting method and device | |
WO2018001115A1 (en) | Controlling method and device for slider control and slider selector | |
CN107590337A (en) | A kind of house ornamentation displaying interactive approach and device | |
CN108805955B (en) | Method and device for automatically applying wave routing to regional boundary | |
CN112783398A (en) | Display control and interaction control method, device, system and storage medium | |
CN102214107B (en) | Method and device for changing Flash skin and color in client program | |
KR20160050295A (en) | Method for Simulating Digital Watercolor Image and Electronic Device Using the same | |
CN104182141B (en) | A kind of information processing method and electronic equipment | |
CN104346064A (en) | Information processing method and electronic equipment | |
CN104636102A (en) | Display control method and electronic device | |
EP3085079B1 (en) | System, method, apparatus, and computer program product for customizing an appliance display | |
CN108874392A (en) | User's guideline interface generation method and device | |
CN104978171A (en) | Output method and device of recognizable identifier | |
CN109523588B (en) | User-defined parquet method and system |
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 |