CN113901542A - Automatic building outline identification method based on building general plane positioning diagram - Google Patents

Automatic building outline identification method based on building general plane positioning diagram Download PDF

Info

Publication number
CN113901542A
CN113901542A CN202111048127.7A CN202111048127A CN113901542A CN 113901542 A CN113901542 A CN 113901542A CN 202111048127 A CN202111048127 A CN 202111048127A CN 113901542 A CN113901542 A CN 113901542A
Authority
CN
China
Prior art keywords
building
curve
closed
graph
outline
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.)
Pending
Application number
CN202111048127.7A
Other languages
Chinese (zh)
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.)
Changsha Fanyi Parameter Information Technology Co ltd
Original Assignee
Changsha Fanyi Parameter Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Fanyi Parameter Information Technology Co ltd filed Critical Changsha Fanyi Parameter Information Technology Co ltd
Priority to CN202111048127.7A priority Critical patent/CN113901542A/en
Publication of CN113901542A publication Critical patent/CN113901542A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an automatic identification method of a building outline based on a general plane positioning diagram of a building, which comprises the following steps: s1, acquiring all characters on the building general plane positioning graph, and traversing to search character strings containing specified characters; s2, searching a curve which is closest to the character string containing the specified character on the building general plane positioning diagram, searching a closed graph based on the closest curve, and extracting all curves of a corresponding graph layer where the curve forming the closed graph is located; s3, searching out a closed graph in the same layer for unidentified curves in the curve set; s4, respectively screening closed graphs according to the building types of the input building general plane positioning diagram to obtain building outlines; and S5, rendering and modeling all the building outlines through 3D software to obtain a building three-dimensional schematic model. The invention realizes automatic identification and extraction of the building outline from the building general plane positioning diagram so as to realize accurate positioning of the building BIM model in the digital scene.

Description

Automatic building outline identification method based on building general plane positioning diagram
Technical Field
The invention relates to the technical field of identification of building drawing objects, in particular to an automatic identification method of a building outline based on a building general plane positioning diagram.
Background
The core of the BIM (building Information modeling) technology is to provide a complete building engineering Information base consistent with the actual situation for a virtual building engineering three-dimensional model by establishing the model and utilizing the digitization technology. The information base not only contains geometrical information, professional attributes and state information describing building components, but also contains state information of non-component objects (such as space and motion behaviors). By means of the three-dimensional model containing the construction engineering information, the information integration degree of the construction engineering is greatly improved, and therefore a platform for engineering information exchange and sharing is provided for related interest parties of the construction engineering project. With the rapid development of urban construction and computer technology, the BIM technology is more and more widely applied, and generally, a two-dimensional building drawing is read, a primitive is identified by using a computer algorithm, two-dimensional data of a building object is obtained, and the two-dimensional data is output to a three-dimensional engine to produce a three-dimensional model of a building. When the building is extracted by inputting the building general plane positioning diagram, the included building objects are very rich, and when the drawing is identified by adopting the computer programming, each building object cannot be directly identified, only curves, characters, labels and the like can be identified, and attribute information of the curves, the characters, the labels and the like can be identified, and the map layer corresponding to the building object to be identified cannot be determined, and different building objects interfere with each other, which brings difficulty to the automatic identification of the building object graph in the building general plane positioning diagram, and because the variety of the building is different, the graph change of each building outline is different, thereby further improving the difficulty in identifying and extracting the building outline in the building general plane positioning diagram.
Disclosure of Invention
Technical problem to be solved
Based on the problems, the invention provides an automatic identification method of a building outline based on a building general plane positioning diagram, which solves the problem that the building outline is difficult to automatically identify and extract from the building general plane positioning diagram.
(II) technical scheme
Based on the technical problem, the invention provides an automatic identification method of a building outline based on a total plane positioning diagram of a building, which comprises the following steps:
s1, acquiring all characters on the building general plane positioning graph, and traversing to search character strings containing specified characters;
s2, searching a curve which is closest to the character string containing the designated character on the building general plane positioning diagram, searching a closed graph of the same graph layer based on the curve which is closest to the character string containing the designated character, marking the curve which forms the closed graph as 'recognized', and extracting all curves of the corresponding graph layer where the curve which forms the closed graph is located to a curve set;
s3, finding out a closed graph in the same layer for the unidentified curve in the curve set;
s4, respectively screening the closed graphs according to the inputted building types of the building general plane positioning graph to obtain building outlines;
s4.1, judging whether the building type of the input building total plane positioning diagram is a house type, if so, entering a step S4.2, otherwise, judging whether the building type of the input building total plane positioning diagram is a special-shaped building type, if so, entering a step S4.3, otherwise, not being the house type nor the special-shaped building type;
s4.2, traversing the closed graphs, screening out the closed graphs which comprise at least one right angle and have the area more than or equal to a set area I, and taking the closed graphs as the building outline of the house;
and S4.3, traversing the closed graphs, and screening out the closed graphs with the area larger than or equal to the set area II to obtain the building outline of the special-shaped building.
Further, the designated characters described in step S1 are configured by user, the designated characters are "F", "G", or "#", the character "F" represents a floor, "G" represents a cell, and "#" represents a number of floors.
Further, the step S2 includes the following steps:
s2.1, making two horizontal and vertical straight lines relative to the character string through the center of any unidentified character string containing the specified character to obtain a curve with the shortest intersecting distance on the building general plane positioning diagram;
s2.2, based on the curve with the closest distance, searching for a closed graph in the same graph layer, and marking the curve forming the closed graph as 'identified';
s2.3, extracting all curves of the corresponding image layer where the curves forming the closed graph are located into a curve set, and marking the character string containing the specified characters contained in the range of the extracted curves as 'recognized';
and S2.4, judging whether the unrecognized character string containing the specified character exists on the general plane location graph of the building, if so, returning to the step S2.1, and if not, entering the step S3.
Further, the specific method of step S2.2 is:
s2.2.1, taking the curve with the shortest intersection distance as a first curve, taking the two endpoints of each curve as an endpoint A and an endpoint B, searching a second curve connected with the first curve on the same layer in a set searching range, overlapping the endpoint B of the first curve with the endpoint A of the second curve, searching a curve i connected with the i-1 on the same layer, and overlapping the endpoint B of the i-1 with the endpoint A of the i-until no new curve connected with the n-curve can be found;
s2.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S2.3; if not, the curve does not form a closed graph.
Further, the step S3 includes the following steps:
s3.1, obtaining unidentified curves in the curve set, and sorting the curves from long to short;
s3.2, searching the longest curve for a closed graph in the same graph layer, and marking the curve forming the closed graph as recognized:
and S3.3, judging whether unidentified curves exist in the curve set, if so, returning to the step S3.2, otherwise, entering the step S4.
Further, the specific method of step S3.2 is:
s3.2.1, taking the longest curve as a curve I, searching a curve II connected with the curve I on the same layer, overlapping the endpoint B of the curve I with the endpoint A of the curve II, searching a curve i connected with the curve i-1 on the same layer, and overlapping the endpoint B of the curve i-1 with the endpoint A of the curve i until no new curve connected with the curve n can be found;
s3.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S3.3; if not, the curve does not form a closed figure and is marked as "recognized".
Further, the specific steps of step S4.2 are:
s4.2.1, judging whether the unidentified closed figure contains at least one right angle, namely judging whether two curves forming a common end point in the unidentified closed figure are vertical, if so, entering a step S4.2.2, otherwise, marking the closed figure as 'identified' and entering a step S4.2.3 if the curve forming the closed figure is not a building outline;
s4.2.2, judging whether the area of the closed graph is larger than or equal to a set area I, if so, marking the curve forming the closed graph as an architectural outline and marking the closed graph as 'identified'; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; the set area is set according to the area of a house in a self-defining way, and the first set area is 100 square meters;
s4.2.3, judging whether there is any unidentified closed figure, if yes, returning to step S4.2.1, and if no, ending the traversal.
Further, the specific steps of step S4.3 are:
s4.3.1, judging whether the area of the unidentified closed graph is larger than or equal to a set area two, if so, marking the closed graph as an identified building outline by using a curve forming the closed graph; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; the second set area is set according to the area of the special-shaped building, and the second set area is 1000 square meters;
s4.3.2, judging whether there is any unidentified closed figure, if yes, returning to step S4.3.1, and if no, ending the traversal.
Further, the step S4 is followed by:
and S5, rendering and modeling all the building outlines through 3D software to obtain a three-dimensional schematic model of the building.
The invention also discloses an automatic identification system of the building outline based on the general plane positioning diagram of the building, which comprises the following steps:
at least one processor; and at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the automatic identification method of the building outline based on the building overall plan positioning diagram.
The invention also discloses a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the method for automatically identifying the building outline based on the total plane location map of the building.
(III) advantageous effects
The technical scheme of the invention has the following advantages:
(1) the method takes the specific characters commonly shared by the building outlines as break points on the building general plane positioning graph, searches for the closed graphs of the same graph layer, extracts all curves of the corresponding graph layer where the closed graphs are located, searches for the closed graphs of the same graph layer, excludes the curves which cannot form the closed graphs, screens the closed graphs out the building outlines according to the common characteristics of the building outlines, excludes the closed graphs which are not the building outlines, and thus, the building outlines in the building general plane positioning graph are identified in a digitalized, batched, efficient and accurate mode;
(2) according to the method, all curves are obtained through the layer according to the layer drawing rule, so that all closed graphs can be obtained, and omission of the closed graphs is avoided; the obtained closed graphs are respectively screened in a targeted manner by respectively considering the characteristics of houses and special-shaped buildings according to the building types of the input drawings, so that all the closed graphs are more accurately judged according to the corresponding building types; therefore, the accuracy of identifying and extracting the building outline is ensured;
(3) the building outline is identified and extracted by adopting the building general plane positioning diagram, so that the building outline is accurately positioned in an actual digital large scene, and the simple outline of the building in the scene and the overall layout of the scene are more visually displayed by modeling the building outline extracted from the building general plane positioning diagram;
(4) after finding out a closed graph according to any character string, extracting a curve of a graph layer where the closed graph is located and the character strings in the range of the curve, and then finding out the closed graph for any remaining character string, and repeating the steps until no character string containing a specific character exists, so that the calculation amount can be greatly reduced, and the operation efficiency is improved;
(5) the method can be executed independently and can also be cooperated with other building object identification methods of the building general plane positioning diagram, and the method is carried out before the identification methods of roads and green belts, so that the types of other complex graphs in a digital scene can be distinguished conveniently, and the operation speed is accelerated.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 is a partial schematic view of a general plan view of a building according to an embodiment of the invention;
FIG. 2 is a flow chart of the method for automatically identifying the outline of a building based on the general plan view of the building according to the embodiment of the invention;
FIG. 3 is a schematic diagram of a building outline of a plurality of layers on a general plan view of a building according to an embodiment of the present invention;
FIG. 4 is an enlarged schematic view of a building outline according to an embodiment of the present invention;
FIG. 5 is a diagram of all building outlines extracted from the overall plan view of the building according to the embodiment of the present invention;
FIG. 6 is a three-dimensional schematic model diagram of a building outline obtained from a general plan positioning diagram of a building according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In order to realize rapid, batch and digital modeling of the building general plane positioning diagram, plane graphs of various building objects need to be respectively identified and extracted, and modeling is respectively carried out. The general plan positioning diagram of the building is shown in fig. 1, wherein the included building objects are very rich, including buildings, parking spaces, fire platforms, roads, landscapes and the like, and according to the CAD drawing rule, each building object is respectively drawn on at least one map layer. When the drawing is identified by a computer program, each building object cannot be directly identified, only curves, characters, labels and the like and attribute information thereof can be identified, and which layer is the layer corresponding to the building object to be identified cannot be determined, and different building objects interfere with each other, which brings difficulty to automatic identification of the building object graph in the building general plane positioning graph. The invention relates to an automatic identification method of a building outline based on a general plane positioning diagram of a building, which comprises the following steps as shown in figure 2:
s1, acquiring all characters on the building general plane positioning graph, and traversing to search character strings containing specified characters;
generally, the letters related to the building outline are labeled in many numbers, but generally, the letters are provided with characters "F" for representing floors, characters "G" for representing units, characters "#" for representing the number of floors, as shown in fig. 3, the building outline of multiple layers is shown, fig. 4 is an enlarged view of a certain building outline in fig. 3, wherein almost all the building outlines contain the characters "F", the designated characters can be "F", the designated characters adopted in the embodiment of the invention are "F", "G" or "#", the designated characters can be configured in a self-defining manner, and character strings of all possible letter identifications of the building outlines can be found as much as possible.
S2, searching a curve which is closest to the character string containing the specified character on the building general plane positioning diagram; searching a closed graph of the same graph layer based on the closest curve, marking the curve forming the closed graph as identified, and extracting all curves of the corresponding graph layer where the curve forming the closed graph is located to a curve set;
s2.1, making two horizontal and vertical straight lines relative to the character string through the center of any unidentified character string containing the specified character to obtain a curve which is intersected on a general plane positioning diagram of the building and has the shortest distance, namely the curve which has the shortest distance with the character string containing the specified character;
the found intersecting curves with the nearest distance may be more than one curve, but are overlapped curves, and since the vicinity of the character string including the specific character must have a corresponding building outline, at least one curve must be able to obtain the closed graph of the same layer.
S2.2, based on the curve with the closest distance, searching for a closed graph in the same graph layer, and marking the curve forming the closed graph as 'identified';
s2.2.1, taking the curve closest to the curve I as a curve I, taking the two endpoints of the curve I as an endpoint A and an endpoint B, searching a curve II connected with the curve I on the same layer, overlapping the endpoint B of the curve I with the endpoint A of the curve II, searching a curve i connected with the curve i-1 on the same layer, and overlapping the endpoint B of the curve i-1 with the endpoint A of the curve i until no new curve connected with the curve n can be found;
s2.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S2.3; if not, the curve does not form a closed graph;
because the closed graphs of the building outline are all formed by the curves which are connected end to end with the same end point of the graph layer, if the curve which is closest to the graph layer is one side of the closed graph of the same graph layer, the curve which is connected end to end with the same end point of the graph layer can be found out in sequence until the nth curve is connected with the first curve at the same end point, the whole closed graph is obtained, and if the curve which is closest to the graph layer is not one side of the closed graph of the same graph layer, the searching is carried out in such a way, the nth curve is not connected with the first curve at the same end point.
S2.3, extracting all curves of the corresponding image layer where the curves forming the closed graph are located into a curve set, and marking the character string containing the specified characters contained in the range of the extracted curves as 'recognized';
all building outlines are not necessarily subjected to standard and correct character string marking, or adopted specific characters are common but not completely contained, and closed graphs obtained only through character strings can be omitted, so that all closed graphs can be found by extracting curves through layers;
at least one closed figure is found according to any character string containing the specified character, at least one closed figure is a building outline, so that the layer where the found closed figure is located necessarily contains a building outline layer, and although other non-building outline layers can be contained, the subsequent steps can be screened; extracting all curves of the layer where the found closed graph is located, extracting building outlines on the building outline layer where the building outlines corresponding to the character strings containing the specified characters are located, drawing each building object on at least one layer according to CAD drawing rules, wherein the number of the building outline layers is possibly more than one, and the building outlines corresponding to the character strings containing the specified characters are not extracted, so that the character strings containing the specified characters and contained in the range of the extracted curves are excluded, and the character strings containing the specified characters are surrounded by one building outline, so that the character strings containing the specified characters and contained in the range of the extracted curves can be excluded, and the step can be reasonably executed; and after the judgment of S2.4, returning to S2.1 to reselect any character string containing the specified character until no character string containing the specified character exists. S2.4, judging whether the unrecognized character string containing the specified character exists on the general plane positioning diagram of the building, if so, returning to the step S2.1, and if not, entering the step S3;
if the closed graph is searched for each character string containing the designated character according to the steps S2.1 and S2.2, but the search is not performed according to the step S2.3, but after the closed graph found for each character string containing the designated character is obtained, all curves of the corresponding layer where all the closed graphs are located are extracted to a curve set, so that the purpose of the step S2 can be achieved, but the steps S2.1 to S2.4 are adopted in the embodiment, and a closed curve is not searched for each character string containing the designated character, so that the calculation amount can be greatly reduced, and the operation efficiency is improved.
S3, finding out a closed graph in the same layer for the unidentified curve in the curve set;
s3.1, obtaining unidentified curves in the curve set, and sorting the curves from long to short;
s3.2, searching the closed graph on the same graph layer by using the longest curve, and marking the curve forming the closed graph as 'recognized';
s3.2.1, taking the longest curve as a curve I, searching a curve II connected with the curve I on the same layer, overlapping the endpoint B of the curve I with the endpoint A of the curve II, searching a curve i connected with the curve i-1 on the same layer, and overlapping the endpoint B of the curve i-1 with the endpoint A of the curve i until no new curve connected with the curve n can be found;
s3.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S3.3; if not, the curve does not form a closed graph and is marked as 'recognized';
s3.3, judging whether unidentified curves exist in the curve set, if so, returning to the step S3.2, otherwise, entering the step S4;
after all curves are extracted according to the graph layer, the curves on the non-building outline graph layer may be included, so that the curves which cannot form the closed graph in all the extracted curves are excluded through step S3, steps S3.2.1-S3.2.2 are similar to steps S2.2.1-S2.2.2 for finding the closed graph, the curves which form the closed graph and are found according to the character string are marked as "identified" in step S2.2.2, the closed graph is not repeatedly found, the unidentified curves are found from long to short, and therefore, the closed graph is favorably found out in order and repeatedly until all the curves in the curve set are traversed, all the closed graphs are extracted, but not all the graphs are building outlines, and therefore, screening is performed through the subsequent step S4.
S4, respectively screening the closed graphs according to the inputted building types of the building general plane positioning graph to obtain building outlines;
s4.1, judging whether the building type of the input building total plane positioning diagram is a house type, if so, entering a step S4.2, otherwise, judging whether the building type of the input building total plane positioning diagram is a special-shaped building type, if so, entering a step S4.3, otherwise, not being the house type nor the special-shaped building type; s4.2, traversing the closed graphs, screening out the closed graphs which comprise at least one right angle and have the area more than or equal to a set area I, and taking the closed graphs as the building outline of the house;
s4.2.1, judging whether the unidentified closed figure contains at least one right angle, namely judging whether two curves forming a common end point in the unidentified closed figure are vertical, if so, entering a step S4.2.2, otherwise, marking the closed figure as 'identified' and entering a step S4.2.3 if the curve forming the closed figure is not a building outline;
s4.2.2, judging whether the area of the closed graph is larger than or equal to a set area I, if so, marking the curve forming the closed graph as an architectural outline and marking the closed graph as 'identified'; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; the set area is set by self according to the area of a house, and the set area is 100 square meters;
s4.2.3, judging whether unidentified closed graphs still exist, if yes, returning to the step S4.2.1, and if not, entering the step S5;
s4.3, traversing the closed graphs, and screening out the closed graphs with the area larger than or equal to the set area II to be the building outline of the special-shaped building;
s4.3.1, judging whether the area of the unidentified closed graph is larger than or equal to a set area two, if so, marking the closed graph as an identified building outline by using a curve forming the closed graph; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; setting two areas according to the area self-defined setting of a house, wherein the area is 1000 square meters in the embodiment;
s4.3.2, judging whether unidentified closed graphs still exist, if yes, returning to the step S4.3.1, and if not, entering the step S5;
step S4 is to eliminate the closed graphs that do not belong to the building outline, and to screen all the closed graphs more specifically according to the characteristics of different building types according to the inputted building types of the building general plane positioning diagram, so that all the closed graphs are more accurately judged according to the building types, and screening errors caused by different types are avoided. According to the plane characteristics of building types, the building is roughly divided into a house type and a special-shaped building type, although closed figures formed by building outlines are very various and can comprise right angles, obtuse angles, acute angles and curved surfaces, the building outlines of the house type are square and regular, even if the obtuse angles, the acute angles or the curved surfaces exist, at least one right angle exists, the area of the building outlines is generally more than or equal to 100 square meters, the special-shaped buildings are more strong in design sense, are large buildings with changeable and irregular shapes, and the area of the building outlines is generally more than or equal to 1000 square meters, such as Beijing CBD 6 tower, Beijing Yinhe SOHO and Beijing museum automobile; therefore, the set area I of the building outline of the house type is 100 square meters, and the set area II of the building outline of the special-shaped building type is 1000 square meters, which can be set by self according to the requirement. The general plan view of the building inputted in the embodiment of the present invention is a residential category, and the outline of the building of the residential category obtained by the screening in step S4 is shown in fig. 5.
S5, rendering and modeling all the building outlines through 3D software to obtain a three-dimensional schematic model of the building;
the elevation is not set, the obtained three-dimensional schematic model diagram of the building is not an accurate model as shown in fig. 6, is used for roughly illustrating the scene and more intuitively showing the position of the building so as to place a real building BIM model or clearly show the building, the non-building and the like, and is beneficial to accurately positioning the building BIM model in the digital scene; here, the set elevation may also be obtained from the number of the character string representing the designated character of the building in step S1, resulting in a more accurate real building BIM model.
The method can be independently used for identifying and extracting the building outline of the building general plane positioning graph; the method can also be used for cooperating with other building object identification and extraction methods for the building general plane location diagram, for example, the method is carried out after the identification method of the parking space based on the building general plane location diagram, because the rectangular graph structure of the parking space is simpler, the calculation amount can be reduced after the rectangular graph structure is extracted, the interference is reduced, and/or the method is carried out before the identification method of the road based on the building general plane location diagram, and/or the method is carried out before the identification method of the green belt based on the building general plane location diagram, so that the types of other complex graphs in a digital scene can be conveniently distinguished, and the operation speed is accelerated.
Finally, it should be noted that the above-described methods may be converted into software program instructions, either implemented by running a system comprising a processor and a memory, or implemented by computer instructions stored in a non-transitory computer readable storage medium. The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In summary, the automatic identification method of the building outline based on the building general plane positioning diagram has the following beneficial effects:
(1) the method takes the specific characters commonly shared by the building outlines as break points on the building general plane positioning graph, searches for the closed graphs of the same graph layer, extracts all curves of the corresponding graph layer where the closed graphs are located, searches for the closed graphs of the same graph layer, excludes the curves which cannot form the closed graphs, screens the closed graphs out the building outlines according to the common characteristics of the building outlines, excludes the closed graphs which are not the building outlines, and thus, the building outlines in the building general plane positioning graph are identified in a digitalized, batched, efficient and accurate mode;
(2) according to the method, all curves are obtained through the layer according to the layer drawing rule, so that all closed graphs can be obtained, and omission of the closed graphs is avoided; the obtained closed graphs are respectively screened in a targeted manner by respectively considering the characteristics of houses and special-shaped buildings according to the building types of the input drawings, so that all the closed graphs are more accurately judged according to the corresponding building types; therefore, the accuracy of identifying and extracting the building outline is ensured;
(3) the building outline is identified and extracted by adopting the building general plane positioning diagram, so that the building outline is accurately positioned in an actual digital large scene, the extracted building outline is quickly generated into a building outline three-dimensional schematic model, and the simple outline of the building in the scene and the overall layout of the scene are more visually shown;
(4) after finding out a closed graph according to any character string, extracting a curve of a graph layer where the closed graph is located and the character strings in the range of the curve, and then finding out the closed graph for any remaining character string, and repeating the steps until no character string containing a specific character exists, so that the calculation amount can be greatly reduced, and the operation efficiency is improved;
(5) the method can be executed independently and can also be cooperated with other building object identification methods of the building general plane positioning diagram, and the method is carried out before the identification methods of roads and green belts, so that the types of other complex graphs in a digital scene can be distinguished conveniently, and the operation speed is accelerated.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. An automatic identification method of a building outline based on a building general plane positioning diagram is characterized by comprising the following steps:
s1, acquiring all characters on the building general plane positioning graph, and traversing to search character strings containing specified characters;
s2, searching a curve which is closest to the character string containing the designated character on the building general plane positioning diagram, searching a closed graph of the same graph layer based on the curve which is closest to the character string containing the designated character, marking the curve which forms the closed graph as 'recognized', and extracting all curves of the corresponding graph layer where the curve which forms the closed graph is located to a curve set;
s3, finding out a closed graph in the same layer for the unidentified curve in the curve set;
s4, respectively screening the closed graphs according to the inputted building types of the building general plane positioning graph to obtain building outlines;
s4.1, judging whether the building type of the input building total plane positioning diagram is a house type, if so, entering a step S4.2, otherwise, judging whether the building type of the input building total plane positioning diagram is a special-shaped building type, if so, entering a step S4.3, otherwise, not being the house type nor the special-shaped building type;
s4.2, traversing the closed graphs, screening out the closed graphs which comprise at least one right angle and have the area more than or equal to a set area I, and taking the closed graphs as the building outline of the house;
and S4.3, traversing the closed graphs, and screening out the closed graphs with the area larger than or equal to the set area II to obtain the building outline of the special-shaped building.
2. The method for automatically recognizing the outline of a building based on the general floor plan of a building as claimed in claim 1, wherein the designated characters described in step S1 are custom-configured, the designated characters are "F", "G" or "#", the character "F" represents a floor, "G" represents a unit, and "#" represents the number of buildings.
3. The method for automatically identifying the outline of a building based on the general plan view of a building as claimed in claim 1, wherein the step S2 comprises the steps of:
s2.1, making two horizontal and vertical straight lines relative to the character string through the center of any unidentified character string containing the specified character to obtain a curve with the shortest intersecting distance on the building general plane positioning diagram;
s2.2, based on the curve with the closest distance, searching for a closed graph in the same graph layer, and marking the curve forming the closed graph as 'identified';
s2.3, extracting all curves of the corresponding image layer where the curves forming the closed graph are located into a curve set, and marking the character string containing the specified characters contained in the range of the extracted curves as 'recognized';
and S2.4, judging whether the unrecognized character string containing the specified character exists on the general plane location graph of the building, if so, returning to the step S2.1, and if not, entering the step S3.
4. The method for automatically identifying the building outline based on the building general plan location map as claimed in claim 3, wherein the concrete method of the step S2.2 is as follows:
s2.2.1, using the curve with the shortest intersection distance as a first curve, using two endpoints of each curve as an endpoint A and an endpoint B, searching a second curve connected with the first curve on the same layer in a set searching range, overlapping the endpoint B of the first curve with the endpoint A of the second curve, searching a curve i connected with the i-1 on the same layer, and overlapping the endpoint B of the i-1 with the endpoint A of the i- … until no new curve connected with the n-curve can be found;
s2.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S2.3; if not, the curve does not form a closed graph.
5. The method for automatically identifying the outline of a building based on the general plan view of a building as claimed in claim 1, wherein the step S3 comprises the steps of:
s3.1, obtaining unidentified curves in the curve set, and sorting the curves from long to short;
s3.2, searching the longest curve for a closed graph in the same graph layer, and marking the curve forming the closed graph as recognized:
and S3.3, judging whether unidentified curves exist in the curve set, if so, returning to the step S3.2, otherwise, entering the step S4.
6. The method for automatically identifying the building outline based on the building general plan location map as claimed in claim 5, wherein the concrete method of the step S3.2 is as follows:
s3.2.1, taking the longest curve as a first curve, searching a second curve connected with the first curve on the same layer, overlapping an end point B of the first curve with an end point A of the second curve …, searching a curve i connected with the i-1 on the same layer, and overlapping an end point B of the i-1 with an end point A of the i … until a new curve connected with the n cannot be found;
s3.2.2, judging whether the end point B of the curve n is overlapped with the end point A of the curve I, if so, forming a closed graph by the curve, marking the curve forming the closed graph as 'recognized', and entering the step S3.3; if not, the curve does not form a closed figure and is marked as "recognized".
7. The method for automatically identifying the building outline based on the building general plan location map as claimed in claim 1, wherein the specific steps of the step S4.2 are as follows:
s4.2.1, judging whether the unidentified closed figure contains at least one right angle, namely judging whether two curves forming a common end point in the unidentified closed figure are vertical, if so, entering a step S4.2.2, otherwise, marking the closed figure as 'identified' and entering a step S4.2.3 if the curve forming the closed figure is not a building outline;
s4.2.2, judging whether the area of the closed graph is larger than or equal to a set area I, if so, marking the curve forming the closed graph as an architectural outline and marking the closed graph as 'identified'; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; the set area is set according to the area of a house in a self-defining way, and the first set area is 100 square meters;
s4.2.3, judging whether there is any unidentified closed figure, if yes, returning to step S4.2.1, and if no, ending the traversal.
8. The method for automatically identifying the building outline based on the building general plan location map as claimed in claim 1, wherein the specific steps of the step S4.3 are as follows:
s4.3.1, judging whether the area of the unidentified closed graph is larger than or equal to a set area two, if so, marking the closed graph as an identified building outline by using a curve forming the closed graph; otherwise, the curve forming the closed graph is not the building outline, and the closed graph is marked as 'recognized'; the second set area is set according to the area of the special-shaped building, and the second set area is 1000 square meters;
s4.3.2, judging whether there is any unidentified closed figure, if yes, returning to step S4.3.1, and if no, ending the traversal.
9. The method for automatically identifying building outline based on the general plan view positioning diagram of the building as claimed in claim 1, wherein the step S4 is followed by further comprising:
and S5, rendering and modeling all the building outlines through 3D software to obtain a three-dimensional schematic model of the building.
10. An automatic building outline identification system based on a building overall plane positioning diagram is characterized by comprising:
at least one processor; and at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor calls the program instructions to execute the method for automatically identifying a building outline based on a general floor plan of a building according to any one of claims 1 to 9.
CN202111048127.7A 2021-09-08 2021-09-08 Automatic building outline identification method based on building general plane positioning diagram Pending CN113901542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111048127.7A CN113901542A (en) 2021-09-08 2021-09-08 Automatic building outline identification method based on building general plane positioning diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111048127.7A CN113901542A (en) 2021-09-08 2021-09-08 Automatic building outline identification method based on building general plane positioning diagram

Publications (1)

Publication Number Publication Date
CN113901542A true CN113901542A (en) 2022-01-07

Family

ID=79188819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111048127.7A Pending CN113901542A (en) 2021-09-08 2021-09-08 Automatic building outline identification method based on building general plane positioning diagram

Country Status (1)

Country Link
CN (1) CN113901542A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030184545A1 (en) * 2002-03-27 2003-10-02 Sony Corporation Three-dimensional model generating system and method, and computer program therefor
JP2007115238A (en) * 2005-09-20 2007-05-10 Fukui Computer Kk Device, method, program for processing two-dimensional cad data and closed area identification method
CN101673410A (en) * 2008-09-12 2010-03-17 中国科学院计算技术研究所 Vector building drawing based method for reconstructing three-dimensional model
CN110689607A (en) * 2019-09-18 2020-01-14 山东新汉唐数据科技有限公司 System, method, computer-readable storage medium, and apparatus for drawing recognition and three-dimensional modeling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030184545A1 (en) * 2002-03-27 2003-10-02 Sony Corporation Three-dimensional model generating system and method, and computer program therefor
JP2007115238A (en) * 2005-09-20 2007-05-10 Fukui Computer Kk Device, method, program for processing two-dimensional cad data and closed area identification method
CN101673410A (en) * 2008-09-12 2010-03-17 中国科学院计算技术研究所 Vector building drawing based method for reconstructing three-dimensional model
CN110689607A (en) * 2019-09-18 2020-01-14 山东新汉唐数据科技有限公司 System, method, computer-readable storage medium, and apparatus for drawing recognition and three-dimensional modeling

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李昌华田思敏周方晓: "自适应分块的BIM墙体轮廓提取及三维重建研究", 计算机科学与探索, vol. 12, no. 3, 15 April 2017 (2017-04-15), pages 452 - 461 *
杨立瑞 周济: "基于轮廓形状分析的图素识别方法", 华中理工大学学报, vol. 24, no. 4, 30 April 1996 (1996-04-30), pages 27 - 29 *

Similar Documents

Publication Publication Date Title
CN109993827B (en) Elevation view identification method for converting building drawing into three-dimensional BIM model
CN112070769B (en) Layered point cloud segmentation method based on DBSCAN
CN111008422B (en) Building live-action map making method and system
CN109816772B (en) Processing method for rapidly generating virtual reality scene from CAD house type file
CN109684428A (en) Spatial data building method, device, equipment and storage medium
CN110180186B (en) Topographic map conversion method and system
CN111597170B (en) Method for building spatial semantic database from BIM model without damage
CN114612488A (en) Building-integrated information extraction method, computer device, and storage medium
Laycock et al. Automatically generating large urban environments based on the footprint data of buildings
CN112712592B (en) Building three-dimensional model semantization method
JP2023530795A (en) Geolocation zone encoding method, method for establishing encoding model, and apparatus
CN108074232A (en) A kind of airborne LIDAR based on volume elements segmentation builds object detecting method
CN114722963A (en) Legend identification method and system for generating three-dimensional BIM (building information modeling) model by using two-dimensional drawing of subway station
CN115438133A (en) Geographic entity geometric expression method based on semantic relation
She et al. 3D building model simplification method considering both model mesh and building structure
CN113901539A (en) Automatic identification and application method for shaft network of CAD drawing of building and structure
CN113936265A (en) Parking space automatic identification method based on building general plane positioning diagram
CN113780459A (en) Urban and rural settlement type automatic identification method and system based on space pedigree
CN103729638A (en) Text row arrangement analytical method and device for text area recognition
CN113901542A (en) Automatic building outline identification method based on building general plane positioning diagram
CN110688995A (en) Map query processing method, computer-readable storage medium and mobile terminal
Namouchi et al. Piecewise horizontal 3d roof reconstruction from aerial lidar
CN113901540A (en) Door and window surface building drawing type and door and window automatic identification method
CN114463499A (en) Building three-dimensional modeling method and device
CN114005132A (en) Automatic road identification method based on building general plane positioning diagram

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