CN116342604A - Method and system for achieving contour similarity matching based on shear wall appearance - Google Patents

Method and system for achieving contour similarity matching based on shear wall appearance Download PDF

Info

Publication number
CN116342604A
CN116342604A CN202310621286.4A CN202310621286A CN116342604A CN 116342604 A CN116342604 A CN 116342604A CN 202310621286 A CN202310621286 A CN 202310621286A CN 116342604 A CN116342604 A CN 116342604A
Authority
CN
China
Prior art keywords
shear wall
longest
reinforcement
wall profile
peripheral edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310621286.4A
Other languages
Chinese (zh)
Other versions
CN116342604B (en
Inventor
刘程
张友三
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202310621286.4A priority Critical patent/CN116342604B/en
Publication of CN116342604A publication Critical patent/CN116342604A/en
Application granted granted Critical
Publication of CN116342604B publication Critical patent/CN116342604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Computing Systems (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method for realizing contour similarity matching based on the appearance of a shear wall, which comprises the following steps: extracting the outline of the shear wall consistent with the number of the shear wall in the construction drawing from the reinforcement drawing, and scaling the outlines of the shear wall in the reinforcement drawing and the construction drawing to the actual size and straightening; respectively acquiring the longest peripheral edge, the adjacent edge and the positioning point of the shear wall profile in the construction drawing and the reinforcement drawing; performing position transformation on the shear wall profile in the reinforcement graph by taking the positioning point as the center until the reinforcement graph is respectively overlapped with the longest peripheral edge and the adjacent edge of the shear wall profile in the construction graph; if the length difference between the longest peripheral edge and the adjacent edge of the shear wall profile in the reinforcement diagram and the construction diagram is within the set range, the shear wall profile in the reinforcement diagram is similar to the shear wall profile in the construction diagram. According to the invention, the similar matching of the shear wall contour in the reinforcement diagram and the shear wall contour in the construction diagram, which is corresponding to the serial numbers of the shear wall contours, is realized automatically, the contours are similar, and the size difference is small, so that the BIM construction efficiency is improved.

Description

Method and system for achieving contour similarity matching based on shear wall appearance
Technical Field
The invention relates to the technical field of BIM, in particular to a method and a system for realizing contour similarity matching based on the appearance of a shear wall.
Background
The shear wall has the main functions of bearing vertical load (gravity) and resisting horizontal load (wind, earthquake and the like), and the accuracy of the steel bars is important. When a concrete BIM (Building Information Modeling, building information model) is constructed, the reinforcement information of the shear wall in the construction drawing is required to be matched and extracted in the reinforcement drawing, but in many projects, due to modification or error, the conditions that the shear wall in the construction drawing is inconsistent in size but similar in outline and small in size difference and the reinforcement information can be adopted exist in the shear wall in the reinforcement drawing, and when the existing accurate matching method is adopted, the matching fails, whether the shear wall is a corresponding shear wall with similar outline or not needs to be manually confirmed, and whether the reinforcement information can be matched or not greatly influences the efficiency of constructing the BIM.
Disclosure of Invention
First, the technical problem to be solved
Based on the problems, the invention provides a method and a system for realizing contour similarity matching based on the appearance of a shear wall, which solve the problem that BIM construction efficiency is affected due to inconsistent sizes of the shear wall in a construction drawing and the shear wall in a reinforcement drawing, automatically realize similar matching of the contour of the shear wall in the reinforcement drawing and the contour of the shear wall in the construction drawing, wherein the contour is corresponding to the serial number of the contour of the shear wall in the construction drawing, the contour is similar, and the size difference is small, and improve the BIM construction efficiency.
(II) technical scheme
Based on the technical problems, the invention provides a method for realizing contour similarity matching based on the appearance of a shear wall, which comprises the following steps:
s1, extracting the outline of a shear wall consistent with the number of the shear wall in a construction drawing from a reinforcement drawing;
s2, scaling the shear wall contour in the reinforcement diagram and the shear wall contour in the construction diagram to be large in practice and straightening;
s3, respectively acquiring the longest peripheral edge, the adjacent edge and the positioning point of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing;
the longest peripheral edge is the longest edge overlapped with the bounding box; the adjacent edge is an edge adjacent to the longest peripheral edge and having a greater specific gravity; the locating point is the intersection point of the adjacent edge and the longest peripheral edge;
s4, moving the shear wall profile in the reinforcement graph after the alignment from a positioning point of the shear wall profile in the reinforcement graph to a positioning point of the shear wall profile in the construction graph, and performing position transformation on the shear wall profile in the reinforcement graph by taking the positioning point as a center until the shear wall profile in the reinforcement graph is respectively overlapped with the longest peripheral edge and the adjacent edge of the shear wall profile in the construction graph;
s5, judging whether the length differences of the corresponding longest peripheral edge and the adjacent edge of the shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are within a set range, if so, the shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are in similar matching; otherwise, the profile of the shear wall in the reinforcement diagram is not similar to the profile of the shear wall in the construction diagram.
Further, in the step S3, the method for obtaining the longest peripheral edge includes:
s311, obtaining a bounding box according to the shear wall outline, wherein the edge overlapped with the bounding box is a peripheral edge, and the edge not overlapped with the bounding box is an inner edge;
s312, sequencing the peripheral edges according to the length, and comparing to obtain the longest peripheral edge of the shear wall profile;
s313, judging whether the number of the longest peripheral edge strips is equal to one, if so, obtaining a unique longest peripheral edge, otherwise, entering step S314;
s314, respectively calculating the reciprocal of the sum of the distances between each longest peripheral edge and all the corresponding parallel edges to obtain the specific gravity of each longest peripheral edge, and comparing the specific gravity to obtain the maximum specific gravity;
s315, judging whether the number of the maximum specific gravities is equal to one, if so, the longest peripheral edge corresponding to the maximum specific gravities is the unique longest peripheral edge, otherwise, one of the longest peripheral edges corresponding to the maximum specific gravities is the unique longest peripheral edge.
Further, in the step S3, the method for acquiring the adjacent edge includes:
s321, judging whether an edge adjacent to the longest peripheral edge can be found in the peripheral edges, if so, entering a step S322, otherwise, searching an edge adjacent to the longest peripheral edge in the inner edges, and entering a step S322;
s322, sequencing the adjacent edges, and comparing the lengths to obtain the longest adjacent edge;
s323, judging whether the number of the longest adjacent edges is equal to one, if so, the longest adjacent edges are adjacent edges, otherwise, entering step S324;
s324, respectively calculating the distance sum of each longest adjacent side and all corresponding parallel sides to obtain the specific gravity of each longest adjacent side, and comparing the specific gravity to obtain the maximum specific gravity;
s325, judging whether the number of the maximum specific gravities is equal to one, if so, the longest adjacent side corresponding to the maximum specific gravities is the adjacent side, otherwise, optionally, one of the longest adjacent sides corresponding to the maximum specific gravities is the adjacent side.
Further, in the step S2, the aligning includes:
s21, respectively obtaining the longest edges of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing;
s22, respectively straightening the shear wall profile in the reinforcement diagram and the shear wall profile in the construction diagram along the corresponding longest edges.
Further, in the step S21, the method for obtaining the longest edge includes:
s211, breaking the shear wall profile into a plurality of edges at turning points;
s212, sequencing the edges according to the length to obtain the longest edge of the shear wall profile.
Further, in the step S4, the position transformation includes rotation by 90 °, rotation by 180 °, rotation by 270 °, mirroring and rotation by 90 °, mirroring and rotation by 180 °, mirroring and rotation by 270 °.
Further, in the step S5, the setting range is not more than 200mm.
Further, step S5 further includes: when the shear wall profile in the reinforcement diagram is similar to the shear wall profile in the construction diagram, entering step S6:
s6, outputting a transformation sequence of the shear wall profile in the reinforcement graph, wherein the transformation sequence comprises the scaling, the straightening and the position transformation taking the positioning point as the center.
The invention also discloses a system for realizing contour similarity matching based on the appearance of the shear wall, which comprises:
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 method for realizing contour similarity matching based on the appearance of the shear wall.
The invention also discloses a non-transitory computer readable storage medium storing computer instructions that cause the computer to execute the method for achieving contour similarity matching based on the shear wall profile.
(III) beneficial effects
The technical scheme of the invention has the following advantages:
(1) After the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are scaled and aligned, the positioning points are used as centers to perform position transformation, so that the positioning points, the longest peripheral edges and the adjacent edges of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are respectively overlapped, the lengths of the corresponding edges of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are compared, the similar matching of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram, which are corresponding in number, similar in contour and small in size difference, is obtained, the automatic matching duty ratio is improved, and the BIM construction efficiency is improved;
(2) The invention considers the situation that a plurality of identical longest peripheral edges exist, considers comprehensively, ensures the unique longest peripheral edge through specific gravity comparison, and improves the accuracy of the similarity matching;
(3) According to the invention, the conversion sequence of the shear wall contour in the reinforcement graph, which is similar to the shear wall contour in the construction graph, is output, so that the reinforcement information corresponding to the shear wall contour in the reinforcement graph is correspondingly converted and then is put into the reinforcement, and the efficiency and the accuracy of reinforcement operation of the shear wall in the construction graph are improved.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and should not be construed as limiting the invention in any way, in which:
FIG. 1 is an overall flow chart of a method for achieving contour similarity matching based on shear wall profiles in an embodiment of the invention;
FIG. 2 is a schematic view of a shear wall I in a reinforcement bar graph according to an embodiment of the present invention;
FIG. 3 is a schematic view of a shear wall I in a construction diagram according to an embodiment of the present invention;
FIG. 4 shows a scaled and aligned profile of a shear wall in a reinforcement bar graph and a profile of a shear wall in a construction graph, wherein (a) is the profile of the shear wall in the reinforcement bar graph and (b) is the profile of the shear wall in the construction graph;
FIG. 5 shows a second shear wall profile in a scaled and aligned reinforcement bar graph and a second shear wall profile in a construction graph, wherein (a) is the second shear wall profile in the reinforcement bar graph and (b) is the second shear wall profile in the construction graph;
fig. 6 is a schematic diagram of a shear wall profile in a reinforcement diagram after position transformation and a positioning point, a longest peripheral edge and an adjacent edge of the shear wall profile in a construction diagram respectively overlapped.
Detailed Description
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
The embodiment of the invention discloses a method for realizing contour similarity matching based on the appearance of a shear wall, which is shown in fig. 1 and comprises the following steps:
s1, extracting the outline of a shear wall consistent with the number of the shear wall in a construction drawing from a reinforcement drawing;
the shear wall in the reinforcement diagram is shown in fig. 2, the shear wall in the construction diagram is shown in fig. 3, and the shear wall corresponds to the shear wall through a number YBZ.
S2, scaling the shear wall contour in the reinforcement diagram and the shear wall contour in the construction diagram to the actual size and straightening;
the shear wall profile in the reinforcement diagram has a scale, so that the shear wall profile in the reinforcement diagram and the shear wall profile in the construction diagram are scaled to the actual size so as to carry out subsequent comparison and matching.
The centering is centering along the longest edge, and the specific steps comprise:
s21, respectively acquiring the longest side of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing, wherein the method for acquiring the longest side comprises the following steps:
s211, breaking the shear wall profile into a plurality of edges at turning points;
s212, sequencing the sides according to the length to obtain the longest side of the shear wall profile;
general three-dimensional modeling software such as rhinoceros has the function of automatically sequencing to obtain the longest line segment.
S22, respectively straightening the shear wall contour in the reinforcement diagram and the shear wall contour in the construction diagram along the corresponding longest edges;
the alignment along the corresponding longest side is represented by alignment in an XOY coordinate, and the longest side is selected for alignment because the longest side can generally indicate the longitudinal direction of the graph, the shear wall contours are aligned according to the longest side, namely, the shear wall contours are aligned according to the longitudinal direction, and alignment comparison is convenient when the shear wall contours are rotated at right angles subsequently; and because the longest sides of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing are not the same side, the shear wall profile and the shear wall profile in the reinforcement drawing can be different by 0-3 times of 90 degrees or 0-3 times of 90 degrees after mirror image after being respectively aligned along the longest sides. If the longest edge has the same plurality of edges, one edge is randomly selected to be aligned, and the subsequent edge can also rotate at right angles, so that the subsequent determination and comparison of the longest peripheral edge and the adjacent edge are not affected.
In this embodiment, the shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are scaled to the same size, the shear wall profile in the reinforcement graph is aligned along the longest side A1, and three longest sides A1, B1 and B2 with the same length are arranged in the shear wall profile in the construction graph, and the obtained scaled and aligned shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are respectively shown as the graph (a) and the graph (B) in fig. 4 along any one of the longest sides in the XOY axis.
S3, respectively acquiring the longest peripheral edge, the adjacent edge and the positioning point of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing; the longest peripheral edge is the longest edge overlapped with the bounding box; the adjacent edge is an edge adjacent to the longest peripheral edge and having a greater specific gravity; the locating point is the intersection point of the adjacent edge and the longest peripheral edge;
s31, the method for acquiring the longest peripheral edge comprises the following steps:
s311, obtaining a bounding box according to the shear wall outline, wherein the edge overlapped with the bounding box is a peripheral edge, and the edge not overlapped with the bounding box is an inner edge;
the three-dimensional modeling software such as rhinoceros can automatically obtain two points of opposite angles of the bounding box according to the outline, and obtain the range of the bounding box;
s312, sequencing the peripheral edges according to the length, and comparing to obtain the longest peripheral edge of the shear wall profile;
however, there may be more than one longest peripheral edge, and the plurality of peripheral edges are longest and have identical lengths, so that it is necessary to further determine the specific gravity of each longest peripheral edge, and obtain a unique longest peripheral edge according to the specific gravity:
s313, judging whether the number of the longest peripheral edge strips is equal to one, if so, obtaining a unique longest peripheral edge, otherwise, entering step S314;
s314, respectively calculating the distance sum of each longest peripheral edge and all the corresponding parallel edges to obtain the specific gravity of each longest peripheral edge, and comparing the specific gravity to obtain the maximum specific gravity;
the greater the distance sum of the longest peripheral edge and all the corresponding parallel edges, the greater the specific gravity of the longest peripheral edge, which is self-nominated for convenient comparison of the distance sums;
s315, judging whether the number of the maximum specific gravities is equal to one, if so, the longest peripheral edge corresponding to the maximum specific gravities is the unique longest peripheral edge, otherwise, one of the longest peripheral edges corresponding to the maximum specific gravities is the unique longest peripheral edge;
for example, when two longest peripheral edges exist, the longest peripheral edge with larger specific gravity is taken as the unique longest peripheral edge, if the specific gravity of the two longest peripheral edges is equal, the center lines of the two longest peripheral edges are symmetrical, and the obtained adjacent edges, positioning points and positions are identical, so that one of the two longest peripheral edges is selected as the unique longest peripheral edge.
For the shear wall profile in the reinforcement diagram of fig. 4 (a), of the peripheral edges a1, a2, a3, a4, the obviously longest peripheral edge is a1; for the shear wall profile in the construction diagram of fig. 4 (b), of the peripheral edges A1, A2, A3, A4, it is evident that the longest peripheral edge is A1.
For the shear wall profile in the reinforcement diagram of fig. 5 (a), the lengths of e1 and e2 are the same and longest among the peripheral edges e1, e2, e3, e4, the distances between e1 and f1, f2, f3, f4, and e2 are calculated and the specific gravity of e1 is obtained, the distances between e2 and f1, f2, f3, f4, and e1 are calculated and the specific gravity of e2 is obtained, the specific gravity of e2 is larger, and e2 is the only longest peripheral edge; for the shear wall profile in the construction diagram of fig. 5 (b), the lengths of the peripheral edges E1, E2, E3, E4 are the same and longest, the distances between E1 and F1, F2, F3, F4, and E2, respectively, and the specific gravity of the obtained E1 are calculated, the distances between E2 and F1, F2, F3, F4, and E1, respectively, and the specific gravity of the obtained E2 are calculated, the specific gravity of E1 and the specific gravity of E2 are the same, and the longest peripheral edge with E1 as the sole or the longest peripheral edge with E2 as the sole, and thus, the subsequent processes are consistent, and therefore, one of them is selected, the longest peripheral edge with E2 as the sole.
S32, the acquisition method of the adjacent edges comprises the following steps:
s321, judging whether an edge adjacent to the longest peripheral edge can be found in the peripheral edges, if so, entering a step S322, otherwise, searching an edge adjacent to the longest peripheral edge in the inner edges, and entering a step S322;
the edges that connect to the ends of the longest peripheral edge are also generally peripheral edges, but there are special cases, such as the internal edges for the "cross" shear wall shown in fig. 5.
S322, sequencing the adjacent edges, and comparing the lengths to obtain the longest adjacent edge;
the number of the longest adjacent edges may be more than one, and the lengths of the longest adjacent edges are the same, so that the specific gravity of each longest adjacent edge needs to be further judged, and the unique adjacent edge is obtained according to the specific gravity.
S323, judging whether the number of the longest adjacent edges is equal to one, if so, the longest adjacent edges are adjacent edges, otherwise, entering step S324;
s324, respectively calculating the distance sum of each longest adjacent side and all corresponding parallel sides to obtain the specific gravity of each longest adjacent side, and comparing the specific gravity to obtain the maximum specific gravity;
similar to step S314, the greater the sum of distances from all sides corresponding in parallel among the longest sides adjacent to the longest peripheral side, the greater the specific gravity;
s325, judging whether the number of the maximum specific gravities is equal to one, if so, the longest adjacent side corresponding to the maximum specific gravities is the adjacent side, otherwise, one of the longest adjacent sides corresponding to the maximum specific gravities is the adjacent side;
similar to step S315, the two edges respectively connected to the two ends of the longest peripheral edge are the only adjacent edges with larger specific gravity, if the specific gravity of the two edges is equal, the center lines of the two edges are symmetrical, so that the obtained positioning points and positions are identical, and therefore, one of the two edges is the only longest peripheral edge.
S33, the acquisition method of the positioning point comprises the following steps: and the intersection point of the adjacent edge and the longest peripheral edge is a positioning point.
For the shear wall profile in the reinforcement diagram of the graph (a) in fig. 4, peripheral edges a2 and a3 are adjacent to the longest peripheral edge a1, the sum of the distances between the a2 and the parallel edges b1, b2 and a3 is calculated to obtain the specific gravity of a2, the sum of the distances between the a3 and the parallel edges b1, b2 and a2 is calculated to obtain the specific gravity of a3, the specific gravity of a2 is larger, a2 is the adjacent edge, and the intersection o1 of the a1 and the a2 is the locating point; for the shear wall profile in the construction diagram of the diagram (B) in fig. 4, the peripheral edges A2 and A3 are respectively connected with the two ends of the longest peripheral edge A1, the distance sum of the parallel edges B1, B2 and A3 of the A2 is calculated to obtain the specific gravity of the A2, the distance sum of the parallel edges B1, B2 and A2 of the A3 is calculated to obtain the specific gravity of the A3, the specific gravity of the A3 is the same as the specific gravity of the A2, and the subsequent treatment is consistent by taking the A2 or the A3 as the adjacent edge, so that one of the peripheral edges A2 and A3 is selected, and the intersection point O1 of the A2 and the A3 is taken as the locating point.
For the shear wall profile in the reinforcement diagram of fig. 5 (a), the peripheral edge adjacent to the longest peripheral edge e2 is not found, and adjacent f7 and f8 are found in the inner edge, the sum of the distances between f7 and the parallel edges f5, f6, f8, e4 and e3 is calculated to obtain the specific gravity of f7, the sum of the distances between f8 and the parallel edges f5, f6, f7, e4 and e3 is calculated to obtain the specific gravity of f8, the specific gravity of f7 is larger, and f7 is the adjacent edge; for the shear wall profile in the construction diagram of fig. 5 (b), the peripheral edge adjacent to the longest peripheral edge E2 is not found, and adjacent F7 and F8 are found in the inner edge, and similarly, the specific gravity of F7 is calculated to be larger, and F7 is the adjacent edge.
S4, moving the shear wall profile in the scaled reinforcement diagram from a positioning point of the shear wall profile in the reinforcement diagram to a positioning point of the shear wall profile in the construction diagram, and performing position transformation on the shear wall profile in the reinforcement diagram by taking the positioning point as a center until the shear wall profile in the reinforcement diagram is respectively overlapped with the longest peripheral edge and the adjacent edge of the shear wall profile in the construction diagram;
as can be seen from the above steps S1 and S2, the scaled and aligned shear wall profile may be different from the shear wall profile in the reinforcement graph by 0-3 times of 90 ° or 0-3 times of 90 ° after mirroring, so that the position transformation includes rotation by 90 °, rotation by 180 °, rotation by 270 °, mirroring and rotation by 90 °, mirroring and rotation by 180 °, mirroring and rotation by 270 °, until the location point, the longest peripheral edge, and the adjacent edge of the shear wall profile in the reinforcement graph are reached to coincide with the location point, the longest peripheral edge, and the adjacent edge of the shear wall profile in the construction graph, respectively, so as to perform comparison of the profile and the length of the corresponding edge length.
The shear wall contour in the reinforcement diagram shown in fig. 4 (a) is subjected to mirror image position transformation, so that the locating points, the longest peripheral edge and the adjacent edges of the shear wall contour in the reinforcement diagram in fig. 4 (a) are respectively overlapped with the locating points, the longest peripheral edge and the adjacent edges of the shear wall contour in the construction diagram, as shown in fig. 6.
S5, judging whether the length differences of the corresponding longest peripheral edge and the adjacent edge of the shear wall profile in the reinforcement diagram and the shear wall profile in the construction diagram are within a set range, if so, performing similar matching on the shear wall profile in the reinforcement diagram and the shear wall profile in the construction diagram, and entering a step S6; otherwise, the profile of the shear wall in the reinforcement diagram is not similar to the profile of the shear wall in the construction diagram;
if the shear wall profile in the reinforcement graph is similar to the shear wall profile in the construction graph, each side of the shear wall profile can find a corresponding side, after the shear wall profile in the reinforcement graph is respectively overlapped with the locating point, the longest peripheral side and the adjacent side of the shear wall profile in the construction graph, the longest peripheral side of the shear wall profile in the reinforcement graph is corresponding to the longest peripheral side of the shear wall profile in the construction graph, the length difference of the longest peripheral side is calculated, the adjacent side of the shear wall profile in the reinforcement graph is corresponding to the adjacent side of the shear wall profile in the construction graph, and the length difference of the adjacent sides is calculated; if the similarity is matched, the length difference of the longest peripheral edge and the length difference of the adjacent edge are not large, the setting range is set according to human experience, and the setting range in the embodiment is not more than 200mm; when the shear wall profile in the reinforcement graph is similar to the shear wall profile in the construction graph, the reinforcement information corresponding to the shear wall profile in the reinforcement graph can be used in the shear wall profile in the construction graph.
Comparing the shear wall profile in the reinforcement diagram in FIG. 6 with the shear wall profile in the construction diagram, after transformation, overlapping the longest peripheral edge A1 with A1, overlapping the adjacent edge A3 with A3, overlapping the locating points O1 with O1, comparing the lengths of the corresponding edges at the moment, namely the length difference of A1 and A1, and judging whether the two length differences are within a set range of 200mm or not, and if so, performing similar matching.
S6, outputting a transformation sequence of the shear wall profile in the reinforcement graph, wherein the transformation sequence comprises the scaling and centering of the step S1 and the position transformation taking the positioning point as the center of the step S4;
and outputting a transformation sequence comprising the scaling and correcting angle of the step S2 and the position transformation of the shear wall contour in the reinforcement graph in the step S4 by taking the positioning point as the center, so that the reinforcement is put into the shear wall contour in the construction graph after the corresponding transformation of the reinforcement information corresponding to the shear wall contour in the reinforcement graph is carried out subsequently.
Finally, it should be noted that the above-mentioned method may be converted into software program instructions, which may be implemented by a system including a processor and a memory, or by computer instructions stored in a non-transitory computer readable storage medium. The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In summary, the method and the system for realizing contour similarity matching based on the appearance of the shear wall have the following beneficial effects:
(1) After the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are scaled and aligned, the positioning points are used as centers to perform position transformation, so that the positioning points, the longest peripheral edges and the adjacent edges of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are respectively overlapped, the lengths of the corresponding edges of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram are compared, the similar matching of the shear wall contours in the reinforcement diagram and the shear wall contours in the construction diagram, which are corresponding in number, similar in contour and small in size difference, is obtained, the automatic matching duty ratio is improved, and the BIM construction efficiency is improved;
(2) The invention considers the situation that a plurality of identical longest peripheral edges exist, considers comprehensively, ensures the unique longest peripheral edge through specific gravity comparison, and improves the accuracy of the similarity matching;
(3) According to the invention, the conversion sequence of the shear wall contour in the reinforcement graph, which is similar to the shear wall contour in the construction graph, is output, so that the reinforcement information corresponding to the shear wall contour in the reinforcement graph is correspondingly converted and then is put into the reinforcement, and the efficiency and the accuracy of reinforcement operation of the shear wall in the construction graph are improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. The method for realizing contour similarity matching based on the appearance of the shear wall is characterized by comprising the following steps of:
s1, extracting the outline of a shear wall consistent with the number of the shear wall in a construction drawing from a reinforcement drawing;
s2, scaling the shear wall contour in the reinforcement diagram and the shear wall contour in the construction diagram to be large in practice and straightening;
s3, respectively acquiring the longest peripheral edge, the adjacent edge and the positioning point of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing;
the longest peripheral edge is the longest edge overlapped with the bounding box; the adjacent edge is an edge adjacent to the longest peripheral edge and having a greater specific gravity; the locating point is the intersection point of the adjacent edge and the longest peripheral edge;
s4, moving the shear wall profile in the reinforcement graph after the alignment from a positioning point of the shear wall profile in the reinforcement graph to a positioning point of the shear wall profile in the construction graph, and performing position transformation on the shear wall profile in the reinforcement graph by taking the positioning point as a center until the shear wall profile in the reinforcement graph is respectively overlapped with the longest peripheral edge and the adjacent edge of the shear wall profile in the construction graph;
s5, judging whether the length differences of the corresponding longest peripheral edge and the adjacent edge of the shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are within a set range, if so, the shear wall profile in the reinforcement graph and the shear wall profile in the construction graph are in similar matching; otherwise, the profile of the shear wall in the reinforcement diagram is not similar to the profile of the shear wall in the construction diagram.
2. The method for achieving contour similarity matching based on the shear wall profile according to claim 1, wherein in the step S3, the method for obtaining the longest peripheral edge comprises:
s311, obtaining a bounding box according to the shear wall outline, wherein the edge overlapped with the bounding box is a peripheral edge, and the edge not overlapped with the bounding box is an inner edge;
s312, sequencing the peripheral edges according to the length, and comparing to obtain the longest peripheral edge of the shear wall profile;
s313, judging whether the number of the longest peripheral edge strips is equal to one, if so, obtaining a unique longest peripheral edge, otherwise, entering step S314;
s314, respectively calculating the distance sum of each longest peripheral edge and all the corresponding parallel edges to obtain the specific gravity of each longest peripheral edge, and comparing the specific gravity to obtain the maximum specific gravity;
s315, judging whether the number of the maximum specific gravities is equal to one, if so, the longest peripheral edge corresponding to the maximum specific gravities is the unique longest peripheral edge, otherwise, one of the longest peripheral edges corresponding to the maximum specific gravities is the unique longest peripheral edge.
3. The method for achieving contour similarity matching based on the shear wall profile according to claim 2, wherein in the step S3, the method for acquiring the adjacent edges comprises:
s321, judging whether an edge adjacent to the longest peripheral edge can be found in the peripheral edges, if so, entering a step S322, otherwise, searching an edge adjacent to the longest peripheral edge in the inner edges, and entering a step S322;
s322, sequencing the adjacent edges, and comparing the lengths to obtain the longest adjacent edge;
s323, judging whether the number of the longest adjacent edges is equal to one, if so, the longest adjacent edges are adjacent edges, otherwise, entering step S324;
s324, respectively calculating the distance sum of each longest adjacent side and all corresponding parallel sides to obtain the specific gravity of each longest adjacent side, and comparing the specific gravity to obtain the maximum specific gravity;
s325, judging whether the number of the maximum specific gravities is equal to one, if so, the longest adjacent side corresponding to the maximum specific gravities is the adjacent side, otherwise, optionally, one of the longest adjacent sides corresponding to the maximum specific gravities is the adjacent side.
4. The method for achieving contour similarity matching based on the shear wall profile according to claim 1, wherein in the step S2, the aligning includes:
s21, respectively obtaining the longest edges of the shear wall profile in the construction drawing and the shear wall profile in the reinforcement drawing;
s22, respectively straightening the shear wall profile in the reinforcement diagram and the shear wall profile in the construction diagram along the corresponding longest edges.
5. The method for achieving contour similarity matching based on the shear wall profile according to claim 4, wherein in the step S21, the method for obtaining the longest side comprises:
s211, breaking the shear wall profile into a plurality of edges at turning points;
s212, sequencing the edges according to the length to obtain the longest edge of the shear wall profile.
6. The method of claim 1, wherein in step S4, the position transformation includes rotating by 90 °, rotating by 180 °, rotating by 270 °, mirroring and rotating by 90 °, mirroring and rotating by 180 °, mirroring and rotating by 270 °.
7. The method for achieving contour similarity matching based on the shear wall profile according to claim 1, wherein in the step S5, the set range is not more than 200mm.
8. The method of claim 1, further comprising, after step S5: when the shear wall profile in the reinforcement diagram is similar to the shear wall profile in the construction diagram, entering step S6:
s6, outputting a transformation sequence of the shear wall profile in the reinforcement graph, wherein the transformation sequence comprises the scaling, the straightening and the position transformation taking the positioning point as the center.
9. A system for achieving contour similarity matching based on shear wall profile, 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 invoking the program instructions to perform the method of achieving contour similarity matching based on shear wall profiles of any of claims 1 to 8.
10. A non-transitory computer readable storage medium storing computer instructions that cause the computer to perform the method of achieving contour similarity matching based on shear wall profiles of any one of claims 1 to 8.
CN202310621286.4A 2023-05-30 2023-05-30 Method and system for achieving contour similarity matching based on shear wall appearance Active CN116342604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310621286.4A CN116342604B (en) 2023-05-30 2023-05-30 Method and system for achieving contour similarity matching based on shear wall appearance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310621286.4A CN116342604B (en) 2023-05-30 2023-05-30 Method and system for achieving contour similarity matching based on shear wall appearance

Publications (2)

Publication Number Publication Date
CN116342604A true CN116342604A (en) 2023-06-27
CN116342604B CN116342604B (en) 2023-08-08

Family

ID=86876340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310621286.4A Active CN116342604B (en) 2023-05-30 2023-05-30 Method and system for achieving contour similarity matching based on shear wall appearance

Country Status (1)

Country Link
CN (1) CN116342604B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8411080B1 (en) * 2008-06-26 2013-04-02 Disney Enterprises, Inc. Apparatus and method for editing three dimensional objects
CN104821011A (en) * 2015-05-20 2015-08-05 郭小虎 Method of generating 3D house type model by 2D house type model based on camera shooting
US20160076223A1 (en) * 2014-09-12 2016-03-17 Caterpillar Inc. System and Method for Controlling the Operation of a Machine
JP2016126613A (en) * 2015-01-06 2016-07-11 トヨタ自動車株式会社 Road boundary line recognizing device, and road boundary line recognizing method
CN108053433A (en) * 2017-11-28 2018-05-18 浙江工业大学 A kind of multi-modal arteria carotis MRI method for registering based on physical alignment and outline
CN108213200A (en) * 2017-12-29 2018-06-29 四川明日宇航工业有限责任公司 For the drawing die of the funnel part of aircraft engine
CN109344900A (en) * 2018-09-30 2019-02-15 中民筑友科技投资有限公司 A kind of component identification method, apparatus, equipment and computer readable storage medium
CN111753356A (en) * 2020-05-29 2020-10-09 中国联合工程有限公司 Computer recognition analysis method for beam leveling reinforcement map
CN114048540A (en) * 2021-12-21 2022-02-15 国泰新点软件股份有限公司 Wall column processing method and device based on construction engineering calculation model
CN115641366A (en) * 2022-11-04 2023-01-24 哈工大机器人(合肥)国际创新研究院 Vamp side wall line registration method and device for robot glue applying

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8411080B1 (en) * 2008-06-26 2013-04-02 Disney Enterprises, Inc. Apparatus and method for editing three dimensional objects
US20160076223A1 (en) * 2014-09-12 2016-03-17 Caterpillar Inc. System and Method for Controlling the Operation of a Machine
JP2016126613A (en) * 2015-01-06 2016-07-11 トヨタ自動車株式会社 Road boundary line recognizing device, and road boundary line recognizing method
CN104821011A (en) * 2015-05-20 2015-08-05 郭小虎 Method of generating 3D house type model by 2D house type model based on camera shooting
CN108053433A (en) * 2017-11-28 2018-05-18 浙江工业大学 A kind of multi-modal arteria carotis MRI method for registering based on physical alignment and outline
CN108213200A (en) * 2017-12-29 2018-06-29 四川明日宇航工业有限责任公司 For the drawing die of the funnel part of aircraft engine
CN109344900A (en) * 2018-09-30 2019-02-15 中民筑友科技投资有限公司 A kind of component identification method, apparatus, equipment and computer readable storage medium
CN111753356A (en) * 2020-05-29 2020-10-09 中国联合工程有限公司 Computer recognition analysis method for beam leveling reinforcement map
CN114048540A (en) * 2021-12-21 2022-02-15 国泰新点软件股份有限公司 Wall column processing method and device based on construction engineering calculation model
CN115641366A (en) * 2022-11-04 2023-01-24 哈工大机器人(合肥)国际创新研究院 Vamp side wall line registration method and device for robot glue applying

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RAJ KISHEN MOLOO 等: "3-PHASE RECOGNITION APPROACH TO PSEUDO 3D BUILDING GENERATION FROM 2D FLOOR PLAN", 《INTERNATIONAL JOURNAL OF COMPUTER GRAPHICS & ANIMATION (IJCGA) 》 *
凡晓波 等: "基于BIM的装配式工艺图转换研究与开发", 《第 五届全国 BIM学术会议论文集》 *
杨娜 等: "基于计算机视觉的藏式古建筑石砌体壁画墙裂缝生长变形监测", 《工程力学》 *

Also Published As

Publication number Publication date
CN116342604B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN108801171B (en) Tunnel section deformation analysis method and device
CN113487722B (en) Automatic concrete member detection method based on three-dimensional laser scanning method
CN111433780A (en) Lane line detection method, lane line detection apparatus, and computer-readable storage medium
CN116051734B (en) Engineering quantity rapid statistical method based on three-dimensional laser scanning and live-action three-dimensional modeling
CN111046459A (en) Building model image design method based on 3D software
CN113821860B (en) Method, device, equipment and storage medium for determining break point on steel bar graphic element
CN116342604B (en) Method and system for achieving contour similarity matching based on shear wall appearance
CN110210564B (en) Similar house type detection method and device
CN111797685B (en) Identification method and device of table structure
CN111108515A (en) Picture target point correcting method, device and equipment and storage medium
CN113887043A (en) Method, device and equipment for determining breakpoint on steel bar primitive and storage medium
CN114580044A (en) Building outer surface data acquisition method, building outer surface data acquisition device, computer equipment and medium
CN114463499B (en) Building three-dimensional modeling method and device
CN111291649A (en) Image recognition method and device and electronic equipment
EP3365223B1 (en) Method and system for determining the manufacturing dimensions for a connecting element
CN115908491A (en) On-line real-time tracking and matching method for circular non-coding mark points in binocular sequence image
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
JP7231036B2 (en) Mesh structure equipment detection device, mesh structure equipment detection method, and program
CN111209826B (en) Semi-automatic point cloud extraction method and device for high-precision map guardrail
CN113449644A (en) Method for extracting contour of common building in city by airborne laser point cloud
CN111862322B (en) Arch axis extraction method and device
CN116150860B (en) Beam span identification method, computer equipment and readable storage medium
CN116109685B (en) Part point cloud registration method, device, equipment and medium
CN113140021B (en) Vector line generating method, system and computer readable storage medium
CN115203462A (en) Building structure edge member identification method and device based on multi-dimensional coding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant