Method and system for positioning affected objects based on X-rays in pipelines

By monitoring and analyzing the attenuation area of ​​X-rays in the pipeline and positioning the position of the affected object, the problem of difficult to manage X-ray attenuation in the pipeline is solved, accurate positioning and disassembling of the affected object is achieved, and X-ray transmission efficiency is improved.

CN118129658BActive Publication Date: 2024-11-08ZHENGZHOU INST OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311791334.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2024-11-08
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

In the pipeline, the affected object causes X-ray attenuation to be difficult to locate, and its position and influence range cannot be determined, which affects subsequent disassembly and reduces the impact.

Method used

By obtaining the direction and ray intensity values ​​of multiple X-rays in the pipeline, monitoring the attenuation area, screening out the variable segments, forming the affected area, and introducing the coordinate system to locate the affected area, determining the impact based on the position, outer contour and attenuation amount of the affected area The positioning coordinates of the object.

Benefits of technology

Accurate positioning and disassembly of the affected objects is achieved, avoiding subsequent impact on X-rays, and improving the efficiency and quality of X-ray transmission in the pipeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118129658B_ABST
    Figure CN118129658B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for positioning an object affected by X-rays in a pipeline. The method obtains the directions of multiple X-rays in the pipeline and the corresponding ray intensity values, monitors the attenuation of the X-rays, and constructs an attenuation area according to the attenuation amount of the X-rays along the direction of the X-rays, so as to form an X-ray influence area through an abnormal segment in the attenuation area, thereby positioning the X-ray influence area, and further confirming the object affected by the X-rays. At this time, the coordinate system of the pipeline is introduced into the position of the influence area, and the position of the influence area is positioned; the influence object and its positioning coordinates are determined according to the position of the influence area, the outer contour of the influence area and the attenuation amount, so as to screen out the influence object in the pipeline that affects the X-rays, and then determine the positioning of the influence object in the pipeline that is affected by the X-rays, so as to facilitate the subsequent removal of the influence object and avoid the influence of the subsequent influence object on the X-rays.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of X-ray technology, and in particular to a method and system for locating an impact object based on X-rays in a pipeline. Background Art

[0002] With the development of science and technology, X-rays are used in the field of security inspection and can detect objects in pipelines. X-rays are in the pipeline and are transmitted in the pipeline, and will attenuate during the transmission process. At this time, there are some objects in the pipeline that affect the X-rays, and the influencing objects accelerate the attenuation of the X-rays. Since the influencing objects are built into the pipeline, the location of the influencing objects cannot be determined at present. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a method and system for locating an object that affects X-rays in a pipeline. The X-ray impact area is formed by a mutation segment in the attenuation area, so as to locate the X-ray impact area and further confirm the object that affects the X-rays. At this time, the coordinate system of the pipeline is introduced into the position of the impact area, and the position of the impact area is located; the impact object and its positioning coordinates are determined according to the position of the impact area, the outer contour of the impact area and the attenuation amount, so as to screen out the impact object that affects the X-rays in the pipeline, and then determine the positioning of the impact object that affects the X-rays in the pipeline, so as to facilitate the subsequent removal of the impact object and avoid the subsequent impact of the impact object on the X-rays.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides a method for locating an impact object based on X-rays in a pipeline, comprising: obtaining directions of a plurality of X-rays in the pipeline and corresponding ray intensity values;

[0005] Monitor the attenuation of X-rays and construct an attenuation area according to the attenuation amount of X-rays along the direction of X-rays;

[0006] Dynamically monitor each attenuation area and screen out abnormal segments in the attenuation area;

[0007] Enclose multiple abnormal segments and form an impact area that affects X-rays;

[0008] The coordinate system of the pipeline is introduced into the position of the affected area, and the position of the affected area is located;

[0009] The affected object and its positioning coordinates are determined according to the position of the affected area, the outer contour of the affected area and the attenuation.

[0010] Optionally, the obtaining directions of a plurality of X-rays in the pipeline and corresponding ray intensity values ​​includes:

[0011] Acquire a pipeline scene, wherein the pipeline scene is to perform X-ray detection on an object in the pipeline;

[0012] Based on multiple X-rays transmitted in a pipeline scene, and the directions of the multiple X-rays are monitored;

[0013] Detect the intensity values ​​of the X-rays in the transmission process in sequence along the direction of the X-rays;

[0014] Marking the X-ray transmission trajectory along the direction of the X-ray, and marking the corresponding ray intensity value in the transmission trajectory;

[0015] Detect the change value of the ray intensity of the same X-ray within a preset time;

[0016] If the ray intensity change value does not meet the preset ray intensity change threshold, the preset time is further divided to form a second time. At this time, the ray intensity value of the same X-ray within the second time is detected, wherein the second time is less than the first time.

[0017] Optionally, the obtaining directions of a plurality of X-rays in the pipeline and corresponding ray intensity values ​​further includes:

[0018] Conduct X-ray detection for the second time;

[0019] Monitoring the change value of the X-ray intensity within the second time, forming a X-ray intensity graph within the second time, and determining the shape of the X-ray intensity graph;

[0020] Infer the impact event of X-rays at the second time along the shape of the ray intensity graph;

[0021] The region of the X-ray at the second time is associated with the impact event of the X-ray at the second time, and the second region is adjusted to reduce the impact on the X-ray.

[0022] Optionally, monitoring the attenuation of X-rays and constructing an attenuation region according to the attenuation amount of the X-rays along the direction of the X-rays includes:

[0023] Dynamically monitor the X-rays and determine that the X-rays are in an attenuation state based on a decrease in the X-ray intensity value;

[0024] A dynamic capture of the attenuation state of X-rays is formed along the direction of X-rays;

[0025] Constructing an attenuation region according to the attenuation amount of the X-ray along the direction of the X-ray, wherein the attenuation region is a local region in the direction of the X-ray;

[0026] Traverse the attenuation area and determine the range of the attenuation area

[0027] In the attenuation region, the influencing objects in the attenuation region are traversed along multiple directions to evaluate the boundaries of the influencing objects in various directions.

[0028] Optionally, the dynamically monitoring each attenuation area and screening out abnormally mutated segments in the attenuation area includes:

[0029] Each attenuation zone is monitored in real time, and each attenuation zone surrounds the impact object in all directions;

[0030] Dynamically monitor each attenuation area and conduct local analysis of the attenuation area;

[0031] When performing local analysis on the attenuation area, abnormal data in the attenuation area is screened out, wherein the abnormal data is an abnormal ray intensity value;

[0032] Combine multiple abnormal data and form an abnormal segment in the attenuation area.

[0033] Optionally, enclosing the multiple abnormal segments to form an impact area affecting X-rays includes:

[0034] Collect multiple abnormal segments, where the positions of the abnormal segments correspond to the positions of the abnormal ray intensity values;

[0035] Enclose multiple abnormal segments and form boundaries along the positions of ray intensity values;

[0036] forming an influence region affecting the X-ray based on the plurality of abnormal segments, wherein the influence region corresponds to an outer contour of an influence object affecting the X-ray;

[0037] The boundary of the affected area is corrected, the abnormal ray intensity value is traversed according to the boundary of the affected area, and the boundary of the affected area is adjusted according to the actual position of the abnormal ray intensity value.

[0038] Optionally, the introducing the position of the affected area into a coordinate system of the pipeline and locating the position of the affected area includes:

[0039] A coordinate system is constructed based on the pipeline scene, wherein the pipeline scene is unfolded, and the endpoint of the unfolded pipeline scene is used as the zero point of the coordinate system, and the XYZ axes are the length, width and height of the unfolded pipeline scene respectively;

[0040] The coordinate system of the pipeline is introduced into the location of the affected area, and the coordinates of the boundaries of the affected area are calculated;

[0041] Locating the coordinates of the boundaries of the affected area and locating the position of the affected area;

[0042] A three-dimensional model of the affected area is constructed in the coordinate system according to the multiple coordinates, and the center coordinates of the three-dimensional model are marked.

[0043] Optionally, determining the affected object and its positioning coordinates according to the position of the affected area, the outer contour of the affected area, and the attenuation includes:

[0044] Associating the location of the impact area, the outer contour of the impact area, and the attenuation amount;

[0045] Inputting the outer contour and attenuation of the impact area into the selection learning model of the impact object, and outputting the corresponding impact object, wherein the selection learning model of the impact object is trained based on the outer contour and attenuation of the impact area in the past;

[0046] The outer contour and position of the impact area are input into a positioning learning model of the impact object, and the corresponding positioning coordinates of the impact object are output, wherein the positioning learning model of the impact object is trained based on the outer contour and position of the impact area in the past.

[0047] Optionally, the method for locating an object based on X-rays in a pipeline further includes:

[0048] The selection learning model of the influencing object and the positioning learning model of the influencing object are associated and integrated into the same model. Based on the model, the position of the influencing area, the outer contour of the influencing area and the attenuation are comprehensively calculated.

[0049] In addition, an embodiment of the present invention further provides an influencing object positioning system based on X-rays in a pipeline, and the influencing object positioning system based on X-rays in a pipeline includes: an acquisition module: used to acquire the directions of multiple X-rays in the pipeline and the corresponding ray intensity values; a monitoring module: used to monitor the attenuation of the X-rays, and construct an attenuation area according to the attenuation amount of the X-rays along the direction of the X-rays; a screening module: used to dynamically monitor each attenuation area, and screen out the abnormal segment in the attenuation area; an area module: used to enclose multiple abnormal segments and form an influencing area that affects the X-rays; a coordinate module: used to introduce the coordinate system of the pipeline for the position of the influencing area, and locate the position of the influencing area; an influencing object module: used to determine the influencing object and its positioning coordinates according to the position of the influencing area, the outer contour of the influencing area and the attenuation amount.

[0050] In an embodiment of the present invention, through the method in the embodiment of the present invention, the directions of multiple X-rays in the pipeline and the corresponding ray intensity values ​​are obtained, the attenuation of the X-rays is monitored, and an attenuation area is constructed along the direction of the X-rays according to the attenuation of the X-rays, so as to form an influence area of ​​the X-rays through the abnormal segment in the attenuation area, thereby locating the influence area of ​​the X-rays, and further confirming the influencing object on the X-rays. At this time, the coordinate system of the pipeline is introduced into the position of the influence area, and the position of the influence area is located; the influencing object and its positioning coordinates are determined according to the position of the influence area, the outer contour of the influence area and the attenuation, so as to screen out the influencing objects in the pipeline that affect the X-rays, and then determine the positioning of the influencing objects in the pipeline that are affected by the X-rays, so as to facilitate the subsequent removal of the influencing objects and avoid the subsequent influence of the influencing objects on the X-rays. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 is a schematic flow chart of a method for locating an object affected by X-rays in a pipeline in an embodiment of the present invention;

[0053] Figure 2 yes Figure 1 Schematic diagram of the process of S11;

[0054] Figure 3 yes Figure 1 Schematic diagram of the process of S12;

[0055] Figure 4 yes Figure 1 Schematic diagram of the process of S13;

[0056] Figure 5 yes Figure 1 Schematic diagram of the process of S14;

[0057] Figure 6 yes Figure 1 Schematic diagram of the process of S15;

[0058] Figure 7 yes Figure 1 Schematic diagram of the process of S16;

[0059] Figure 8 1 is a schematic diagram of the structure of the object positioning system based on X-rays in a pipeline in an embodiment of the present invention;

[0060] Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] Example

[0063] See also Figures 1 to 7 , a method for locating an impact object based on X-rays in a pipeline, the method comprising:

[0064] S11: Acquire directions of multiple X-rays in the pipeline and corresponding ray intensity values;

[0065] Wherein, multiple X-rays in the pipeline scene are detected, and the directions of the multiple X-rays and the corresponding ray intensity values ​​are determined, so as to facilitate subsequent processing based on the directions of the multiple X-rays and the corresponding ray intensity values.

[0066] In the specific implementation process of the present invention, the specific steps may be:

[0067] S111: Acquire a pipeline scene, wherein the pipeline scene is to perform X-ray detection on an object in the pipeline;

[0068] Among them, multiple X-rays in the pipeline scene are detected, and the pipeline scene is to perform X-ray detection on objects in the pipeline.

[0069] S112: transmitting in a pipeline scene based on a plurality of X-rays, and monitoring directions of the plurality of X-rays;

[0070] S113: sequentially detecting the intensity values ​​of the X-rays during the transmission process along the direction of the X-rays;

[0071] S114: marking the transmission trajectory of the X-ray along the direction of the X-ray, and marking the corresponding ray intensity value in the transmission trajectory;

[0072] S115: Detecting the intensity change value of the same X-ray within a preset time;

[0073] S116: If the ray intensity change value does not meet the preset ray intensity change threshold, the preset time is further divided to form a second time. At this time, the ray intensity value of the same X-ray within the second time is detected, wherein the second time is smaller than the first time.

[0074] Among them, multiple X-rays and objects are detected in the pipeline scene, and the ray intensity values ​​of the X-rays during the transmission process are detected in sequence along the direction of the X-rays, so as to record the ray intensity values ​​of the X-rays at each point in the corresponding position, and the transmission trajectory of the X-rays is marked along the direction of the X-rays, and the corresponding ray intensity values ​​are marked in the transmission trajectory, so as to facilitate the determination of the ray intensity change value of the same X-ray within a preset time. At this time, the ray intensity change value of the same X-ray within the preset time is the change between two ray intensity values.

[0075] At this time, if the ray intensity change value does not meet the preset ray intensity change threshold, the preset time is further divided to form a second time, at this time, the ray intensity value of the same X-ray in the second time is detected, wherein the second time is less than the first time, so as to facilitate further detection of a part of the first time interval, at this time, the X-ray is detected for the second time; the ray intensity change value of the X-ray in the second time is monitored, and a ray intensity chart of the X-ray in the second time is formed, and the shape of the ray intensity chart is determined; the influence event of the X-ray in the second time is inferred along the shape of the ray intensity chart; the area of ​​the X-ray in the second time is associated with the influence event of the X-ray in the second time, and the second area is adjusted to reduce the influence on the X-ray, so as to perform local importance detection at the second time in the first time, and form a second area in the second time, so as to facilitate adjustment of the second area to reduce the influence on the X-ray. Optionally, the first time is 1 minute and the second time is 10 seconds.

[0076] S12: monitoring the attenuation of the X-rays, and constructing an attenuation region according to the attenuation amount of the X-rays along the direction of the X-rays;

[0077] The attenuation of the X-rays is monitored, and an attenuation region is constructed according to the attenuation amount of the X-rays along the direction of the X-rays, so as to process the attenuation region.

[0078] In the specific implementation process of the present invention, the specific steps may be:

[0079] S121: Dynamically monitor the X-rays, and determine that the X-rays are in an attenuation state based on a decrease in the X-ray intensity value;

[0080] S122: dynamically capturing the attenuation state of the X-ray along the direction of the X-ray;

[0081] S123: constructing an attenuation region according to the attenuation amount of the X-ray along the direction of the X-ray, wherein the attenuation region is a local region in the direction of the X-ray;

[0082] S124: Traverse the attenuation area and determine the range of the attenuation area;

[0083] S125: In the attenuation area, traverse the influencing objects in the attenuation area along multiple directions to evaluate the boundaries of the influencing objects in various directions.

[0084] The X-rays are dynamically monitored, and based on the reduction of the X-ray intensity value, it is determined that the X-rays are in an attenuation state, thereby ensuring the monitoring of the attenuation state so as to dynamically capture the attenuation state of the X-rays along the direction of the X-rays.

[0085] At this time, an attenuation area is constructed along the direction of the X-ray for the attenuation amount of the X-ray, wherein the attenuation area is a local area in the direction of the X-ray, and regional correction is performed on the attenuation area, and the attenuation area is traversed to determine the scope of the attenuation area; within the attenuation area, the influencing objects in the attenuation area are traversed along multiple directions to evaluate the boundaries of the influencing objects in various directions, thereby adjusting the attenuation area by adjusting the boundaries, and ensuring the accuracy of the attenuation area.

[0086] S13: Dynamically monitor each attenuation area and screen out abnormal segments in the attenuation area;

[0087] Among them, the attenuation area is extracted, and the abnormal segment in the attenuation area is screened out, so as to further analyze the attenuation area according to the abnormal segment.

[0088] In the specific implementation process of the present invention, the specific steps may be:

[0089] S131: monitor each attenuation area in real time, and each attenuation area surrounds the impact object in all directions;

[0090] S132: Dynamically monitor each attenuation area and perform local analysis on the attenuation area;

[0091] S133: When performing local analysis on the attenuation area, screening out abnormal data in the attenuation area, wherein the abnormal data is an abnormal ray intensity value;

[0092] S134: Combine multiple abnormal data and form an abnormal segment in the attenuation area.

[0093] Among them, each attenuation area surrounds the influencing object in all directions and monitors the influencing object. At this time, each attenuation area is dynamically monitored and the attenuation area is locally analyzed to facilitate further processing of the attenuation area, and when the attenuation area is locally analyzed, abnormal data of the attenuation area is screened out, wherein the abnormal data is an abnormal ray intensity value; so as to facilitate combining the abnormal data to form an abnormal segment in the attenuation area. At this time, the position of the abnormal segment is close to the influencing object and serves as a reference position of the influencing object. Optionally, the influencing object is an object that has an impact on the X-ray, such as some metal parts.

[0094] S14: Enclose multiple abnormal segments and form an influence area that affects X-rays;

[0095] In the specific implementation process of the present invention, the specific steps may be:

[0096] S141: collecting multiple abnormal segments, wherein the positions of the abnormal segments correspond to the positions of the abnormal ray intensity values;

[0097] S142: enclosing the multiple abnormal segments and forming a boundary along the positions of the ray intensity values;

[0098] S143: forming an influence region affecting the X-ray based on the plurality of abnormal segments, wherein the influence region corresponds to an outer contour of an influence object affecting the X-ray;

[0099] S144: performing boundary correction on the affected area, traversing the abnormal ray intensity value according to the boundary of the affected area, and adjusting the boundary of the affected area according to the actual position of the abnormal ray intensity value.

[0100] Among them, the affected object is inferred according to the abnormal segment, and the position of the abnormal segment corresponds to the position of the abnormal radiation intensity value; multiple abnormal segments are enclosed, and the boundary is formed along the position of the radiation intensity value; based on the multiple abnormal segments, an impact area affecting the X-ray is formed, the boundary of the impact area is corrected, the abnormal radiation intensity value is traversed according to the boundary of the impact area, and the boundary of the impact area is adjusted according to the actual position of the abnormal radiation intensity value, thereby realizing the adjustment of the boundary of the impact area and further ensuring the accuracy of the impact area.

[0101] S15: introducing a pipeline coordinate system into the position of the affected area, and locating the position of the affected area;

[0102] The affected area is located and further processed.

[0103] In the specific implementation process of the present invention, the specific steps may be:

[0104] S151: constructing a coordinate system based on the pipeline scene, wherein the pipeline scene is unfolded, and the endpoint of the unfolded pipeline scene is used as the zero point of the coordinate system, and the XYZ axes are the length, width and height of the unfolded pipeline scene respectively;

[0105] S152: introducing a pipeline coordinate system into the position of the affected area, and calculating each coordinate of the boundary of the affected area;

[0106] S153: Locate each coordinate of the boundary of the affected area, and locate the position of the affected area;

[0107] S154: constructing a three-dimensional model of the affected area in the coordinate system according to the multiple coordinates, and marking the center coordinates of the three-dimensional model.

[0108] In the specific implementation process of the present invention, a coordinate system is set based on the pipeline scene, and the pipeline scene is expanded, and the endpoints of the expanded pipeline scene are used as the zero point of the coordinate system. The XYZ axes are the length, width and height of the expanded pipeline scene respectively. At this time, three-dimensional coordinate control is performed based on the pipeline scene to facilitate the determination of the positioning of the affected area.

[0109] At this time, the coordinate system of the pipeline is introduced into the position of the affected area, and the coordinates of the boundary of the affected area are calculated; the coordinates of the boundary of the affected area are located, and the position of the affected area is located; a three-dimensional model of the affected area is constructed in the coordinate system according to multiple coordinates, and the center coordinates of the three-dimensional model are marked, so as to determine the position of the affected area through the center coordinates, and further infer the affected object through the three-dimensional model of the affected area.

[0110] S16: determining the affected object and its positioning coordinates according to the position of the affected area, the outer contour of the affected area and the attenuation;

[0111] In the specific implementation process of the present invention, the specific steps may be:

[0112] S161: Associating the position of the affected area, the outer contour of the affected area, and the attenuation amount;

[0113] S162: inputting the outer contour and attenuation of the impact area into a selection learning model of the impact object, and outputting the corresponding impact object, wherein the selection learning model of the impact object is trained based on the outer contour and attenuation of the impact area in the past;

[0114] S163: inputting the outer contour of the impact area and the position of the impact area into a positioning learning model of the impact object, and outputting the corresponding positioning coordinates of the impact object, wherein the positioning learning model of the impact object is trained based on the outer contour of the impact area and the position of the impact area in the past;

[0115] Among them, the outer contour of the affected area and the attenuation are input into the selection learning model of the affected object, and the corresponding affected object is output; the outer contour of the affected area and the position of the affected area are input into the positioning learning model of the affected object, and the corresponding positioning coordinates of the affected object are output, so as to control the affected object and its positioning through the selection learning model of the affected object and the positioning learning model of the affected object.

[0116] At this time, the selection learning model of the influencing object and the positioning learning model of the influencing object are associated and integrated into the same model, and the position of the influencing area, the outer contour of the influencing area and the attenuation are calculated as a whole based on the model. Therefore, the selection learning model of the influencing object and the positioning learning model of the influencing object are integrated in the same model, and the position of the influencing area, the outer contour of the influencing area and the attenuation are identified as a whole, so as to determine the influencing object and its position based on the data of the three, and use one model for calculation.

[0117] In an embodiment of the present invention, through the method in the embodiment of the present invention, the directions of multiple X-rays in the pipeline and the corresponding ray intensity values ​​are obtained, the attenuation of the X-rays is monitored, and an attenuation area is constructed along the direction of the X-rays according to the attenuation of the X-rays, so as to form an influence area of ​​the X-rays through the abnormal segment in the attenuation area, thereby locating the influence area of ​​the X-rays, and further confirming the influencing object on the X-rays. At this time, the coordinate system of the pipeline is introduced into the position of the influence area, and the position of the influence area is located; the influencing object and its positioning coordinates are determined according to the position of the influence area, the outer contour of the influence area and the attenuation, so as to screen out the influencing objects in the pipeline that affect the X-rays, and then determine the positioning of the influencing objects in the pipeline that are affected by the X-rays, so as to facilitate the subsequent removal of the influencing objects and avoid the subsequent influence of the influencing objects on the X-rays.

[0118] Example

[0119] See also Figure 8 , Figure 8 It is a schematic diagram of the structural composition of the object positioning system based on X-rays in a pipeline in an embodiment of the present invention.

[0120] like Figure 8 As shown, a system for locating an impact object based on X-rays in a pipeline, the system for locating an impact object based on X-rays in a pipeline comprises:

[0121] Acquisition module 21: used to acquire directions of multiple X-rays in the pipeline and corresponding ray intensity values;

[0122] Monitoring module 22: used to monitor the attenuation of X-rays and construct an attenuation area according to the attenuation of X-rays along the direction of X-rays;

[0123] Screening module 23: used to dynamically monitor each attenuation area and screen out abnormal variation segments in the attenuation area;

[0124] Area module 24: used to enclose multiple abnormal segments and form an impact area that affects X-rays;

[0125] Coordinate module 25: used to introduce the coordinate system of the pipeline into the position of the affected area and locate the position of the affected area;

[0126] The impact object module 26 is used to determine the impact object and its positioning coordinates according to the position of the impact area, the outer contour of the impact area and the attenuation.

[0127] The present invention provides a method and system for positioning an object affecting X-rays in a pipeline, which obtains the directions of multiple X-rays in the pipeline and the corresponding ray intensity values, monitors the attenuation of the X-rays, and constructs an attenuation area according to the attenuation amount of the X-rays along the direction of the X-rays, so as to form an X-ray influence area through an abnormal segment in the attenuation area, thereby positioning the X-ray influence area, and further confirming the object affecting the X-rays. At this time, the coordinate system of the pipeline is introduced into the position of the influence area, and the position of the influence area is positioned; the influence object and its positioning coordinates are determined according to the position of the influence area, the outer contour of the influence area and the attenuation amount, so as to screen out the influence object affecting the X-rays in the pipeline, and then determine the positioning of the influence object affected by the X-rays in the pipeline, so as to facilitate the subsequent removal of the influence object and avoid the influence of the subsequent influence object on the X-rays.

[0128] Example

[0129] See also Fig. 9 , refer to the following Fig. 9 The electronic device 40 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0130] like Fig. 9 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).

[0131] The storage unit stores program codes, which can be executed by the processing unit 41, so that the processing unit 41 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.

[0132] The storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .

[0133] The storage unit 42 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0134] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0135] The electronic device 40 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 40, and / or any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 44. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 45. Fig. 9 As shown, the network adapter 45 communicates with other modules of the electronic device 40 via the bus 43. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup avoidance systems.

[0136] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0137] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. In addition, it stores computer program instructions, and when the computer program instructions are executed by a computer, the computer executes the above method.

[0138] In addition, the above is a detailed introduction to the method and system for locating objects affected by X-rays in a pipeline provided by an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for locating an object based on X-rays in a pipeline, characterized in that: include: Obtain directions of multiple X-rays in the pipeline and corresponding ray intensity values; Monitor the attenuation of X-rays and construct an attenuation area according to the attenuation amount of X-rays along the direction of X-rays; Dynamically monitor each attenuation area and screen out abnormal segments in the attenuation area; Enclose multiple abnormal segments and form an impact area that affects X-rays; The coordinate system of the pipeline is introduced into the position of the affected area, and the position of the affected area is located; The affected object and its positioning coordinates are determined according to the position of the affected area, the outer contour of the affected area and the attenuation.

2. The method for locating an object based on X-rays in a pipeline according to claim 1, characterized in that: The obtaining of directions of a plurality of X-rays in the pipeline and corresponding ray intensity values ​​includes: Acquire a pipeline scene, wherein the pipeline scene is to perform X-ray detection on an object in the pipeline; Based on multiple X-rays transmitted in a pipeline scene, and the directions of the multiple X-rays are monitored; Detect the intensity values ​​of the X-rays in the transmission process in sequence along the direction of the X-rays; Marking the X-ray transmission trajectory along the direction of the X-ray, and marking the corresponding ray intensity value in the transmission trajectory; Detect the change value of the ray intensity of the same X-ray within a preset time; If the ray intensity change value does not meet the preset ray intensity change threshold, the preset time is further divided to form a second time. At this time, the ray intensity value of the same X-ray within the second time is detected, wherein the second time is less than the first time.

3. The method for locating an object based on X-rays in a pipeline according to claim 2, characterized in that: The obtaining of directions of a plurality of X-rays in the pipeline and corresponding ray intensity values ​​also includes: Conduct X-ray detection for the second time; Monitoring the change value of the X-ray intensity within the second time, forming a X-ray intensity graph within the second time, and determining the shape of the X-ray intensity graph; Infer the impact event of X-rays at the second time along the shape of the ray intensity graph; The region of the X-ray at the second time is associated with the impact event of the X-ray at the second time, and the second region is adjusted to reduce the impact on the X-ray.

4. The method for locating an object based on X-rays in a pipeline according to claim 3, characterized in that: The monitoring of the attenuation of the X-rays and constructing an attenuation region according to the attenuation amount of the X-rays along the direction of the X-rays includes: Dynamically monitor the X-rays and determine that the X-rays are in an attenuation state based on a decrease in the X-ray intensity value; A dynamic capture of the attenuation state of X-rays is formed along the direction of X-rays; Constructing an attenuation region according to the attenuation amount of the X-ray along the direction of the X-ray, wherein the attenuation region is a local region in the direction of the X-ray; Traverse the attenuation area and determine the range of the attenuation area; In the attenuation region, the influencing objects in the attenuation region are traversed along multiple directions to evaluate the boundaries of the influencing objects in various directions.

5. The method for locating an object based on X-rays in a pipeline according to claim 4, characterized in that: The method of dynamically monitoring each attenuation area and screening out abnormal segments in the attenuation area includes: Each attenuation zone is monitored in real time, and each attenuation zone surrounds the impact object in all directions; Dynamically monitor each attenuation area and conduct local analysis of the attenuation area; When performing local analysis on the attenuation area, abnormal data in the attenuation area is screened out, wherein the abnormal data is an abnormal ray intensity value; Combine multiple abnormal data and form an abnormal segment in the attenuation area.

6. The method for locating an object based on X-rays in a pipeline according to claim 5, characterized in that: The method of enclosing a plurality of abnormal segments to form an influence area affecting X-rays includes: Collect multiple abnormal segments, where the positions of the abnormal segments correspond to the positions of the abnormal ray intensity values; Enclose multiple abnormal segments and form boundaries along the positions of ray intensity values; forming an influence region affecting the X-ray based on the plurality of abnormal segments, wherein the influence region corresponds to an outer contour of an influence object affecting the X-ray; The boundary of the affected area is corrected, the abnormal ray intensity value is traversed according to the boundary of the affected area, and the boundary of the affected area is adjusted according to the actual position of the abnormal ray intensity value.

7. The method for locating an object based on X-rays in a pipeline according to claim 6, characterized in that: The method of introducing the position of the affected area into the coordinate system of the pipeline and locating the position of the affected area comprises: A coordinate system is constructed based on the pipeline scene, wherein the pipeline scene is unfolded, and the endpoint of the unfolded pipeline scene is used as the zero point of the coordinate system, and the XYZ axes are the length, width and height of the unfolded pipeline scene respectively; The coordinate system of the pipeline is introduced into the location of the affected area, and the coordinates of the boundaries of the affected area are calculated; Locating the coordinates of the boundaries of the affected area and locating the position of the affected area; A three-dimensional model of the affected area is constructed in the coordinate system according to the multiple coordinates, and the center coordinates of the three-dimensional model are marked.

8. The method for locating an object based on X-rays in a pipeline according to claim 7, characterized in that: The determining of the affected object and its positioning coordinates according to the position of the affected area, the outer contour of the affected area and the attenuation includes: Associating the location of the impact area, the outer contour of the impact area, and the attenuation amount; Inputting the outer contour and attenuation of the impact area into the selection learning model of the impact object, and outputting the corresponding impact object, wherein the selection learning model of the impact object is trained based on the outer contour and attenuation of the impact area in the past; The outer contour and position of the impact area are input into a positioning learning model of the impact object, and the corresponding positioning coordinates of the impact object are output, wherein the positioning learning model of the impact object is trained based on the outer contour and position of the impact area in the past.

9. The method for locating an object based on X-rays in a pipeline according to claim 8, characterized in that: The method for locating an object affecting an object based on X-rays in a pipeline further includes: The selection learning model of the influencing object and the positioning learning model of the influencing object are associated and integrated into the same model. Based on the model, the position of the influencing area, the outer contour of the influencing area and the attenuation are comprehensively calculated.

10. A system for locating objects based on X-rays in pipelines, characterized in that: The X-ray-based object positioning system in a pipeline includes: Acquisition module: used to obtain the directions of multiple X-rays in the pipeline and the corresponding ray intensity values; Monitoring module: used to monitor the attenuation of X-rays and construct an attenuation area according to the attenuation of X-rays along the direction of X-rays; Screening module: used to dynamically monitor each attenuation area and screen out abnormal segments in the attenuation area; Area module: used to enclose multiple mutation segments and form an impact area that affects X-rays; Coordinate module: used to introduce the coordinate system of the pipeline into the location of the affected area and locate the location of the affected area; Influencing object module: used to determine the influencing object and its positioning coordinates according to the position of the influencing area, the outer contour of the influencing area and the attenuation.

Citation Information

Patent Citations

  • Continuous precise metal belt measuring X-ray process and equipment

    CN101046373A

  • Method and device for quickly detecting heavy metal contents and spacial distribution in soil

    CN101514980A

  • Multi-beam-X-ray-light-emitting-stimulated tomographic method based on weighted modulation

    CN109646032A

  • Single-source dual-ray imaging detection method and device

    CN114594113A

  • Method and device for image determination from X-ray projections recorded while traversing a trajectory

    DE102009020400A1