[go: up one dir, main page]

CN110470669B - Leakage detection method and system for underwater pipeline and related device - Google Patents

Leakage detection method and system for underwater pipeline and related device Download PDF

Info

Publication number
CN110470669B
CN110470669B CN201910784545.9A CN201910784545A CN110470669B CN 110470669 B CN110470669 B CN 110470669B CN 201910784545 A CN201910784545 A CN 201910784545A CN 110470669 B CN110470669 B CN 110470669B
Authority
CN
China
Prior art keywords
image
detection
underwater
frame
underwater pipeline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201910784545.9A
Other languages
Chinese (zh)
Other versions
CN110470669A (en
Inventor
刘军
宫圣华
关雯雪
刘嘉欣
李本源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin University
Original Assignee
Jilin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin University filed Critical Jilin University
Priority to CN201910784545.9A priority Critical patent/CN110470669B/en
Publication of CN110470669A publication Critical patent/CN110470669A/en
Application granted granted Critical
Publication of CN110470669B publication Critical patent/CN110470669B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8806Specially adapted optical and illumination features
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8854Grading and classifying of flaws
    • G01N2021/8861Determining coordinates of flaws
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Examining Or Testing Airtightness (AREA)
  • Image Analysis (AREA)

Abstract

本申请提供一种水下管道的检漏方法,包括:利用CCD图像传感器获取所述水下管道的检测图像;将所述检测图像进行滤波处理,并生成所述检测图像对应的数字信号;采用帧间差分法对所述数字信号逐帧进行数据检测,以判断所述数字信号中是否存在包含可疑泄漏点的图像帧;若是,确定所述水下管道发生泄漏。利用光学成像图像处理的检测方法对水下管道泄漏点进行检测,具有分辨率高、地点检测准确等优点。相较于分布式光纤传感的方法大大减少了误判率。本申请还提供一种水下管道的检漏系统、一种计算机可读存储介质和一种水下管道的检漏水下机器人,具有上述有益效果。

Figure 201910784545

The application provides a leak detection method for an underwater pipeline, comprising: using a CCD image sensor to acquire a detection image of the underwater pipeline; filtering the detection image to generate a digital signal corresponding to the detection image; The frame-to-frame difference method performs data detection on the digital signal frame by frame to determine whether there is an image frame containing a suspicious leak point in the digital signal; if so, it is determined that the underwater pipeline leaks. The detection method of optical imaging image processing is used to detect the leakage point of underwater pipeline, which has the advantages of high resolution and accurate location detection. Compared with the distributed optical fiber sensing method, the false positive rate is greatly reduced. The present application also provides a leak detection system for an underwater pipeline, a computer-readable storage medium, and an underwater robot for leak detection of an underwater pipeline, which have the above beneficial effects.

Figure 201910784545

Description

Leakage detection method and system for underwater pipeline and related device
Technical Field
The present application relates to the field of image processing, and in particular, to a method and a system for detecting leakage of an underwater pipeline, and a related apparatus.
Background
At present, the problem of leakage point detection of underwater pipelines is being studied vigorously at home and abroad, and the scheme is becoming mature day by day. Some solutions monitor the physicochemical properties of the transported substance, such as pressure, flow rate and flow velocity in the pipeline. Some attempts have been made to capture the vibrations occurring around the leak in the pipeline for judgment. In the other scheme, an underwater robot is used for monitoring, and images around the pipeline are analyzed in real time to obtain results.
In the prior art, two detection methods are generally included, the first is monitoring by using distributed optical fiber sensing technology, and the second is detection by using a forward-looking sonar. However, the method of distributed optical fiber sensing is used for detecting the leakage of the pipeline, the method is only tested in a laboratory environment at present, the OTDR and the Rayleigh scattering technology are utilized in the scheme, the leakage point of the underwater pipeline can be detected, the technology has certain limitation on the length of the optical fiber, the optical fiber is easily influenced by water flow when being attached to the surface of the pipeline, misjudgment caused by vibration is easily caused, the resolution ratio is not very high, and the technology is not mature. The method for detecting the pipeline leakage by using the sonar has low imaging resolution, cannot obtain a color image and has less development functions.
Disclosure of Invention
The application aims to provide a leakage detection method and a leakage detection system for an underwater pipeline, a computer readable storage medium and a leakage detection underwater robot for the underwater pipeline, and can improve detection accuracy and detection efficiency.
In order to solve the technical problem, the application provides a leakage detection method for an underwater pipeline, which has the following specific technical scheme:
acquiring a detection image of the underwater pipeline by using a CCD image sensor;
filtering the detection image and generating a digital signal corresponding to the detection image;
performing data detection on the digital signals frame by adopting an interframe difference method to judge whether an image frame containing suspicious leakage points exists in the digital signals;
and if so, determining that the underwater pipeline leaks.
Wherein, utilizing CCD image sensor to obtain the detection image of pipeline under water includes:
and controlling the underwater robot to shoot the underwater pipeline at an angle of 45 degrees to obtain a detection image.
Wherein, if present image frame does not contain suspicious leak point, still include:
and updating the current image frame to the background, and continuously detecting the data of the undetected image frame by using an interframe difference method.
Wherein, if the digital signal does not have the image frame containing the suspicious leakage point, the method further comprises:
and determining the moving direction of the underwater robot according to the detection image so as to enable the underwater robot to move along the moving method, and executing the steps of the leakage detection method on the underwater pipeline.
Wherein determining a moving direction of the underwater robot from the detection image to move the underwater robot along the moving method comprises:
carrying out binarization processing and edge detection on the detected image; the length of the detection image is X pixels, and the width of the detection image is Y pixels;
setting a plurality of sinusoidal curves with different phases and amplitudes according to a plurality of different polar diameters and polar angle values for any coordinate in the detection image; the intersection point of the sine curve represents that the coordinates corresponding to the sine curve pass through the same straight line;
determining two edge lines of the detection image according to the number of the intersection points on the straight line, and calculating the actual distance between the two edge lines at a first preset position;
when the actual distance is larger than a first preset value, the underwater robot ascends;
when the actual distance is smaller than a second preset value, the underwater robot descends;
when the actual distance is smaller than the first preset value and larger than the second preset value, the underwater robot keeps the current movement height unchanged;
determining a center line of the underwater pipeline according to the two edge lines and the pixel value of the same preset pixel point, and calculating a coordinate value at a second preset position on the center line;
when the coordinate value is larger than a left deviation threshold value, the underwater robot drives to the left side;
when the coordinate value is larger than a right deviation threshold value, the underwater robot drives to the right side;
and when the coordinate value is within the preset threshold value range, the underwater robot keeps the current movement direction unchanged.
The present application further provides a leak detection system for an underwater pipeline, comprising:
the acquisition module is used for acquiring a detection image of the underwater pipeline by using a CCD image sensor;
the image processing module is used for filtering the detection image and generating a digital signal corresponding to the detection image;
the detection module is used for carrying out data detection on the digital signals frame by adopting an interframe difference method so as to judge whether an image frame containing a suspicious leakage point exists in the digital signals;
and the determining module is used for determining that the underwater pipeline leaks if the detecting module determines that the digital signal contains the image frame containing the suspicious leakage point.
Wherein the acquisition module comprises:
and the acquisition unit is used for controlling the underwater robot to shoot the underwater pipeline at an angle of 45 degrees to acquire a detection image.
Wherein, still include:
and the updating module is used for updating the current image frame to the background if the current image frame does not contain the suspicious leakage point, and continuously carrying out data detection on the undetected image frame by using an interframe difference method.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the leak detection method as described above.
The application also provides a leak detection underwater robot of the underwater pipeline, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the leak detection method when calling the computer program in the memory.
The application provides a leak detection method of an underwater pipeline, which comprises the following steps: acquiring a detection image of the underwater pipeline by using a CCD image sensor; filtering the detection image and generating a digital signal corresponding to the detection image; performing data detection on the digital signals frame by adopting an interframe difference method to judge whether an image frame containing suspicious leakage points exists in the digital signals; and if so, determining that the underwater pipeline leaks.
According to the method, the leakage point of the underwater pipeline is detected by using the detection method of optical imaging image processing, the digital signal is subjected to data detection frame by adopting an interframe difference method, the detection resolution is high, the location detection is accurate, the leakage detection accuracy is improved, and the misjudgment rate is greatly reduced compared with that of a distributed optical fiber sensing method. The application also provides a leak detection system of the underwater pipeline, a computer readable storage medium and a leak detection underwater robot of the underwater pipeline, which have the beneficial effects and are not repeated here.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a leak detection method for an underwater pipeline according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a leak detection system for an underwater pipeline according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a leak detection method for an underwater pipeline according to an embodiment of the present application, where the leak detection method includes:
s101: acquiring a detection image of the underwater pipeline by using a CCD image sensor;
in this step, a CCD (charge-coupled device) sensor is used to acquire an image. When the light source irradiates an object, the reflected light carries the information on the surface of the object, the information is amplified by the lens group and then enters the photosensitive surface of a CCD (charge coupled device) sensor, and the tiny pixels on the photosensitive surface generate electric signals with different intensities according to different input light intensities to complete the conversion of photoelectric signals. The electrical signals are stored after passing through an analog-to-digital converter to form an image.
Specifically, when the detection image is acquired, the underwater robot can be controlled to shoot the underwater pipeline at an angle of 45 degrees so as to acquire the detection image. The 45-degree angle means that a connecting line of the underwater robot and the shooting area forms a 45-degree angle with the underwater pipeline. During shooting, due to the special underwater environment, an auxiliary light source is generally required to be provided for supplementing light so that more pipeline surface characteristic information is collected. It is easy to understand that when collecting the underwater pipeline image, a lens is needed, and preferably, the lens group can be used for collecting the underwater pipeline image. The lens group is composed of a plurality of lenses, and can amplify the surface of an object, so that the generated image is clearer, and the accuracy of the image processing result is greatly improved. Therefore, the CCD image sensor is used to include the corresponding lens by default, and the type, number and specification of the lens are not limited herein. Of course, there may be other ways to obtain the detection image, and the method is not limited herein.
S102: filtering the detection image and generating a digital signal corresponding to the detection image;
the step aims to perform simple filtering processing on signals transmitted by the CCD image sensor and generate digital signals of images by using an analog-to-digital converter technology. It should be noted that the CCD generates signals of different voltages for the image collected by the lens according to the change of the light intensity, so that the filtering of the detected image is actually the filtering of the signals of different voltages, and then the analog-to-digital converter technology is used to generate the digital signals corresponding to the detected image.
S103: performing data detection on the digital signals frame by adopting an interframe difference method to judge whether an image frame containing suspicious leakage points exists in the digital signals; if yes, entering S104;
the interframe difference method is a method for obtaining a target contour by performing a difference operation on two adjacent frames in a video image sequence, and the background of a pipeline is usually relatively stable.
One frame of image is collected as a background image of the interframe difference algorithm, and every several frames of images are collected as a current image, so that the current image and the background image are subjected to interframe difference algorithm processing. And selecting a threshold value according to the histogram of the image after the statistical difference and carrying out binarization processing to obtain the region of interest and related information thereof.
And if the current image frame does not contain the suspicious leakage points, updating the current image frame to the background, and continuously performing data detection on the undetected image frame by using an interframe difference method. If a suspected leak is found, the current background image is retained. When the area of the region of interest obtained by the interframe difference method is larger than a set threshold value, the processor can give a judgment result that the oil and gas leakage occurs at the point.
S104: and determining that the underwater pipeline leaks.
Once suspicious leakage points exist in the image frame, the real-time detection is performed on whether leakage occurs or not in a suspicious and timely manner, communication alarm can be performed when the leakage is confirmed, and loss can be stopped in time.
The method for detecting the leakage point of the underwater pipeline by using the optical imaging image processing has the advantages of high resolution, accurate location detection and the like. Compared with a distributed optical fiber sensing method, the method greatly reduces the misjudgment rate.
Based on the foregoing embodiment, as a preferred embodiment, if there is no image frame containing a suspected leak point in the digital signal, the method further includes:
and determining the moving direction of the underwater robot according to the detection image so as to enable the underwater robot to move along the moving method, and performing the steps of the leakage detection method on the underwater pipeline.
Specifically, the following method may be adopted to determine the moving direction of the underwater robot according to the detection image so that the underwater robot moves along the moving method:
carrying out binarization processing and edge detection on the detected image; the length of the detection image is X pixels, and the width of the detection image is Y pixels;
setting a plurality of sinusoidal curves with different phases and amplitudes according to a plurality of different polar diameters and polar angle values for any coordinate in a detected image; wherein, the intersection point of the sine curve represents that the coordinates corresponding to the sine curve pass through the same straight line;
determining two edge lines of the detection image according to the number of the intersection points on the straight line, and calculating the actual distance between the two edge lines at a first preset position;
when the actual distance is larger than a first preset value, the underwater robot ascends;
when the actual distance is smaller than a second preset value, the underwater robot descends;
when the actual distance is smaller than the first preset value and larger than the second preset value, the underwater robot keeps the current movement height unchanged;
determining a center line of the underwater pipeline according to the two edge lines and the pixel value of the same preset pixel point, and calculating a coordinate value at a second preset position on the center line;
when the coordinate value is larger than a left deviation threshold value, the underwater robot drives to the left side;
when the coordinate value is larger than a right deviation threshold value, the underwater robot drives to the right side;
and when the coordinate value is within the preset threshold value range, the underwater robot keeps the current movement direction unchanged.
The first preset value, the second preset value, the left deviation threshold value, the right deviation threshold value and the preset threshold value are not limited. The first preset position and the second preset position are used for comparison, are not fixed positions, and can be freely set by a person skilled in the art. The following description will be given by taking the Y/2 position as an example.
When a frame image is acquired, the image is first subjected to binarization processing and edge detection by setting the length of the image obtained by the processor as X pixels and the width as Y pixels. Setting the polar diameter and polar angle of a straight line in a polar coordinate system as r and theta respectively according to a straight line formula
r=xcosθ+ysinθ
For an arbitrary coordinate point x0、y0A curve can be formed according to different values of r and theta, and any pair of coordinate points can form a sine curve in the r and theta planes. All the pixel points in the image are operated to obtain a plurality of positive values with different phases and amplitudesAnd the intersection points of the chord curves represent that coordinate points corresponding to the curves pass through the same straight line, and two edge curves of the silk thread in the image, namely two edge lines of the underwater pipeline, can be successfully detected only by setting a threshold value of the number of points on the straight line.
The edge line may be straight or curved, the distance between the lines being equal to the diameter of the underwater pipeline. And taking the distance between two lines at Y/2 as a reference point of the current underwater robot from the underwater pipeline, and comparing the value with a preset pipeline diameter.
If the distance between the two lines exceeds a threshold value which is larger than a preset value, the underwater robot should ascend.
If the two-wire distance exceeds a threshold value less than a predetermined value, the underwater robot should descend.
And if the distance between the two lines is within the set threshold range, the underwater robot keeps the original state and continues to advance.
And averaging pixel points of the two edge curves in the same Y coordinate to obtain a central line of the underwater pipeline, and taking a central point at the Y/2 position as a reference point of the underwater robot deviating from the underwater pipeline.
If the value of the center point exceeds a threshold value deviating to the left, the underwater robot drives to the left.
If the value of the center point exceeds a threshold value deviating to the right, the underwater robot drives to the right.
If the value of the central point is between the set threshold value ranges, the underwater robot keeps the original state and continues to advance.
In the following, a leak detection system for an underwater pipeline provided by an embodiment of the present application is described, and the leak detection system described below and the leak detection method for an underwater pipeline described above may be referred to correspondingly.
The present application further provides a leak detection system for an underwater pipeline, comprising:
an obtaining module 100, configured to obtain a detection image of the underwater pipeline by using a CCD image sensor;
the image processing module 200 is configured to perform filtering processing on the detection image and generate a digital signal corresponding to the detection image;
the detection module 300 is configured to perform data detection on the digital signal frame by using an interframe difference method to determine whether an image frame including a suspected leakage point exists in the digital signal;
a determining module 400, configured to determine that the underwater pipeline leaks if the detecting module determines that the digital signal contains an image frame including a suspected leak point.
Based on the foregoing embodiment, as a preferred embodiment, the obtaining module 100 includes:
and the acquisition unit is used for controlling the underwater robot to shoot the underwater pipeline at an angle of 45 degrees to acquire a detection image.
Based on the above embodiment, as a preferred embodiment, the method further includes:
and the updating module is used for updating the current image frame to the background if the current image frame does not contain the suspicious leakage point, and continuously carrying out data detection on the undetected image frame by using an interframe difference method.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The application also provides a leak detection underwater robot for the underwater pipeline, which can comprise a memory and a processor, wherein the memory stores a computer program, and the processor can realize the steps provided by the embodiment when calling the computer program in the memory. Of course, the leak detection terminal of the underwater pipeline can also comprise various network interfaces, power supplies and other components.
Except for underwater robot accidents, the underwater robot can also comprise a light source, a lens group, a CCD (charge coupled device) image sensor, a signal processor, a memory, a processor and a communication alarm module. The CCD (charge coupled device) image sensor sends the signal to the signal processor after obtaining the image, the signal processor generates the image and stores the image in the memory, the processor obtains the image from the memory to process the image, and if the abnormal condition is detected, the communication alarm is immediately carried out. The CCD (charge coupled device) image sensor and the light source shoot the underwater pipeline at an angle of 45 degrees, image information is transmitted to the processor, the processor analyzes the image, judges whether oil and gas leakage points exist or not and gives a proper instruction of the driving system, and cruise and leakage point detection are completed.
The underwater robot is used as a device carrier and consists of a shell and a device for driving the shell to move.
The light source is used for illuminating the surface of the object, so that light can enter the lens group with more object surface characteristic information, and the image generation quality is improved.
The lens group is composed of a plurality of lenses, and can amplify the surface of an object, so that the generated image is clearer, and the accuracy of the image processing result is greatly improved.
The CCD image sensor is used for generating signals of different voltages from light signals received on the photosensitive surface according to the change of the light intensity of the light signals and transmitting the signals.
The signal processor obtains the signal transmitted by the CCD image sensor and then carries out simple filtering processing, and digital signals of the image are generated by using an analog-to-digital converter technology.
The memory stores the digital signals of one picture, so that the processor can read the digital signals conveniently.
The processor processes the image frame by frame from the memory, detects whether leakage occurs in real time, and immediately sends information to the communication alarm module if leakage occurs
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system provided by the embodiment, the description is relatively simple because the system corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1.一种水下管道的检漏方法,其特征在于,包括:1. a leak detection method of underwater pipeline, is characterized in that, comprises: 利用CCD图像传感器获取所述水下管道的检测图像;Use a CCD image sensor to obtain the detection image of the underwater pipeline; 将所述检测图像进行滤波处理,并生成所述检测图像对应的数字信号;filtering the detected image, and generating a digital signal corresponding to the detected image; 采用帧间差分法对所述数字信号逐帧进行数据检测,以判断所述数字信号中是否存在包含可疑泄漏点的图像帧;Perform data detection on the digital signal frame by frame by using the frame-to-frame difference method to determine whether there is an image frame containing a suspicious leak point in the digital signal; 若是,确定所述水下管道发生泄漏;If so, determine that the underwater pipeline leaks; 若否,根据所述检测图像确定水下机器人的移动方向,以使所述水下机器人沿所述移动方向移动,并对所述水下管道重复执行如上步骤;If not, determine the moving direction of the underwater robot according to the detection image, so that the underwater robot moves along the moving direction, and repeat the above steps for the underwater pipeline; 其中,根据所述检测图像确定水下机器人的移动方向,以使所述水下机器人沿所述移动方向移动包括:Wherein, determining the moving direction of the underwater robot according to the detection image, so that the underwater robot moves along the moving direction includes: 对所述检测图像进行二值化处理和边缘检测;所述检测图像的长为X像素,宽为Y像素;Binarization and edge detection are performed on the detected image; the length of the detected image is X pixels, and the width is Y pixels; 对所述检测图像中任意一个坐标设定根据若干不同极径和极角值得到若干条不同相位和幅度的正弦曲线;Set any one coordinate in the detection image to obtain several sinusoids with different phases and amplitudes according to several different polar diameters and polar angle values; 其中,所述正弦曲线的交点表示所述正弦曲线对应的坐标经过同一条直线;Wherein, the intersection point of the sinusoids indicates that the coordinates corresponding to the sinusoids pass through the same straight line; 根据所述直线上交点的数量确定所述检测图像的两条边缘线,并计算第一预设位置处两条所述边缘线间的实际距离;Determine two edge lines of the detected image according to the number of intersections on the straight line, and calculate the actual distance between the two edge lines at the first preset position; 当所述实际距离大于第一预设值,所述水下机器人上升;When the actual distance is greater than the first preset value, the underwater robot rises; 当所述实际距离小于第二预设值,所述水下机器人下降;When the actual distance is less than the second preset value, the underwater robot descends; 当所述实际距离小于所述第一预设值且大于所述第二预设值,所述水下机器人保持当前运动高度不变;When the actual distance is less than the first preset value and greater than the second preset value, the underwater robot keeps the current moving height unchanged; 根据两条所述边缘线和同一预设像素点取像素值确定所述水下管道的中心线,计算所述中心线上第二预设位置处的坐标值;Determine the center line of the underwater pipeline according to the pixel values of the two edge lines and the same preset pixel point, and calculate the coordinate value at the second preset position on the center line; 当所述坐标值大于左偏阈值,所述水下机器人向左侧行驶;When the coordinate value is greater than the left deviation threshold, the underwater robot drives to the left; 当所述坐标值大于右偏阈值,所述水下机器人向右侧行驶;When the coordinate value is greater than the right deviation threshold, the underwater robot drives to the right; 当所述坐标值位于预设阈值范围内,所述水下机器人保持当前运动方向不变。When the coordinate value is within the preset threshold range, the underwater robot keeps the current movement direction unchanged. 2.根据权利要求1所述的检漏方法,其特征在于,利用CCD图像传感器获取所述水下管道的检测图像包括:2. The leak detection method according to claim 1, characterized in that, using a CCD image sensor to obtain the detection image of the underwater pipeline comprises: 控制水下机器人以45度角拍摄所述水下管道,获取检测图像。Control the underwater robot to photograph the underwater pipeline at an angle of 45 degrees to obtain detection images. 3.根据权利要求1所述的检漏方法,其特征在于,若当前图像帧不包含可疑泄漏点,还包括:3. The leak detection method according to claim 1, wherein, if the current image frame does not contain a suspicious leak point, further comprising: 将所述当前图像帧更新至背景,继续利用帧间差分法对未检测的图像帧进行数据检测。Update the current image frame to the background, and continue to perform data detection on undetected image frames by using the inter-frame difference method. 4.一种水下管道的检漏系统,基于权利要求1-3任一项所述的方法,其特征在于,包括:4. A leak detection system for underwater pipeline, based on the method according to any one of claims 1-3, characterized in that, comprising: 获取模块,用于利用CCD图像传感器获取所述水下管道的检测图像;an acquisition module, used for acquiring the detection image of the underwater pipeline by using a CCD image sensor; 图像处理模块,用于将所述检测图像进行滤波处理,并生成所述检测图像对应的数字信号;an image processing module, configured to filter the detected image and generate a digital signal corresponding to the detected image; 检测模块,用于采用帧间差分法对所述数字信号逐帧进行数据检测,以判断所述数字信号中是否存在包含可疑泄漏点的图像帧;a detection module, configured to perform data detection on the digital signal frame by frame by using the frame-to-frame difference method, so as to determine whether there is an image frame containing a suspicious leak point in the digital signal; 确定模块,用于若所述检测模块确定所述数字信号中存在包含可疑泄漏点的图像帧,确定所述水下管道发生泄漏。A determination module, configured to determine that a leak occurs in the underwater pipeline if the detection module determines that there is an image frame including a suspicious leak point in the digital signal. 5.根据权利要求4所述的检漏系统,其特征在于,所述获取模块包括:5. The leak detection system according to claim 4, wherein the acquisition module comprises: 获取单元,用于控制水下机器人以45度角拍摄所述水下管道,获取检测图像。The acquisition unit is used to control the underwater robot to photograph the underwater pipeline at an angle of 45 degrees to acquire detection images. 6.根据权利要求4所述的检漏系统,其特征在于,还包括:6. The leak detection system of claim 4, further comprising: 更新模块,用于若当前图像帧不包含可疑泄漏点,将所述当前图像帧更新至背景,继续利用帧间差分法对未检测的图像帧进行数据检测。The updating module is configured to update the current image frame to the background if the current image frame does not contain a suspicious leak point, and continue to perform data detection on the undetected image frame by using the inter-frame difference method. 7.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-3任一项所述的检漏方法的步骤。7. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the leak detection method according to any one of claims 1-3 are implemented. 8.一种水下管道的检漏水下机器人,其特征在于,包括存储器和处理器,所述存储器中存有计算机程序,所述处理器调用所述存储器中的计算机程序时实现如权利要求1-3任一项所述的检漏方法的步骤。8. a leak detection underwater robot of underwater pipeline, it is characterized in that, comprise memory and processor, store computer program in described memory, when described processor calls the computer program in described memory, realize as claimed in claim 1 -3 any one of the steps of the leak detection method.
CN201910784545.9A 2019-08-23 2019-08-23 Leakage detection method and system for underwater pipeline and related device Expired - Fee Related CN110470669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910784545.9A CN110470669B (en) 2019-08-23 2019-08-23 Leakage detection method and system for underwater pipeline and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910784545.9A CN110470669B (en) 2019-08-23 2019-08-23 Leakage detection method and system for underwater pipeline and related device

Publications (2)

Publication Number Publication Date
CN110470669A CN110470669A (en) 2019-11-19
CN110470669B true CN110470669B (en) 2020-05-26

Family

ID=68512080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910784545.9A Expired - Fee Related CN110470669B (en) 2019-08-23 2019-08-23 Leakage detection method and system for underwater pipeline and related device

Country Status (1)

Country Link
CN (1) CN110470669B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866605B (en) * 2021-01-13 2023-12-01 深圳市正杰智能工程有限公司 5G-based pipe gallery monitoring method, device, terminal and storage medium
CN113819960B (en) * 2021-01-27 2022-05-20 深圳信息职业技术学院 Method, device and related equipment for flow detection of sewage treatment chemical tank
CN114413105B (en) * 2022-01-25 2024-02-06 广东银浩智能技术有限公司 Control method and system for pipeline damage detection robot
CN115578350A (en) * 2022-10-14 2023-01-06 苏州浪潮智能科技有限公司 Liquid leakage detection method and system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5981967A (en) * 1996-12-17 1999-11-09 Texas Instruments Incorporated Method and apparatus for isolating defects in an integrated circuit near field scanning photon emission microscopy
SE9904836L (en) * 1999-12-28 2001-06-29 Jonas Sandsten Quantitative imaging of gas emissions using optical technology
CN102049731B (en) * 2010-09-30 2012-11-28 常州工学院 Method for precisely measuring and processing profile of disc cam
CN102927448B (en) * 2012-09-25 2016-12-21 北京声迅电子股份有限公司 Pipeline non-destructive testing method
CN104251381B (en) * 2014-09-19 2016-08-17 中国船舶重工集团公司第七一九研究所 Pipeline under the ocean leak detection system based on underwater unmanned vehicle and method
CN105547602B (en) * 2015-11-04 2018-05-01 上海大学 A kind of telemeasurement method of subway tunnel section of jurisdiction percolating water
CN106802215A (en) * 2015-11-20 2017-06-06 沈阳新松机器人自动化股份有限公司 A kind of device for detecting water leakage of water pipe and detection method
CN105447471A (en) * 2015-12-04 2016-03-30 国网技术学院 Infrared detection based device gas leakage identification method and apparatus
CN107013811B (en) * 2017-04-12 2018-10-09 武汉科技大学 A kind of pipeline liquid leakage monitoring method based on image procossing
CN107300919B (en) * 2017-06-22 2021-06-15 中国科学院深圳先进技术研究院 A robot and its travel control method
CN110136210B (en) * 2018-02-07 2023-06-09 中国石油化工股份有限公司 Intelligent early warning system for leakage of monitoring device
CN108921878A (en) * 2018-04-30 2018-11-30 武汉工程大学 Hazardous gas spillage infrared video detection method under moving-target low contrast
CN209051595U (en) * 2018-11-23 2019-07-02 陕西博翔航空科技有限公司 A kind of multi-functional unmanned plane carry external member

Also Published As

Publication number Publication date
CN110470669A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN110470669B (en) Leakage detection method and system for underwater pipeline and related device
JP4961234B2 (en) Object tracking device
JP5644097B2 (en) Image processing apparatus, image processing method, and program
TWI393980B (en) The method of calculating the depth of field and its method and the method of calculating the blurred state of the image
JP2004187298A5 (en)
Wang et al. Liquid-level measurement using a single digital camera
JP6875836B2 (en) Wire rope measuring device and method
JP2003172873A5 (en)
CN109754019A (en) A Method for Continuous Monitoring of Boiler Combustion Condition
CN113610846B (en) Tubular part inner side abnormality detection method and system based on artificial intelligence
CN101387735A (en) Autofocus method, medium and device for image capture
JP2019079188A (en) Object detection device
CN112257523A (en) Smoke identification method and system of image type fire detector
CN104200456B (en) A kind of coding/decoding method for line-structured light three-dimensional measurement
JP2006266848A (en) Distance measuring device
JP2011069797A (en) Displacement measuring device and displacement measuring method
CN109597067B (en) Analytical method and system for line-scanning low-resolution targets with a millimeter-wave radiometer
Drews Jr et al. Tracking system for underwater inspection using computer vision
JP2019079338A (en) Object detection system
CN113899737A (en) A method, device, electronic device and medium for detecting seabed bubbles
CN113744325B (en) Liquid level detection device and method based on image recognition technology
JP2003028745A (en) Oil leak detection device
CN115035468A (en) Power transmission line monitoring method and device and electronic equipment
CN114852289A (en) Deep-sea fishery cage inspection method, device, system and storage medium
JP4401842B2 (en) Image processing apparatus and intruder detection apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200526