Pipeline defect detection data collection device and method based on infrared thermal imaging

Through pipeline detection technology based on infrared thermal imaging and laser excitation, the problem of large error in magnetic flux leakage detection for non-ferromagnetic materials and depth detection has been solved, and efficient and accurate detection of various pipeline defects has been achieved, ensuring the safety of detection. and sealing.

CN112986330BInactive Publication Date: 2024-10-11NORTHEASTERN UNIV CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202110436716.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-22
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing magnetic flux leakage detection technology is not effective in detecting defects in non-ferromagnetic material pipelines, has large depth detection errors, cannot detect slit or annular crack defects, and can easily lead to detection accidents in harsh environments.

Method used

A pipeline defect detection data collection device based on infrared thermal imaging is used. Through a serpentine pipeline inspection robot composed of infrared thermal imaging, laser excitation and power supply parts, the infrared thermal imaging camera and laser excitation heating strip are used to perform temperature imaging and uniform heating of the pipeline. , combined with the inertial measurement unit and image dedistortion algorithm, to achieve efficient detection of defects in the pipeline.

Benefits of technology

It realizes the defect detection of pipelines of various materials, improves the detection depth accuracy and the detection ability of slits and annular cracks, avoids detection accidents in harsh environments, and provides higher sealing and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112986330B_ABST
    Figure CN112986330B_ABST
Patent Text Reader

Abstract

The present invention discloses a pipeline defect detection data collection device and method based on infrared thermal imaging. The device is composed of three parts, namely, infrared thermal imaging, laser excitation and power supply, which are connected in sequence through studs. The infrared thermal imaging part includes: an imaging controller, an imaging housing, a sealing baffle and a plurality of thermal imaging cameras; the laser excitation part is composed of a power part, an excitation part and an excitation controller; the power supply part is composed of a power supply housing, a sealing baffle and a battery. The method of the present invention adopts a device with a serpentine pipeline robot as a carrier. When the pipe wall is thermally stimulated by laser excitation, the thermal wave on the pipe wall surface has a lateral propagation characteristic, so that it has a strong sensitivity to cracks on the pipe wall surface, and controls the excitation power and the rotation speed of the heating strip to keep the pipeline at the optimum temperature, so that the thermal imaging data has a higher contrast. At the same time, an image de-distortion algorithm and a navigation algorithm are used to make the defect positioning more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pipeline detection, and in particular to a pipeline defect detection data collection device and method based on infrared thermal imaging. Background Art

[0002] Non-renewable resources with fluid properties, such as oil and natural gas, are widely used in transportation, petrochemicals and other industries. They are called the "black gold" and "economic blood" of the economy and even the entire society. Because they have no fixed shape, and because pipeline transportation has the advantage of being able to transport materials over long distances and in large quantities without considering harsh environmental factors, pipelines have become the main means of transportation for fluids such as oil and natural gas. my country's oil pipelines were laid underground as early as the 1950s and 1960s. Long-term use has caused some pipelines to corrode or even crack, resulting in oil leakage and pollution. Therefore, flaw detection of in-service oil pipelines is extremely important.

[0003] At present, the most widely used technology for pipeline detection is magnetic flux leakage detection. The magnetic flux leakage detection technology is derived from the magnetic particle detection technology. The basic principle of its detection is: a magnetic field is applied around the pipe wall to magnetize the ferromagnetic pipe. When the pipe material is free of defects, the magnetic lines of force in the material are evenly distributed and will not leak out of the pipe surface. When the pipe material has defects, the magnetic permeability at the defect is much smaller than that of the ferromagnetic material, and the magnetic resistance at the defect increases, the magnetic field is distorted, and the magnetic lines of force are bent, causing part of the magnetic lines of force to be exposed from the ferromagnetic pipe, forming a leakage magnetic field. The leakage magnetic signal is then collected by the Hall sensor, converted into an electrical signal, and the data is processed, stored and analyzed to obtain the basic situation of the pipeline defect.

[0004] Although magnetic flux leakage testing has the advantages of simple testing process, low environmental requirements and comprehensive defect detection, it still has some shortcomings:

[0005] 1. Magnetic flux leakage detection requires the pipeline to be magnetized. The magnetic permeability of non-ferromagnetic materials is close to 1. The magnetic field around the defect will not change due to the different magnetic permeability, and no obvious leakage magnetic field will be generated. Therefore, magnetic flux leakage detection is only suitable for ferromagnetic material pipelines.

[0006] 2. Magnetic flux leakage detection is sensitive to the chromatic defects on the inner surface of the pipe wall. If the defect is inside the pipe wall material or close to the outside of the pipe wall, the degree of distortion of the magnetic field may not be significant enough. Therefore, magnetic flux leakage detection has certain requirements on the depth of the defect. When the depth is too large, the quantification error of the defects detected inside the ferromagnetic material is large.

[0007] 3. When a pipeline has a relatively narrow crack or even a closed crack, firstly, due to the small slit width, the leakage magnetic lines are too few, and the magnetic induction intensity is too low, which may cause the leakage of the distorted magnetic field magnetic lines to be small. Secondly, for annular cracks, the magnetic circuit will form a closed loop, and the magnetic lines will not leak out, forming a complete magnetic circuit inside, so magnetic detection cannot detect this type of defect.

[0008] 4. Since the magnetic flux leakage detection requires the magnetization of the ferromagnetic material of the pipeline, the permanent magnet tube needs to fit closely to the wall. When the ambient temperature is low or the oil temperature is not high, a large amount of impurities such as paraffin will precipitate from the crude oil, which may cause the robot equipped with the magnetic flux leakage detection device to get stuck in the pipeline being inspected, which can easily lead to detection accidents and cause serious economic losses. If the internal detection robot cannot be removed, it may even cause the entire pipeline to be scrapped. Summary of the invention

[0009] In view of the above-mentioned deficiencies in the prior art, the present invention provides a pipeline defect detection data collection device and method based on infrared thermal imaging, using a serpentine pipeline in-pipe detection robot as a carrier.

[0010] In order to solve the above technical problems, the technical solution adopted by the present invention is: a pipeline defect detection data collection device based on infrared thermal imaging, which is composed of three parts: infrared thermal imaging, laser excitation and power supply connected in sequence through double-headed studs.

[0011] The infrared thermal imaging part includes: an imaging controller, an imaging shell, a sealing baffle and multiple thermal imaging cameras; a slot is opened at one end of the imaging shell for installing the imaging controller, and the other end of the imaging shell is closed and connected with the sealing baffle; the outer side of the middle part of the imaging shell is evenly opened with grooves with the same number as the thermal imaging cameras for installing the thermal imaging cameras.

[0012] A flange is processed on the other end of the imaging housing. When it is closed and connected with the sealing baffle, a sealing ring groove is set on the contact surface between the sealing baffle and the flange, and an O-ring is placed to ensure the sealing inside the robot; a driving leather cup is sleeved on the outside of the sealing baffle, and the size of the driving leather cup just fits the inner wall of the pipe.

[0013] The imaging controller has a built-in inertial measurement unit, which realizes positioning by measuring the speed, so that the thermal imaging data corresponds to the position data.

[0014] The laser excitation part is composed of a power part, an excitation part and an excitation controller;

[0015] The power part is composed of a power housing and a motor; one end of the power housing is provided with a concave groove just for the motor to be placed, for installing the motor; the shaft of the motor is connected to the excitation part by a key connection;

[0016] The excitation part consists of an excitation shell and multiple heating strips; one end of the excitation shell is provided with a hole connected to the motor shaft key, and the other end is installed with a controller; the outer side of the middle part of the excitation shell is evenly provided with grooves with the same number as the heating strips for installing the heating strips.

[0017] The inner position of the groove for installing the heating strip is surrounded by a circle of heat insulation material to prevent the heating strip from affecting the controller.

[0018] The excitation housing is modeled after the structure of a Francis turbine and is evenly provided with a plurality of strip-shaped protrusions which are staggeredly distributed with the grooves for installing the heating strips.

[0019] The power supply part is composed of a power supply shell, a sealing baffle and a battery; a groove is provided at one end of the power supply shell for installing the battery, and the other end is sealed and connected with the sealing baffle.

[0020] The other end of the power supply housing is processed with a flange. When it is closed and connected with the sealing baffle, a sealing ring groove is set on the contact surface between the sealing baffle and the flange, and an O-ring is placed to ensure the sealing inside the robot; a driving leather cup is sleeved on the outside of the sealing baffle, and the size of the driving leather cup just fits the inner wall of the pipe.

[0021] In order to prevent the temperature generated by the laser excitation part from affecting the infrared thermal imaging part and the power supply part, isolation carbon plates are placed on both sides of the laser excitation part, holes are opened in the middle of the isolation carbon plates, and the isolation carbon plates are fixed on the studs.

[0022] On the other hand, the present invention also provides a method for collecting pipeline defect detection data using the above device, comprising the following steps:

[0023] Step 1: Open the gate at the entrance of the ball barrel of the pipeline to be inspected, place the serpentine pipeline inspection robot equipped with a pipeline defect detection data collection device based on infrared thermal imaging, close the gate at the entrance of the ball barrel of the pipeline to be inspected, half-open the gate at the exit of the ball barrel of the pipeline to be inspected, and close the gate at the exit of the pipeline to be inspected after the transport medium is completely filled into the pipeline to be inspected.

[0024] Step 2: The excitation part of the pipeline defect detection data collection device based on infrared thermal imaging starts to rotate at an arbitrary constant speed and thermally excites the pipeline at an arbitrary constant power. At the same time, the infrared thermal imaging part thermally images the pipeline to find the most suitable pipeline temperature for the pipeline material and the transported material. The process is as follows:

[0025] Step 2.1: The excitation section changes the pipe temperature from the initial temperature T min Heating to the highest achievable temperature T max ;

[0026] Step 2.2: During the heating process, the infrared thermal imaging part detects and images the temperature field of the pipeline, and inputs the images obtained by multiple thermal imaging cameras into the imaging controller;

[0027] Step 2.3: The controller analyzes the image and finds the pipe temperature with the largest defect boundary difference based on the known relationship between the edge temperature field distribution data of the defective band and the non-defective band. This is used as the optimal pipe temperature for the pipe material and the transported material. The formula is as follows:

[0028]

[0029] Among them, ξ is the obvious degree of defect boundary, which is used to measure whether it is the optimal excitation temperature, T xy is the temperature of the pixel at the defect boundary, T x'y' is the temperature of the pixel point adjacent to the defect boundary pixel along the radius of the curvature circle where the point is located, C n is the closed boundary of the defect.

[0030] Step 3: Fully open the gate at the outlet of the ball-launching cylinder of the pipeline to be inspected, and the serpentine pipeline inspection robot equipped with a pipeline defect inspection data collection device based on infrared thermal imaging begins to move from the starting point to the end point as the driving leather cup is pushed by the transport medium fluid;

[0031] Step 4: During the movement, the heating strip of the laser excitation part radiates heat to the pipeline, and at the same time, the fluid in the pipeline pushes the protrusions of the excitation shell similar to the Francis turbine structure to rotate, thereby radiating the pipeline uniformly, and sending the current rotation speed and laser excitation power to the infrared thermal imaging part;

[0032] Step 5: The infrared thermal imaging part images the temperature field in the pipeline and periodically calibrates the inertial measurement unit;

[0033] The process of periodically calibrating the inertial measurement unit is as follows:

[0034] Step 5.1: Match the travel data with the imaged temperature field data;

[0035] Step 5.2: Calibrate the distance measured by the inertial measurement unit using the weld reference as follows:

[0036]

[0037] Among them, X v is the travel data finally calculated by the visual algorithm, X vkis the travel data calculated by the visual algorithm of the kth camera, m is the total number of cameras, n is the number of welds that have been passed, d is the distance between two adjacent welds, h is the distance from the camera to the pipe wall, θ is the maximum viewing angle of the camera, L is the total number of axial pixels in the image, and L n is the axial coordinate of the nth weld in the image, in pixels. The coordinate system takes the upper left corner of the imaged temperature field data as the origin and the size of a pixel as the unit length of the coordinate system.

[0038] The step 5 also includes dedistorting the image before periodically calibrating the inertial measurement unit, the process is as follows:

[0039] S1: Construct the conversion equation between the camera coordinate system and the image physical coordinate system;

[0040] The image captured by the thermal imager is a grayscale image, the number of image channels is 1, and the camera coordinate system is The physical coordinate system of the image is Among them, the camera coordinate system is a three-dimensional coordinate system, the z-axis is the main optical axis of the camera, the projection of the camera coordinate system on the z-axis is the image coordinate system, and the image physical coordinate system is based on the image coordinate system, converting the unit from distance to pixel number;

[0041] The conversion relationship between the camera coordinate system and the image physical coordinate system is:

[0042]

[0043] Among them, f x ,f y ,c x ,c y is the linear transformation coefficient;

[0044] Normalize x and y:

[0045]

[0046] The conversion equation can be calculated as follows:

[0047] u=f x ·x′+c x

[0048] v=f y y′+c y

[0049] Among them, u and v are the horizontal and vertical coordinates of the image physical coordinate system;

[0050] S2: Establish the transformation relationship between the non-distorted camera coordinate system (x1, y1) and the distorted camera coordinate system (x2, y2):

[0051]

[0052]

[0053] in, k1, k2, k3 are radial distortion coefficients, p1, p2 are tangential distortion coefficients;

[0054] S3: According to step 1, the non-distorted camera coordinate system (x1, y1) and the distorted camera coordinate system (x2, y2) are converted into the non-distorted image physical coordinate system (u, v) and the distorted image physical coordinate system (u′, v′):

[0055] u=f x x1+c x , v = f y y1+c y

[0056] u′=f x ·x2+c x , v′=f y y2+c y

[0057] S4: Combine equations S2 and S3 to obtain the transformation relationship between the physical coordinate system of the undistorted image (u, v) and the physical coordinate system of the distorted image (u′, v′);

[0058] S5: Calculate the pixel Q in the physical coordinate system of the undistorted image i (u i ,v i ) corresponds to a point Q′ in the distorted image physical coordinate system i (u′ i ,v′ i ), and judge u′ i , v′ i Is it an integer? If it is an integer, then (u i ,v i ) at the gray value f(u i ,v i )=f(u′ i ,v′ i ), jump to S9; if it is not an integer, jump to S6;

[0059] S6: Determine [f(u′ i ,v′ i )-μ] 2 and , where μ is the average grayscale value of the distorted image pixels, and σ1 is the variance of the grayscale value of the distorted image pixels:

[0060] like Go to S7;

[0061] like Go to S8;

[0062] S7: Calculate Q′ i The grayscale average of the 16 pixels adjacent to the point (u′, v′) in the distorted image:

[0063]

[0064] have

[0065] (u′ im ,v′ im ), m∈[1,16]

[0066] If satisfied

[0067]

[0068] but

[0069] f(u i ,v i )=f(u′ im ,v′ im )

[0070] S8: Under the premise that the pixel coordinates of the original distorted image remain unchanged, the edge of the distorted image is extended, Q′ i point(u′ i ,v′ i ) The four adjacent pixels in the distorted image are:

[0071] P 11 (u′ i1 ,v′ i1 ), P 12 (u′ i1 ,v′ i2 ), P 21 (u′ i2 ,v′ i1 ), P 22 (u′ i2 ,v′ i2 )

[0072] The four pixels on the outer diagonal are:

[0073] R1(u′ i3 ,v′ i3 ), R2(u′ i3 ,v′ i4 ), R3(u′ i4 ,v′ i3 ), R4(u′ i4 ,v′ i4 )

[0074] Then Q' i The pixel value of the point (u' i , v' i ):

[0075] f(u' i , v' i ) = pg(i) + (1 - p)h(i)

[0076] Where

[0077] g(i) = f(u' i1 , v' i1 ) · w 11 + f(u' i1 , v' i2 ) · w 12 + f(u' i2 , v' i1 ) · w 21 + f(u' i2 , v' i2 ) · w 22

[0078] w 11 = (u' i2 - u')(v' i2 - v'), w 12 = (u' i2 - u')(v' - v' i1 ), w 21 = (u' - u' i1 )(v' i2 - v'), w 22 = (u' - u' i1 )(v' - v' i1 )

[0079] h(i) = f(u' i3 , v' i3 ) · w 33 + f(u' i3 , v' i4 ) · w 34 + f(u' i4 , v' i3 ) · w 43 + f(u' i4 , v' i4 ) · w 44

[0080] w 33 = (u' i4 - u')(v' i4 - v'), w 34 = (u' i4-u′)(v′-v′ i3 ),w 43 =(u′-u′ i3 )(v′ i4 -v′),w 44 =(u′-u′ i3 )(v′-v′ i3 )

[0081]

[0082] Among them, Δσ 12 is the difference between the standard deviation of the grayscale values ​​of the four adjacent pixels and the standard deviation of the grayscale value of the distorted image, Δσ 34 The difference between the standard deviation of the grayscale values ​​of the four pixels on the outer diagonal and the standard deviation of the grayscale values ​​of the distorted image;

[0083] S9: Repeat S5 until all pixels of the non-distorted image are traversed to obtain the non-distorted image I.

[0084] Step 6: The infrared thermal imaging part receives the current rotation speed and laser excitation power, and calculates the temperature and rotation speed that the heating strip should maintain. The process is as follows:

[0085] Step 6.1: By analyzing the temperature field distribution information, calculate the temperature and rotation speed that the heating strip should maintain. The specific calculation method is as follows:

[0086]

[0087]

[0088] Among them, V r To calculate the speed of the motor independent of the fluid, V f is the speed of the snake-like robot under the action of fluid, V0 is the rotation speed generated by the fluid in the Francis water wheel-like structure, k is the comprehensive thermodynamic property of the pipeline and the transported material, which is determined by the properties of its material itself, and S 2 is the variance of the current thermal imaging grayscale value, is the variance threshold of the gray value of thermal imaging. If it is less than this value, the excitation is considered uniform. T0 is the optimum temperature measured at the starting point of the pipeline. T is the temperature that the heating strip should maintain after calculation. P is the power of the current thermal excitation, which is determined by the properties of the material itself. T0 is the optimum temperature measured at the starting point of the pipeline. is the current average temperature of the pipeline, σ is the Swufan constant;

[0089] Step 6.2: The calculated temperature and rotation speed values ​​are sent to the laser excitation part. The excitation controller of the laser excitation part controls the power of the heating strip and the speed of the motor to ensure that the excitation degree is always uniform and maintained at the optimum temperature.

[0090] Step 7: The laser excitation part receives the temperature and rotation speed data of the heating strip that should be maintained from the thermal imaging part, and uses the PID algorithm to control the power and rotation speed of the heating strip to maintain stability according to the data;

[0091] Step 8: Repeat steps 4 to 7 until the pipeline reaches the end point, completing the collection of pipeline defect data.

[0092] The beneficial effects of adopting the above technical solution are:

[0093] 1. The pipeline defect detection data collection device based on infrared thermal imaging provided by the present invention can move in the pipeline along with the fluid under the impetus of the fluid in the pipeline;

[0094] 2. The device provided by the present invention uses laser excitation to heat the pipeline, and adopts a turbine structure to design the rotating part of the heating strip, so that the pipe wall is heated more evenly;

[0095] 3. The device provided by the present invention can comprehensively consider the fluid velocity, motor rotation speed and thermal excitation power, so that the device of the present application works in the optimal temperature field image acquisition state;

[0096] 4. The method provided by the present invention makes optimal control of the excitation temperature and the rotation speed, so that the collected thermal imaging data has a higher contrast and the detected defect data is more obvious;

[0097] 5. The method provided by the present invention uses an image dedistortion algorithm and a navigation algorithm to make defect positioning more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 It is a structural schematic diagram of a pipeline defect detection data collection device based on infrared thermal imaging in an embodiment of the present invention;

[0099] Figure 2 Schematic diagram of an excitation housing of an excitation part in an embodiment of the present invention;

[0100] Figure 3 This is a schematic diagram of the connection between the infrared thermal imaging part and the laser excitation part control module in an embodiment of the present invention;

[0101] Figure 4 It is a schematic diagram of the connection between the power part and the excitation part in the laser excitation part in an embodiment of the present invention;

[0102] Figure 5 This is a schematic diagram of a pipeline to be tested in an embodiment of the present invention;

[0103] Figure 6 This is a schematic diagram of interpolation of a dedistortion algorithm in an embodiment of the invention;

[0104] Among them, 1-sealing baffle, 2-driving leather cup, 3-power supply part, 4-laser excitation part, 5-infrared thermal imaging part, 6-isolation carbon plate, 7-stud, 8-thermal imaging camera, 9-heating strip, 10-motor, 11-annular thermal insulation material, 12-threaded hole, 13-annular groove, 14-circular pipe, 15-gate, 16-hole defect, 17-crack defect, 18-internal scratch defect. DETAILED DESCRIPTION

[0105] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0106] like Figure 1 As shown, the pipeline defect detection data collection device based on infrared thermal imaging in this embodiment is composed of an infrared thermal imaging part 5, a laser excitation part 4 and a power supply part 3 which are connected in sequence through a stud 7.

[0107] The infrared thermal imaging part 5 includes: an imaging controller, an imaging housing, a sealing baffle 1 and a plurality of thermal imaging cameras 8; a slot is provided at one end of the imaging housing, and in this embodiment, a cylindrical slot with a circular diameter of 150 mm and a depth of 130 mm is provided, which is used to install the imaging controller, and the other end of the imaging housing is closed and connected to the sealing baffle 1; the outer side of the middle of the imaging housing is evenly provided with grooves of the same number as the thermal imaging cameras 8, which are used to install the thermal imaging cameras 8. In this embodiment, the number of thermal imaging cameras 8 is 6, and corresponding spherical grooves for installing thermal imaging cameras are also provided with 6, and an M5 threaded hole is provided at the bottom of the spherical groove, which is used to connect the camera and the controller and play a role in leak prevention.

[0108] The other end of the imaging housing is processed with a flange, and when it is closed and connected with the sealing baffle 1, a sealing ring groove is set on the contact surface between the sealing baffle and the flange, and an O-ring is placed to ensure the sealing inside the robot; a driving leather cup 2 is sleeved on the outside of the sealing baffle; the size of the driving leather cup 2 just fits the inner wall of the pipe.

[0109] In this embodiment, the outer diameter of the flange is 294mm, and the flange has 8 M14 threaded holes evenly distributed along the circumference, and the center has a threaded hole with a diameter of 30mm and a depth of 20mm. The circumferential threaded holes are used for closed connection with the sealing baffle 1, and the central threaded hole is used for threaded connection with the stud 7. The diameter of the sealing baffle 1 is also 294mm, and 8 threaded holes corresponding to the flange are drilled along the circumference. In this embodiment, the sealing ring is an O-ring with an inner diameter of 107.67mm and a wire diameter of 1.78mm. The inner diameter of the driving leather cup is 294mm and the outer diameter is 324mm.

[0110] The imaging controller has a built-in inertial measurement unit, which realizes positioning by measuring the speed, so that the thermal imaging data corresponds to the position data.

[0111] The laser excitation part 4 is composed of a power part, an excitation part and an excitation controller;

[0112] The power part is composed of a power housing and a motor 10; one end of the power housing is provided with a concave groove that fits the motor and is used to install the motor 10, and the center of the other end is provided with a threaded hole with a diameter of 30mm and a depth of 20mm, which is used to be threadedly connected with the stud 7; the shaft of the motor 10 is connected to the excitation part by a key connection, and the connection method is as follows Figure 4 As shown;

[0113] The excitation part is composed of an excitation shell and a plurality of heating strips 9; one end of the excitation shell is provided with a hole connected to the motor shaft key, which is set to 10mm in this embodiment, and the excitation part rotates at a constant speed by key connection with the motor shaft. The other end is installed with a controller, and in this embodiment, an annular groove with an outer diameter of 180mm and an inner diameter of 70mm is provided to install the controller; a threaded hole with a diameter of 30mm and a depth of 20mm is provided at the center position for threaded connection with a stud. The same number of grooves as the heating strips 9 are evenly provided on the outer side of the middle part of the excitation shell for installing the heating strips 9. In this embodiment, the heating strips are laser excitation strips, and the number is 6, and the corresponding grooves for installing the heating strips are also 6.

[0114] The inner position of the groove for installing the heating strip is surrounded by a circle of heat-insulating material 11 to prevent the heating strip from affecting the controller.

[0115] The excitation housing is modeled after the Francis turbine structure, and is evenly provided with a plurality of strip-shaped protrusions, which are staggeredly distributed with the grooves for installing the heating strips. In this embodiment, six strip-shaped protrusions are provided.

[0116] The structural schematic diagram of the excitation housing in this embodiment is as follows Figure 2 shown.

[0117] The power supply part 3 is composed of a power supply housing, a sealing baffle 1 and a battery; a groove 13 is provided at one end of the power supply housing for installing the battery, and the other end is sealed and connected to the sealing baffle 1. In this embodiment, a cylindrical groove with a diameter of 150 mm and a depth of 130 mm is provided at one end of the power supply housing, and an 18650 battery is placed in the groove.

[0118] The other end of the power supply housing is processed with a flange, and when it is closed and connected with the sealing baffle 1, a sealing ring groove is set on the contact surface between the sealing baffle and the flange, and an O-ring is placed to ensure the sealing inside the robot; a driving leather cup 2 is sleeved on the outside of the sealing baffle 1, and the size of the driving leather cup 2 just fits the inner wall of the pipeline. The connection method between the flange and the sealing baffle 1 is the same as that of the infrared thermal imaging part 5.

[0119] In order to prevent the temperature generated by the laser excitation part 4 from affecting the infrared thermal imaging part 5 and the power supply part 3, an isolation carbon plate 6 is placed on both sides of the laser excitation part 4, a hole is opened in the middle of the isolation carbon plate 6, and the isolation carbon plate 6 is fixed on the stud 7. In this embodiment, the diameter of the isolation carbon plate is 280 mm, and the diameter of the hole in the middle of the carbon plate is 30 mm.

[0120] In this embodiment, the infrared thermal imaging main control model is Raspberry Pi 3B, the infrared thermal imaging camera model is MONCH TECHNOLOGY's FAST-SWIR short-wave infrared thermal imager, which is connected to the infrared thermal imaging main control via the USB3.0 protocol, the inertial measurement unit model is MPU6050, which is connected to the infrared thermal imaging main control via the software IIC protocol, the laser excitation main control chip model is STM32F405RGT6, which is connected to the infrared main control via the serial port, the rotating motor module model is DJI's C620 electric speed controller and M3508 motor, which is connected to the laser excitation main control via the CAN bus chip SIT1040 using the CAN protocol, the laser excitation bar model is Coherent's 100W808nm semiconductor laser Bar, and the laser excitation main control sends PWM signals to the laser excitation bar via the medium and high power PWM control power supply chip SM8015. The overall hardware circuit structure of this embodiment is as follows: Figure 3 shown.

[0121] In this embodiment, a method for collecting pipeline defect detection data using the above pipeline defect detection data collection device based on infrared thermal imaging is also provided, comprising the following steps:

[0122] Step 1: Open the gate at the entrance of the ball barrel of the pipeline to be inspected, place the serpentine pipeline inspection robot equipped with a pipeline defect detection data collection device based on infrared thermal imaging, close the gate at the entrance of the ball barrel of the pipeline to be inspected, half-open the gate at the exit of the ball barrel of the pipeline to be inspected, and close the gate at the exit of the pipeline to be inspected after the transport medium is completely filled into the pipeline to be inspected.

[0123] In this embodiment, the pipeline to be inspected is as follows Figure 5 shown.

[0124] Step 2: The controller of the excitation part of the pipeline defect detection data collection device based on infrared thermal imaging sends speed data through the CAN bus chip SIT104, and then processes the speed into current data through the C620 electronic regulator, and sends it to the motor M3508, so that the laser excitation part starts to rotate at any constant speed and any constant power to thermally excite the pipeline. At the same time, the infrared thermal imaging part performs thermal imaging on the pipeline to find the optimal pipeline temperature for the pipeline material and the transported material. The process is as follows:

[0125] Step 2.1: The excitation section changes the pipe temperature from the initial temperature T min Heating to the highest achievable temperature T max ;

[0126] Step 2.2: During the heating process, the infrared thermal imaging part detects and images the temperature field of the pipeline, and inputs the images obtained by multiple thermal imaging cameras into the imaging controller; in this embodiment, the image obtained by the FAST-SWIR short-wave infrared thermal imager is input into the infrared thermal imaging controller, and the controller uses the opencv library to analyze the image.

[0127] Step 2.3: The controller analyzes the image and finds the pipe temperature with the largest defect boundary difference based on the known relationship between the edge temperature field distribution data of the defective band and the non-defective band. This is used as the optimal pipe temperature for the pipe material and the transported material. The formula is as follows:

[0128]

[0129] Among them, ξ is the obvious degree of defect boundary, which is used to measure whether it is the optimal excitation temperature, T xy is the temperature of the pixel at the defect boundary, T x'y' is the temperature of the pixel point adjacent to the defect boundary pixel along the radius of the curvature circle where the point is located, C n is the closed boundary of the defect.

[0130] Step 3: Fully open the gate at the outlet of the ball-launching cylinder of the pipeline to be inspected, and the serpentine pipeline inspection robot equipped with a pipeline defect inspection data collection device based on infrared thermal imaging begins to move from the starting point to the end point as the driving leather cup is pushed by the transport medium fluid;

[0131] Step 4: During the movement, the heating bar of the laser excitation part, which in this embodiment uses a 100W 808nm semiconductor laser Bar, radiates heat to the pipeline, and at the same time rotates under the driving effect of the protrusion similar to the Francis turbine structure set on the excitation shell by the fluid in the pipeline, thereby radiating heat evenly to the pipeline, and sending the current rotation speed and laser excitation power to the infrared thermal imaging part through the serial port protocol;

[0132] Step 5: The infrared thermal imaging part images the temperature field in the pipeline and periodically calibrates the inertial measurement unit;

[0133] The process of periodically calibrating the inertial measurement unit is as follows:

[0134] Step 5.1: Match the travel data with the imaged temperature field data;

[0135] Step 5.2: Calibrate the distance measured by the inertial measurement unit using the weld reference as follows:

[0136]

[0137] Among them, X v is the travel data finally calculated by the visual algorithm, X vk is the travel data calculated by the visual algorithm of the kth camera, m is the total number of cameras, n is the number of welds that have been passed, d is the distance between two adjacent welds, h is the distance from the camera to the pipe wall, θ is the maximum viewing angle of the camera, L is the total number of axial pixels in the image, and L n is the axial coordinate of the nth weld in the image, in pixels. The coordinate system takes the upper left corner of the imaged temperature field data as the origin and the size of a pixel as the unit length of the coordinate system.

[0138] Since this algorithm depends on the weld, the range in which this calibration algorithm can be implemented is (nd-htanθ, nd+htanθ), n=1, 2, 3..., and in the remaining travel range, the three-axis acceleration of MPU6050 is read through the IIC protocol, and the travel data is obtained by performing a secondary integration. After the travel data is matched with the temperature field data of the imaging, the thermal imaging master RaspberryPi 3B stores it in its storage SD card.

[0139] The step 5 also includes dedistorting the image before periodically calibrating the inertial measurement unit, the process is as follows:

[0140] S1: Construct the conversion equation between the camera coordinate system and the image physical coordinate system;

[0141] The image captured by the thermal imager is a grayscale image, the number of image channels is 1, and the camera coordinate system is The physical coordinate system of the image is Among them, the camera coordinate system is a three-dimensional coordinate system, the z-axis is the main optical axis of the camera, the projection of the camera coordinate system on the z-axis is the image coordinate system, and the image physical coordinate system is based on the image coordinate system, converting the unit from distance to pixel number;

[0142] The conversion relationship between the camera coordinate system and the image physical coordinate system is:

[0143]

[0144] Among them, f x ,f y ,c x ,c y is the linear transformation coefficient;

[0145] Normalize x and y:

[0146]

[0147] The conversion equation can be calculated as follows:

[0148] u=f x ·x′+c x

[0149] v=f y y′+c y

[0150] Among them, u and v are the horizontal and vertical coordinates of the image physical coordinate system;

[0151] S2: Establish the transformation relationship between the non-distorted camera coordinate system (x1, y1) and the distorted camera coordinate system (x2, y2):

[0152]

[0153]

[0154] in, k1, k2, k3 are radial distortion coefficients, p1, p2 are tangential distortion coefficients;

[0155] S3: According to step 1, the non-distorted camera coordinate system (x1, y1) and the distorted camera coordinate system (x2, y2) are converted into the non-distorted image physical coordinate system (u, v) and the distorted image physical coordinate system (u′, v′):

[0156] u=f x x1+c x , v = f y y1+c y

[0157] u′=f x ·x2+c x , v′=f y y2+c y

[0158] S4: Combine equations S2 and S3 to obtain the transformation relationship between the physical coordinate system of the undistorted image (u, v) and the physical coordinate system of the distorted image (u′, v′);

[0159] S5: Calculate the pixel Q in the physical coordinate system of the undistorted image i (u i ,v i ) corresponds to a point Q′ in the distorted image physical coordinate system i (u′ i ,v′ i ), and judge u′ i ,v′ i Is it an integer? If it is an integer, then (u i ,v i ) at the gray value f(u i ,v i )=f(u′ i ,v′ i ), jump to S9; if it is not an integer, jump to S6;

[0160] S6: Determine [f(u′ i ,v′ i )-μ] 2 and , where μ is the average grayscale value of the distorted image pixels, and σ1 is the variance of the grayscale value of the distorted image pixels:

[0161] like Go to S7;

[0162] like Go to S8;

[0163] S7: Calculate Q′ i The grayscale average of the 16 pixels adjacent to the point (u′, v′) in the distorted image:

[0164]

[0165] have

[0166] (u′ im ,v′ im ), m∈[1,16]

[0167] If satisfied

[0168]

[0169] but

[0170] f(u i ,v i )=f(u′ im ,v′ im )

[0171] S8: Under the premise that the pixel coordinates of the original distorted image remain unchanged, the edge of the distorted image is extended. The interpolation process is as follows: Figure 6 As shown, Q′i point(u′ i ,v′ i ) The four adjacent pixels in the distorted image are:

[0172] P 11 (u′ i1 ,v′ i1 ), P 12 (u′ i1 ,v′ i2 ), P 21 (u′ i2 ,v′ i1 ), P 22 (u′ i2 ,v′ i2 )

[0173] The four pixels on the outer diagonal are:

[0174] R1(u′ i3 ,v′ i3 ), R2(u′ i3 ,v′ i4 ), R3(u′ i4 ,v′ i3 ), R4(u′ i4 ,v′ i4 )

[0175] Then Q′ i point(u′ i ,v′ i )’s pixel value:

[0176] f(u′ i ,v′ i )=pg(i)+(1-p)h(i)

[0177] in,

[0178] g(i)=f(u′ i1 ,v′ i1 )·w 11 +f(u′ i1 ,v′ i2 )·w 12 +f(u′ i2 ,v′ i1 )·w 21 +f(u′ i2 ,v′ i2 )·w 22

[0179] w 11 =(u′ i2 -u′)(v′ i2 -v′),w 12=(u′ i2 -u′)(v′-v′ i1 ),w 21 =(u′-u′ i1 )(v′ i2 -v′),w 22 =(u′-u′ i1 )(v′-v′ i1 )

[0180] h(i)=f(u′ i3 ,v′ i3 )·w 33 +f(u′ i3 ,v′ i4 )·w 34 +f(u′ i4 ,v′ i3 )·w 43 +f(u′ i4 ,v′ i4 )·w 44

[0181] w 33 =(u′ i4 -u′)(v′ i4 -v′),w 34 =(u′ i4 -u′)(v′-v′ i3 ),w 43 =(u′-u′ i3 )(v′ i4 -v′),w 44 =(u′-u′ i3 )(v′-v′ i3 )

[0182]

[0183] Among them, Δσ 12 is the difference between the standard deviation of the grayscale values ​​of the four adjacent pixels and the standard deviation of the grayscale value of the distorted image, Δσ 34 The difference between the standard deviation of the grayscale values ​​of the four pixels on the outer diagonal and the standard deviation of the grayscale values ​​of the distorted image;

[0184] S9: Repeat S5 until all pixels of the non-distorted image are traversed to obtain the non-distorted image I.

[0185] Step 6: The infrared thermal imaging part receives the current rotation speed and laser excitation power, and calculates the temperature and rotation speed that the heating strip should maintain. The process is as follows:

[0186] Step 6.1: By analyzing the temperature field distribution information, calculate the temperature and rotation speed that the heating strip should maintain. The specific calculation method is as follows:

[0187]

[0188]

[0189] Among them, V r To calculate the speed of the motor independent of the fluid, V f is the speed of the snake-like robot under the action of fluid, V0 is the rotation speed generated by the fluid in the Francis water wheel-like structure, k is the comprehensive thermodynamic property of the pipeline and the transported material, which is determined by the properties of its material itself, and S 2 is the variance of the current thermal imaging grayscale value, is the variance threshold of the gray value of thermal imaging. If it is less than this value, the excitation is considered uniform. T0 is the optimum temperature measured at the starting point of the pipeline. T is the temperature that the heating strip should maintain after calculation. P is the power of the current thermal excitation, which is determined by the properties of the material itself. T0 is the optimum temperature measured at the starting point of the pipeline. is the current average temperature of the pipeline, σ is the Swufan constant;

[0190] Step 6.2: The calculated temperature and rotation speed values ​​are sent to the laser excitation part. The excitation controller of the laser excitation part controls the power of the heating strip and the speed of the motor to ensure that the excitation degree is always uniform and maintained at the optimum temperature.

[0191] Step 7: The laser excitation part receives the temperature and rotation speed data of the heating strip that should be maintained from the thermal imaging part, and uses the PID algorithm to control the power and rotation speed of the heating strip to maintain stability according to the data;

[0192] Step 8: Repeat steps 4 to 7 until the pipeline reaches the end point, completing the collection of pipeline defect data.

Claims

1. A pipeline defect detection data collection device based on infrared thermal imaging, It is characterized in that It consists of three parts, infrared thermal imaging, laser excitation and power supply, connected in sequence by studs; The infrared thermal imaging part includes: an imaging controller, an imaging housing, a sealing baffle and a plurality of thermal imaging cameras; a slot is provided at one end of the imaging housing for installing the imaging controller, and the other end of the imaging housing is sealed and connected to the sealing baffle; the outer side of the middle of the imaging housing is evenly provided with grooves having the same number as the thermal imaging cameras for installing the thermal imaging cameras; The other end of the imaging housing is processed with a flange. When it is closed and connected with the sealing baffle, a sealing ring groove is set on the contact surface between the sealing baffle and the flange. An O-ring is placed to ensure the sealing inside the robot. A driving leather cup is sleeved on the outside of the sealing baffle; the size of the driving leather cup just fits the inner wall of the pipe.

2. According to claim 1, the pipeline defect detection data collection device based on infrared thermal imaging, Features: The imaging controller has a built-in inertial measurement unit, which realizes positioning by measuring the speed, so that the thermal imaging data corresponds to the position data.

3. According to claim 1, the pipeline defect detection data collection device based on infrared thermal imaging, Features: The laser excitation part is composed of a power part, an excitation part and an excitation controller; The power part is composed of a power housing and a motor; one end of the power housing is provided with a concave groove just for the motor to be placed, for installing the motor; the shaft of the motor is connected to the excitation part by a key connection; The excitation part is composed of an excitation shell and a plurality of heating strips; one end of the excitation shell is provided with a hole connected to the motor shaft key, and the other end is provided with an excitation controller; the outer side of the middle part of the excitation shell is evenly provided with grooves with the same number as the heating strips for installing the heating strips; The excitation housing is modeled after the structure of a Francis turbine and is evenly provided with a plurality of strip-shaped protrusions which are staggeredly distributed with the grooves for installing the heating strips.

4. According to claim 3, the pipeline defect detection data collection device based on infrared thermal imaging, Features: The inner position of the groove for installing the heating strip is surrounded by a circle of heat insulation material to prevent the heating strip from affecting the controller.

5. According to claim 1, the pipeline defect detection data collection device based on infrared thermal imaging, Features: The power supply part is composed of a power supply housing, a sealing baffle and a battery; One end of the power supply housing is provided with a groove for installing a battery, and the other end is sealed and connected with a sealing baffle; The other end of the power supply housing is processed with a flange. When it is closed and connected with the sealing baffle, a sealing ring groove is set on the contact surface between the sealing baffle and the flange. An O-ring is placed to ensure the sealing inside the robot. A driving leather cup is sleeved on the outside of the sealing baffle; the size of the driving leather cup just fits the inner wall of the pipe.

6. The pipeline defect detection data collection device based on infrared thermal imaging according to claim 1, Features: In order to prevent the temperature generated by the laser excitation part from affecting the infrared thermal imaging part and the power supply part, isolation carbon plates are placed on both sides of the laser excitation part, holes are opened in the middle of the isolation carbon plates, and the isolation carbon plates are fixed on the studs.

7. A method for collecting pipeline defect detection data using the pipeline defect detection data collection device based on infrared thermal imaging as described in claims 1 to 6 above, It is characterized in that The steps include: Step 1: Open the gate at the entrance of the ball barrel of the pipeline to be inspected, place the serpentine pipeline in-pipe inspection robot equipped with a pipeline defect detection data collection device based on infrared thermal imaging, close the gate at the entrance of the ball barrel of the pipeline to be inspected, half-open the gate at the exit of the ball barrel of the pipeline to be inspected, and close the gate at the exit of the pipeline to be inspected after the transport medium is completely filled into the pipeline to be inspected; Step 2: The excitation part of the pipeline defect detection data collection device based on infrared thermal imaging starts to rotate at an arbitrary constant speed and performs thermal excitation on the pipeline at an arbitrary constant power, while the infrared thermal imaging part performs thermal imaging on the pipeline to find out the most suitable pipeline temperature for the pipeline material and the transported substance; Step 3: Fully open the gate at the outlet of the ball-launching cylinder of the pipeline to be inspected, and the serpentine pipeline inspection robot equipped with a pipeline defect inspection data collection device based on infrared thermal imaging begins to move from the starting point to the end point as the driving leather cup is pushed by the transport medium fluid; Step 4: During the movement, the heating strip of the laser excitation part radiates heat to the pipeline, and at the same time, the fluid in the pipeline pushes the protrusions of the excitation shell similar to the Francis turbine structure to rotate, thereby radiating the pipeline uniformly, and sending the current rotation speed and laser excitation power to the infrared thermal imaging part; Step 5: The infrared thermal imaging part images the temperature field in the pipeline and periodically calibrates the inertial measurement unit. The process is as follows: Step 5.1: Match the travel data with the imaged temperature field data; Step 5.2: Calibrate the distance measured by the inertial measurement unit using the weld reference as follows: Among them, X v is the travel data finally calculated by the visual algorithm, X vk is the travel data calculated by the visual algorithm of the kth camera, m is the total number of cameras, n is the number of welds that have been passed, d is the distance between two adjacent welds, h is the distance from the camera to the pipe wall, θ is the maximum viewing angle of the camera, L is the total number of axial pixels in the image, and L n is the axial coordinate of the nth weld in the image, in pixels. The coordinate system takes the upper left corner of the imaged temperature field data as the origin, and the size of a pixel as the unit length of the coordinate system; Step 6: The infrared thermal imaging part receives the current rotation speed and laser excitation power, and calculates the temperature and rotation speed that the heating strip should maintain. The process is as follows: Step 6.1: By analyzing the temperature field distribution information, calculate the temperature and rotation speed that the heating strip should maintain. The specific calculation method is as follows: Among them, V r To calculate the speed of the motor independent of the fluid, V f V is the speed of the snake robot under the action of fluid, 0 is the rotation speed of the Francis wheel-like structure driven by the fluid, k is the comprehensive thermodynamic property of the pipeline and the transported material, which is determined by the properties of the material itself, and S 2 is the variance of the current thermal imaging grayscale value, is the variance threshold of the thermal imaging grayscale value. If it is smaller than this value, the excitation is considered uniform. 0 is the optimum temperature measured at the starting point of the pipeline, T is the temperature that the heating strip should maintain after calculation, P is the power of the current thermal excitation, which is determined by the properties of the material itself, and T 0 is the optimum temperature measured at the starting point of the pipeline, is the current average temperature of the pipeline, σ is the Swufan constant; Step 6.2: The calculated temperature and rotation speed values ​​are sent to the laser excitation part. The excitation controller of the laser excitation part controls the power of the heating strip and the speed of the motor so that the excitation degree is always uniform and maintained at the optimum temperature; Step 7: The laser excitation part receives the temperature and rotation speed data of the heating strip that should be maintained from the thermal imaging part, and uses the PID algorithm to control the power and rotation speed of the heating strip to maintain stability according to the data; Step 8: Repeat steps 4 to 7 until the pipeline reaches the end point, completing the collection of pipeline defect data.

8. The method according to claim 7, It is characterized in that The process of step 2 is as follows: Step 2.1: The excitation section changes the pipe temperature from the initial temperature T min Heating to the highest achievable temperature T max ; Step 2.2: During the heating process, the infrared thermal imaging part detects and images the temperature field of the pipeline, and inputs the images obtained by multiple thermal imaging cameras into the imaging controller; Step 2.3: The controller analyzes the image and finds the pipe temperature with the largest defect boundary difference based on the known relationship between the edge temperature field distribution data of the defective band and the non-defective band. This is used as the optimal pipe temperature for the pipe material and the transported material. The formula is as follows: Among them, ξ is the degree of obviousness of the defect boundary, which is used to measure whether it is the optimal excitation temperature, T xy is the temperature of the pixel at the defect boundary, T x'y' is the temperature of the pixel points adjacent to the defect boundary pixel along the radius of the curvature circle where the point is located, C n is the closed boundary of the defect.

9. The method according to claim 8, It is characterized in that The step 5 also includes dedistorting the image before periodically calibrating the inertial measurement unit, the process is as follows: S1: Construct the conversion equation between the camera coordinate system and the image physical coordinate system; The image collected by the thermal imager is a grayscale image, the number of image channels is 1, and the camera coordinate system is The physical coordinate system of the image is Among them, the camera coordinate system is a three-dimensional coordinate system, the z-axis is the main optical axis of the camera, the projection of the camera coordinate system on the z-axis is the image coordinate system, and the image physical coordinate system is based on the image coordinate system, converting the unit from distance to pixel number; The conversion relationship between the camera coordinate system and the image physical coordinate system is: Among them, f x ,f y ,c x ,c y is the linear transformation coefficient; Normalize x and y: The conversion equation can be calculated as follows: u=f x ·x′+c x v=f y ·y′+c y Among them, u and v are the horizontal and vertical coordinates of the image physical coordinate system; S2: Establish a non-distorted camera coordinate system (x 1 ,y 1 ) and the distorted camera coordinate system (x 2 ,y 2 )’s conversion relationship: in, k 1 ,k 2 ,k 3 is the radial distortion coefficient, p 1 ,p 2 is the tangential distortion coefficient; S3: According to step 1, the non-distorted camera coordinate system (x 1 ,y 1 ) and the distorted camera coordinate system (x 2 ,y 2 ) is converted into the physical coordinate system of the undistorted image (u, v) and the physical coordinate system of the distorted image (u′, v′): u=f x ·x 1 +c x ,v=f y ·y 1 +c y u′=f x ·x 2 +c x ,v′=f y ·y 2 +c y S4: Combine equations S2 and S3 to obtain the transformation relationship between the physical coordinate system of the undistorted image (u, v) and the physical coordinate system of the distorted image (u′, v′); S5: Calculate the pixel Q in the physical coordinate system of the undistorted image i (u i ,v i ) corresponds to a point Q in the distorted image physical coordinate system i ′(u i ′,v i ′), and judge u i ′,v i ′ is an integer; if it is an integer, then (u i ,v i ) at the gray value f(u i ,v i )=f(u i ′,v i ′), jump to S9; if it is not an integer, jump to S6; S6: Determine [f(u i ′,v i ′)-μ] 2 and The relationship between μ and σ is: 1 is the variance of pixel grayscale value of distorted image: like Go to S7; like Go to S8; S7: Calculate Q i The grayscale average of the 16 pixels adjacent to point '(u',v') in the distorted image: have (u i ′ m ,v i ′ m ),m∈[1,16] If satisfied but f(u i ,v i )=f(u i ′ m ,v i ′ m ) S8: Under the premise that the pixel coordinates of the original distorted image remain unchanged, the edge of the distorted image is extended, Q i ′point(u i ′,v i ′) The four adjacent pixels in the distorted image are: P 11 (u i ′ 1 ,v i ′ 1 ),P 12 (u i ′ 1 ,v i ′ 2 ),P 21 (u i ′ 2 ,v i ′ 1 ),P 22 (u i ′ 2 ,v i ′ 2 ) The four pixels on the outer diagonal are: R 1 (u i ′ 3 ,v i ′ 3 ),R 2 (u i ′ 3 ,v i ′ 4 ),R 3 (u i ′ 4 ,v i ′ 3 ),R 4 (u i ′ 4 ,v i ′ 4 ) Q i ′point(u i ′,v i ′)’s pixel value: f(u i ′,v i ′)=pg(i)+(1-p)h(i) in, g(i)=f(u i ′ 1 ,v i ′ 1 )·w 11 +f(u i ′ 1 ,v i ′ 2 )·w 12 +f(u i ′ 2 ,v i ′ 1 )·w 21 +f(u i ′ 2 ,v i ′ 2 )·w 22 w 11 =(u i ′ 2 -u′)(v i ′ 2 -v′),w 12 =(u i ′ 2 -u′)(v′-v i ′ 1 ),w 21 =(u′-u i ′ 1 )(v i ′ 2 -v′),w 22 =(u′-u i ′ 1 )(v′-v i ′ 1 ) h(i)=f(u i ′ 3 ,v i ′ 3 )·w 33 +f(u i ′ 3 ,v i ′ 4 )·w 34 +f(u i ′ 4 ,v i ′ 3 )·w 43 +f(u i ′ 4 ,v i ′ 4 )·w 44 w 33 =(u i ′ 4 -u′)(v i ′ 4 -v′),w 34 =(u i ′ 4 -u′)(v′-v i ′ 3 ),w 43 =(u′-u i ′ 3 )(v i ′ 4 -v′),w 44 =(u′-u i ′ 3 )(v′-v i ′ 3 ) Among them, Δσ 12 is the difference between the standard deviation of the grayscale values ​​of the four adjacent pixels and the standard deviation of the grayscale value of the distorted image, Δσ 34 The difference between the standard deviation of the grayscale values ​​of the four pixels on the outer diagonal and the standard deviation of the grayscale values ​​of the distorted image; S9: Repeat S5 until all pixels of the non-distorted image are traversed to obtain the non-distorted image I.

Citation Information

Cited By

  • Synchronous infrared thermal imaging defect detection device and method in bent pipe simmering process

    CN121521932A