Plate component identification method, device, equipment and storage medium

By generating a target image and identifying the outline of the board member using the image operation method, the problem of low recognition efficiency of the board member in the prior art is solved, and a more efficient and accurate recognition effect is achieved.

CN114445844BActive Publication Date: 2025-08-22WANYI TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111615152.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-08-22
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

In the prior art, it is inefficient to identify panel components from architectural drawings, especially in underground drawing scenarios, where there are many element segments and the intersection methods of various line segments are complex, resulting in poor recognition accuracy.

Method used

By obtaining the element information of wall column lines and beam lines from the architectural drawings, a target image is generated, and the outline of the board member is identified by image operation method, replacing the traditional geometric splicing method.

Benefits of technology

It reduces the calculation amount, improves the efficiency and accuracy of board component recognition, and simplifies the complex geometric calculation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114445844B_ABST
    Figure CN114445844B_ABST
Patent Text Reader

Abstract

This application relates to a plate component identification method, apparatus, device, and storage medium, and relates to the field of drawing recognition. The plate component identification method comprises: obtaining graphic primitive information of each wall column line and each beam line from an architectural drawing; generating a target image based on the graphic primitive information of each wall column line and each beam line, wherein the target image includes the outlines of each plate component, each plate component being bounded by each wall column line and each beam line; and obtaining the outline information of each plate component based on the target image. This application aims to address the problem of low plate component identification efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drawing recognition, and in particular to a plate component recognition method, device, equipment and storage medium. Background Art

[0002] At present, the identification of plate components from architectural drawings is generally based on the digitization of the drawings. After converting the architectural drawings to obtain the element information, the layers are identified and the wall and column lines and beam lines are obtained from the layers where the wall and column lines are located and the beam lines are located. The corner points are identified by splicing the wall and column lines and the beam lines, and then the corner points are connected. The closed area formed by connecting the corner points is used as the plate component in the structural plate plan.

[0003] However, this requires the computation of numerous line segments and the calculation of line intersections and angles. In underground map scenes, there can be hundreds of thousands of line segments, making plate component recognition inefficient. Furthermore, plate components come in a variety of shapes, and the ways in which various line segments intersect are also diverse, making the computation and recognition of corner points difficult. Furthermore, recognition accuracy for irregularly shaped plate components is poor. Summary of the Invention

[0004] The present application provides a plate component identification method, device, equipment and storage medium to solve the problem of low efficiency in plate component identification.

[0005] In a first aspect, an embodiment of the present application provides a plate component identification method, comprising:

[0006] Obtain the graphic element information of each wall column line and each beam line from the architectural drawings;

[0007] Generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall-column line and each beam line;

[0008] According to the target image, contour information of each plate member is obtained.

[0009] Optionally, generating a target image according to the graphic element information of each wall column line and the graphic element information of each beam line includes:

[0010] Generate a first image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the first image includes a first area enclosed by each wall-column line and each beam line;

[0011] generating a second image according to the graphic element information of each wall-column line, wherein the second image includes a second area enclosed by each wall-column line;

[0012] generating a third image according to the graphic element information of each beam line, wherein the third image includes a third area surrounded by each beam line;

[0013] The target image is obtained by subtracting the second image and the third image from the first image.

[0014] Optionally, generating the first image according to the graphic element information of each wall column line and the graphic element information of each beam line includes:

[0015] Acquire the outer contour of the first area according to the graphic element information of each wall column line and the graphic element information of each beam line;

[0016] The interior of the first region is filled according to the outer contour of the first region to obtain the first image.

[0017] Optionally, generating a second image according to the graphic element information of each wall column line includes:

[0018] According to the graphic element information of each wall column line, a closed first contour line is obtained from the wall column line, and an area enclosed by the closed first contour line is used as the second area;

[0019] The interior of the second region is filled according to the closed first contour line to obtain the second image.

[0020] Optionally, generating a third image according to the graphic element information of each beam line includes:

[0021] generating a fourth image according to the graphic element information of each beam line, wherein the fourth image includes each beam line;

[0022] performing a closing operation on the fourth image to connect the beam lines to obtain a closed second contour line, and using the area enclosed by the closed second contour line as the third area;

[0023] The interior of the third region is filled according to the closed second contour line to obtain the third image.

[0024] Optionally, obtaining the contour information of each plate member according to the target image includes:

[0025] Acquire each closed third contour line in the target image;

[0026] Calculating the area of ​​the fourth region enclosed by each of the closed third contour lines;

[0027] According to the area of ​​each fourth region, interfering contour lines are screened out to obtain each closed fourth contour line;

[0028] The contour information of each plate member is obtained according to the closed fourth contour line.

[0029] Optionally, obtaining the contour information of each plate member according to the closed fourth contour line includes:

[0030] Obtaining a fifth contour line of a minimum circumscribed rectangle of the closed fourth contour line;

[0031] Acquire primitive information within a fifth area enclosed by the fifth contour line;

[0032] Obtaining each closed sixth contour line according to the primitive information within the fifth area;

[0033] The contour information of each of the plate members is determined according to the area of ​​the intersection region between each of the closed sixth contour lines and the fourth contour line.

[0034] In a second aspect, an embodiment of the present application provides a plate member identification device, comprising:

[0035] The acquisition module is used to obtain the graphic element information of each wall column line and each beam line from the architectural drawing;

[0036] a generating module, configured to generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate member, and each plate member is surrounded by each wall-column line and each beam line;

[0037] A processing module is used to obtain contour information of each plate component according to the target image.

[0038] Optionally, the generating module includes:

[0039] A first generating submodule is configured to generate a first image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the first image includes a first area enclosed by each wall-column line and each beam line;

[0040] A second generating submodule is configured to generate a second image based on the graphic element information of each wall-column line, wherein the second image includes a second area enclosed by each wall-column line;

[0041] A third generating submodule is configured to generate a third image based on the graphic element information of each beam line, wherein the third image includes a third area surrounded by each beam line;

[0042] The first processing submodule is configured to subtract the second image and the third image from the first image to obtain the target image.

[0043] Optionally, the first generating submodule includes:

[0044] A first acquiring unit, configured to acquire an outer contour of the first area according to the graphic element information of each wall column line and the graphic element information of each beam line;

[0045] The second acquisition unit is configured to fill the interior of the first area according to the outer contour of the first area to obtain the first image.

[0046] Optionally, the second generating submodule includes:

[0047] a third acquiring unit, configured to acquire a closed first contour line from the wall-column line according to the graphic element information of each wall-column line, and use the area enclosed by the closed first contour line as the second area;

[0048] The first filling unit is configured to fill the interior of the second region according to the closed first contour line to obtain the second image.

[0049] Optionally, the third generation submodule includes:

[0050] a generating unit, configured to generate a fourth image according to the graphic element information of each beam line, wherein the fourth image includes each beam line;

[0051] a fourth acquiring unit, configured to perform a closing operation on the fourth image, connect the beam lines, obtain a closed second contour line, and use an area enclosed by the closed second contour line as the third area;

[0052] The second filling unit is configured to fill the interior of the third region according to the closed second contour line to obtain the third image.

[0053] Optionally, the processing module includes:

[0054] A first acquisition submodule, configured to acquire each closed third contour line in the target image;

[0055] A second processing submodule is configured to calculate the area of ​​a fourth region enclosed by each of the closed third contour lines;

[0056] a screening submodule, configured to screen out interfering contour lines according to the areas of the respective fourth regions, and obtain respective closed fourth contour lines;

[0057] The second acquisition submodule is configured to obtain contour information of each plate component according to the closed fourth contour line.

[0058] Optionally, the second acquisition submodule includes:

[0059] a fifth acquiring unit, configured to acquire a fifth contour line of a minimum circumscribed rectangle of the closed fourth contour line;

[0060] a sixth acquiring unit, configured to acquire primitive information within a fifth area enclosed by the fifth contour line;

[0061] a seventh acquiring unit, configured to acquire each closed sixth contour line according to the primitive information within the fifth area;

[0062] The processing unit is configured to determine the contour information of each of the plate components according to the area of ​​the intersection region between each of the closed sixth contour lines and the fourth contour line.

[0063] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;

[0064] The memory is used to store computer programs;

[0065] The processor is used to execute the program stored in the memory to implement the plate component identification method described in the first aspect.

[0066] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the plate component identification method described in the first aspect.

[0067] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the graphic element information of each wall column line and the graphic element information of each beam line from the architectural drawing, and generates a target image based on the graphic element information of each wall column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall column line and each beam line, and the outline information of each plate component is obtained based on the target image. Compared with the prior art, which identifies corner points by splicing wall column lines and beam lines, and then connects the corner points, and uses the closed area formed after connecting the corner points as the plate component, which has a large amount of calculation and low efficiency, the present application generates a target image, obtains the outline information of each plate component based on the target image, and replaces the geometric splicing method with the image operation method, which can reduce the amount of calculation and improve the recognition efficiency of plate components. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0070] Figure 1 This is a schematic flow chart of a method for identifying a plate component in an embodiment of the present application;

[0071] Figure 2 This is a flow chart of a method for generating a target image in a specific embodiment of the present application;

[0072] Figure 3 This is a flowchart of a method for generating a first image in a specific embodiment of the present application;

[0073] Figure 4 This is a schematic diagram of printing the graphic elements of each wall column line and the graphic elements of each beam line in the same image in a specific embodiment of the present application;

[0074] Figure 5 This is a schematic diagram of a first image in a specific embodiment of the present application;

[0075] Figure 6 This is a flow chart of a method for generating a second image in a specific embodiment of the present application;

[0076] Figure 7 This is a schematic diagram of the second region in a specific embodiment of the present application;

[0077] Figure 8 This is a schematic diagram of a second image in a specific embodiment of the present application;

[0078] Figure 9 This is a flow chart of a method for generating a third image in a specific embodiment of the present application;

[0079] Figure 10 This is a schematic diagram of a third image in a specific embodiment of the present application;

[0080] Figure 11 This is a schematic diagram of a target image in a specific embodiment of the present application;

[0081] Figure 12 This is a schematic diagram of the profile information of each plate member in a specific embodiment of the present application;

[0082] Figure 13This is a schematic structural diagram of a plate member identification device in an embodiment of the present application;

[0083] Figure 14 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0084] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0085] In an embodiment of the present application, a plate member identification method is provided, which can be applied to a server, and of course, can also be applied to other electronic devices, such as terminals (mobile phones, tablet computers, etc.). In an embodiment of the present application, the method is applied to a server as an example for description.

[0086] In the embodiment of this application, Figure 1 As shown in FIG, the method flow of plate component identification mainly includes:

[0087] Step 101: Obtain the graphic element information of each wall column line and each beam line from the architectural drawing.

[0088] The architectural drawings may be in various formats, and the scope of protection of this application is not limited to the specific formats of the architectural drawings. In the embodiments of this application, the architectural drawings are CAD (Computer Aided Design) drawings as an example for illustration.

[0089] In a specific embodiment, obtaining the graphic element information of each wall-column line and each beam line from an architectural drawing includes: identifying, from the architectural drawing, each first layer where each wall-column line is located and each second layer where each beam line is located; and parsing the graphic element information of each wall-column line and each beam line from each first layer and each second layer.

[0090] Graphic primitives refer to basic graphic elements. These include points, line segments, circles, and text. Graphic primitive information can include the location of the primitive in the architectural drawing, as well as the primitive type, such as line segments, circles, and text.

[0091] Step 102 : Generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall-column line and each beam line.

[0092] In a specific embodiment, Figure 2 As shown, based on the graphic element information of each wall column line and the graphic element information of each beam line, a target image is generated, including:

[0093] Step 201 : Generate a first image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the first image includes a first area enclosed by each wall-column line and each beam line.

[0094] In a specific embodiment, Figure 3 As shown, generating a first image according to the graphic element information of each wall column line and the graphic element information of each beam line includes:

[0095] Step 301: Obtain the outer contour of the first area based on the graphic element information of each wall column line and the graphic element information of each beam line. Figure 4 The figure shown is a schematic diagram of printing the elements of each wall column line and the elements of each beam line in the same image. Figure 4 In the figure, black is the background color, and the white lines are the wall column lines and the beam lines.

[0096] Step 302: Fill the interior of the first region according to the outer contour of the first region to obtain a first image. Figure 5 Shown is a schematic diagram of the first image. Figure 5 In the figure, black is the background color and the white area is the first area after filling.

[0097] Step 202: Generate a second image based on the graphic element information of each wall-column line, wherein the second image includes a second area surrounded by each wall-column line.

[0098] The second image is a binary image that only includes the wall column lines. A binary image is an image in which each pixel is either black or white.

[0099] In a specific embodiment, Figure 6 As shown, the second image is generated according to the graphic element information of each wall column line, including:

[0100] Step 601: Based on the graphic element information of each wall column line, a closed first contour line is obtained from the wall column line, and the area enclosed by the closed first contour line is used as the second area. Figure 7 The figure shows a schematic diagram of the second area. Figure 7 In the figure, black is the background color, the white lines are the closed first contour lines, and the area enclosed by the white lines is the second area.

[0101] Step 602: Fill the interior of the second region according to the closed first contour line to obtain a second image. Figure 8, which is a schematic diagram of the second image. Figure 8 In the figure, black is the background color and the white area is the second area after filling.

[0102] Step 203 : generating a third image based on the graphic element information of each beam line, wherein the third image includes a third area surrounded by each beam line.

[0103] The third image is a binary image that only includes the beam lines. A binary image is an image in which each pixel is either black or white.

[0104] In a specific embodiment, Figure 9 As shown, according to the graphic element information of each beam line, a third image is generated, including:

[0105] Step 901: Generate a fourth image based on the graphic element information of each beam line, wherein the fourth image includes each beam line.

[0106] Step 902: Perform a closing operation on the fourth image to connect the beam lines to obtain a closed second contour line, and use the area enclosed by the closed second contour line as the third area.

[0107] Since the beam lines are parallel lines and not closed, it is necessary to perform a closing operation on the fourth image to connect the beam lines to obtain a closed second contour line.

[0108] Step 903: Fill the interior of the third region according to the closed second contour line to obtain a third image. Figure 10 , which is a schematic diagram of the third image. Figure 10 In the figure, black is the background color and the white area is the third area after filling.

[0109] Step 204: Subtract the second image and the third image from the first image to obtain the target image. Figure 11 The following is a schematic diagram of the target image. Figure 11 In the figure, black is the background color, and the white area is the schematic diagram of each plate component in the target image.

[0110] By subtracting the second image and the third image from the first image, we can obtain the second area surrounded by the wall column lines after removing the filling, and the third area surrounded by the beam lines after removing the filling, and then obtain the images of the segmented plate components. Based on the segmented images of the plate components, the contour information of the plate components can be quickly obtained. Compared with the prior art, which identifies corner points by splicing wall column lines and beam lines, and then connects the corner points, and uses the closed area formed after connecting the corner points as the plate components, which has a large amount of calculation and low efficiency, the present application uses the images of the segmented plate components. Based on the images of the segmented plate components, the contour information of the plate components can be quickly obtained, and the method of geometric splicing is replaced by the method of image operation, which can reduce the amount of calculation and improve the recognition efficiency of the plate components.

[0111] Step 103: Obtain contour information of each plate component according to the target image.

[0112] In a specific embodiment, the contour information of each plate component is obtained based on the target image, including: obtaining each closed third contour line in the target image; calculating the area of ​​the fourth region enclosed by each closed third contour line; based on the area of ​​each fourth region, filtering out interfering contour lines to obtain each closed fourth contour line; based on the closed fourth contour line, obtaining the contour information of each plate component.

[0113] According to the area of ​​each fourth region, the interference contour lines are screened out to obtain each closed fourth contour line. This can be done by judging whether the area of ​​each fourth region is within the preset area range, and using the closed third contour lines corresponding to the fourth regions whose areas are not within the preset area range as interference contour lines, screening out the interference contour lines, and obtaining each closed fourth contour line. The preset area range is pre-set and can be an empirical value or a value obtained from multiple tests. For example, the preset area range can be greater than 0.8 square meters and less than 100 square meters. If the area of ​​the fourth region is not within the preset area range, it means that the fourth region is not a plate component, and may be surrounded by erroneous line segments when the architectural drawings were drawn. Screening out interference contour lines can improve the accuracy of plate component identification.

[0114] In a specific embodiment, the contour information of each plate component is obtained based on the closed fourth contour line, including: obtaining the fifth contour line of the minimum circumscribed rectangle of the closed fourth contour line; obtaining the primitive information within the fifth area surrounded by the fifth contour line; obtaining each closed sixth contour line based on the primitive information within the fifth area; and determining the contour information of each plate component based on the area of ​​the intersection of each closed sixth contour line and the fourth contour line. Figure 12 As shown, it is a schematic diagram of the contour information of each plate component. Figure 12In the figure, black is the background color, white lines are the outlines of each plate component, and the area surrounded by the white lines is each plate component.

[0115] The minimum circumscribed rectangle of the closed fourth contour line may be drawn according to the coordinates of each vertex of the closed fourth contour line.

[0116] The contour information of each plate component is determined based on the area of ​​the intersection of each closed sixth contour line and the fourth contour line. The closed sixth contour line with the largest intersection area can be used as the contour information of the plate component, or the closed sixth contour line with an intersection area greater than a preset value can be used as the contour information of the plate component. The preset value is pre-set and can be an empirical value or a value obtained through multiple experiments. For example, if the preset value is 80%, the closed sixth contour line with an intersection area greater than 80% is used as the contour information of the plate component. This can further improve the accuracy of plate component recognition.

[0117] In summary, the method provided in the embodiment of the present application obtains the graphic element information of each wall column line and each beam line from the architectural drawing, and generates a target image based on the graphic element information of each wall column line and each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall column line and each beam line. The outline information of each plate component is obtained based on the target image. Compared with the prior art, which identifies corner points by splicing wall column lines and beam lines, and then connects the corner points, and uses the closed area formed after connecting the corner points as the plate component, which has a large amount of calculation and low efficiency, the present application generates a target image, obtains the outline information of each plate component based on the target image, and replaces the geometric splicing method with the image operation method, which can reduce the amount of calculation and improve the recognition efficiency of plate components.

[0118] Based on the same concept, a plate member identification device is provided in the embodiment of the present application. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 13 As shown, the device mainly includes:

[0119] The acquisition module 1301 is used to acquire the graphic element information of each wall column line and each beam line from the architectural drawing;

[0120] A generating module 1302 is configured to generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall-column line and each beam line;

[0121] The processing module 1303 is configured to obtain contour information of each plate component according to the target image.

[0122] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 14 As shown, the electronic device mainly includes: a processor 1401, a memory 1402 and a communication bus 1403, wherein the processor 1401 and the memory 1402 communicate with each other via the communication bus 1403. The memory 1402 stores a program executable by the processor 1401, and the processor 1401 executes the program stored in the memory 1402 to implement the following steps:

[0123] From the architectural drawings, the graphic element information of each wall-column line and the graphic element information of each beam line are obtained; based on the graphic element information of each wall-column line and the graphic element information of each beam line, a target image is generated, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall-column line and each beam line; based on the target image, the outline information of each plate component is obtained.

[0124] The communication bus 1403 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1403 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0125] The memory 1402 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor 1401.

[0126] The above-mentioned processor 1401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0127] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the plate component identification method described in the above embodiment.

[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website, computer, server or data center to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (such as a floppy disk, hard disk, tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.

[0129] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0130] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A plate member identification method, characterized in that: include: Obtain the graphic element information of each wall column line and each beam line from the architectural drawings; Generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate component, and each plate component is surrounded by each wall-column line and each beam line; Obtaining contour information of each plate component according to the target image; The step of generating a target image according to the graphic element information of each wall column line and the graphic element information of each beam line includes: Generate a first image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the first image includes a first area enclosed by each wall-column line and each beam line; generating a second image according to the graphic element information of each wall-column line, wherein the second image includes a second area enclosed by each wall-column line; generating a third image according to the graphic element information of each beam line, wherein the third image includes a third area surrounded by each beam line; The target image is obtained by subtracting the second image and the third image from the first image.

2. The plate member identification method according to claim 1, characterized in that: Generating a first image according to the graphic element information of each wall column line and the graphic element information of each beam line includes: Acquire the outer contour of the first area according to the graphic element information of each wall column line and the graphic element information of each beam line; The interior of the first region is filled according to the outer contour of the first region to obtain the first image.

3. The plate member identification method according to claim 2, characterized in that: Generating a second image according to the graphic element information of each wall column line includes: According to the graphic element information of each wall column line, a closed first contour line is obtained from the wall column line, and an area enclosed by the closed first contour line is used as the second area; The interior of the second region is filled according to the closed first contour line to obtain the second image.

4. The plate member identification method according to claim 3, characterized in that: Generating a third image according to the graphic element information of each beam line includes: generating a fourth image according to the graphic element information of each beam line, wherein the fourth image includes each beam line; performing a closing operation on the fourth image to connect the beam lines to obtain a closed second contour line, and using the area enclosed by the closed second contour line as the third area; The interior of the third region is filled according to the closed second contour line to obtain the third image.

5. The plate member identification method according to any one of claims 1 to 4, characterized in that: The step of obtaining the contour information of each plate member according to the target image includes: Acquire each closed third contour line in the target image; Calculating the area of ​​the fourth region enclosed by each of the closed third contour lines; According to the area of ​​each fourth region, interfering contour lines are screened out to obtain each closed fourth contour line; The contour information of each plate member is obtained according to the closed fourth contour line.

6. The plate member identification method according to claim 5, characterized in that: The step of obtaining the contour information of each plate member according to the closed fourth contour line includes: Obtaining a fifth contour line of a minimum circumscribed rectangle of the closed fourth contour line; Acquire primitive information within a fifth area enclosed by the fifth contour line; Obtaining each closed sixth contour line according to the primitive information within the fifth area; The contour information of each of the plate members is determined according to the area of ​​the intersection region between each of the closed sixth contour lines and the fourth contour line.

7. A plate member identification device, characterized in that: include: The acquisition module is used to obtain the graphic element information of each wall column line and each beam line from the architectural drawing; a generating module, configured to generate a target image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the target image includes the outline of each plate member, and each plate member is surrounded by each wall-column line and each beam line; a processing module, configured to obtain contour information of each plate component according to the target image; The generating module includes: a first generating submodule, configured to generate a first image based on the graphic element information of each wall-column line and the graphic element information of each beam line, wherein the first image includes a first area enclosed by each wall-column line and each beam line; A second generating submodule is configured to generate a second image based on the graphic element information of each wall-column line, wherein the second image includes a second area enclosed by each wall-column line; A third generating submodule is configured to generate a third image based on the graphic element information of each beam line, wherein the third image includes a third area surrounded by each beam line; The first processing submodule is configured to subtract the second image and the third image from the first image to obtain the target image.

8. An electronic device, characterized in that: include: A processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to execute the program stored in the memory to implement the plate component identification method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the plate member identification method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Recognition system and method for construction engineering drawing, and template arrangement system and method

    CN105302931A

  • Template editing system and method based on template induction, and template arrangement system and method

    CN105631071A