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

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

Info

Publication number
CN111738116B
CN111738116B CN202010524837.1A CN202010524837A CN111738116B CN 111738116 B CN111738116 B CN 111738116B CN 202010524837 A CN202010524837 A CN 202010524837A CN 111738116 B CN111738116 B CN 111738116B
Authority
CN
China
Prior art keywords
line
area
plate hole
type
hole characteristic
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
CN202010524837.1A
Other languages
Chinese (zh)
Other versions
CN111738116A (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

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

Abstract

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

Description

Method, device, computer equipment and readable storage medium for identifying plate hole area
Technical Field
The present invention relates to the field of image recognition technologies, and in particular, to a method, an apparatus, a computer device, and a readable storage medium for recognizing a hole area.
Background
In the building field, drawing turning refers to three-dimensional modeling of CAD engineering drawings of designers; because of the openness of CAD drawings, there are no powerful drawing specifications to constrain the detailed design of designers, and only some rules commonly known as conventions exist, but these rules are insufficient to guide the smooth implementation of the turnover process.
In a slab diagram of the CAD structural design drawing, various slab hole areas exist, wherein the slab hole areas are small areas buckled on a slab in actual construction, the slab hole areas are mainly used for stairways and are suitable for various purposes of construction, and the slab hole areas in the slab diagram need to be accurately determined in the process of turning over a formwork; in the existing plate hole area identification mode, the plate hole area is uniformly identified as a rectangular area, but in practical application, as the business expression of drawing designers on plate hole lines is increased, the simple rectangular area cannot well represent the plate hole area, and a non-rectangular plate hole area exists. Therefore, how to quickly and accurately identify the non-rectangular hole areas in the board layer diagram 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 plate layer diagram.
According to one aspect of the present invention, there is provided a method of identifying a panel hole area, the method comprising:
acquiring a lamellar diagram to be identified;
identifying a board hole characteristic line contained in the board layer diagram;
identifying wall lines, beam lines and column lines contained in the slab map;
and determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line.
Optionally, the identifying the hole feature line included in the slab map specifically includes:
identifying all line segments in the lamellar map;
clustering line segments with the same color in the lamellar diagram to form a color line segment group;
in each color line segment group, the line segments which are intersected and in an X shape are divided into one line segment group, and the line segments with the head-to-tail connection relationship are divided into one 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
and forming the line segments in the line segment group of the fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
Optionally, determining the hole area in the slab layer graph according to the hole feature line and the wall line, the beam line and the column line specifically includes:
when the plate hole characteristic line is a fork line type plate hole characteristic line, connecting all endpoints of the fork line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
Optionally, determining the hole area in the slab layer graph according to the hole feature line and the wall line, the beam line and the column line specifically includes:
when the board hole characteristic line is a broken line type board hole characteristic line, judging whether the broken line type board hole characteristic line can form a closed first area or not; if yes, 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 between the broken line type plate hole characteristic line and the wall line, beam line and column line.
Optionally, determining the hole area according to the positional relationship between the first area and the wall line, the beam line and the column line specifically includes:
judging whether the first area is concave polygon, if so, filling the first area into a closed second area according to wall lines, beam lines and column lines around the first area, wherein the second area is convex polygon, and setting the second area as a plate hole area; if not, the first area is set as a plate hole area.
Optionally, determining the hole area according to the positional relationship between the broken line hole feature line and the wall line, the beam line and the column line specifically includes:
determining a closed area containing the broken line type plate hole characteristic lines according to the wall lines, the beam lines and the column lines around the broken line type plate hole characteristic lines;
judging whether all the endpoints of the broken line type plate hole characteristic line are positioned at the top points of the closed area, if so, setting the closed area as a plate 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 further provides an apparatus for identifying a hole area, the apparatus comprising:
the acquisition module is used for acquiring the lamellar graph to be identified;
the first identification module is used for identifying the characteristic line of the plate hole contained in the plate layer diagram;
the second identification module is used for identifying wall lines, beam lines and column lines contained in the slab layer diagram;
and the determining module is used for determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line.
Optionally, the first identifying module is specifically configured to:
identifying all line segments in the lamellar map;
clustering line segments with the same color in the lamellar diagram to form a color line segment group;
in each color line segment group, the line segments which are intersected and in an X shape are divided into one line segment group, and the line segments with the head-to-tail connection relationship are divided into one 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
and forming the line segments in the line segment group of the fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
In order to achieve the above object, the present invention further provides a computer device, which specifically includes: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of the method for identifying the 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 having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described method of identifying a hole area.
According to the method, the device, the computer equipment and the readable storage medium for identifying the plate hole area, whether the plate hole is attached to the whole plate area or a part of the plate area is determined according to the position relation between the plate hole characteristic line and the column line, the wall line and the beam line around the plate hole characteristic line, and the specific shape of the plate hole area is judged. Specifically, the line segments in the slab map are clustered firstly, then the type of the characteristic line of the slab hole 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 slab hole area, so that the technical problem that the slab hole identification is inaccurate in the prior art is solved, and the identified slab hole area is closer to the design thought of a designer.
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 designate like parts throughout the figures. In the drawings:
FIG. 1 is a schematic flow chart of an alternative method for identifying a hole area according to the first embodiment;
FIG. 2 is an alternative schematic view of a ply map to be identified in embodiment one;
FIG. 3 is an alternative schematic view of determining a hole area according to a cross-line type hole feature line in accordance with the first embodiment;
FIG. 4 is an alternative schematic view of the first embodiment in which the hole area is determined according to the first area;
FIG. 5 is a schematic view showing an alternative embodiment of determining a hole area according to a first area;
FIG. 6 is an alternative schematic view of the first embodiment in which the hole area is determined based on the broken line type hole feature line;
FIG. 7 is a schematic view showing an alternative embodiment of determining a hole area according to a broken line type hole feature line;
FIG. 8 is a schematic view of an alternative structure of a device for identifying a hole area according to the second embodiment;
fig. 9 is a schematic diagram of an alternative hardware architecture of a computer device according to the third embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. 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.
Example 1
The embodiment of the invention provides a method for identifying a plate hole area, as shown in fig. 1, which specifically comprises the following steps:
step S101: and obtaining a lamellar diagram to be identified.
As shown in fig. 2, the board layer diagram includes: wall line 201 of the characterization wall body, board hole characteristic line 202 of characterization board hole region, reinforcing bar line 203, in addition, can also include in the lamellar diagram: beam lines representing the beam body and column lines representing the column body.
Step S102: identifying a board hole characteristic line contained in the board layer diagram; wherein, the board hole characteristic line includes: a cross line type plate hole characteristic line and a broken line type plate hole characteristic line.
In the field of construction, the design forms of the plate hole are mainly two types, namely a fork line type and a broken line type; the fork line type is used for representing the hollowed-out whole board area, and the fold line type is used for representing the local board hole, namely, a part of board 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 lamellar diagram to form a color line segment group.
Step A3: in each color line segment group, line segments intersecting and in an X-shape are divided into one line segment group, and line segments having a head-to-tail connection relationship are divided into one line segment group.
In the embodiment, the line segments in the lamellar graph are clustered and grouped according to the color of the line segments and whether the line segments form two dimensions of a connecting line; line segment colors refer to layers given by CAD designers at the time of initial design, and typically lines of different uses are distinguished by different colors, for example, wall lines are set to yellow, beam lines are set to red, and panel hole feature lines are set to blue; the communication lines refer to lines intersecting or connected with 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
preferably, the line segment feature includes: the number of line segments, the position of the intersection point, the size of the included angle and the length proportion of the line segments;
in this embodiment, the above 4 line segment features form a feature vector of the line segment group, and according to the statistical result of a large amount of historical data, a classification rule capable of deducing the fork line type, the fold line type and the invalid type is determined, so that the plate hole type is added to the line segment group. The classification rule is a preset plate hole type used for determining line segment groups; for example, a line segment group of the fork line type typically has the following line segment characteristics: the number of the line segments is 2, the intersection point is positioned at the midpoint position of the line segments, and the proportion of the line segments is 1:1; for another example, a group of line segments of the polyline type typically has the following line segment characteristics: the number of the line segments is 2, 4 or 6, the intersection point is connected with 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 fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
In this embodiment, when the plate hole type of the line segment group is a fork line type, all the line segments in the line segment group may constitute a fork line type plate hole feature line; when the plate hole type of the line segment group is a broken line type, all the 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 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 slab map are identified.
Step S104: and determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line.
Specifically, as shown in fig. 3, step S104 includes:
when the plate hole characteristic line is a fork line type plate hole characteristic line, connecting all endpoints of the fork 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 board hole characteristic line is a broken line type board hole characteristic line, judging whether the broken line type board hole characteristic line can form a closed first area or not; if yes, 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 between the broken line type plate hole characteristic line and the wall line, beam line and column line.
Further, determining the hole area according to the positional relationship between the first area and the wall line, the beam line and the column line specifically includes:
judging whether the first area is concave polygon, if so, filling the first area into a closed second area according to wall lines, beam lines and column lines around the first area, wherein the second area is convex polygon, and setting the second area as a plate hole area; if not, the first area is set as a plate hole area.
As shown in fig. 4, when the first area is not concave polygon, i.e. the first area is convex polygon, the first area is set as a hole area, i.e. the hole area can be obtained according to the enclosed area enclosed by the hole feature line without depending on any wall line, beam line or column line. However, when the first area is concave polygon, if the first area is directly set as a hole area without referring to the wall line, the beam line and the column line, an erroneous hole area may be formed; because the designer expresses a complete panel hole area by means of the wall lines, beam lines and column lines during design. As shown in FIG. 5, the characteristic line of the broken line type plate hole in a concave quadrangle is used for supplementing the rest plate hole areas according to the wall lines, the beam lines and the column lines around the characteristic line of the broken line type plate hole, so that the correct and complete plate hole areas are formed.
Further, determining the hole area according to the positional relationship between the broken line type hole feature line and the wall line, beam line and column line, specifically includes:
step B1: determining a closed area containing the broken line type plate hole characteristic lines according to the wall lines, the beam lines and the column lines around the broken line type plate hole characteristic lines;
step B2: judging whether all the endpoints of the broken line type plate hole characteristic line are positioned at the top points of the closed area, if so, setting the closed area as a plate 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, forming rectangles according to two end points of the broken line type plate hole characteristic line, and taking the rectangles as plate hole areas; however, for the broken line type hole feature line shown in fig. 6, since the closed area including the broken line type hole feature line is not rectangular (is trapezoidal), if the existing manner of determining the hole area is adopted, the hole area cannot be accurately determined; in this embodiment, when each end point of the broken line type hole feature line is located at the vertex of the closed area, the closed area is used as the hole area corresponding to the broken line type hole feature line; in addition, regarding the broken line type hole feature line shown in fig. 7, the designer intends to take a triangular area including the broken line type hole feature line as a hole area, and if the hole area is determined in the conventional manner, the hole area cannot be determined accurately; in this embodiment, therefore, when any one of the end points of the broken line-like hole feature 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-like hole feature line, and an overlapping region of the rectangular region and an irregular closed region surrounded by the wall line, the beam line, and the column line is set as the hole region.
In the embodiment, the technical problem of inaccurate plate hole identification in the prior art is solved by clustering line segments in the plate layer diagram, extracting line segment characteristics and identifying types, so that the identified plate hole area is closer to the design thought of a designer. In this embodiment, according to the positional relationship between the characteristic line of the plate hole and the surrounding column lines, wall lines and beam lines, whether the plate hole is attached to the whole plate area or a part of the plate area is determined, and the specific shape of the plate hole area is determined.
Example two
The embodiment of the invention provides a device for identifying a plate hole area, as shown in fig. 8, which specifically comprises the following components:
1) An obtaining module 801, configured to obtain a lamellar map to be identified.
Wherein, in the lamellar diagram, include: the wall line of the representation wall body, the beam line of the representation beam body, the column line of the representation column body and the plate hole characteristic line of the representation plate hole area.
2) A first identifying module 802, configured to identify a hole feature line included in the slab map; wherein, the board hole characteristic line includes: a cross line type plate hole characteristic line and a broken line type plate hole characteristic line.
In the field of construction, the design forms of the plate hole are mainly two types, namely a fork line type and a broken line type; the fork line type is used for representing the hollowed-out whole board area, and the fold line type is used for representing the local board hole, namely, a part of board is scratched.
Specifically, the first identification module 802 is specifically configured to:
identifying all line segments in the lamellar map;
clustering line segments with the same color in the lamellar diagram to form a color line segment group;
in each color line segment group, the line segments which are intersected and in an X shape are divided into one line segment group, and the line segments with the head-to-tail connection relationship are divided into one 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
and forming the line segments in the line segment group of the fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
Preferably, the line segment feature includes: the number of line segments, the position of the intersection point, the size of the included angle and the length proportion of the line segments; in this embodiment, the above 4 line segment features form a feature vector of the line segment group, and according to the statistical result of a large amount of historical data, a classification rule capable of deducing the fork line type, the fold line type and the invalid type is determined, so that the plate hole type is added to the line segment group. The classification rule is a preset plate hole type used for determining line segment groups; for example, a line segment group of the fork line type typically has the following line segment characteristics: the number of the line segments is 2, the intersection point is positioned at the midpoint position of the line segments, and the proportion of the line segments is 1:1; for another example, a group of line segments of the polyline type typically has the following line segment characteristics: the number of the line segments is 2, 4 or 6, the intersection point is connected with 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 fork line type, all the line segments in the line segment group may constitute a fork line type plate hole feature line; when the plate hole type of the line segment group is a broken line type, all the 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 line segments in the line segment group cannot form a plate hole characteristic line.
3) A second identifying module 803 is configured to identify wall lines, beam lines and column lines included in the slab map.
4) And the determining module 804 is configured to determine a hole area in the slab map according to the hole feature line and the wall line, beam line and column line.
Specifically, the determining module 804 is configured to:
when the plate hole characteristic line is a fork line type plate hole characteristic line, connecting all endpoints of the fork line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area.
In addition, the determining module 804 is further configured to:
when the board hole characteristic line is a broken line type board hole characteristic line, judging whether the broken line type board hole characteristic line can form a closed first area or not; if yes, 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 between the broken line type plate hole characteristic line and the wall line, beam line and column line.
Further, when the determining module 804 determines the function of the panel hole area according to the positional relationship between the first area and the wall line, the beam line and the column line, the determining module is specifically configured to:
judging whether the first area is concave polygon, if so, filling the first area into a closed second area according to wall lines, beam lines and column lines around the first area, wherein the second area is convex polygon, and setting the second area as a plate hole area; if not, the first area is set as a plate hole area.
Further, when the determining module 804 determines the function of the hole area according to the positional relationship between the broken line type hole feature line and the wall line, beam line and column line, the determining module is specifically configured to:
determining a closed area containing the broken line type plate hole characteristic lines according to the wall lines, the beam lines and the column lines around the broken line type plate hole characteristic lines;
judging whether all the endpoints of the broken line type plate hole characteristic line are positioned at the top points of the closed area, if so, setting the closed area as a plate 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 present embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) that can execute a program. 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 which are communicably connected to each other via a system bus. It should be noted that FIG. 9 only shows a computer device 90 having components 901-902, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
In this embodiment, the memory 901 (i.e., readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card 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 memory 901 may be an internal storage unit of the computer device 90, such as a hard disk or 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, which are provided on the computer device 90. Of course, memory 901 may also include both internal storage units of computer device 90 and external storage devices. In the present embodiment, the memory 901 is typically used to store an operating system and various types of application software installed on the computer device 90. Further, the memory 901 can also be used to temporarily store various types of data that have been output or are to be output.
The processor 902 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 902 is generally operative to control the overall operation of the computer device 90.
Specifically, in the present embodiment, the processor 902 is configured to execute a program of a method for identifying a hole area stored in the processor 902, where the program of the method for identifying a hole area is executed to implement the following steps:
acquiring a lamellar diagram to be identified;
identifying a board hole characteristic line contained in the board layer diagram;
identifying wall lines, beam lines and column lines contained in the slab map;
and determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line.
The specific embodiment of the above method steps may refer to the first embodiment, and this embodiment is not repeated here.
Example IV
The present embodiment also provides a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card 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 store, etc., having stored thereon a computer program that when executed by a processor performs the following method steps:
acquiring a lamellar diagram to be identified;
identifying a board hole characteristic line contained in the board layer diagram;
identifying wall lines, beam lines and column lines contained in the slab map;
and determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line.
The specific embodiment of the above method steps may refer to the first embodiment, and 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (6)

1. A method of identifying a panel hole area, the method comprising:
acquiring a lamellar diagram to be identified;
identifying a board hole characteristic line contained in the board layer diagram; wherein, the board hole characteristic line includes: a fork line type plate hole characteristic line and a broken line type plate hole characteristic line;
identifying wall lines, beam lines and column lines contained in the slab map;
determining a plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line;
and determining the plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line, wherein the plate hole area comprises the following steps:
when the plate hole characteristic line is a fork line type plate hole characteristic line, connecting all endpoints of the fork line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area;
when the plate hole characteristic line is a broken line type plate hole characteristic line and the broken line type plate hole characteristic line forms a closed first area, judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to wall lines, beam lines and column lines around the first area, wherein the second area is a convex polygon, and setting the second area as a plate hole area; if not, setting the first area as a plate hole area;
when the board hole characteristic line is a broken line type board hole characteristic line and the broken line type board hole characteristic line does not form a closed area, determining a closed area containing the broken line type board hole characteristic line according to wall lines, beam lines and column lines around the broken line type board hole characteristic line; judging whether all the endpoints of the broken line type plate hole characteristic line are positioned at the top points of the closed area, if so, setting the closed area as a plate 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.
2. The method for identifying a hole area according to claim 1, wherein the identifying a hole feature line included in the slab map specifically comprises:
identifying all line segments in the lamellar map;
clustering line segments with the same color in the lamellar diagram to form a color line segment group;
in each color line segment group, the line segments which are intersected and in an X shape are divided into one line segment group, and the line segments with the head-to-tail connection relationship are divided into one 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
and forming the line segments in the line segment group of the fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
3. An apparatus for identifying a hole area, the apparatus comprising:
the acquisition module is used for acquiring the lamellar graph to be identified;
the first identification module is used for identifying the characteristic line of the plate hole contained in the plate layer diagram; wherein, the board hole characteristic line includes: a fork line type plate hole characteristic line and a broken line type plate hole characteristic line;
the second identification module is used for identifying wall lines, beam lines and column lines contained in the slab layer diagram;
the determining module is used for determining a plate hole area in the plate layer diagram according to the plate hole characteristic line, the wall line, the beam line and the column line;
wherein, the determining module is used for:
when the plate hole characteristic line is a fork line type plate hole characteristic line, connecting all endpoints of the fork line type plate hole characteristic line to form a polygonal area, and setting the polygonal area as a plate hole area;
when the plate hole characteristic line is a broken line type plate hole characteristic line and the broken line type plate hole characteristic line forms a closed first area, judging whether the first area is a concave polygon, if so, filling the first area into a closed second area according to wall lines, beam lines and column lines around the first area, wherein the second area is a convex polygon, and setting the second area as a plate hole area; if not, setting the first area as a plate hole area;
when the board hole characteristic line is a broken line type board hole characteristic line and the broken line type board hole characteristic line does not form a closed area, determining a closed area containing the broken line type board hole characteristic line according to wall lines, beam lines and column lines around the broken line type board hole characteristic line; judging whether all the endpoints of the broken line type plate hole characteristic line are positioned at the top points of the closed area, if so, setting the closed area as a plate 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.
4. A device for identifying a panel hole area according to claim 3, wherein the first identification module is specifically configured to:
identifying all line segments in the lamellar map;
clustering line segments with the same color in the lamellar diagram to form a color line segment group;
in each color line segment group, the line segments which are intersected and in an X shape are divided into one line segment group, and the line segments with the head-to-tail connection relationship are divided into one 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 utilizing a preset classification rule according to the line segment characteristics of each line segment group; wherein, the plate hole type includes: a fork line type, a fold line type, and an invalid type;
and forming the line segments in the line segment group of the fork line type into a fork line type board hole characteristic line, and forming the line segments in the line segment group of the fold line type into a fold line type board hole characteristic line.
5. A computer device, the computer device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 2 when the computer program is executed.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 2.
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 CN111738116A (en) 2020-10-02
CN111738116B true 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
A Reverse CAD Approach for Estimating Geometric and Mechanical Behavior of FDM Printed Parts;Baltej SinghRupal et al;《Procedia Manufacturing》;第34卷;535-544 *
基于BIM的智能化算量——以输变电土建工程为例;刘纲等;《土木工程与管理学报》;第36卷(第4期);140-147,184 *

Also Published As

Publication number Publication date
CN111738116A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
EP3620981B1 (en) Object detection method, device, apparatus and computer-readable storage medium
CN110502985B (en) Form identification method and device and form identification equipment
CN105321140A (en) Assigning primitives to tiles in a graphics processing system
CN113033497B (en) Lane line identification method, device, equipment and computer 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
CN113592886A (en) Method and device for examining architectural drawings, electronic equipment and medium
CN113177899A (en) Method for correcting text tilt of medical photocopy, electronic device and readable storage medium
US8255424B2 (en) System and method for structuring data in a storage device
CN111738145A (en) Method and device for identifying stirrup winding method, computer equipment and readable storage medium
CN113821860B (en) Method, device, equipment and storage medium for determining break point on steel bar graphic element
CN111738116B (en) Method, device, computer equipment and readable storage medium for identifying plate hole area
CN112861238A (en) Method, device and equipment for generating road contour line and readable storage medium
CN116343251A (en) Building drawing identification method and system based on AI building identification chart
CN111857704A (en) Code generation method and device for layout relationship
CN111753763A (en) Method and device for identifying table content of construction drawing and computer equipment
CN115082951B (en) Beam member identification method, device, equipment and storage medium
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN114140813A (en) High-precision map marking method, device, equipment and storage medium
CN111160073A (en) License plate type identification method and device and computer readable storage medium
CN112906572B (en) Identification method and identification device for vertical section in construction drawing
CN114283415A (en) Parking space identification method and device, electronic equipment and storage medium
CN113761169A (en) Price identification method and device
CN113722807B (en) Method, device and equipment for calculating steel bar patterns and sizes at beam ends
JP2000090117A (en) Method and device for extracting logical element of document image, and recording medium therefor
EP4357958A2 (en) System and methods for automatic repair of missing mate references

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