CN111738116A - Method and device for identifying board hole area, computer equipment and readable storage medium - Google Patents

Method and device for identifying board hole area, computer equipment and readable storage medium Download PDF

Info

Publication number
CN111738116A
CN111738116A CN202010524837.1A CN202010524837A CN111738116A CN 111738116 A CN111738116 A CN 111738116A CN 202010524837 A CN202010524837 A CN 202010524837A CN 111738116 A CN111738116 A CN 111738116A
Authority
CN
China
Prior art keywords
line
area
plate hole
type
slab
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.)
Granted
Application number
CN202010524837.1A
Other languages
Chinese (zh)
Other versions
CN111738116B (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.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202010524837.1A priority Critical patent/CN111738116B/en
Publication of CN111738116A publication Critical patent/CN111738116A/en
Application granted granted Critical
Publication of CN111738116B publication Critical patent/CN111738116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method, a device, computer equipment and a readable storage medium for identifying a board hole area, wherein the method comprises the following steps: acquiring a ply map to be identified; identifying a hole signature line contained in the ply map; identifying wall lines, beam lines and column lines contained in the ply map; determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line; the method can efficiently and accurately identify the plate hole area in the CAD plate layer drawing.

Description

Method and device for identifying board hole area, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of image recognition technologies, and in particular, to a method and an apparatus for recognizing a board hole area, a computer device, and a readable storage medium.
Background
In the field of construction, drawing rollover refers to three-dimensional modeling of CAD engineering drawings of designers; due to the openness of CAD drawing, no powerful drawing specifications are used for restricting the detailed design of designers, and only some rules commonly called as conventions exist, but the rules are not enough for guiding the smooth implementation of the die rollover process.
Various plate hole areas exist in a plate layer diagram of a CAD structural design drawing, the plate hole areas are small areas which are deducted on a plate in actual construction, the plate hole areas are mainly used for stairs or various purposes of adapting to buildings, and the plate hole areas in the plate layer diagram need to be accurately determined in the process of rollover; in the existing board hole area identification mode, the board hole area is uniformly identified as a rectangular area, but in practical application, as the business expression of a drawing designer to a board hole line increases, a simple rectangular area cannot well represent the board hole area, and a non-rectangular board hole area exists. Therefore, how to quickly and accurately identify the non-rectangular hole areas in the slab map has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method, a device, computer equipment and a readable storage medium for identifying a plate hole area, which can efficiently and accurately identify the plate hole area in a CAD (computer-aided design) plate layer diagram.
According to an aspect of the present invention, there is provided a method of identifying a board hole area, the method comprising:
acquiring a ply map to be identified;
identifying a hole signature line contained in the ply map;
identifying wall lines, beam lines and column lines contained in the ply map;
and determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line.
Optionally, the identifying a characteristic line of a slab hole included in the slab layer diagram specifically includes:
identifying all line segments in the ply map;
clustering the line segments with the same color in the ply diagram to form a color line segment group;
in each color line segment group, dividing intersected X-shaped line segments into a line segment group and dividing line segments with head-tail connection relation into a line segment group;
extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
Optionally, the determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line specifically includes:
and when the plate hole characteristic line is a cross line type plate hole characteristic line, connecting all end points of the cross line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
Optionally, the determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line specifically includes:
when the plate hole characteristic line is a broken line type plate hole characteristic line, judging whether the broken line type plate hole characteristic line can form a closed first area or not; if so, determining a plate hole area according to the position relation between the first area and the wall line, the beam line and the column line; if not, determining the plate hole area according to the position relation of the broken line type plate hole characteristic line and the wall line, the beam line and the column line.
Optionally, the determining a slab cavity region according to the position relationship between the first region and the wall line, the beam line and the column line specifically includes:
judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to a wall line, a beam line and a column line around the first area, wherein the second area is a convex polygon and is set as a plate hole area; and if not, setting the first area as a plate hole area.
Optionally, the determining the plate hole area according to the position relationship between the characteristic line of the broken line type plate hole and the wall line, the beam line and the column line specifically includes:
determining a closed area containing the characteristic line of the broken line type plate hole according to the wall line, the beam line and the column line around the characteristic line of the broken line type plate hole;
judging whether each end point of the broken line type board hole characteristic line is positioned at the vertex of the closed area, if so, setting the closed area as a board hole area; if not, forming a rectangular area according to each end point of the broken line type plate hole characteristic line, and setting an overlapping area of the rectangular area and the closed area as a plate hole area.
In order to achieve the above object, the present invention also provides an apparatus for identifying a plate hole region, the apparatus comprising:
the acquisition module is used for acquiring a slab map to be identified;
a first identification module for identifying a hole characteristic line contained in the ply map;
a second identification module for identifying wall lines, beam lines and column lines included in the slab map;
and the determining module is used for determining the slab hole area in the slab layer diagram according to the slab hole characteristic line, the wall line, the beam line and the column line.
Optionally, the first identification module is specifically configured to:
identifying all line segments in the ply map;
clustering the line segments with the same color in the ply diagram to form a color line segment group;
in each color line segment group, dividing intersected X-shaped line segments into a line segment group and dividing line segments with head-tail connection relation into a line segment group;
extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
In order to achieve the above object, the present invention further provides a computer device, which specifically includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above-described steps of the method of identifying a plate hole area when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the above-mentioned steps of the method of identifying a plate hole region.
According to the method, the device, the computer equipment and the readable storage medium for identifying the board hole area, provided by the invention, whether the board hole is attached to the whole board area or part of the board area is determined according to the position relation between the board hole characteristic line and the column line, the wall line and the beam line around the board hole characteristic line, and the specific shape of the board hole area is judged. Specifically, the line segments in the plate layer diagram are clustered firstly, the type of the plate hole characteristic line is determined according to the extracted line segment characteristics, and finally the column line, the wall line and the beam line are combined to determine the plate hole area, so that the technical problem of inaccurate plate hole identification in the prior art is solved, and the identified plate hole area is closer to the design thought of designers.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of an alternative method for identifying a plate hole area according to an embodiment;
FIG. 2 is an alternative diagram of a ply view to be identified in accordance with one embodiment;
FIG. 3 is an alternative diagram illustrating the determination of the plate hole area according to the cross-line-like plate hole feature line in the first embodiment;
FIG. 4 is an alternative diagram of determining a plate hole area according to the first area in the first embodiment;
FIG. 5 is an alternative diagram of determining a plate hole area according to the first area in the first embodiment;
FIG. 6 is an alternative schematic diagram of determining a plate hole area according to a characteristic line of a broken line type plate hole in the first embodiment;
FIG. 7 is an alternative schematic diagram of determining a plate hole area according to a characteristic line of a broken line type plate hole in the first embodiment;
FIG. 8 is a schematic diagram of an alternative structure of the apparatus for identifying a plate hole area according to the second embodiment;
fig. 9 is a schematic diagram of an alternative hardware architecture of the computer device according to the third embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a method for identifying a plate hole area, which specifically comprises the following steps as shown in figure 1:
step S101: and acquiring a slab map to be identified.
Wherein, as shown in fig. 2, the ply diagram includes: the wall line 201 of the characterization wall body, the characteristic line 202 of the board hole of the characterization board hole region, reinforcing bar line 203, in addition, can also include in the slab chart: a beam line characterizing the beam body and a column line characterizing the column body.
Step S102: identifying a hole signature line contained in the ply map; wherein, the plate hole characteristic line includes: the cross line type plate hole characteristic line and the broken line type plate hole characteristic line.
In the building field, the design forms of the plate holes are mainly two, one is a cross line type, and the other is a broken line type; the cross line type is used for representing the hollow of the whole plate area, and the broken line type is used for representing the local plate hole, namely, a part of one plate is scratched.
Specifically, step S102 includes:
step A1: all line segments in the ply map are identified.
Step A2: and clustering the line segments with the same color in the ply diagram to form a color line segment group.
Step A3: in each color line segment group, intersecting line segments in an X shape are divided into a line segment group, and line segments having an end-to-end connection relationship are divided into a line segment group.
In the embodiment, clustering and grouping the line segments in the ply graph according to the color of the line segments and whether the line segments form two dimensions of a connecting line; the line segment color refers to a layer given by a CAD designer during initial design, and lines with different purposes are usually distinguished by different colors, for example, a wall line is set to be yellow, a beam line is set to be red, and a plate hole characteristic line is set to be blue; the connecting lines refer to lines crossing each other or connected to each other.
Step A4: extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
preferably, the line segment features include: the number of line segments, the positions of intersection points, the size of included angles and the length proportion of the line segments;
in this embodiment, the feature vectors of the segment group are formed by the above 4 segment features, and the classification rules that can infer the cross-line type, the broken-line type, and the invalid type are determined according to the statistical results of a large amount of historical data, so as to attach the plate hole type to the segment group. The classification rule is a preset plate hole type used for determining the line segment group; for example, a cross-line type segment set typically has the following segment characteristics: the number of the line segments is 2, the intersection points are positioned at the midpoint of the line segments, and the proportion of the line segments is 1: 1; as another example, a set of line segments of the polyline type typically has the following line segment characteristics: the number of line segments is 2, 4 or 6, the intersection points connect a plurality of line segments, and an included angle of 120 degrees exists.
Step A5: and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
In this embodiment, when the plate hole type of the line segment group is a cross line type, all line segments in the line segment group may form a cross line type plate hole characteristic line; when the plate hole type of the line segment group is a broken line type, all line segments in the line segment group can form a broken line type plate hole characteristic line; when the plate hole type of the line segment group is an invalid type, all the line segments in the line segment group cannot form a plate hole characteristic line.
Step S103: wall lines, beam lines, and column lines included in the ply map are identified.
Step S104: and determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line.
Specifically, as shown in fig. 3, step S104 includes:
and when the plate hole characteristic line is a cross line type plate hole characteristic line, connecting all end points of the cross line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
Step S104, further includes:
when the plate hole characteristic line is a broken line type plate hole characteristic line, judging whether the broken line type plate hole characteristic line can form a closed first area or not; if so, determining a plate hole area according to the position relation between the first area and the wall line, the beam line and the column line; if not, determining the plate hole area according to the position relation of the broken line type plate hole characteristic line and the wall line, the beam line and the column line.
Further, the determining a slab cavity area according to the position relationship between the first area and the wall line, the beam line and the column line specifically includes:
judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to a wall line, a beam line and a column line around the first area, wherein the second area is a convex polygon and is set as a plate hole area; and if not, setting the first area as a plate hole area.
As shown in fig. 4, when the first region is not a concave polygon, that is, the first region is a convex polygon, the first region is set as a plate hole region, that is, the plate hole region can be obtained according to a closed region surrounded by plate hole characteristic lines without depending on any wall line, beam line, and column line. However, when the first region is a concave polygon, if the first region is directly set as a plate hole region without referring to a wall line, a beam line, and a column line, an erroneous plate hole region may be formed; because the designer will express a complete plate hole area by means of wall lines, beam lines and column lines when designing. As shown in fig. 5, a broken line type plate hole characteristic line in a concave quadrilateral shape is shown, and the rest plate hole regions can be made up according to the wall line, the beam line and the column line around the broken line type plate hole characteristic line, so that a correct and complete plate hole region is formed.
Further, according to the position relation between the characteristic line of the broken line type plate hole and the wall line, the beam line and the column line, a plate hole area is determined, and the method specifically comprises the following steps:
step B1: determining a closed area containing the characteristic line of the broken line type plate hole according to the wall line, the beam line and the column line around the characteristic line of the broken line type plate hole;
step B2: judging whether each end point of the broken line type board hole characteristic line is positioned at the vertex of the closed area, if so, setting the closed area as a board hole area; if not, forming a rectangular area according to each end point of the broken line type plate hole characteristic line, and setting an overlapping area of the rectangular area and the closed area as a plate hole area.
In the prior art, aiming at a broken line type plate hole characteristic line, a rectangle is formed according to two end points of the broken line type plate hole characteristic line, and the rectangle is used as a plate hole area; however, for the broken line type plate hole characteristic line shown in fig. 6, since the closed region including the broken line type plate hole characteristic line is not rectangular (trapezoidal), if the conventional method for determining the plate hole region is adopted, the plate hole region cannot be determined accurately; therefore, in this embodiment, when each end point of the characteristic line of the broken line type board hole is located at the vertex of the closed area, the closed area is taken as the board hole area corresponding to the characteristic line of the broken line type board hole; in addition, for the characteristic line of the broken line type board hole as shown in fig. 7, the designer intends to use the triangular region containing the characteristic line of the broken line type board hole as the board hole region, and if the existing mode of determining the board hole region is adopted, the board hole region cannot be determined accurately; therefore, in the present embodiment, when any end point of the broken line type plate hole characteristic line is not located at the vertex of the closed region, a rectangular region is formed according to each end point of the broken line type plate hole characteristic line, and an overlapping region of the rectangular region and an irregular closed region surrounded by a wall line, a beam line and a column line is set as the plate hole region.
In this embodiment, the line segments in the slab diagram are clustered, the line segment characteristics are extracted, and the type of the line segments is identified, so that the technical problem of inaccurate plate hole identification in the prior art is solved, and the identified plate hole area is closer to the design thought of designers. In this embodiment, whether the board hole is attached to the whole board region or a partial board region is determined according to the positional relationship between the characteristic line of the board hole and the surrounding pillar line, wall line and beam line, and the specific shape of the board hole region is determined.
Example two
The embodiment of the invention provides a device for identifying a plate hole area, which specifically comprises the following components as shown in fig. 8:
1) an obtaining module 801, configured to obtain a slab map to be identified.
Wherein, in the ply map, comprises: the wall line of the characterization wall body, the roof beam line of the characterization roof beam body, the column line of the characterization cylinder and the board hole characteristic line of the regional board hole of characterization.
2) A first identification module 802 for identifying a hole signature line contained in the ply map; wherein, the plate hole characteristic line includes: the cross line type plate hole characteristic line and the broken line type plate hole characteristic line.
In the building field, the design forms of the plate holes are mainly two, one is a cross line type, and the other is a broken line type; the cross line type is used for representing the hollow of the whole plate area, and the broken line type is used for representing the local plate hole, namely, a part of one plate is scratched.
Specifically, the first identifying module 802 is specifically configured to:
identifying all line segments in the ply map;
clustering the line segments with the same color in the ply diagram to form a color line segment group;
in each color line segment group, dividing intersected X-shaped line segments into a line segment group and dividing line segments with head-tail connection relation into a line segment group;
extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
Preferably, the line segment features include: the number of line segments, the positions of intersection points, the size of included angles and the length proportion of the line segments; in this embodiment, the feature vectors of the segment group are formed by the above 4 segment features, and the classification rules that can infer the cross-line type, the broken-line type, and the invalid type are determined according to the statistical results of a large amount of historical data, so as to attach the plate hole type to the segment group. The classification rule is a preset plate hole type used for determining the line segment group; for example, a cross-line type segment set typically has the following segment characteristics: the number of the line segments is 2, the intersection points are positioned at the midpoint of the line segments, and the proportion of the line segments is 1: 1; as another example, a set of line segments of the polyline type typically has the following line segment characteristics: the number of line segments is 2, 4 or 6, the intersection points connect a plurality of line segments, and an included angle of 120 degrees exists.
In this embodiment, when the plate hole type of the line segment group is a cross line type, all line segments in the line segment group may form a cross line type plate hole characteristic line; when the plate hole type of the line segment group is a broken line type, all line segments in the line segment group can form a broken line type plate hole characteristic line; when the plate hole type of the line segment group is an invalid type, all the line segments in the line segment group cannot form a plate hole characteristic line.
3) A second identifying module 803 for identifying wall lines, beam lines and column lines included in the slab map.
4) A determining module 804, configured to determine a slab cavity area in the slab layer diagram according to the slab cavity characteristic line and the wall line, the beam line, and the column line.
Specifically, the determining module 804 is configured to:
and when the plate hole characteristic line is a cross line type plate hole characteristic line, connecting all end points of the cross line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
Further, the determining module 804 is further configured to:
when the plate hole characteristic line is a broken line type plate hole characteristic line, judging whether the broken line type plate hole characteristic line can form a closed first area or not; if so, determining a plate hole area according to the position relation between the first area and the wall line, the beam line and the column line; if not, determining the plate hole area according to the position relation of the broken line type plate hole characteristic line and the wall line, the beam line and the column line.
Further, the determining module 804 is specifically configured to, when the function of determining the plate hole area according to the position relationship between the first area and the wall line, the beam line, and the column line is implemented:
judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to a wall line, a beam line and a column line around the first area, wherein the second area is a convex polygon and is set as a plate hole area; and if not, setting the first area as a plate hole area.
Further, the determining module 804 is specifically configured to, when the function of determining the plate hole area according to the position relationship between the characteristic line of the broken line type plate hole and the wall line, the beam line, and the column line is implemented:
determining a closed area containing the characteristic line of the broken line type plate hole according to the wall line, the beam line and the column line around the characteristic line of the broken line type plate hole;
judging whether each end point of the broken line type board hole characteristic line is positioned at the vertex of the closed area, if so, setting the closed area as a board hole area; if not, forming a rectangular area according to each end point of the broken line type plate hole characteristic line, and setting an overlapping area of the rectangular area and the closed area as a plate hole area.
EXAMPLE III
The embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. As shown in fig. 9, the computer device 90 of the present embodiment includes at least but is not limited to: a memory 901 and a processor 902 communicatively coupled to each other via a system bus. It is noted that FIG. 9 only shows the computer device 90 having components 901 and 902, but it is understood that not all of the shown components are required and that more or fewer components may be implemented instead.
In this embodiment, the memory 901 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 901 may be an internal storage unit of the computer device 90, such as a hard disk or a memory of the computer device 90. In other embodiments, the memory 901 may also be an external storage device of the computer device 90, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 90. Of course, the memory 901 may also include both internal and external storage devices for the computer device 90. In the present embodiment, the memory 901 is generally used for storing an operating system and various types of application software installed in the computer device 90. Further, the memory 901 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 902 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 902 is typically used to control the overall operation of the computer device 90.
Specifically, in this embodiment, the processor 902 is configured to execute a program of a method for identifying a board hole area stored in the processor 902, and the program of the method for identifying a board hole area implements the following steps when executed:
acquiring a ply map to be identified;
identifying a hole signature line contained in the ply map;
identifying wall lines, beam lines and column lines contained in the ply map;
and determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line.
The specific embodiment process of the above method steps can be referred to in the first embodiment, and the detailed description of this embodiment is not repeated here.
Example four
The present embodiments also provide a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., having stored thereon a computer program that when executed by a processor implements the method steps of:
acquiring a ply map to be identified;
identifying a hole signature line contained in the ply map;
identifying wall lines, beam lines and column lines contained in the ply map;
and determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line.
The specific embodiment process of the above method steps can be referred to in the first embodiment, and the detailed description of this embodiment is not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of identifying a board hole area, the method comprising:
acquiring a ply map to be identified;
identifying a hole signature line contained in the ply map;
identifying wall lines, beam lines and column lines contained in the ply map;
and determining a slab hole area in the slab layer diagram according to the slab hole characteristic line and the wall line, the beam line and the column line.
2. The method for identifying a board hole area according to claim 1, wherein the identifying of the board hole characteristic lines included in the board layer diagram specifically comprises:
identifying all line segments in the ply map;
clustering the line segments with the same color in the ply diagram to form a color line segment group;
in each color line segment group, dividing intersected X-shaped line segments into a line segment group and dividing line segments with head-tail connection relation into a line segment group;
extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
3. The method for identifying a slab hole area according to claim 1, wherein the determining the slab hole area in the slab layer map according to the slab hole characteristic line and the wall line, the beam line and the column line specifically comprises:
and when the plate hole characteristic line is a cross line type plate hole characteristic line, connecting all end points of the cross line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
4. The method for identifying a slab hole area according to claim 1, wherein the determining the slab hole area in the slab layer map according to the slab hole characteristic line and the wall line, the beam line and the column line specifically comprises:
when the plate hole characteristic line is a broken line type plate hole characteristic line, judging whether the broken line type plate hole characteristic line can form a closed first area or not; if so, determining a plate hole area according to the position relation between the first area and the wall line, the beam line and the column line; if not, determining the plate hole area according to the position relation of the broken line type plate hole characteristic line and the wall line, the beam line and the column line.
5. The method according to claim 4, wherein the determining a slab cavity region according to the position relationship between the first region and the wall line, the beam line and the column line comprises:
judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to a wall line, a beam line and a column line around the first area, wherein the second area is a convex polygon and is set as a plate hole area; and if not, setting the first area as a plate hole area.
6. The method for identifying a board hole area according to claim 4, wherein the determining the board hole area according to the position relationship between the broken line type board hole characteristic line and the wall line, the beam line and the column line specifically comprises:
determining a closed area containing the characteristic line of the broken line type plate hole according to the wall line, the beam line and the column line around the characteristic line of the broken line type plate hole;
judging whether each end point of the broken line type board hole characteristic line is positioned at the vertex of the closed area, if so, setting the closed area as a board hole area; if not, forming a rectangular area according to each end point of the broken line type plate hole characteristic line, and setting an overlapping area of the rectangular area and the closed area as a plate hole area.
7. An apparatus for identifying a board hole area, the apparatus comprising:
the acquisition module is used for acquiring a slab map to be identified;
a first identification module for identifying a hole characteristic line contained in the ply map;
a second identification module for identifying wall lines, beam lines and column lines included in the slab map;
and the determining module is used for determining the slab hole area in the slab layer diagram according to the slab hole characteristic line, the wall line, the beam line and the column line.
8. An apparatus for identifying a plate hole area according to claim 7, wherein the first identification module is specifically configured to:
identifying all line segments in the ply map;
clustering the line segments with the same color in the ply diagram to form a color line segment group;
in each color line segment group, dividing intersected X-shaped line segments into a line segment group and dividing line segments with head-tail connection relation into a line segment group;
extracting line segment characteristics from each line segment group respectively, and determining the plate hole type of each line segment group by using a preset classification rule according to the line segment characteristics of each line segment group; wherein the plate hole types include: a cross-line type, a polyline type, and an invalid type;
and forming the line segments in the line segment group of the cross line type into cross line type plate hole characteristic lines, and forming the line segments in the line segment group of the broken line type into broken line type plate hole characteristic lines.
9. A computer device, the computer device comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010524837.1A 2020-06-10 2020-06-10 Method, device, computer equipment and readable storage medium for identifying plate hole area Active CN111738116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010524837.1A CN111738116B (en) 2020-06-10 2020-06-10 Method, device, computer equipment and readable storage medium for identifying plate hole area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010524837.1A CN111738116B (en) 2020-06-10 2020-06-10 Method, device, computer equipment and readable storage medium for identifying plate hole area

Publications (2)

Publication Number Publication Date
CN111738116A true CN111738116A (en) 2020-10-02
CN111738116B CN111738116B (en) 2024-03-29

Family

ID=72648728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010524837.1A Active CN111738116B (en) 2020-06-10 2020-06-10 Method, device, computer equipment and readable storage medium for identifying plate hole area

Country Status (1)

Country Link
CN (1) CN111738116B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08155894A (en) * 1994-12-07 1996-06-18 Takeuchi Seisakusho:Kk Printed circuit board hole position and hole diameter inspection machine
CN107704703A (en) * 2017-10-19 2018-02-16 广州中建亿信科技有限公司 A kind of construction method of civil engineering BIM quantities models
CN108229073A (en) * 2018-02-09 2018-06-29 广州大学 Balcony automatic identifying method based on architectural drawing
CN108268862A (en) * 2018-02-09 2018-07-10 广州大学 Door and window automatic identifying method based on architectural drawing
CN109472084A (en) * 2018-11-05 2019-03-15 长沙远大住工智能科技有限公司 Assembled architecture design method and system, computer equipment and storage medium
CN109685019A (en) * 2018-12-27 2019-04-26 福建省晨曦信息科技股份有限公司 A kind of component identification method, electronic equipment and storage medium
CN109815568A (en) * 2019-01-10 2019-05-28 中国建筑第七工程局有限公司 A method of protective device is added based on the model automatic identification hole BIM
CN110544298A (en) * 2019-08-29 2019-12-06 中国南方电网有限责任公司 transformer substation modeling method and device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08155894A (en) * 1994-12-07 1996-06-18 Takeuchi Seisakusho:Kk Printed circuit board hole position and hole diameter inspection machine
CN107704703A (en) * 2017-10-19 2018-02-16 广州中建亿信科技有限公司 A kind of construction method of civil engineering BIM quantities models
CN108229073A (en) * 2018-02-09 2018-06-29 广州大学 Balcony automatic identifying method based on architectural drawing
CN108268862A (en) * 2018-02-09 2018-07-10 广州大学 Door and window automatic identifying method based on architectural drawing
CN109472084A (en) * 2018-11-05 2019-03-15 长沙远大住工智能科技有限公司 Assembled architecture design method and system, computer equipment and storage medium
CN109685019A (en) * 2018-12-27 2019-04-26 福建省晨曦信息科技股份有限公司 A kind of component identification method, electronic equipment and storage medium
CN109815568A (en) * 2019-01-10 2019-05-28 中国建筑第七工程局有限公司 A method of protective device is added based on the model automatic identification hole BIM
CN110544298A (en) * 2019-08-29 2019-12-06 中国南方电网有限责任公司 transformer substation modeling method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BALTEJ SINGHRUPAL ET AL: "A Reverse CAD Approach for Estimating Geometric and Mechanical Behavior of FDM Printed Parts", 《PROCEDIA MANUFACTURING》 *
刘纲等: "基于BIM的智能化算量——以输变电土建工程为例", 《土木工程与管理学报》 *

Also Published As

Publication number Publication date
CN111738116B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US20190384866A1 (en) Systems and Methods for Improved Parametric Modeling of Structures
CN114565703A (en) Method, device and equipment for adjusting centralized labeling and readable storage medium
CN111814283B (en) Method and device for calculating engineering quantity of spray pipeline, storage medium and computer equipment
CN113763541B (en) Method and equipment for calculating longitudinal ribs in column and readable storage medium
CN114581639A (en) Method for generating information of beam steel bars in BIM (building information modeling) model based on beam leveling construction drawing
CN111523531B (en) Word processing method, word processing device, electronic equipment and computer readable storage medium
CN113033497A (en) Lane line recognition method, device, equipment and computer-readable storage medium
CN113821860B (en) Method, device, equipment and storage medium for determining break point on steel bar graphic element
CN114445844A (en) Plate member identification method, device, equipment and storage medium
CN111738116B (en) Method, device, computer equipment and readable storage medium for identifying plate hole area
CN112966330A (en) Wall surface generation method of crossed wall body, computer equipment and readable storage medium
CN111913777A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113722807B (en) Method, device and equipment for calculating steel bar patterns and sizes at beam ends
CN111753349A (en) Dimension modification method of structural member, Revit platform and storage medium
CN115623211A (en) Matrix scanning method and device
CN116343251A (en) Building drawing identification method and system based on AI building identification chart
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN113051639B (en) Stirrup and lacing wire identification method, computer equipment and readable storage medium
CN111783180B (en) Drawing splitting method and related device
CN113963082A (en) Processing method and device of line type primitive, computer equipment and readable storage medium
CN112861241B (en) Method, device and equipment for expanding conical tube and readable storage medium
CN113919027A (en) Component adjustment method and device in BIM (building information modeling) model, computer equipment and storage medium
CN113026457A (en) Road construction segment determining method and determining device
CN114387604A (en) Paper invoice information extraction method and device
CN112906572B (en) Identification method and identification device for vertical section in construction drawing

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