A recognition method for high-level annotation of building and structure icons

A geometric and text-based method for identifying elevation marks in building drawings addresses automation limitations, enhancing accuracy and completeness of elevation mark extraction for BIM models.

CN113901541BActive Publication Date: 2024-12-03CHANGSHA FANYI PARAMETER INFORMATION TECH CO LTD
1 Cites 0 Cited by

Patent Information

Application Number
CN202111047967.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2024-12-03
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

Existing methods for converting two-dimensional building drawings to BIM models are limited in automation, unable to recognize non-standardized elevation marks, require manual intervention, and fail to identify 6-line elevations or black triangle elevations, leading to incomplete and inaccurate elevation mark extraction.

Method used

A method for identifying building and structure icon height annotations using geometric shape analysis and text recognition rules, including searching for isosceles triangles and specific text patterns, to accurately and automatically extract elevation marks from architectural drawings.

Benefits of technology

Enhances versatility, reduces calculation complexity, and improves accuracy in recognizing various elevation types, ensuring complete and accurate extraction of elevation information for subsequent BIM modeling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901541B_ABST
    Figure CN113901541B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for identifying elevation marks of building and structural icons, including: searching for elevation graphics, judging graphics that meet all the following conditions as elevation graphics: in a building or structural diagram, searching for two waistlines of equal length, the two waistlines are connected end to end at the same marked point, and the angles between the two waistlines and the horizontal direction are equal, the angles are greater than 30° and less than 60°; the unconnected endpoints on the two waistlines are overlapped with a horizontal line segment; extracting elevation text, when the horizontal line segment in the elevation graphic is above the marked point, searching for a character string within 1.5 times the character height above the horizontal line segment, otherwise, searching for a character string within 1.5 times the character height below the horizontal line segment; then identifying all the searched character strings to identify whether the character strings are elevation text. The method has strong versatility, small calculation amount, and a wider range of mark recognition types, thereby improving the accuracy of elevation mark recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of building information modeling, and more specifically, relates to a method for identifying height annotations of building and structure icons modeled by BIM software. Background Art

[0002] Building Information Modeling (BIM) is a new tool for architecture, engineering and civil engineering. The core of BIM is to establish a virtual three-dimensional model of the building project and use digital technology to provide this model with a complete and actual building project information database. This information database not only contains geometric information, professional attributes and status information describing the building components, but also contains status information of non-component objects (such as space and motion behavior). With the help of this three-dimensional model containing building project information, the degree of information integration of the building project is greatly improved, thereby providing a platform for engineering information exchange and sharing for the relevant stakeholders of the building project. In order to reduce manpower and material resources, it is often necessary to convert the existing two-dimensional image information of the building drawing or structure drawing into BIM three-dimensional information as much as possible to make the BIM model more intuitive and accurate.

[0003] At present, there are several commercial software that can automatically convert CAD drawings into BIM models at home and abroad, such as Egypt's Handaz. These software can more accurately identify components in CAD drawings, but these software require the mold-making personnel to manually select the building components to confirm their layers, and need to enter some parameters such as height and size information. Therefore, the problem with the mold-making software on the market is that the degree of automation is not high; and it can only recognize building floor plans, but cannot recognize elevations with elevation marking information, so some data still needs to be manually entered, and the degree of automation is not high. In addition, although Chinese patent application CN201910252414.6 discloses a method for recognizing elevations that converts building drawings into three-dimensional BIM models, this method has the following defects when used alone in practice:

[0004] 1) This method can only be used to scan the elevation layer of standardized drawing, and is not very versatile. When the elevation text mark is placed in the CAD text layer by mistake, this method cannot recognize and extract the elevation text information;

[0005] 2) In step b23, the coordinates of the layer height information of the axis symbol layer need to be relied upon to check the elevation mark identified in step b22, which results in a large amount of calculation and the elevation mark information in non-standard mapping situations cannot be identified;

[0006] 3) Unable to identify the 6-line elevation or the black triangle elevation on the master plan.

[0007] 4) The identified elevation mark is incomplete. Referring to paragraphs 95-96 of the specification, it can be seen that this method is mainly used to extract the elevation value of the corresponding floor. It does not mention how to extract the suspended annotation line drawn from the annotation point. Therefore, the extracted elevation annotation drawing information is incomplete, which is not conducive to the subsequent removal of the elevation mark information in the building facade drawing.

[0008] Therefore, in view of the shortcomings of the above existing technologies, it is urgent to design a recognition method for high-level annotation of building and structure icons. Summary of the invention

[0009] 1. Technical issues to be resolved

[0010] Based on this, the present invention provides a method for recognizing elevation marks of building and structural icons. The recognition method has strong versatility, small calculation amount, wider mark recognition types, and greatly improves the accuracy of elevation mark recognition.

[0011] (II) Technical solution

[0012] In order to solve the above technical problems, the present invention proposes a method for identifying building and structure icon height annotations, the identification method comprising:

[0013] The elevation graphics search determines the graphics that meet all the following conditions as elevation graphics: in the architectural drawing or structural drawing, search for two waistlines of equal length, the two waistlines are connected end to end at the same marked point, and the angles between the two waistlines and the horizontal direction are equal, and the angles are greater than 30° and less than 60°; the unconnected endpoints of the two waistlines are overlapped with a horizontal line segment; the elevation graphics include the horizontal line segment and the two waistlines;

[0014] Extraction of elevation text: when the horizontal line segment in the elevation graphic is above the marked point, search for the string within 1.5 times the character height above the horizontal line segment; otherwise, search for the string within 1.5 times the character height below the horizontal line segment; then identify all the searched strings to determine whether the string is elevation text.

[0015] Preferably, when the difference between the two waistlines is less than a given threshold, it can be determined that the two waistlines are equal in length.

[0016] Preferably, the subsequent identification of all searched character strings to identify whether the character strings are elevation characters specifically includes:

[0017] Determine whether the string meets the following judgment rules:

[0018] a). The string contains a number with three decimal places;

[0019] b). Special Chinese;

[0020] c). The string contains H or Hs or Hi, and does not contain other alphabetic symbols;

[0021] A character string that meets any of the above rules is identified as elevation text.

[0022] Preferably, when the elevation text searched contains a numerical value with three decimal places, determine whether there is a new character string that also contains a numerical value with three decimal places within a distance range of 1.5 times the height of the searched character string, and then continue to search for other characters based on the new character string until no character string that contains a numerical value with three decimal places is found.

[0023] Preferably, the identification method further comprises:

[0024] Confirm the elevation type, search whether there is a line segment with one endpoint coinciding with the marked point and perpendicular to it, and continue to search whether there is a horizontal line segment connected to each other at the other endpoint of the vertical line segment. If all the above conditions are met, it is marked as a 6-line elevation, and the vertical and horizontal line segments that are perpendicular to each other are included in the elevation graphic; otherwise, it is marked as a 4-line elevation.

[0025] Preferably, when the search continues, if there are no mutually connected horizontal line segments at the other end points of the vertical line segments, the graphic is not an elevation mark, and the identification method ends.

[0026] Preferably, the identification method further comprises:

[0027] The search for the marking line is to search whether there is a horizontal line segment 2 passing through the marking point and with at least one end suspended. If so, the horizontal line segment 2 is classified as the marking line; if not, it means that there is no marking line in the elevation marking.

[0028] Preferably, the special Chinese package in the discrimination rule includes words such as storey height or floor or elevation.

[0029] In another aspect, the present invention also discloses a system for recognizing building and structure icon height markings, comprising:

[0030] at least one processor; and at least one memory in communication with the processor, wherein:

[0031] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute any of the above-mentioned methods for identifying building and structure icon height markings.

[0032] On the other hand, the present invention further discloses a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the method for identifying building and structure icon height annotations as described in any of the above items.

[0033] (III) Beneficial effects

[0034] Compared with the prior art, the beneficial effects of the method for identifying building and structure icon height annotation in the present invention mainly include:

[0035] (1) Strong versatility. The method of the present invention studies the basic drawing rules of elevation marking, and uses the geometric shape of the isosceles triangle as the judgment basis and the rules of the marking text to accurately identify and extract the elevation marking. The method does not need to rely on the elevation layer of the standard drawing, and can be directly applied to the entire building drawing or structural drawing; therefore, it can be applied even when faced with unconventional elevation marks drawn by hand or elevation text marks mistakenly placed in the CAD text layer.

[0036] (2) Small amount of calculation. The method of the present invention completes the identification after identifying all components of the elevation mark at one time, and does not need to rely on auxiliary information such as the layer height of the axis symbol layer to verify the elevation mark.

[0037] (3) The marking recognition types are wider. The method of the present invention can effectively recognize the 6-line elevation or the black triangle elevation of the master plan, and can also recognize the elevation that is not related to the floor height.

[0038] (4) Improve the accuracy of elevation mark recognition. The elevations recognized by this method are complete and intact, and whether the horizontal line of the marked point is part of the elevation mark is effectively identified. Therefore, the lines of other models in the building drawing will not be mistakenly identified and classified into the recognized elevation mark. After extracting the elevation information, the text and curves belonging to the elevation mark can be excluded in the recognition calculation of other objects, thereby improving the accuracy of identifying other objects, thereby laying a better digital foundation for the subsequent BIM modeling and analysis work. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:

[0040] Figure 1 It is a schematic diagram of various elevations in the prior art;

[0041] Figure 2 It is a flow chart of the method for recognizing the high-level marking of building and structure icons in the present invention;

[0042] Figure 3A schematic diagram of a building drawing before the recognition method of the present invention is applied;

[0043] Figure 4 For Figure 3 After the recognition method of the present invention is applied, the architectural drawing without the interference of complete elevation marking is eliminated. DETAILED DESCRIPTION

[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.

[0045] Generally speaking, there are some things to note when marking elevations:

[0046] (1) The outdoor leveling ground elevation symbol on the master plan is a black isosceles right triangle, and the elevation number is written above or to the upper right of the symbol.

[0047] (2) The zero elevation of the main indoor floor in the ground floor plan is written as +0.000. Generally, the elevation below the zero elevation is negative, and the elevation number should be preceded by a "-" sign, such as -0.450. The elevation above the zero elevation is positive, and the "+" sign can be omitted before the elevation number, such as 3.000.

[0048] (3) In the standard floor plan, several elevations can be marked at the same location at the same time.

[0049] (4) The tip of the elevation symbol should point to the marked height position, and the tip can be upward or downward.

[0050] (5)Unit of elevation: meter.

[0051] See also Figure 1 It can be seen from the various elevations in Figures (a) to (h) that the elevation markings are in various forms. The marking point of the tip of the triangle in the elevation can be facing upward or downward, such as Figures (a) to (b); in addition, there may be no marking line or there may be a marking line at the marking point, such as there is no marking line at the marking point in Figures (c) to (e); the elevation text may be letters and numbers, or it may be Chinese, such as Figure (g); in addition, the numbers in the elevation text may be in the form of multiple examples, such as Figure (h), and then the simple tower-style elevation text; it may also be in the form of an interval range, such as Figure (f); and the elevation marking may be as shown in Figure (d), which is uniformly named as 6-line elevation in the present invention, and Figure 1 The other elevations in the are named 4-line elevations.

[0052] Based on the above actual situation and rules, the present invention basically divides the elevation text into the following forms:

[0053] 1. Contains values ​​with three decimal places: absolute elevation. For example: 8.500, (8.500)

[0054] 2. Contains two sets of values ​​with three decimal places and symbols ~: range elevation. For example, 8.500~37.500

[0055] 3. Contains H or Hs or Hi or floor height or floor or elevation, and does not contain other letters, plus signs (+), minus signs (-) and ±: floor building or structure elevation

[0056] 4. Contains H or Hs or Hi, plus sign (+) or minus sign (-) or ±, and a value with three decimal places: relative to the floor building or structure elevation offset height. For example: H+0.050, H-0.100

[0057] 5. Tower, see Figure 1 In Figure (h), when several elevations are marked at the same position in the construction drawing, it means that the detailed drawing or other large-scale drawing of the "same position" is used at several elevations at the same time. This design is a concise and efficient representation method adopted to reduce repeated drawing;

[0058] Based on the above rules, in order to improve the computer's recognition accuracy of elevation text, the present invention divides all the elevation texts into the following three string rules for judgment to determine whether the recognized string is elevation text:

[0059] a). The string contains a number with three decimal places;

[0060] b). Special Chinese;

[0061] c). The string contains H or Hs or Hi, and does not contain other alphabetic symbols.

[0062] A string that meets any of the above three conditions is identified as an elevation text. For example, the string H+0.050 is an elevation text that meets both conditions a) and c); the elevation text of the tower and range must meet condition a), and the vertical and horizontal distances between multiple adjacent strings must be less than 1.5 times the height of the string (or twice the height is also acceptable).

[0063] Based on the above preliminary analysis, the present invention designs a method for recognizing elevation marks of building and structure icons to improve the versatility and integrity of the elevation mark recognition method. Figure 2 As shown, the identification method may include the following steps:

[0064] Step S1: Searching for elevation graphics; a graphic that meets all of the following conditions is judged as an elevation graphic: in a building drawing or a structural drawing, two waistlines of equal length are searched, the two waistlines are connected end to end at the same marked point (the connection point is regarded as the marked point), and the angles between the two waistlines and the horizontal direction are equal, and the angles are greater than 30° and less than 60°; the unconnected endpoints of the two waistlines are overlapped with a horizontal line segment; then it is stipulated that the elevation graphic includes the horizontal line segment and the two waistlines.

[0065] Furthermore, since step S1 is performed in an architectural drawing or structural drawing whose application has been determined, it is also necessary to automatically identify an isosceles triangle in some manually hand-drawn elevation graphics, so when the difference between the two waistlines is less than a given threshold, it can be determined that the lengths are equal, and the given threshold can be 1 mm. After searching the elevation graphics in the above step S1, it can be preliminarily determined that the elevation graphics is an isosceles triangle that basically meets the elevation drawing rules.

[0066] It should be pointed out that since only the unconnected endpoints on the two waistlines are limited to overlap with another horizontal line segment, the position of the horizontal line segment relative to the base of the isosceles triangle is not limited. This is mainly to be able to effectively identify the two types of elevation figures (c) and (d) in Figure (1). Among them, the horizontal line segment in Figure (c) extends out of the base of the isosceles triangle, while the horizontal line segment in Figure (d) does not extend out of the base of the isosceles triangle. These two figures based on the isosceles triangle are both elevation figures.

[0067] Step S2: Confirmation of elevation type; search whether there is a line segment with one end point coinciding with the marked point and being perpendicular, and continue to search whether there is a horizontal line segment connected to each other at the other end point of the vertical line segment. If all the above conditions are met, it is marked as a 6-line elevation, and the vertical line segment and the horizontal line segment that are perpendicular to each other are included in the elevation graph; otherwise, it is marked as a 4-line elevation;

[0068] like Figure 1 As shown in Figure (d) in the figure, the pattern is a 6-line elevation. The 6-line elevation is a commonly used mark type in elevation, just like the commonly used 4-line elevation. Therefore, the 6-line elevation can also be effectively identified through step S2. In addition, when continuing to search, if it is found that there is no horizontal line segment connected to the vertical line segment, then the figure is not an elevation mark, and the identification method ends.

[0069] It is worth mentioning that step S2 is not fixed and necessary. The confirmation of the elevation type in step S2 can also be further identified based on the elevation graph in step S1 to expand the identification to more elevation types. In addition, step S2 can also be removed as appropriate, so that only the basic 4-line elevation is identified to further reduce the amount of calculation.

[0070] Step S3: Extracting elevation text; when the horizontal line segment in the elevation graphic is above the marked point, searching for a character string within 1.5 times the character height above the horizontal line segment, otherwise, searching for a character string within 1.5 times the character height below the horizontal line segment; then identifying all the searched character strings to identify whether the character strings are elevation text;

[0071] Furthermore, the above “then identifying all searched character strings to identify whether the character strings are elevation characters” specifically includes:

[0072] Determine whether the string satisfies the following rules:

[0073] a). Numbers with three decimal places after the decimal point;

[0074] b). Special Chinese (including floor height or floor or elevation);

[0075] c). Contains the letters H or Hs or Hi, and no other letters;

[0076] A character string that meets any of the above three rules is identified as elevation text.

[0077] In addition, in order to further identify the elevation text of the tower or range, when the elevation text searched contains a value with three decimal places, it is also determined whether there is a new character string containing a value with three decimal places within a distance range of 1.5 times the height of the searched character string (including the horizontal and vertical distances), and then other character strings are searched based on the new character string until no character string containing a value with three decimal places is found, and finally all the searched character strings are uniformly classified and marked as elevation text corresponding to the elevation graphic.

[0078] Step S4: Searching for the marking line; searching whether there is a horizontal line segment 2 passing through the marking point and with one end hanging in the air, if so, classifying the horizontal line segment 2 as the marking line; if not, no operation is performed, which means that there is no marking line in the elevation marking, such as Figure 1 This is shown in the situations in Figures (c), (d) and (e).

[0079] It is worth mentioning that after identifying the annotation lines, the elevation annotations identified by this method are complete and will not affect the extraction and display of other information in the architectural drawing. The present invention can effectively identify whether the horizontal line passing through the annotation point is part of the elevation annotation, and will not mistakenly identify the line parts of other models in the architectural drawing into the identified elevation marks.

[0080] like Figure 3The figure shows a schematic diagram of a building drawing before the recognition method of the present invention is applied. In the figure, the horizontal line segments below the elevation marks at 101.900 and 101.200 are not actually part of the elevation graphic (they do not conform to a closed horizontal line with at least one end not hanging in the air, and the horizontal line is part of the building information graphic, and the color is generally different from the elevation graphic). If they are mistakenly classified as part of the elevation mark, then the building drawing obtained by excluding the interference of the complete elevation mark will inevitably make the top horizontal line information of the building incomplete, that is, it is impossible to obtain the above-mentioned Figure 4 The architectural drawing model after applying the method of the present invention. Therefore, it can be seen that after extracting the elevation information, the method of the present invention eliminates the interference of elevation marking on the analysis of the architectural model, thereby laying a better digital foundation for the subsequent BIM three-dimensional modeling and analysis work.

[0081] After executing the above steps S1-S4, the extracted elevation graphics, elevation types, elevation texts and annotation lines can be classified into the same elevation annotation to complete the recognition of elevation information.

[0082] also, Figure 2 The execution order of steps S1-S4 shown in it is only one of the optimal execution orders. The order of the recognition method of the present invention can be varied. For example, steps S2 and S4 can be chosen not to be executed according to actual conditions, and step S4 can be executed immediately after step S1 is executed, or executed in parallel with steps S2-S3, without having to wait until the elevation type and elevation text are identified before searching for the annotation line.

[0083] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0084] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. The steps of the method or algorithm described in the embodiments disclosed herein can be directly implemented with a software module executed by a hardware or processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0085] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for identifying building and structure icon height markings, characterized in that: The identification method includes: The elevation graphics search determines the graphics that meet all the following conditions as elevation graphics: in the architectural drawing or structural drawing, search for two waistlines of equal length. When the difference between the two waistlines is less than a given threshold, the lengths can be determined to be equal. The two waistlines are connected end to end at the same marked point, and the angles between the two waistlines and the horizontal direction are equal, and the angles are greater than 30° and less than 60°; the unconnected endpoints of the two waistlines are overlapped with a horizontal line segment; the elevation graphics include the horizontal line segment and the two waistlines; Confirmation of elevation type, search whether there is a line segment with one endpoint coinciding with the marked point and being perpendicular, and continue to search whether there is a horizontal line segment connected to each other at the other endpoint of the vertical line segment. If all the above conditions are met, it is marked as a 6-line elevation, and the vertical line segment and the horizontal line segment that are perpendicular to each other are included in the elevation graph. When continuing to search, if there is no horizontal line segment connected to each other at the other endpoint of the vertical line segment, the graph is not an elevation mark, and the identification method ends; otherwise, it is marked as a 4-line elevation; Extraction of elevation text: when the horizontal line segment in the elevation graphic is above the marked point, search for a character string within 1.5 times the character string height above the horizontal line segment; otherwise, search for a character string within 1.5 times the character string height below the horizontal line segment; then identify all searched character strings to identify whether the character string is elevation text; when the searched elevation text contains a numerical value with three decimal places, determine whether there is a new character string that also meets the condition of containing a numerical value with three decimal places within a distance range of 1.5 times the character string height of the searched character string, and then continue to search for other character strings based on the new character string until no character string containing a numerical value with three decimal places is found; The subsequent identification of all searched character strings to identify whether the character strings are elevation characters specifically includes: Determine whether the string meets the following judgment rules: a). The string contains a number with three decimal places; b). Special Chinese; c). The string contains H or Hs or Hi, and does not contain other letters; The character string that meets one of the above three rules is judged as elevation text; the special Chinese characters in the judgment rules include floor height or floor or elevation; The search for the marking line includes searching whether there is a second horizontal line segment passing through the marking point and having at least one end suspended. If so, the second horizontal line segment is classified as the marking line; if not, it indicates that there is no marking line in the elevation marking.

2. A building and structure icon height marking recognition system, characterized in that: include: at least one processor; and at least one memory in communication with the processor, wherein: The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method for recognizing building and structure icon height markings as claimed in claim 1.

3. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method for recognizing building and structure icon height annotations as claimed in claim 1.

Citation Information

Patent Citations

  • A method for recognizing elevation views in architectural drawings converted into 3D BIM models.

    CN109993827B