Method and device for detecting surface area of tube well and electronic equipment
Patent Information
- Application Number
- CN202211218004.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2042-09-30
AI Technical Summary
[0004]本发明提供一种管井表面积检测方法、装置及电子设备,用以解决现有技术中管井表面积计算结果不准确的缺陷,实现对异常支管数据的排除以提高表面积计算结果的准确性
[0043]本发明提供的管井表面积检测方法、装置及电子设备,通过将目标管道的支管对应的干扰检测数据进行移除,能够得到目标管道更加准确的三维建模数据,进而能够得到目标管道更加准确的表面轮廓,以提高表面积计算时计算结果的准确性。
Smart Images

Figure CN115546283B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pipeline inspection technology, and in particular to a method, apparatus and electronic equipment for detecting the surface area of pipe wells. Background Technology
[0002] Inspection wells are auxiliary facilities in drainage pipe networks that connect pipes and provide access for maintenance workers to inspect, clean, and enter the pipes. Inspection wells mainly consist of circular manholes. Manholes are highly susceptible to various types of defects due to the surrounding soil, external traffic loads, groundwater pressure, and erosion from various sewage and exhaust gases.
[0003] Before repairing various types of defects in a well, it is usually necessary to calculate the well surface area to determine the repair parameters. In related technologies, the well surface area is calculated directly based on the well's scanning data. However, the measured data contains data that interferes with the calculation results, leading to inaccurate calculated well surface area results. Summary of the Invention
[0004] This invention provides a method, device, and electronic equipment for detecting the surface area of wells, which solves the defects of inaccurate well surface area calculation results in the prior art, and realizes the elimination of abnormal branch pipe data to improve the accuracy of surface area calculation results.
[0005] This invention provides a method for detecting the surface area of a well, comprising:
[0006] Acquire initial detection data of the profile of each cross section along the axial direction of the target pipe;
[0007] Detection data of at least one target cross-sectional profile is determined from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipe;
[0008] Remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile;
[0009] Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, a three-dimensional model of the target pipeline is established, and the surface area of the target pipeline is determined.
[0010] According to a well surface area detection method provided by the present invention, when the initial detection data is point cloud data, determining the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes:
[0011] Receive the user's initial input information;
[0012] Based on the first input information, determine at least one target number of the target cross-sectional profile;
[0013] Based on the target number, the detection data of the target cross-sectional profile is determined from the initial detection data of each cross-sectional profile.
[0014] According to a well surface area detection method provided by the present invention, the detection data of the branch pipe in the detection data of each target cross-sectional profile is determined in the following manner:
[0015] Based on the temporal information of point cloud data, the detection data of the cross-sectional contour of each target is displayed in the form of points in a two-dimensional planar graph;
[0016] Receive the user's second input;
[0017] In response to the second input, the point to be removed is determined from the two-dimensional planar graph;
[0018] The detection data corresponding to the removed points are determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
[0019] According to a well surface area detection method provided by the present invention, when the initial detection data is distance data, determining the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes:
[0020] Based on the fitting axis of the target pipe, determine the fitting center and target radius of each cross-sectional profile;
[0021] Based on the detection data of each target cross-sectional profile, the fitting center of each cross-sectional profile and the target radius, the deformation of each point on each target cross-sectional profile is determined;
[0022] The initial detection data of the cross-sectional profile where the deformation of a point is greater than a preset value is determined as the detection data of the target cross-sectional profile.
[0023] According to a well surface area detection method provided by the present invention, the detection data of the branch pipe in the detection data of each target cross-sectional profile is determined in the following manner:
[0024] Based on the deformation of each point on the cross-sectional contour of each target, each point on the cross-sectional contour of each target is displayed according to different colors, and the model composed of the cross-sectional contours of each target is unfolded into a two-dimensional planar diagram.
[0025] Receive third input from the user;
[0026] In response to the third input, the points to be removed are determined from the two-dimensional planar graph;
[0027] The detection data corresponding to the removed points are determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
[0028] According to a well surface area detection method provided by the present invention, the step of displaying each point on each target cross-sectional profile according to different colors based on the deformation of each point on each target cross-sectional profile includes:
[0029] Based on the deformation of each point on the cross-sectional profile of each target, determine the range of deformation magnitude for each deformation.
[0030] The points on the cross-sectional contour of each target are displayed in colors according to the interval in which the deformation exists;
[0031] Each interval is associated with a color.
[0032] According to a well surface area detection method provided by the present invention, the step of establishing a three-dimensional model of the target pipeline based on initial detection data of each cross-sectional profile and remaining detection data of each target cross-sectional profile further includes:
[0033] Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, the repair detection data of each cross-sectional profile at the branch pipe location connected to the wall of the target pipe is determined.
[0034] Based on the remaining detection data of each target cross-sectional profile and the repair detection data of each cross-sectional profile, a three-dimensional model of the target pipeline is established.
[0035] The present invention also provides a well surface area detection device, comprising:
[0036] The acquisition module is used to acquire initial detection data of the profile of each cross section in the axial direction of the target pipe;
[0037] The first processing module is used to determine the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipe;
[0038] The second processing module is used to remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile.
[0039] The third processing module is used to establish a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and to determine the surface area of the target pipeline.
[0040] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the well surface area detection method as described above.
[0041] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the well surface area detection method as described above.
[0042] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described well surface area detection methods.
[0043] The well surface area detection method, device, and electronic equipment provided by this invention can obtain more accurate three-dimensional modeling data of the target pipeline by removing the interference detection data corresponding to the branch pipe of the target pipeline, thereby obtaining a more accurate surface contour of the target pipeline and improving the accuracy of the calculation results when calculating the surface area. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0045] Figure 1 This is a schematic flowchart of the well surface area detection method provided by the present invention;
[0046] Figure 2 This is a schematic diagram of the well surface area detection device provided by the present invention;
[0047] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0049] The following is combined with Figures 1-3 The present invention describes a well surface area detection method, apparatus, and electronic device.
[0050] The execution subject of the well surface area detection method in this embodiment of the invention can be a processor. Of course, in other embodiments, the execution subject can also be a server. The type of execution subject is not limited here. The well surface area detection method in this embodiment of the invention will be described below using a processor as the execution subject.
[0051] like Figure 1 As shown, the well surface area detection method of this invention mainly includes steps 110, 120, 130 and 140.
[0052] Step 110: Obtain initial detection data of the profile of each cross section in the axial direction of the target pipe.
[0053] It is understood that the target pipeline is a well that needs to be repaired or a pipeline installed inside the well along the well wall. Alternatively, the target pipeline can be other types of pipelines. There are no restrictions on the type of target pipeline here.
[0054] The target pipe can be set vertically, horizontally, or at a certain angle. There are no restrictions on how the target pipe is set up.
[0055] It should be noted that the target pipeline extends along the axial direction. The cross-sectional profiles of each section of the target pipeline along the axial direction can be approximated as circular profiles.
[0056] Initial detection data for each cross-sectional profile can be obtained using LiDAR, 3D cameras, laser rangefinders, and sonar ranging devices.
[0057] In this case, the initial detection data for each cross-sectional profile can be point cloud data or distance data, etc.
[0058] Step 120: Determine the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile.
[0059] It should be noted that the branch pipe is a pipe connected to the wall of the target pipe. Regardless of the detection method used, the data of the branch pipe will also be collected, which will cause the branch pipe to cause significant interference to the surface area measurement of the target pipe.
[0060] The detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location. Therefore, it is necessary to remove the detection data corresponding to the branch pipe to eliminate the interference of the branch pipe.
[0061] Step 130: Remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile.
[0062] It is understandable that the detection data of each target cross-sectional profile includes the detection data of multiple measurement points. The detection data of each measurement point of the branch pipe can be removed to obtain the remaining detection data of each target cross-sectional profile.
[0063] In this case, the test data does not include data from branch pipes, which eliminates the influence of branch pipe test data on modeling and makes it easier to obtain the accurate target pipe surface area.
[0064] Step 140: Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, establish a three-dimensional model of the target pipeline and determine the surface area of the target pipeline.
[0065] It is understandable that the detection data used to build a three-dimensional model of the target pipeline can be determined based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and then modeling can be performed.
[0066] For example, the initial detection data of the target cross-section profile in the initial detection data of each cross-section profile can be replaced with the remaining detection data to obtain the detection data of the target pipeline used to build a three-dimensional model. Then, three-dimensional modeling can be performed in an appropriate way according to the type of detection data.
[0067] After obtaining the 3D model, the surface area of the target pipe can be calculated based on the 3D model of the target pipe.
[0068] For example, a triangular mesh model can be built on top of the model. By traversing each triangular cell in the triangular mesh model and calculating its area, the surface area of the entire target pipe can be obtained. This surface area is not affected by the presence of branch pipes, which makes the surface area calculation result more accurate.
[0069] According to the well surface area detection method provided in this embodiment of the invention, by removing the interference detection data corresponding to the branch pipe of the target pipeline, more accurate three-dimensional modeling data of the target pipeline can be obtained, thereby obtaining a more accurate surface contour of the target pipeline, so as to improve the accuracy of the calculation results when calculating the surface area.
[0070] In some embodiments, when the initial detection data is point cloud data, determining the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes: receiving first input information from a user.
[0071] It should be noted that the three-dimensional model of the target pipeline can be stitched together from the contours of each cross section (one frame of radar point cloud data) according to the distance interval at the time of acquisition. That is, the three-dimensional point cloud model of the target pipeline is established based on the sequence of point cloud data (one frame of radar point cloud data).
[0072] The first input information can be the sequence number of the radar point cloud data frame used to confirm that the point cloud data corresponds to the branch location. In other words, the first input information is the sequence number of the point cloud data frame.
[0073] In this case, based on the first input information, the target number of at least one target cross-sectional profile is determined.
[0074] It is understandable that the target sequence number is the sequence number of the point cloud data frame containing the branch location.
[0075] In this embodiment, the detection data of the target cross-sectional profile can be determined from the initial detection data of each cross-sectional profile based on the target number.
[0076] For example, the target pipeline has a total of 600 frames of point cloud data during a single inspection process, with the point cloud data frames corresponding to the branch pipe locations numbered 1-57. In this case, the first input information can be 1-57.
[0077] In this embodiment, the detection data of the target cross-sectional profile, including the location of the branch pipe, can be accurately obtained through user input, thereby facilitating the determination of the branch pipe's detection data for subsequent removal.
[0078] After determining the detection data of the target cross-sectional profile including the location of the branch pipe, the detection data of the branch pipe in the detection data of each target cross-sectional profile can be determined in the following way.
[0079] Based on the temporal information of point cloud data, the detection data of the cross-sectional contours of each target can be displayed as points in a two-dimensional planar graph.
[0080] It is understandable that a two-dimensional planar unfolded diagram of the target pipeline can be established based on the time series information of the point cloud data, and further, a mapping relationship can be established between the pixels of the two-dimensional planar unfolded diagram and the measurement points in the three-dimensional point cloud model.
[0081] Based on this, a second input from the user can be received.
[0082] In this embodiment, the second input is used to determine the point corresponding to the branch pipe from the two-dimensional plan view.
[0083] The second input can be in at least one of the following ways:
[0084] Firstly, the second input can be a touch operation, including but not limited to click, swipe, and press operations.
[0085] In this embodiment, receiving the user's second input can be receiving the user's touch operation on a two-dimensional plane.
[0086] For example, you can tap multiple times on the current screen to select multiple points, or use a swipe gesture to draw a specific selection box to select points on each branch pipe.
[0087] Secondly, the second input can be physical button input.
[0088] In this embodiment, the display device is provided with physical buttons corresponding to the movable selection box, which can receive the user's second input. This can be receiving the user's second input by pressing the corresponding physical button; the second input can also be a combination operation of pressing multiple physical buttons simultaneously.
[0089] Of course, in other embodiments, the second input may also be in other forms, including but not limited to character input and voice input, which can be determined according to actual needs. This application embodiment does not limit this.
[0090] In this case, by responding to the second input, the removed point is determined from the two-dimensional planar diagram, and then the detection data corresponding to the removed point is determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
[0091] In this embodiment, by receiving the user's second input, the user's experience can be used to accurately remove the branch pipe data, ensuring the accuracy of the removed branch pipe data and thus improving the accuracy of the surface area calculation data.
[0092] In some embodiments, when the initial detection data is distance data, determining the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes: determining the fitting center and target radius of each cross-sectional profile based on the fitting axis of the target pipe.
[0093] Understandably, the external dimensions of each cross-sectional profile can be determined based on the initial detection data of each cross-sectional profile of the target pipe, then the fitting axis of the target pipe can be fitted, and then the fitting center and target radius of each cross-sectional profile can be determined based on the fitting axis.
[0094] Of course, in other embodiments, the radius of the target pipeline can be determined directly based on the design drawings and other information of the target pipeline. Then, based on the initial detection data of the cross-sectional profiles of the target pipeline, the fitting axis of the target pipeline can be fitted, and the fitting center of each cross-sectional profile can be obtained.
[0095] It is understandable that the average radius of the target pipe can be determined based on the fitted axis of the target pipe and the target radius.
[0096] In other words, the deformation of each point on each target cross-sectional profile can be determined based on the detection data of each target cross-sectional profile, the fitting center of each cross-sectional profile, and the target radius.
[0097] The deformation of each point on the cross-sectional profile of each target can be determined based on the actual distance of each point on the cross-sectional profile from the center of the cross-sectional profile.
[0098] The deformation can be the absolute value of the difference between the actual distance and the target radius. Therefore, the initial detection data of the cross-sectional profile where the deformation of a point is greater than the preset value can be determined as the detection data of the target cross-sectional profile.
[0099] It should be noted that the preset values are pre-defined values and can be set according to different scenarios.
[0100] In this embodiment, by quantifying and evaluating the distance data of each measurement point, the detection data of the target cross-sectional profile corresponding to the branch pipe location can be determined more scientifically, thereby facilitating the determination of the branch pipe's detection data for subsequent removal.
[0101] In some embodiments, the detection data of the branch pipe in the detection data of each target cross-sectional profile can be determined in the following manner.
[0102] Based on the deformation of each point on the cross-sectional profile of each target, each point on the cross-sectional profile of each target can be displayed with different colors, and the model formed by the cross-sectional profiles of each target can be unfolded into a two-dimensional planar diagram.
[0103] In some embodiments, the range of deformation magnitudes of each deformation variable can be determined based on the deformation variables of each point on each target cross-sectional profile.
[0104] For example, you can set each interval to 5% of the target radius. When the deformation is 0-5% of the target radius, it will be displayed in green. When the deformation is 5-10% of the target radius, it will be displayed in yellow. When the deformation is above 10% of the target radius, it will be displayed in red.
[0105] In other words, the points on the cross-sectional contour of each target can be displayed according to the color associated with the interval where the deformation is located. Each interval is associated with a color, thus visually displaying the deformation of each point.
[0106] In this embodiment, since the deformation of the points on the branch pipe is relatively large, the position of the branch pipe can be intuitively determined from the two-dimensional plan view.
[0107] Based on this, third-party input from the user can be received.
[0108] In this embodiment, the third input is used to determine the point corresponding to the branch pipe from the two-dimensional plan view.
[0109] The third input can be in at least one of the following ways:
[0110] Firstly, the third input can be a touch operation, including but not limited to click, swipe, and press operations.
[0111] In this embodiment, receiving the user's third input can be receiving the user's touch operation on a two-dimensional plane.
[0112] For example, you can tap multiple times on the current screen to select multiple points, or use a swipe gesture to draw a specific selection box to select points on each branch pipe.
[0113] Secondly, the third input can be physical button input.
[0114] In this embodiment, the display device is provided with physical buttons corresponding to the movable selection box, which can receive third input from the user. This can be receiving third input from the user pressing the corresponding physical button; the third input can also be a combination operation of pressing multiple physical buttons simultaneously.
[0115] Of course, in other embodiments, the third input may also be in other forms, including but not limited to character input and voice input, which can be determined according to actual needs. This application embodiment does not limit this.
[0116] In this case, by responding to the third input, the removed points are determined from the two-dimensional planar diagram, and then the detection data corresponding to the removed points are determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
[0117] In this embodiment, by receiving a third user input, the user's experience can be used to accurately remove branch pipe data, ensuring the accuracy of the removed branch pipe data and thus improving the accuracy of the surface area calculation data.
[0118] In some embodiments, a three-dimensional model of the target pipeline is established based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile. The model further includes: determining the repair detection data of each cross-sectional profile at the location of the branch pipe connected to the wall of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile.
[0119] It is understandable that after removing the detection data of the branch pipe, the presence of holes at the branch pipe location in the established 3D model will increase the error in calculating the surface area of the target pipe.
[0120] In this embodiment, the repair detection data of each cross-sectional profile at the branch pipe location connected to the wall of the target pipe can be determined based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile.
[0121] For example, the fitting axis of the target pipe can be determined based on the initial detection data of each cross-sectional profile, and the fitting center and target radius of each cross-sectional profile can be determined.
[0122] In this case, the hole locations can be filled by using the target radius and the fitted axis. The distance between the repaired point and the fitted axis can be the target radius.
[0123] In other embodiments, the average distance of each point near the branch hole location from the axis can be determined based on the initial detection data of each cross-sectional profile, and the distance of the repaired point from the fitted axis can be the average value obtained above.
[0124] Furthermore, a three-dimensional model of the target pipeline can be established based on the remaining detection data of each target cross-sectional profile and the repair detection data of each cross-sectional profile. This can reduce the influence of branch pipe holes on the solved surface area data and improve the accuracy of the surface area data.
[0125] The well surface area detection device provided by the present invention is described below. The well surface area detection device described below can be referred to in correspondence with the well surface area detection method described above.
[0126] like Figure 2 As shown, the well surface area detection device of this invention includes an acquisition module 210, a first processing module 220, a second processing module 230 and a third processing module 240.
[0127] The acquisition module 210 is used to acquire initial detection data of the profile of each cross section in the axial direction of the target pipe;
[0128] The first processing module 220 is used to determine the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipe;
[0129] The second processing module 230 is used to remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile.
[0130] The third processing module 240 is used to establish a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and to determine the surface area of the target pipeline.
[0131] According to the embodiments of the present invention, the well surface area detection device can obtain more accurate three-dimensional modeling data of the target pipeline by removing the interference detection data corresponding to the branch pipe of the target pipeline, thereby obtaining a more accurate surface contour of the target pipeline and improving the accuracy of the calculation results when calculating the surface area.
[0132] In some embodiments, when the initial detection data is point cloud data, the first processing module 220 is further configured to receive first input information from the user; determine a target number of at least one target cross-sectional profile based on the first input information; and determine the detection data of the target cross-sectional profile from the initial detection data of each cross-sectional profile based on the target number.
[0133] In some embodiments, the first processing module 220 is further configured to display the detection data of each target cross-sectional contour in a two-dimensional planar graph in the form of points based on the temporal information of the point cloud data; receive a second input from the user; in response to the second input, determine the removed points from the two-dimensional planar graph; and determine the detection data corresponding to the removed points as the detection data of the branch pipe in the detection data of each target cross-sectional contour.
[0134] In some embodiments, when the initial detection data is distance data, the second processing module 230 is further configured to determine the fitting center and target radius of each cross-sectional profile based on the fitting axis of the target pipe; determine the deformation of each point on each target cross-sectional profile based on the detection data of each target cross-sectional profile, the fitting center and target radius of each cross-sectional profile; and determine the initial detection data of the cross-sectional profile where the deformation of a point is greater than a preset value as the detection data of the target cross-sectional profile.
[0135] In some embodiments, the second processing module 230 is further configured to display each point on each target cross-sectional profile according to different colors based on the deformation of each point on each target cross-sectional profile, and unfold the model composed of each target cross-sectional profile into a two-dimensional planar view; receive a third input from the user; in response to the third input, determine the points to be removed from the two-dimensional planar view; and determine the detection data corresponding to the removed points as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
[0136] In some embodiments, the second processing module 230 is further configured to determine the deformation range of each deformation based on the deformation of each point on each target cross-sectional profile; and to display each point on each target cross-sectional profile according to the color associated with the range of deformation; wherein each range is associated with a color.
[0137] In some embodiments, the third processing module 240 is further configured to determine the repair detection data of each cross-sectional profile at the location of the branch pipe connected to the wall of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile; and to establish a three-dimensional model of the target pipeline based on the remaining detection data of each target cross-sectional profile and the repair detection data of each cross-sectional profile.
[0138] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a well surface area detection method, which includes: acquiring initial detection data of each cross-sectional profile in the axial direction of the target pipeline; determining detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipeline; removing the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile; establishing a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and determining the surface area of the target pipeline.
[0139] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0140] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the well surface area detection method provided by the above methods. The method includes: acquiring initial detection data of each cross-sectional profile in the axial direction of the target pipeline; determining at least one target cross-sectional profile detection data from the initial detection data of each cross-sectional profile; the target cross-sectional profile detection data includes detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipeline connected to the wall of the target pipeline; removing the branch pipe detection data from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile; establishing a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and determining the surface area of the target pipeline.
[0141] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the well surface area detection method provided by the above methods. The method includes: acquiring initial detection data of each cross-sectional profile along the axial direction of the target pipeline; determining detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes detection data of the cross-sectional profile at a branch pipe location; the branch pipe is a pipe connected to the wall of the target pipeline; removing the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile; establishing a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and determining the surface area of the target pipeline.
[0142] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting the surface area of a well, characterized in that, include: Acquire initial detection data of the profile of each cross section along the axial direction of the target pipe; Detection data of at least one target cross-sectional profile is determined from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipe; Remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile; Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, a three-dimensional model of the target pipeline is established, and the surface area of the target pipeline is determined. The process of establishing a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile further includes: Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, the repair detection data of each cross-sectional profile at the branch pipe location connected to the wall of the target pipe is determined. Based on the remaining detection data of each target cross-sectional profile and the repair detection data of each cross-sectional profile, a three-dimensional model of the target pipeline is established.
2. The method for detecting the surface area of a well according to claim 1, characterized in that, When the initial detection data is point cloud data, determining the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes: Receive the user's initial input information; Based on the first input information, determine at least one target number of the target cross-sectional profile; Based on the target number, the detection data of the target cross-sectional profile is determined from the initial detection data of each cross-sectional profile.
3. The method for detecting the surface area of a well according to claim 2, characterized in that, The detection data of the branch pipe in the detection data of each target cross-sectional profile are determined in the following way: Based on the temporal information of point cloud data, the detection data of the cross-sectional contour of each target is displayed in the form of points in a two-dimensional planar graph; Receive the user's second input; In response to the second input, the point to be removed is determined from the two-dimensional planar graph; The detection data corresponding to the removed points are determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
4. The method for detecting the surface area of a well according to claim 1, characterized in that, When the initial detection data is distance data, determining the detection data for at least one target cross-sectional profile from the initial detection data of each cross-sectional profile includes: Based on the fitting axis of the target pipe, determine the fitting center and target radius of each cross-sectional profile; Based on the detection data of each target cross-sectional profile, the fitting center of each cross-sectional profile and the target radius, the deformation of each point on each target cross-sectional profile is determined; The initial detection data of the cross-sectional profile where the deformation of a point is greater than a preset value is determined as the detection data of the target cross-sectional profile.
5. The well surface area detection method according to claim 4, characterized in that, The detection data of the branch pipe in the detection data of each target cross-sectional profile are determined in the following way: Based on the deformation of each point on the cross-sectional contour of each target, each point on the cross-sectional contour of each target is displayed according to different colors, and the model composed of the cross-sectional contours of each target is unfolded into a two-dimensional planar diagram. Receive third input from the user; In response to the third input, the points to be removed are determined from the two-dimensional planar graph; The detection data corresponding to the removed points are determined as the detection data of the branch pipe in the detection data of each target cross-sectional profile.
6. The method for detecting the surface area of a well according to claim 5, characterized in that, The method of displaying each point on the cross-sectional contour of each target with different colors based on the deformation of each point includes: Based on the deformation of each point on the cross-sectional profile of each target, determine the range of deformation magnitude for each deformation. The points on the cross-sectional contour of each target are displayed in colors according to the interval in which the deformation exists; Each interval is associated with a color.
7. A device for detecting the surface area of a well, characterized in that, include: The acquisition module is used to acquire initial detection data of the profile of each cross section in the axial direction of the target pipe; The first processing module is used to determine the detection data of at least one target cross-sectional profile from the initial detection data of each cross-sectional profile; the detection data of the target cross-sectional profile includes the detection data of the cross-sectional profile at the branch pipe location; the branch pipe is a pipe connected to the wall of the target pipe; The second processing module is used to remove the detection data of the branch pipe from the detection data of each target cross-sectional profile to obtain the remaining detection data of each target cross-sectional profile. The third processing module is used to establish a three-dimensional model of the target pipe based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, and to determine the surface area of the target pipe. The process of establishing a three-dimensional model of the target pipeline based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile further includes: Based on the initial detection data of each cross-sectional profile and the remaining detection data of each target cross-sectional profile, the repair detection data of each cross-sectional profile at the branch pipe location connected to the wall of the target pipe is determined. Based on the remaining detection data of each target cross-sectional profile and the repair detection data of each cross-sectional profile, a three-dimensional model of the target pipeline is established.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the well surface area detection method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the well surface area detection method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Construction method and system of pipeline three-dimensional model, and medium
CN112581607A
Method and device for displaying deformation of inner wall of pipeline, electronic equipment and storage medium
CN113223118A
Pipeline branch pipe and broken hole positioning method and device, equipment and storage medium
CN113359149A