CN116912277A - Circulating water descaling effect evaluation method and system - Google Patents

Circulating water descaling effect evaluation method and system Download PDF

Info

Publication number
CN116912277A
CN116912277A CN202311168538.9A CN202311168538A CN116912277A CN 116912277 A CN116912277 A CN 116912277A CN 202311168538 A CN202311168538 A CN 202311168538A CN 116912277 A CN116912277 A CN 116912277A
Authority
CN
China
Prior art keywords
edge line
closed edge
circulating water
gray
ith
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311168538.9A
Other languages
Chinese (zh)
Other versions
CN116912277B (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.)
Shandong Lutai Chemical Co ltd
Original Assignee
Shandong Lutai Chemical Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Lutai Chemical Co ltd filed Critical Shandong Lutai Chemical Co ltd
Priority to CN202311168538.9A priority Critical patent/CN116912277B/en
Publication of CN116912277A publication Critical patent/CN116912277A/en
Application granted granted Critical
Publication of CN116912277B publication Critical patent/CN116912277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/762Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20164Salient point detection; Corner detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to the technical field of circulating water treatment, in particular to a circulating water descaling effect evaluation method and system. The method comprises the following steps: acquiring a closed edge line and a central point of an area surrounded by the closed edge line in a gray level image of a tube orifice of the heat exchanger; determining the discrete degree according to the distance between the pixel points on each closed edge line and the corresponding center point; determining a correlation coefficient according to the gray level distribution of the pixel points in each closed edge line; dividing pixel points in each closed edge line to obtain each super pixel block; obtaining a variation coefficient according to the gray level distribution of all the super pixel blocks in each closed edge line; and evaluating the descaling effect of the circulating water according to the difference, the discrete degree, the correlation coefficient, the angular point on the closed edge line and the variation coefficient of the gray value of the pixel point in each closed edge line and the standard gray value. The invention improves the accuracy of the evaluation result of the descaling effect of the circulating water.

Description

Circulating water descaling effect evaluation method and system
Technical Field
The invention relates to the technical field of circulating water treatment, in particular to a circulating water descaling effect evaluation method and system.
Background
The circulating cooling water is widely applied to various industries such as metallurgical industry, petrochemical industry, coal chemical industry, central air conditioner, oil and gas collection and transportation, power plant, municipal heating and the like. The most concerned problem in the circulating water system is the adverse effect on the system after the system is scaled, and the scale prevention and removal of the system has important significance for the safe and stable operation of the production device. The circulating water scale is mainly characterized in that after heat exchange of the water in a process medium occurs in the circulating water cooling process, water temperature rises, water is evaporated continuously, water quality can change, carbon monoxide is reduced, the pH value of the water rises, the circulating water is concentrated continuously, the water temperature rises to cause the solubility of calcium carbonate to drop, and when the concentration of the calcium carbonate reaches supersaturation, the water scale can be crystallized and separated out. The influence of scale on a circulating cooling water system is serious, when the scale appears in the cooling water system, the heat exchanger is easy to be blocked, the resistance of the system is increased, and the efficiency of a water pump and a cooling tower is reduced. When the existing scale removal effect in the circulating water system is evaluated through machine vision, the accuracy of the evaluation result of the scale removal effect is lower generally because the characteristics of scale are complex.
Disclosure of Invention
In order to solve the problem of lower accuracy of an evaluation result when the scale removal effect of circulating water is evaluated by the existing method, the invention aims to provide a circulating water scale removal effect evaluation method and system, and the adopted technical scheme is as follows:
in a first aspect, the present invention provides a method for evaluating the descaling effect of circulating water, comprising the steps of:
acquiring a gray level image of a tube orifice of a heat exchanger, performing edge detection on the gray level image to obtain closed edge lines, and extracting a central point of an area surrounded by the closed edge lines;
determining the corresponding discrete degree of each closed edge line according to the relative distance between the pixel point on each closed edge line and the corresponding center point; according to the gray level distribution of the pixel points in each closed edge line, determining the corresponding correlation coefficient of each closed edge line;
dividing the pixel points in each closed edge line based on the gray level difference of the pixel points in each closed edge line to obtain each super pixel block; obtaining the variation coefficient of the area surrounded by each closed edge line according to the gray level distribution of all the super pixel blocks in each closed edge line; detecting the angular points of the pixel points on each closed edge line to obtain the angular points on each closed edge line;
and evaluating the descaling effect of the circulating water according to the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the discrete degree, the correlation coefficient, the angular point and the variation coefficient.
In a second aspect, the present invention provides a circulating water descaling effect evaluation system, including a memory and a processor, where the processor executes a computer program stored in the memory to implement a circulating water descaling effect evaluation method as described above.
Preferably, the determining the degree of dispersion corresponding to each closed edge line according to the relative distance between the pixel point and the corresponding center point on each closed edge line includes:
for the i-th closed edge line:
calculating variances of Euclidean distances between all pixel points on the ith closed edge line and the central point of the area surrounded by the ith closed edge line;
and taking the variance as the discrete degree corresponding to the ith closed edge line.
Preferably, the determining the correlation coefficient corresponding to each closed edge line according to the gray distribution of the pixel point in each closed edge line includes:
for the i-th closed edge line:
constructing a first gray sequence based on gray values of all pixel points in the ith closed edge line;
performing equal-width box division processing based on elements in the first gray level sequence, and replacing gray level values in a box with corresponding median values to obtain a second gray level sequence;
and calculating the Tanimoto coefficients of the first gray level sequence and the second gray level sequence, and taking the Tanimoto coefficients as the correlation coefficients corresponding to the ith closed edge line.
Preferably, the dividing the pixel points in each closed edge line to obtain each super pixel block based on the gray scale difference of the pixel points in each closed edge line includes:
and clustering all the pixel points in each closed edge line by adopting a density peak clustering algorithm based on gray level differences among the pixel points in each closed edge line to obtain each super pixel block.
Preferably, the obtaining the variation coefficient of the area surrounded by each closed edge line according to the gray level distribution of all the super pixel blocks in each closed edge line includes:
for the i-th closed edge line:
calculating the gray average value of all pixel points in each super pixel block in the ith closed edge line, and taking the gray average value as the gray average value corresponding to each super pixel block;
and obtaining a variation coefficient of an area surrounded by the ith closed edge line according to the standard deviation of the gray average values corresponding to all the super pixel blocks in the ith closed edge line and the average value of the gray average values corresponding to all the super pixel blocks in the ith closed edge line.
Preferably, the evaluating the descaling effect of the circulating water according to the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the degree of dispersion, the correlation coefficient, the angular point and the variation coefficient includes:
for the i-th closed edge line: calculating the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line; obtaining a significant scale removal effect coefficient of the region surrounded by the ith closed edge line according to the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line, the discrete degree corresponding to the ith closed edge line, the correlation coefficient corresponding to the ith closed edge line, the number of corner points on the ith closed edge line and the variation coefficient of the region surrounded by the ith closed edge line;
determining scale removal effect evaluation indexes according to scale removal effect significant coefficients of the area surrounded by all the closed edge lines;
and evaluating the descaling effect of the circulating water based on the descaling effect evaluation index.
Preferably, the following formula is adopted to calculate the significant coefficient of the descaling effect of the area surrounded by the ith closed edge line:
wherein ,is a significant coefficient of the descaling effect of the region surrounded by the ith closed edge line,for the number of corner points on the i-th closed edge line,for the correlation coefficient corresponding to the i-th closed edge line,in order to preset the first adjustment parameter,in order to preset the second adjustment parameter,for the degree of discretization corresponding to the ith closed edge line,for the average gray value of all pixels in the ith closed edge line,is a standard gray-scale value of the color filter,the variation coefficient of the region surrounded by the ith closed edge line is represented by absolute value sign;andare all greater than 0.
Preferably, determining the scale removal effect evaluation index according to the scale removal effect significant coefficient of the area surrounded by all the closed edge lines includes:
normalizing the significant coefficient of the descaling effect, counting the number of closed edge lines with the significant coefficient of the descaling effect greater than a preset significant coefficient threshold value after normalization, and recording the number as a first number; and determining the ratio of the first quantity to the quantity of all the closed edge lines as a scale removal effect evaluation index.
Preferably, the evaluating the descaling effect of the circulating water based on the descaling effect evaluation index includes:
if the scale removal effect evaluation index is larger than a preset first quality threshold, judging that the scale removal effect of the circulating water is first-level;
if the scale removal effect evaluation index is larger than a preset second quality threshold and smaller than or equal to a preset first quality threshold, judging that the scale removal effect of the circulating water is two-level;
if the scale removal effect evaluation index is smaller than or equal to a preset second quality threshold value, judging that the scale removal effect of the circulating water is three-level;
the first quality threshold is greater than the second quality threshold.
The invention has at least the following beneficial effects:
according to the invention, the corresponding discrete degree of each closed edge line is determined according to the relative distance between the pixel point on each closed edge line and the corresponding region center point in the gray level image of the heat exchanger pipe orifice, and the fact that when the heat exchanger pipe orifice does not contain scale or contains less scale is considered, the consistency degree of the distance between the pixel point on the closed edge line and the center point of the region surrounded by the closed edge line is higher is considered, so that the invention analyzes whether the scale exists on the heat exchanger pipe orifice from the shape characteristic angle of the heat exchanger pipe orifice; considering that when the scale is attached to the pipe orifice of the heat exchanger, the color of the scale is closer to white and has larger difference with the color of the pipe orifice of the heat exchanger, therefore, the invention combines the gray distribution condition of the pixel points in each closed edge line to obtain the variation coefficient of the area surrounded by each closed edge line, and analyzes whether the scale exists in the pipe orifice of the heat exchanger from the aspect of the color characteristic of the scale; in addition, if the water scale is attached to the pipe orifice of the heat exchanger, the corner points exist on the closed edge line, so the invention obtains the corner points on the closed edge line, namely, whether the water scale exists on the pipe orifice of the heat exchanger or not is analyzed from the texture characteristic angle of the water scale; the invention further evaluates the descaling effect of the circulating water based on the characteristics of disordered color, irregular shape and unsmooth texture of the scale when the scale is attached to the pipe orifice of the heat exchanger, solves the problem of poor detection effect caused by complex scale characteristics, improves the accuracy of the evaluation result of the descaling effect of the circulating water, and provides convenience for the subsequent descaling link of the circulating water system.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for evaluating the descaling effect of circulating water according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following describes a circulating water descaling effect evaluation method according to the invention in detail with reference to the attached drawings and the preferred embodiment.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following specifically describes a specific scheme of the circulating water descaling effect evaluation method provided by the invention with reference to the accompanying drawings.
An embodiment of a circulating water descaling effect evaluation method:
the specific scene aimed at by this embodiment is: in this embodiment, the scale removal effect of the circulating water needs to be evaluated, and since the circulating water after the scale removal passes through the heat exchanger tube, the scale removal effect of the circulating water can be evaluated according to the scale accumulation condition of the tube orifice of the heat exchanger.
The embodiment provides a circulating water descaling effect evaluation method, as shown in fig. 1, which comprises the following steps:
step S1, acquiring a gray level image of a tube orifice of the heat exchanger, performing edge detection on the gray level image to obtain each closed edge line, and extracting a central point of an area surrounded by each closed edge line.
In the embodiment, the pipeline of the pipe orifice of the heat exchanger is disassembled, the CCD camera is used for collecting images of the pipe orifice of the heat exchanger, and when the images are collected, the camera is opposite to the pipe orifice of the heat exchanger for shooting. It should be noted that: the ventilation pipe in the embodiment adopts a tubular heat exchanger, and the pipe orifice of the heat exchanger is circular. In the embodiment, the image of the heat exchanger pipe orifice shot by the camera is an RGB image, the RGB image of the heat exchanger pipe orifice acquired by the CCD camera is subjected to denoising processing by Gaussian filtering, the influence of noise is eliminated, and an implementer can select other denoising modes according to actual conditions. And carrying out gray processing on the RGB image after denoising, and recording the image after gray processing as a gray image of a heat exchanger pipe orifice. The denoising and graying of the image are both prior art, and are not described in detail here.
The edge detection is carried out on the gray level image of the heat exchanger pipe orifice through the canny operator, the closed edge line in the gray level image of the heat exchanger pipe orifice is obtained, then the embodiment analyzes the closed edge line in the gray level image of the heat exchanger pipe orifice, therefore, the embodiment marks the closed edge line, and meanwhile, the center point of the area surrounded by each closed edge line is respectively obtained. The methods for acquiring the canny operator and the center point of the region are all the prior art, and are not repeated here.
Thus, all the closed edge lines in the gray level image of the heat exchanger tube orifice and the center point of the area surrounded by each closed edge line are obtained.
Step S2, determining the corresponding discrete degree of each closed edge line according to the relative distance between the pixel point on each closed edge line and the corresponding center point; and determining the corresponding correlation coefficient of each closed edge line according to the gray level distribution of the pixel points in each closed edge line.
The shape of the pipeline opening of the heat exchanger is circular, when no scale appears in the pipeline opening, the inner wall of the pipeline opening is circular, and the edge line of the inner wall of the pipeline opening is smooth; if the attached scale appears on the inner wall of the pipeline opening, namely, the attached scale is attached on the inner wall of the pipeline opening, the edge of the inner wall of the pipeline opening is protruded in the image, and the distance difference exists between different pixel points and the center point on the closed edge line, so that the discrete degree of the pixel points on each edge line is analyzed firstly based on the relative distance between the pixel points on the closed edge line and the corresponding center point, namely, the discrete degree corresponding to the closed edge line is calculated.
Specifically, for the i-th closed edge line: calculating variances of Euclidean distances between all pixel points on the ith closed edge line and the central point of the area surrounded by the ith closed edge line; and taking the variance as the discrete degree corresponding to the ith closed edge line. By adopting the method, the discrete degree corresponding to each closed edge line can be obtained. The larger the degree of dispersion is, the more chaotic the distance distribution between the pixel points and the central points on the closed edge line is, the more scale is likely to exist in the area surrounded by the closed edge line, namely the scale removal effect of circulating water is likely to be poor.
When more scale exists on the surface of the heat exchanger, the textures displayed in the image are more disordered, the gray value difference between adjacent pixel points is larger, and the gray value change between the pixel points is more irregular; if no scale deposit is attached to the surface of the heat exchanger or the attached scale deposit is less, the textures displayed in the image are uniform, the gray values between the pixel points in the same area are approximate, and certain regular change is displayed. Therefore, the present embodiment next evaluates the descaling effect of the circulating water from the point of view of the gray scale variation of the pixel points in the closed edge line.
Specifically, for the i-th closed edge line: according to the sequence from top to bottom and left to right of pixel points in the ith closed edge line, sequencing the gray values of all the pixel points in the ith closed edge line to obtain a gray value sequence, and marking the gray value sequence obtained at the moment as a first gray sequence; and performing equal-width box division processing based on the elements in the first gray level sequence, so as to finish smoothing processing, wherein the specific smoothing process is as follows: dividing elements in the first gray sequence into boxes with equal widths, performing smoothing treatment according to the median value of the boxes, and replacing gray values in the boxes with the corresponding median values; marking the smoothed gray value sequence as a second gray sequence; calculating a Tanimoto coefficient of the first gray level sequence and the second gray level sequence, and taking the Tanimoto coefficient as a correlation coefficient corresponding to an ith closed edge line, wherein the larger the Tanimoto coefficient is, the larger the correlation between the first gray level sequence and the second gray level sequence is; the smaller the Tanimoto coefficient, the less correlated the first gray scale sequence and the second gray scale sequence. When the attached scale on the surface of the heat exchanger is more, the element values in the first gray scale sequence are less smooth, and when the first gray scale sequence is subjected to smoothing treatment, the obtained correlation between the second gray scale sequence and the first gray scale sequence is smaller, and the obtained Tanimoto coefficients of the two sequences are closer to 0; when the scale attached to the surface of the heat exchanger is less, the gray values of the pixel points in the area surrounded by the closed edge line are more uniform, namely the element values in the obtained first gray sequence are smoother, the correlation between the first gray sequence and the second gray sequence is larger, and the Tanimoto coefficients of the two sequences are closer to 1. By adopting the method, the corresponding correlation coefficient of each closed edge line can be obtained. The method for obtaining the Tanimoto coefficient is the prior art, and will not be described in detail here.
By adopting the method, the discrete degree and the correlation coefficient corresponding to each closed edge line can be obtained.
Step S3, dividing the pixel points in each closed edge line based on the gray level difference of the pixel points in each closed edge line to obtain each super pixel block; obtaining the variation coefficient of the area surrounded by each closed edge line according to the gray level distribution of all the super pixel blocks in each closed edge line; and carrying out corner detection on the pixel points on each closed edge line to obtain the corner points on each closed edge line.
If no or less scale exists at the pipe orifice of the heat exchanger, the color of the pixel point in the image is close to the color of the material used by the heat exchanger; meanwhile, as the color of the scale is mainly white, when the scale is separated out and attached to the pipe orifice of the heat exchanger, the color of the pixel points in the image is also disordered; when no scale exists at the pipe orifice of the heat exchanger, the color distribution of the pixel points is more uniform and is closer to the color of the heat exchanger material. Therefore, in this embodiment, firstly, based on the gray level difference between the pixel points in each closed edge line, clustering is performed on all the pixel points in each closed edge line by using a density peak clustering algorithm, the gray level values of all the pixel points in each closed edge line are respectively used as the input of the density peak clustering algorithm, and are output as a plurality of sub-areas in the area surrounded by each closed edge line. The density peak clustering algorithm is the prior art and will not be described in detail here.
For the i-th closed edge line: calculating the gray average value of all pixel points in each super pixel block in the ith closed edge line, and taking the gray average value as the gray average value corresponding to each super pixel block; and obtaining a variation coefficient of an area surrounded by the ith closed edge line according to the standard deviation of the gray average values corresponding to all the super pixel blocks in the ith closed edge line and the average value of the gray average values corresponding to all the super pixel blocks in the ith closed edge line. The method for calculating the variation coefficient according to the standard deviation of the gray average value corresponding to all the super pixel blocks and the average value of the gray average value corresponding to all the super pixel blocks is the prior art, and will not be repeated here. The variation coefficient reflects the degree of dispersion among the gray average values of the super pixel blocks, and if the value of the variation coefficient is larger, the gray value distribution of the pixel points in the corresponding area is more dispersed, and the color is more disordered; if the value of the variation coefficient is smaller, the gray value distribution of the pixel points in the corresponding region is more concentrated, and the colors are more balanced.
By adopting the method, the variation coefficient of the area surrounded by each closed edge line can be obtained.
Considering that if the pipeline opening is attached with scale, namely attached to the inner wall of the pipeline opening, the edge of the inner wall of the pipeline opening has a bulge in the image, namely when the corner point detection is carried out on the acquired closed edge line, if the edge of the inner wall of the pipeline is not attached with scale or attached with less scale, the number of detected corner points is also less; if more scale is attached to the edge of the inner wall of the pipeline, more corner points are detected on the closed edge line. Therefore, in this embodiment, the harris corner detection technology is adopted to detect the corner of each closed edge line, so as to obtain the corner on each closed edge line. The detection of the harris corner point is the prior art and is not repeated here.
And S4, evaluating the descaling effect of the circulating water according to the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the discrete degree, the correlation coefficient, the angular point and the variation coefficient.
In the embodiment, in the above steps, the corner points on each closed edge line are obtained by respectively performing corner point detection on the pixel points on each closed edge line; if no scale is attached to the edge of the inner wall of the pipeline or the attached scale is less, the number of corner points obtained by detection is also less; if the scale attached to the edge of the inner wall of the pipeline is more, the number of corner points detected on the closed edge line is more; meanwhile, if the scale attached to the inner wall of the pipeline opening is thicker, the shape of the obtained closed edge line is irregular, namely the corresponding discrete degree of the closed edge line is larger; if the scale attached to the inner wall of the pipeline opening is thinner, the shape of the obtained closed edge line is closer to the shape of the pipeline opening, namely, the shape is round, and at the moment, the corresponding discrete degree of the closed edge line is smaller. When no scale is attached to the edge of the inner wall of the pipeline or less scale is attached to the edge of the inner wall of the pipeline, the gray value presented by the pixel points in the image is closer to the standard gray value. The variation coefficient reflects the degree of dispersion among the gray average values of the pixel blocks in the area surrounded by the closed edge line, and if the variation coefficient is larger, the gray value distribution of the pixel points in the corresponding area is more disordered; if the variation coefficient is smaller, the gray value distribution of the pixel points in the corresponding area is more concentrated, and the color is more uniform. Based on this, the present embodiment will evaluate the descaling effect of the circulating water based on the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the degree of dispersion, the correlation coefficient, the number of corner points, and the coefficient of variation.
For the i-th closed edge line: calculating the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line; and obtaining a scale removal effect significant coefficient of the region surrounded by the ith closed edge line according to the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line, the discrete degree corresponding to the ith closed edge line, the correlation coefficient corresponding to the ith closed edge line, the number of corner points on the ith closed edge line and the variation coefficient of the region surrounded by the ith closed edge line. The embodiment is analogous to the method, the scale removal effect significant coefficient of the area surrounded by each closed edge line is obtained, and the scale removal effect evaluation index is determined according to the scale removal effect significant coefficient of the area surrounded by all the closed edge lines; and evaluating the descaling effect of the circulating water based on the descaling effect evaluation index.
The specific calculation formula of the scale removal effect significant coefficient of the area surrounded by the ith closed edge line is as follows:
wherein ,is a significant coefficient of the descaling effect of the region surrounded by the ith closed edge line,for the number of corner points on the i-th closed edge line,for the correlation coefficient corresponding to the i-th closed edge line,in order to preset the first adjustment parameter,in order to preset the second adjustment parameter,for the degree of discretization corresponding to the ith closed edge line,for the average gray value of all pixels in the ith closed edge line,is a standard gray-scale value of the color filter,the variation coefficient of the region surrounded by the ith closed edge line is represented by absolute value sign;andare all greater than 0.
In this embodiment, the preset second adjustment parameter is introduced into the denominator to prevent the denominator from being 0, in this embodimentAndthe values of (2) are all 0.01, and in the specific application, the implementer can set according to the specific situation.The difference between the average gray value and the standard gray value of all the pixel points in the ith closed edge line is described, and it should be noted that the standard gray value in this embodiment is the gray value corresponding to the case that the surface of the hot air pipe is not scale-free. When the correlation coefficient corresponding to the ith closed edge line is larger, the number of corner points on the ith closed edge line is smaller, the degree of dispersion corresponding to the ith closed edge line is smaller, the difference between the average gray values and the standard gray values of all pixel points in the ith closed edge line is smaller, and the variation coefficient of the area surrounded by the ith closed edge line is smaller, the scale existing in the area surrounded by the ith closed edge line is smaller, namely the scale removal effect significant coefficient of the area surrounded by the ith closed edge line is larger.
By adopting the method, the scale removal effect significant coefficient of the area surrounded by each closed edge line is obtained.
Further, the embodiment performs normalization processing on the significant coefficient of the descaling effect, counts the number of closed edge lines with the significant coefficient of the descaling effect greater than a preset significant coefficient threshold after normalization, and records the number as a first number; in this embodiment, the maximum and minimum normalization method adopted in normalizing the scale removal effect evaluation index may be used as other embodiments, or other normalization methods may be adopted to normalize the scale removal effect significant coefficient. Determining the ratio of the first quantity to the quantity of all the closed edge lines as a scale removal effect evaluation index; the preset significant coefficient threshold in this embodiment is 0.6, and in a specific application, the practitioner can set according to the specific situation. If the scale removal effect evaluation index is larger than a preset first quality threshold, judging that the scale removal effect of the circulating water is first-level; if the scale removal effect evaluation index is larger than a preset second quality threshold and smaller than or equal to a preset first quality threshold, judging that the scale removal effect of the circulating water is two-level; if the scale removal effect evaluation index is smaller than or equal to a preset second quality threshold value, judging that the scale removal effect of the circulating water is three-level; the setting rules of the scale removal effect evaluation level are as follows: the first level is the highest level, which means that the descaling effect of the circulating water is better; the secondary stage is a secondary stage, and represents that the descaling effect of the circulating water is general; the three stages are the lowest stages, which means that the descaling effect of the circulating water is poor. The first quality threshold is greater than the second quality threshold. The first quality threshold in this embodiment is 0.6, and the second quality threshold is 0.3, and in a specific application, the practitioner can set according to the specific situation.
So far, the method provided by the embodiment is adopted to complete the evaluation of the descaling effect of the circulating water.
According to the embodiment, the corresponding discrete degree of each closed edge line is determined according to the relative distance between the pixel point on each closed edge line and the corresponding region center point in the gray level image of the heat exchanger tube orifice, and the fact that when no or less scale exists on the heat exchanger tube orifice is considered, the consistency degree of the distance between the pixel point on the closed edge line and the center point of the region surrounded by the closed edge line is higher is considered, so that the embodiment analyzes whether the scale exists on the heat exchanger tube orifice from the shape characteristic angle of the heat exchanger tube orifice; considering that when the scale is attached to the pipe orifice of the heat exchanger, the color of the scale is closer to white and has larger difference with the color of the pipe orifice of the heat exchanger, so that the embodiment combines the gray distribution condition of the pixel points in each closed edge line to obtain the variation coefficient of the area surrounded by each closed edge line, and the analysis on whether the scale exists at the pipe orifice of the heat exchanger is performed from the aspect of the color characteristic of the scale; in addition, if the scale is attached to the pipe orifice of the heat exchanger, the corner points exist on the closed edge line, so that the corner points on the closed edge line are obtained, namely whether the scale exists on the pipe orifice of the heat exchanger or not is analyzed from the texture characteristic angle of the scale; further, the scale removal effect of circulating water is evaluated based on the characteristics of disordered colors, irregular shapes and unsmooth textures of scale when the pipe orifice of the heat exchanger is attached, the problem that the detection effect is poor due to the fact that the scale features are complex is solved, the accuracy of the detection result is improved, and convenience is provided for a subsequent re-scale removal link of a circulating water system.
An embodiment of a circulating water descaling effect evaluation system:
the circulating water descaling effect evaluation system of the embodiment comprises a memory and a processor, wherein the processor executes a computer program stored in the memory to realize the circulating water descaling effect evaluation method.
Since a circulating water descaling effect evaluation method has been described in an embodiment of a circulating water descaling effect evaluation method, the present embodiment does not describe a circulating water descaling effect evaluation method in detail.

Claims (10)

1. The method for evaluating the descaling effect of the circulating water is characterized by comprising the following steps of:
acquiring a gray level image of a tube orifice of a heat exchanger, performing edge detection on the gray level image to obtain closed edge lines, and extracting a central point of an area surrounded by the closed edge lines;
determining the corresponding discrete degree of each closed edge line according to the relative distance between the pixel point on each closed edge line and the corresponding center point; according to the gray level distribution of the pixel points in each closed edge line, determining the corresponding correlation coefficient of each closed edge line;
dividing the pixel points in each closed edge line based on the gray level difference of the pixel points in each closed edge line to obtain each super pixel block; obtaining the variation coefficient of the area surrounded by each closed edge line according to the gray level distribution of all the super pixel blocks in each closed edge line; detecting the angular points of the pixel points on each closed edge line to obtain the angular points on each closed edge line;
and evaluating the descaling effect of the circulating water according to the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the discrete degree, the correlation coefficient, the angular point and the variation coefficient.
2. The method for evaluating the descaling effect of circulating water according to claim 1, wherein determining the degree of dispersion corresponding to each closed edge line according to the relative distance between the pixel point on each closed edge line and the corresponding center point comprises:
for the i-th closed edge line:
calculating variances of Euclidean distances between all pixel points on the ith closed edge line and the central point of the area surrounded by the ith closed edge line;
and taking the variance as the discrete degree corresponding to the ith closed edge line.
3. The method for evaluating the descaling effect of circulating water according to claim 1, wherein the determining the correlation coefficient corresponding to each closed edge line according to the gray scale distribution of the pixel points in each closed edge line comprises:
for the i-th closed edge line:
constructing a first gray sequence based on gray values of all pixel points in the ith closed edge line;
performing equal-width box division processing based on elements in the first gray level sequence, and replacing gray level values in a box with corresponding median values to obtain a second gray level sequence;
and calculating the Tanimoto coefficients of the first gray level sequence and the second gray level sequence, and taking the Tanimoto coefficients as the correlation coefficients corresponding to the ith closed edge line.
4. The method for evaluating the descaling effect of circulating water according to claim 1, wherein dividing the pixel points in each closed edge line based on the gray scale difference of the pixel points in each closed edge line to obtain each super pixel block comprises:
and clustering all the pixel points in each closed edge line by adopting a density peak clustering algorithm based on gray level differences among the pixel points in each closed edge line to obtain each super pixel block.
5. The method for evaluating the descaling effect of circulating water according to claim 1, wherein the obtaining the variation coefficient of the area surrounded by each closed edge line according to the gray level distribution of all the super pixel blocks in each closed edge line comprises:
for the i-th closed edge line:
calculating the gray average value of all pixel points in each super pixel block in the ith closed edge line, and taking the gray average value as the gray average value corresponding to each super pixel block;
and obtaining a variation coefficient of an area surrounded by the ith closed edge line according to the standard deviation of the gray average values corresponding to all the super pixel blocks in the ith closed edge line and the average value of the gray average values corresponding to all the super pixel blocks in the ith closed edge line.
6. The method for evaluating the descaling effect of circulating water according to claim 1, wherein the evaluating the descaling effect of circulating water according to the difference between the gray value of the pixel point in each closed edge line and the standard gray value, the degree of dispersion, the correlation coefficient, the corner point and the variation coefficient comprises:
for the i-th closed edge line: calculating the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line; obtaining a significant scale removal effect coefficient of the region surrounded by the ith closed edge line according to the difference between the average gray value and the standard gray value of all pixel points in the ith closed edge line, the discrete degree corresponding to the ith closed edge line, the correlation coefficient corresponding to the ith closed edge line, the number of corner points on the ith closed edge line and the variation coefficient of the region surrounded by the ith closed edge line;
determining scale removal effect evaluation indexes according to scale removal effect significant coefficients of the area surrounded by all the closed edge lines;
and evaluating the descaling effect of the circulating water based on the descaling effect evaluation index.
7. The method for evaluating the descaling effect of circulating water according to claim 6, wherein the significant coefficient of the descaling effect of the region surrounded by the i-th closed edge line is calculated by using the following formula:
wherein ,the scale removal effect of the region surrounded by the ith closed edge line is a significant coefficient, +.>For the number of corner points on the ith closed edge line,/th closed edge line>For the correlation coefficient corresponding to the ith closed edge line,/->For presetting a first adjustment parameter, < >>For presetting a second adjustment parameter, ">For the degree of discretization corresponding to the ith closed edge line,/->For the average gray value of all pixels in the ith closed edge line, +.>Is a standard gray value +.>The variation coefficient of the region surrounded by the ith closed edge line is represented by absolute value sign; /> and />Are all greater than 0.
8. The method for evaluating the scale removal effect of circulating water according to claim 6, wherein determining the scale removal effect evaluation index based on the scale removal effect significant coefficients of the area surrounded by all the closed edge lines comprises:
normalizing the significant coefficient of the descaling effect, counting the number of closed edge lines with the significant coefficient of the descaling effect greater than a preset significant coefficient threshold value after normalization, and recording the number as a first number; and determining the ratio of the first quantity to the quantity of all the closed edge lines as a scale removal effect evaluation index.
9. The method for evaluating the descaling effect of circulating water according to claim 6, wherein the evaluating the descaling effect of circulating water based on the descaling effect evaluation index comprises:
if the scale removal effect evaluation index is larger than a preset first quality threshold, judging that the scale removal effect of the circulating water is first-level;
if the scale removal effect evaluation index is larger than a preset second quality threshold and smaller than or equal to a preset first quality threshold, judging that the scale removal effect of the circulating water is two-level;
if the scale removal effect evaluation index is smaller than or equal to a preset second quality threshold value, judging that the scale removal effect of the circulating water is three-level;
the first quality threshold is greater than the second quality threshold.
10. A circulating water descaling effect evaluation system comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to realize a circulating water descaling effect evaluation method according to any one of claims 1 to 9.
CN202311168538.9A 2023-09-12 2023-09-12 Circulating water descaling effect evaluation method and system Active CN116912277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311168538.9A CN116912277B (en) 2023-09-12 2023-09-12 Circulating water descaling effect evaluation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311168538.9A CN116912277B (en) 2023-09-12 2023-09-12 Circulating water descaling effect evaluation method and system

Publications (2)

Publication Number Publication Date
CN116912277A true CN116912277A (en) 2023-10-20
CN116912277B CN116912277B (en) 2023-12-12

Family

ID=88356877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311168538.9A Active CN116912277B (en) 2023-09-12 2023-09-12 Circulating water descaling effect evaluation method and system

Country Status (1)

Country Link
CN (1) CN116912277B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117237646A (en) * 2023-11-15 2023-12-15 深圳市润海电子有限公司 PET high-temperature flame-retardant adhesive tape flaw extraction method and system based on image segmentation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040982A1 (en) * 2016-08-30 2018-03-08 成都理想境界科技有限公司 Real time image superposition method and device for enhancing reality
CN109086776A (en) * 2018-07-06 2018-12-25 航天星图科技(北京)有限公司 Typical earthquake disaster information extraction algorithm based on the detection of super-pixel region similitude
US20190257839A1 (en) * 2016-10-17 2019-08-22 Bruker Daltonik Gmbh Method for evaluating data from mass spectrometry, mass spectrometry method, and maldi-tof mass spectrometer
US20210027475A1 (en) * 2018-03-23 2021-01-28 University Of Kansas Vision-based fastener loosening detection
CN115272346A (en) * 2022-09-30 2022-11-01 江苏炜盛光电科技有限公司 PCB production process online detection method based on edge detection
CN115294113A (en) * 2022-09-30 2022-11-04 南通佳木汇木制品有限公司 Wood veneer quality detection method
CN116452596A (en) * 2023-06-20 2023-07-18 深圳市捷超行模具有限公司 Visual detection method for glue overflow of injection molding of silica gel toy
CN116721391A (en) * 2023-08-11 2023-09-08 山东恒信科技发展有限公司 Method for detecting separation effect of raw oil based on computer vision

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040982A1 (en) * 2016-08-30 2018-03-08 成都理想境界科技有限公司 Real time image superposition method and device for enhancing reality
US20190257839A1 (en) * 2016-10-17 2019-08-22 Bruker Daltonik Gmbh Method for evaluating data from mass spectrometry, mass spectrometry method, and maldi-tof mass spectrometer
US20210027475A1 (en) * 2018-03-23 2021-01-28 University Of Kansas Vision-based fastener loosening detection
CN109086776A (en) * 2018-07-06 2018-12-25 航天星图科技(北京)有限公司 Typical earthquake disaster information extraction algorithm based on the detection of super-pixel region similitude
CN115272346A (en) * 2022-09-30 2022-11-01 江苏炜盛光电科技有限公司 PCB production process online detection method based on edge detection
CN115294113A (en) * 2022-09-30 2022-11-04 南通佳木汇木制品有限公司 Wood veneer quality detection method
CN116452596A (en) * 2023-06-20 2023-07-18 深圳市捷超行模具有限公司 Visual detection method for glue overflow of injection molding of silica gel toy
CN116721391A (en) * 2023-08-11 2023-09-08 山东恒信科技发展有限公司 Method for detecting separation effect of raw oil based on computer vision

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FULGENCIO NAVARRO等: "Accurate segmentation and registration of skin lesion images to evaluate lesion change", IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, vol. 23, no. 2, pages 501, XP011713065, DOI: 10.1109/JBHI.2018.2825251 *
闫琦等: "一种超像素区域相似性度量的遥感信息提取算法", 激光与光电子学进展, vol. 54, no. 8, pages 130 - 140 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117237646A (en) * 2023-11-15 2023-12-15 深圳市润海电子有限公司 PET high-temperature flame-retardant adhesive tape flaw extraction method and system based on image segmentation
CN117237646B (en) * 2023-11-15 2024-01-30 深圳市润海电子有限公司 PET high-temperature flame-retardant adhesive tape flaw extraction method and system based on image segmentation

Also Published As

Publication number Publication date
CN116912277B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
CN116912277B (en) Circulating water descaling effect evaluation method and system
CN115239735B (en) Communication cabinet surface defect detection method based on computer vision
CN107507208B (en) Image feature point extraction method based on curvature estimation on contour
CN116092013B (en) Dangerous road condition identification method for intelligent monitoring
CN107292310B (en) Visual positioning and automatic reading method for circular pointer type dial plate
CN115100203B (en) Method for detecting quality of steel bar polishing and rust removal
CN116664557B (en) Visual detection method for surface defects of fan blade
CN116934740B (en) Plastic mold surface defect analysis and detection method based on image processing
CN115063423B (en) Self-adaptive identification method for cold and hot cracks of mechanical castings based on computer vision
CN116758071B (en) Intelligent detection method for carbon electrode dirt under visual assistance
CN116664559A (en) Machine vision-based memory bank damage rapid detection method
CN116309599B (en) Water quality visual monitoring method based on sewage pretreatment
CN116452598A (en) Axle production quality rapid detection method and system based on computer vision
CN116843682B (en) Boiler thermal efficiency on-line detection and analysis system using thermal infrared imager
CN115797473B (en) Concrete forming evaluation method for civil engineering
CN116188468A (en) HDMI cable transmission letter sorting intelligent control system
CN109961432A (en) A kind of detection method and system of filter cloth breakage
CN114881965A (en) Wood board joint detection method based on artificial intelligence and image processing
CN104915951B (en) A kind of stippled formula DPM two-dimension code area localization methods
CN114998325A (en) Air conditioner radiating tube welding defect detection method
CN116580024A (en) Coke quality detection method based on image processing
CN103150725A (en) SUSAN edge detection method and system based on non-local mean values
CN107832732B (en) Lane line detection method based on treble traversal
CN116152255B (en) Modified plastic production defect judging method
CN112396101A (en) Intelligent image analysis and decision-making method based on firepower plant hearth flame television

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