CN109920066B - Automatic labeling typesetting method and device - Google Patents

Automatic labeling typesetting method and device Download PDF

Info

Publication number
CN109920066B
CN109920066B CN201910170341.6A CN201910170341A CN109920066B CN 109920066 B CN109920066 B CN 109920066B CN 201910170341 A CN201910170341 A CN 201910170341A CN 109920066 B CN109920066 B CN 109920066B
Authority
CN
China
Prior art keywords
information
labeling
view
annotation
marking
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
CN201910170341.6A
Other languages
Chinese (zh)
Other versions
CN109920066A (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.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia Information 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 Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN201910170341.6A priority Critical patent/CN109920066B/en
Publication of CN109920066A publication Critical patent/CN109920066A/en
Application granted granted Critical
Publication of CN109920066B publication Critical patent/CN109920066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a device for automatic labeling and typesetting, comprising the following steps: acquiring 3D cabinet data at a cloud server; projecting the 3D cabinet data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet data in each view; collecting labeling information according to a preset rule; classifying the labeling information to obtain classified labeling information; sorting and layering the classified marking information according to a preset relationship to obtain first marking information; respectively adding the first labeling information into the graphical information in each view to obtain labeled graphical information in each view; the preset rules are rules for view display and/or shielding, and the preset relations comprise end-to-end connection, nesting or interference, so that accuracy of design scheme data can be improved, user drawing time is shortened, and drawing efficiency is improved.

Description

Automatic labeling typesetting method and device
Technical Field
The invention relates to the technical field of home decoration design, in particular to a method and a device for automatic labeling and typesetting.
Background
The traditional design scheme of home decoration design is that a designer firstly designs a cabinet scheme and then manually draws in drawing software such as CAD and the like, and the drawing scheme has the defects of long drawing time and easy data error.
Disclosure of Invention
In view of the above, the present invention aims to provide a method and a device for automatic labeling and typesetting, which can improve accuracy of design scheme data, reduce user drawing time, and improve drawing efficiency.
In a first aspect, an embodiment of the present invention provides a method for automatic annotation and typesetting, which is applied to a cloud server, and the method includes:
acquiring three-dimensional 3D cabinet data;
projecting the 3D cabinet body data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet body data in each view;
collecting labeling information according to the preset rule;
classifying the labeling information to obtain classified labeling information;
sorting and layering the classified marking information according to a preset relationship to obtain first marking information;
respectively adding the first annotation information into the graphic information in each view to obtain the annotated graphic information in each view;
the preset rules are rules for displaying and/or shielding the view, and the preset relation comprises end-to-end connection, nesting or interference.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where after the acquiring the labeling information according to the preset rule, before the classifying the labeling information to obtain the classified labeling information, the method further includes:
and performing duplication elimination processing on the labeling information to obtain the duplicated labeling information.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, where the sorting and layering the classified annotation information according to a preset relationship to obtain first annotation information includes:
the following processing is repeatedly performed until the labeling information of each class is traversed:
acquiring the annotation information with the preset relationship from the annotation information of each type;
sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
and determining the annotation level of the ordered annotation information according to the ordered annotation information.
With reference to the second possible implementation manner of the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the labeling information includes one or more of cabinet length information, cabinet width information, cabinet height information, vertical partition hollow size information, horizontal laminate hollow size information, and door panel size information.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the method further includes:
acquiring the view range of the marked graphic information in each view;
and typesetting the marked graphic information in each view according to the view range and a three-view rule to obtain cabinet view information.
In a second aspect, an embodiment of the present invention further provides a device for automatic annotation and typesetting, which is applied to a cloud server, where the device includes:
the acquisition module is used for acquiring three-dimensional 3D cabinet data;
the projection module is used for projecting the 3D cabinet body data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet body data in each view;
the acquisition module is used for acquiring marking information according to the preset rule;
the classification module is used for classifying the labeling information according to the labeling angle to obtain classified labeling information;
the processing module is used for sorting and layering the classified marking information according to a preset relationship to obtain first marking information;
the adding module is used for respectively adding the first annotation information into the graphic information in each view to obtain the annotated graphic information in each view;
the preset rules are rules for displaying and/or shielding the view, and the preset relation comprises end-to-end connection, nesting or interference.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the apparatus further includes:
and the duplication removing module is used for classifying the labeling information after the labeling information is acquired according to the preset rule, and carrying out duplication removing processing on the labeling information before the classified labeling information is obtained, so as to obtain the duplicated labeling information.
With reference to the first possible implementation manner of the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, wherein the processing module is further configured to:
the following processing is repeatedly performed until the labeling information of each class is traversed:
acquiring the annotation information with the preset relationship from the annotation information of each type;
sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
and determining the annotation level of the ordered annotation information according to the ordered annotation information.
With reference to the second possible implementation manner of the second aspect, the embodiment of the present invention provides a third possible implementation manner of the second aspect, where the labeling information includes one or more of cabinet length information, cabinet width information, cabinet height information, vertical partition hollow size information, horizontal laminate hollow size information, and door panel size information.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the apparatus further includes:
the view range acquisition module is used for acquiring the view range of the marked graphic information in each view;
and the typesetting module is used for typesetting the marked graphic information in each view according to the view range and three-view rules to obtain cabinet view information.
The embodiment of the invention provides a method and a device for automatic labeling and typesetting, comprising the following steps: acquiring 3D cabinet data at a cloud server; projecting the 3D cabinet data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet data in each view; collecting labeling information according to a preset rule; classifying the labeling information to obtain classified labeling information; sorting and layering the classified marking information according to a preset relationship to obtain first marking information; respectively adding the first labeling information into the graphical information in each view to obtain labeled graphical information in each view; the preset rules are rules for view display and/or shielding, and the preset relations comprise end-to-end connection, nesting or interference, so that accuracy of design scheme data can be improved, user drawing time is shortened, and drawing efficiency is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for automatic annotation and typesetting according to an embodiment of the present invention;
FIG. 2 is a flowchart of step S105 in a method for automatic annotation and typesetting according to an embodiment of the present invention;
FIG. 3 is a layout flow chart in the method for automatic annotation layout according to the first embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for automatic labeling and typesetting according to a second embodiment of the present invention.
Icon:
10-an acquisition module; a 20-projection module; 30-an acquisition module; 40-a classification module; 50-a processing module; 60-adding a module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to facilitate understanding of the present embodiment, the following describes embodiments of the present invention in detail.
Embodiment one:
fig. 1 is a flowchart of a method for automatic annotation and typesetting according to an embodiment of the present invention.
Referring to fig. 1, the execution body is a cloud server, and the method includes the following steps:
step S101, acquiring 3D (3 Dimensions, three Dimensions) cabinet data;
step S102, projecting the 3D cabinet data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet data in each view;
specifically, the preset rule is a rule for displaying and/or shielding a view during projection, such as a door plate shielding rule and a drawer only display drawing surface, and the preset rule can be set according to actual situations. The plurality of views comprise a plane view, an elevation view, a structural view and a side view, and the 3D cabinet body data are projected from the plane view, the elevation view, the structural view and the side view according to preset rules, so that the graphic information of the 3D cabinet body data in the plane view, the elevation view, the structural view and the side view is obtained. The graphic information comprises projection outlines, door plate opening direction indication information, foot lines, lamp lines, top lines, table tops and the like, one or more of the graphic information can be set according to actual conditions, in addition, the foot lines, the lamp lines and the top lines display paths and section outlines of the foot lines, the lamp lines and the top lines in a plan view, and the foot lines, the lamp lines and the top lines are directly displayed as a straight line in an elevation view, a structural view and a side view.
Step S103, collecting marking information according to a preset rule;
specifically, the labeling information comprises one or more of cabinet length information, cabinet width information, cabinet height information, vertical partition plate inner space size information, horizontal layer plate inner space size information and door plate size information. The labeling sets are four, namely a labeling set on the left side of the cabinet body, a labeling set on the right side of the cabinet body, a labeling set on the upper side of the cabinet body and a labeling set on the lower side of the cabinet body. And after the cloud server acquires the annotation information according to the preset rule, the annotation information is respectively collected into the annotation sets of the corresponding views. Here, for example, the labeling information required for the left side of the cabinet in the plan view in the labeling information is collected into the labeling set on the left side of the cabinet in the plan view.
Further, for the labeling information in the labeling set, there may be repeated labeling information, so that the labeling information needs to be subjected to duplication removal within an allowable error range to obtain duplicated labeling information. The allowable error range is generally within plus or minus 5 degrees, but is not limited to plus or minus 5 degrees, and can be set according to practical situations. Firstly, marking information of two endpoints to be marked, which are the same, is ordered, then ascending order is carried out according to X values, ascending order is carried out according to Y values when the X values are equal, wherein the equal index difference value is within plus or minus 0.1, but not limited to 0.1, the method can be set according to practical conditions, finally, whether the starting point and the end point of the marking information are within an allowable error range is judged, when the difference value of the X values and the Y values of the starting point and the end point is smaller than plus or minus 0.1, the two marking information are judged to be overlapped, and at the moment, the deduplication operation is needed. For example, the marking information of two endpoints to be marked is sequenced to obtain marking information A and marking information B, then sequenced according to X values, when the X values are equal, sequenced in ascending order according to Y values, after sequencing, if the errors of the starting points and the ending points of the marking information A and the marking information B are within 0.1, the marking information A and the marking information B are considered to be overlapped, and the marking information B should be removed at the moment.
Step S104, classifying the labeling information to obtain classified labeling information;
specifically, the labeling information is classified according to the labeling angle. Here, the marking angle is an included angle between a line connecting the start point and the end point of the index information and the X axis, and ranges from 0 to 180 degrees, and can be set according to practical situations. Taking the marking angle as a mode to carry out the mode taking, if the obtained result is the same or the remainder is within plus or minus 5, the marking angle is the same type of marking information, and the scope of the remainder can be set according to the actual situation.
Step S105, sorting and layering the classified marking information according to a preset relationship to obtain first marking information;
specifically, the classified labeling information is subjected to traversal operation, so that a preset relationship between the labeling information is found out. The preset relation comprises end-to-end connection, nesting or interference, and sorting and layering the classified labeling information according to the preset relation, so that labeling information which does not comprise nesting or interference is obtained, and the first labeling information is obtained. Referring to fig. 2, the following processing is repeatedly performed until the labeling information of each class is traversed:
step S201, obtaining the annotation information with preset relation from the annotation information of each type;
step S202, sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
step S203, determining the annotation level of the ordered annotation information according to the ordered annotation information.
Firstly, obtaining the annotation information with preset relation from the same type of annotation information, sorting the annotation information with preset relation in ascending order according to the annotation length, setting the hierarchy of all the annotation information to 0, searching the annotation set containing the annotation information for each annotation information, adding 1 to the hierarchy of the annotation information for the found annotation hierarchy after searching, and searching all the annotation information according to the method, thereby obtaining the annotation hierarchy. And searching for the labeling information interfering with each labeling information, finding out that a certain labeling information interferes with the labeling information, comparing the two labeling information to be respectively contained by a plurality of labeling sets, setting the labeling level of the labeling information (labeled as labeling information x here) contained by the less labeling set as the labeling level of the other labeling information (labeled as labeling information y here), adding 1, simultaneously recording the front and rear labeling level differences (labeled as n here) of the labeling information x, and sequentially adjusting all the labeling levels containing the labeling information x by n layers. All ordering and layering then completes at the same time.
For example, the same labeling set includes labeling information a, labeling information B and labeling information C, wherein labeling levels are all set to 0, the labeling information a is sorted according to the labeling length from small to large, the labeling length of the labeling information a is shortest, the labeling information a is used as a basis, searching is performed according to the labeling length from small to large, the labeling information B is found first, the labeling level of the labeling information B is the labeling level of the labeling information a plus 1, namely the labeling level is 1, the labeling level is found last, the labeling level of the labeling information C is the labeling level of the labeling information B plus 1, namely the labeling level of the labeling information C is set to 2.
And step S106, the first labeling information is respectively added into the graphic information in each view to obtain the labeled graphic information in each view.
Further, referring to fig. 3, the method further includes:
step S301, obtaining view ranges of marked graphic information in each view;
and step S302, typesetting the marked graphic information in each view according to a three-view rule according to the view range to obtain cabinet view information.
Specifically, when typesetting is performed, the covering frames of the whole view are obtained by overlapping the covering frames of all the graphics in each view, namely the view range of the marked graphic information in each view, and then typesetting is performed according to the positions of the view projection rule, such as length alignment, height parallel and width equality, with the plane view at the lower position, the vertical view position and the side view position, so that the arrangement between the views is relatively compact but not overlapped, and the attractive and clear effect can be ensured when a user prints on the drawing.
Embodiment two:
fig. 4 is a schematic diagram of an apparatus for automatic labeling and typesetting according to a second embodiment of the present invention.
Referring to fig. 4, the execution body is a cloud server, and the apparatus includes:
an acquisition module 10, configured to acquire 3D cabinet data;
the projection module 20 is configured to project the 3D cabinet data from multiple view directions according to a preset rule, so as to respectively obtain graphic information of the 3D cabinet data in each view;
the acquisition module 30 is used for acquiring annotation information according to preset rules;
the classification module 40 is configured to classify the labeling information to obtain classified labeling information;
the processing module 50 is configured to sort and layer the classified labeling information according to a preset relationship to obtain first labeling information;
an adding module 60, configured to add the first labeling information to the graphics information in each view, so as to obtain labeled graphics information in each view;
the preset rules are rules for view display and/or shielding, and the preset relation comprises end-to-end connection, nesting or interference.
Further, the device further comprises:
and the duplication removal module (not shown) is used for classifying the labeling information after collecting the labeling information according to a preset rule, and carrying out duplication removal processing on the labeling information before obtaining the classified labeling information, so as to obtain the duplication-removed labeling information.
Further, the processing module 50 is further configured to:
the following processing is repeatedly performed until the labeling information of each class is traversed:
acquiring annotation information with preset relation from the annotation information of each type;
sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
and determining the annotation level of the ordered annotation information according to the ordered annotation information.
Further, the device further comprises:
a view range acquisition module (not shown) for acquiring a view range of the marked graphic information in each view;
and the typesetting module (not shown) is used for typesetting the marked graphic information in each view according to the view range and three-view rules to obtain cabinet view information.
The embodiment of the invention provides a method and a device for automatic labeling and typesetting, comprising the following steps: acquiring 3D cabinet data at a cloud server; projecting the 3D cabinet data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet data in each view; collecting labeling information according to a preset rule; classifying the labeling information to obtain classified labeling information; sorting and layering the classified marking information according to a preset relationship to obtain first marking information; respectively adding the first labeling information into the graphical information in each view to obtain labeled graphical information in each view; the preset rules are rules for view display and/or shielding, and the preset relations comprise end-to-end connection, nesting or interference, so that accuracy of design scheme data can be improved, user drawing time is shortened, and drawing efficiency is improved.
The embodiment of the invention also provides electronic equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the automatic labeling and typesetting method provided by the embodiment when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, and when the computer program is run by a processor, the steps of the automatic labeling and typesetting method of the embodiment are executed.
The computer program product provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to perform the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The automatic typesetting labeling method is characterized by being applied to a cloud server, and comprises the following steps:
acquiring three-dimensional 3D cabinet data;
projecting the 3D cabinet body data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet body data in each view;
collecting labeling information according to the preset rule;
classifying the labeling information according to the labeling angle to obtain classified labeling information; the marking angle is an included angle between a connecting line of a starting point and a finishing point of the marking information and an X axis, the range is 0 to 180 degrees, the marking angle is taken as a mode, and if the obtained result is the same or the remainder is within a preset range, the marking information is the marking information of the same type;
sorting and layering the classified marking information according to a preset relationship to obtain first marking information;
respectively adding the first annotation information into the graphic information in each view to obtain the annotated graphic information in each view;
the preset rules are rules for displaying and/or shielding the view, and the preset relation comprises end-to-end connection, nesting or interference.
2. The method for automatic annotation and typesetting according to claim 1, wherein after the acquiring the annotation information according to the preset rule, before the classifying the annotation information to obtain the classified annotation information, the method further comprises:
and performing duplication elimination processing on the labeling information to obtain the duplicated labeling information.
3. The method for automatic annotation and typesetting according to claim 2, wherein the sorting and layering the classified annotation information according to a preset relationship to obtain first annotation information comprises:
the following processing is repeatedly performed until the labeling information of each class is traversed:
acquiring the annotation information with the preset relationship from the annotation information of each type;
sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
and determining the annotation level of the ordered annotation information according to the ordered annotation information.
4. A method of automatically marking and typesetting according to claim 3, wherein the marking information comprises one or more of cabinet length information, cabinet width information, cabinet height information, vertical partition panel void size information, transverse laminate void size information, and door panel size information.
5. A method of automatically annotating a layout as recited in claim 1, further comprising:
acquiring the view range of the marked graphic information in each view;
and typesetting the marked graphic information in each view according to the view range and a three-view rule to obtain cabinet view information.
6. An apparatus for automatically annotating a composition, applied to a cloud server, the apparatus comprising:
the acquisition module is used for acquiring three-dimensional 3D cabinet data;
the projection module is used for projecting the 3D cabinet body data from a plurality of view directions according to a preset rule to respectively obtain the graphic information of the 3D cabinet body data in each view;
the acquisition module is used for acquiring marking information according to the preset rule;
the classification module is used for classifying the labeling information according to the labeling angle to obtain classified labeling information; the marking angle is an included angle between a connecting line of a starting point and a finishing point of the marking information and an X axis, the range is 0 to 180 degrees, the marking angle is taken as a mode, and if the obtained result is the same or the remainder is within a preset range, the marking information is the marking information of the same type; the processing module is used for sorting and layering the classified marking information according to a preset relationship to obtain first marking information;
the adding module is used for respectively adding the first annotation information into the graphic information in each view to obtain the annotated graphic information in each view;
the preset rules are rules for displaying and/or shielding the view, and the preset relation comprises end-to-end connection, nesting or interference.
7. An apparatus for automatically annotating a layout as defined in claim 6, further comprising:
and the duplication removing module is used for classifying the labeling information after the labeling information is acquired according to the preset rule, and carrying out duplication removing processing on the labeling information before the classified labeling information is obtained, so as to obtain the duplicated labeling information.
8. The apparatus for automatically annotating a layout of claim 7, wherein the processing module is further configured to:
the following processing is repeatedly performed until the labeling information of each class is traversed:
acquiring the annotation information with the preset relationship from the annotation information of each type;
sorting the labeling information with the preset relationship according to the labeling length from small to large to obtain sorted labeling information;
and determining the annotation level of the ordered annotation information according to the ordered annotation information.
9. The apparatus for automatic labeling and typesetting according to claim 8, wherein the labeling information comprises one or more of cabinet length information, cabinet width information, cabinet height information, vertical partition plate inner space size information, horizontal laminate plate inner space size information and door panel size information.
10. An apparatus for automatically annotating a layout as defined in claim 6, further comprising:
the view range acquisition module is used for acquiring the view range of the marked graphic information in each view;
and the typesetting module is used for typesetting the marked graphic information in each view according to the view range and three-view rules to obtain cabinet view information.
CN201910170341.6A 2019-03-05 2019-03-05 Automatic labeling typesetting method and device Active CN109920066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910170341.6A CN109920066B (en) 2019-03-05 2019-03-05 Automatic labeling typesetting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910170341.6A CN109920066B (en) 2019-03-05 2019-03-05 Automatic labeling typesetting method and device

Publications (2)

Publication Number Publication Date
CN109920066A CN109920066A (en) 2019-06-21
CN109920066B true CN109920066B (en) 2023-07-18

Family

ID=66963687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910170341.6A Active CN109920066B (en) 2019-03-05 2019-03-05 Automatic labeling typesetting method and device

Country Status (1)

Country Link
CN (1) CN109920066B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598195A (en) * 2019-09-16 2019-12-20 杭州群核信息技术有限公司 Automatic labeling and typesetting method for decoration drawing
CN110610045A (en) * 2019-09-16 2019-12-24 杭州群核信息技术有限公司 Intelligent cloud processing system and method for generating three views by selecting cabinet and wardrobe

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897424A (en) * 2017-02-24 2017-06-27 北京时间股份有限公司 Information labeling system and method
CN108427788A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of plan view mask method and device
CN108509891A (en) * 2018-03-27 2018-09-07 斑马网络技术有限公司 Image labeling method, device, storage medium and electronic equipment
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897424A (en) * 2017-02-24 2017-06-27 北京时间股份有限公司 Information labeling system and method
CN108427788A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of plan view mask method and device
CN108509891A (en) * 2018-03-27 2018-09-07 斑马网络技术有限公司 Image labeling method, device, storage medium and electronic equipment
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model

Also Published As

Publication number Publication date
CN109920066A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN108228183A (en) Front-end interface code generating method, device, electronic equipment and storage medium
CN109920066B (en) Automatic labeling typesetting method and device
US20130176312A1 (en) Systems and methods for three dimensional printing
CN107045526A (en) A kind of pattern recognition method of electronics architectural working drawing
CN103136781B (en) For generating method and the system of three-dimensional virtual scene
CN108108194B (en) User interface editing method and user interface editor
CN102567565B (en) Cable parameter processing method and system utilizing same
CN110838129A (en) Three-dimensional building model contour characteristic line extraction method based on oblique photogrammetry
CN105144195A (en) Parsing and rendering structured images
CN105630801A (en) Method and apparatus for detecting deviated user
CN111444563A (en) Automatic checking method for consistency of building model and design drawing
CN108205566A (en) A kind of method and device being managed based on track to cloud, navigation equipment
CN107423738B (en) Test paper subject positioning method and device based on template matching
US20230045338A1 (en) Data management system, management method, and storage medium
JP6377743B2 (en) Method and apparatus for building an intermediate character library
US20070176924A1 (en) Apparatus, and method for generating analytical model, and recording medium in which program for generating analytical model is stored
CN112256637A (en) File management method and device based on abstract syntax tree and storage medium
CN109934894B (en) CAD (computer-aided design) drawing method and device and computer-readable storage medium
US20140081599A1 (en) Visualizing dimensions and usage of a space
CN111104410A (en) Local road information extraction method and device
CN105677843A (en) Method for automatically obtaining attribute of four boundaries of parcel
CN104156364B (en) Map search result shows method and apparatus
CN105224597A (en) A kind of can by the system and method for the foreign key relationship synthetic image in database
CN107346319B (en) Cross-city reachable library creating method and device
CN104299253A (en) Intelligent rendering method and device for full-high-definition digital film animation

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