Method for identifying micro crack morphology of water turbine volute in weak light environment

Through video recording and optical flow information entropy calculation, combined with adaptive dense optical flow information entropy threshold judgment, the problem of morphological identification of tiny cracks in hydraulic turbine volutes in low-light environments has been solved, and efficient and accurate crack identification and dynamic monitoring have been achieved. Reduced identification costs.

CN118692005AActive Publication Date: 2024-09-24NORTHWEST ENGINEERING CORPORATION LIMITED +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410694203.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

Existing hydraulic turbine volute crack identification methods cannot accurately identify the morphology of tiny cracks in low-light environments, are expensive, cannot track dynamic crack evolution in real time, and cannot provide support for structural repair and life prediction.

Method used

Video is used to record the motion of the volute, and the morphology identification of tiny cracks in the volute is realized through the calculation of sparse optical flow matrix and dense optical flow information entropy, combined with the adaptive dense optical flow information entropy threshold judgment method.

Benefits of technology

It achieves accurate identification of the location and morphology of volute cracks in a low-light environment, reduces identification costs, can track crack evolution in real time, and provides support for structural repair and life prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692005A
    Figure CN118692005A
Patent Text Reader

Abstract

The invention discloses a method for identifying micro crack morphology of a volute of a water turbine in a weak light environment. The method is specifically implemented according to the following steps: recording volute movement by a video; selecting a target image, partitioning the detected volute structure, screening pixels in different regions as feature points, and calculating an optical flow; constructing sparse optical flow matrixes of different areas, calculating sparse optical flow information entropies of different areas, and positioning crack positions according to the sizes of the sparse optical flow information entropies; sub-domain division is carried out on the area with the cracks, and dense optical flows of pixels in different sub-domains are calculated; according to the method, dense optical flow information matrixes of different sub-domains are constructed, dense optical flow information entropies of different sub-domains are calculated, and volute crack morphology is identified by adopting a self-adaptive dense optical flow information entropy threshold judgment method. The volute crack identification method solves the problems that an existing volute crack identification method cannot identify the crack morphology, the identification result randomness is high, and the identification cost is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of structural health monitoring, and in particular relates to a method for identifying micro-crack morphology of a turbine volute in a weak light environment. Background Art

[0002] As an important part of the turbine, the volute has the functions of changing the direction of water flow, increasing water flow speed, improving turbine efficiency and preventing turbine blades from being eroded by water flow. Once cracks appear in the volute, it will greatly increase the burden of the water collection well drainage pump. In serious cases, it will cause the risk of flooding the plant. Therefore, in the current inspection and maintenance of turbine volutes, crack detection is one of the most important tasks for operation and maintenance personnel.

[0003] The existing methods for identifying volute cracks are mainly divided into three types: visual method, model method and motion method. In the visual method, it mainly relies on the patrol inspection of engineers. The disadvantages of this method are high labor intensity, the inspection effect depends on the personal experience of engineers, and the crack identification results are highly random. Secondly, this method relies on texture information such as the color of the crack image, such as the difference in color between the crack area and the non-crack area, and it is difficult to distinguish targets with similar colors to the cracks, such as rust. In the model method, cracks are mainly identified with the help of deep learning methods. This type of method mainly trains the neural network model through images with cracks, and then uses the trained model to realize crack identification. However, the method based on deep learning requires a large number of high-quality image samples to train the model, and the detection accuracy of images in weak light environments is relatively low, which makes the application of this type of method in actual engineering challenging. In addition, this type of method can only identify static cracks and cannot track the evolution of dynamic cracks in real time.

[0004] Compared with the above crack identification algorithms based on color, image, etc., motion-based crack identification mainly realizes column identification through the changes in structural motion characteristics before and after the crack occurs, such as by calculating the structural modal vibration shape and using the singularity of the modal vibration shape to locate the crack position. However, the initiation of volute cracks is often a tiny crack, and tiny cracks usually affect the high-order modal vibration shape of the structure, so that the motion-based crack identification method requires high-speed cameras or a large number of high-sensitivity sensors. The vibration shape testing process is expensive and cannot be widely promoted in practical applications. In addition, for the above three existing methods, only the location of the crack can be identified, and the crack morphology cannot be judged, which makes it difficult to further provide support for the later volute structure repair and life prediction. Summary of the invention

[0005] The purpose of the present invention is to provide a method for identifying the morphology of micro-cracks in a turbine volute under a weak light environment, which solves the problems that the existing volute crack identification method cannot identify the crack morphology, the identification result is highly random, and the identification cost is high.

[0006] The technical solution adopted by the present invention is a method for identifying the morphology of micro-cracks in a turbine volute under a weak light environment, which is specifically implemented according to the following steps:

[0007] Step 1, record the movement of the volute by video;

[0008] Step 2: Select a target image, partition the volute structure to be measured on the target image, select pixels in different areas as feature points, and calculate the optical flow of feature points in different sub-areas;

[0009] Step 3, construct sparse optical flow matrices of different regions, use the sparse optical flow matrices to calculate the sparse optical flow information entropy of different regions, and locate the crack position according to the size of the sparse optical flow information entropy;

[0010] Step 4, divide the area with cracks into sub-domains, and use the sub-domain pixel dense optical flow calculation method based on image phase optical flow to calculate the dense optical flow of pixels in different sub-domains;

[0011] Step 5: Construct the dense optical flow information matrix of different subdomains, calculate the size of the dense optical flow information entropy of different subdomains, and propose a judgment method based on the threshold of adaptive dense optical flow information entropy to identify the volute crack morphology.

[0012] The present invention is also characterized in that:

[0013] Step 2 is as follows:

[0014] Step 2.1, select the initial frame volute running video as the target image, and partition the structure to be tested on the target image, with the size of each area being 100×100 pixels; through the feature point screening method in different areas, the feature points in different areas are screened using the proposed K factor to obtain the pixel coordinates of the feature points in different areas of the initial frame target image;

[0015] The feature points in different areas are screened, and the feature points in the screened areas are:

[0016]

[0017] In the formula, λ 1 and λ 2 They are pixel brightness matrix A T The eigenvalue of A;

[0018] Step 2.2, based on the pixel coordinates of the feature points in step 2.1 in the target image of the initial frame, a sparse optical flow algorithm is used to calculate the optical flows of the feature points in different sub-regions;

[0019] The optical flow equation based on image grayscale is described as:

[0020] I x u+I y v+I t =0 (2)

[0021] In the formula, I x and I y are the gradients of the feature points in the horizontal and vertical directions, I t is the derivative of the brightness of the feature point with respect to time t, u and v are the optical flows of the feature point in the horizontal and vertical directions respectively;

[0022] The optical flow equation in step 2.2 is an overdetermined static equation and cannot be solved using the brightness of a single feature point. Based on the assumption of pixel motion consistency in the region, a feature point optical flow calculation method based on least squares is used to select an area around the feature point, that is, a feature point p and k pixels in the neighborhood window. Since the pixels in the window have the same motion, there are a total of k equations that satisfy the optical flow equation, namely:

[0023]

[0024] Formula (3) is defined as:

[0025]

[0026] Formula (4) is further described as:

[0027]

[0028] Step 2.3, since there are k pixels, equation (5) corresponds to k equations, two unknown quantities u and v, and the least squares method is used to solve equation (5), then the optical flow of the feature point in the horizontal and vertical directions is calculated as;

[0029]

[0030] Step 3 is as follows:

[0031] Step 3.1, the sparse optical flow matrix of different regions is described as:

[0032]

[0033] Where m is the number of frames of the captured video, d k (t) is the optical flow calculation result of feature point α at time t, that is;

[0034]

[0035] In the formula, u t and v t are the optical flows of the feature points in the horizontal and vertical directions at time t respectively;

[0036] Step 3.2: Perform singular value decomposition on the optical flow information matrix, namely:

[0037]

[0038] Where Σ is a diagonal matrix, R and S are the left and right singular value vectors of the sparse optical flow information matrix, and σ i is the i-th singular value of the sparse optical flow information matrix;

[0039] Step 3.3, using the singular value decomposition result of the optical flow information, calculate the singular value distribution probability, that is:

[0040]

[0041] Step 3.4: According to the definition of information entropy, the region Ω i The sparse optical flow information entropy is described as:

[0042]

[0043] The sparse optical flow information entropy in different areas is calculated, and the area with cracks is determined according to the size of the sparse optical flow information entropy in different areas, and the crack position is located.

[0044] Step 4 is as follows:

[0045] Step 4.1, divide the area with cracks into sub-domains, the size of the divided sub-domains is 10×10 pixels, and the optical flow equation based on the image phase is:

[0046]

[0047] In the formula, φ θ represents the phase of the image in the θ direction, and u and v represent the optical flow in the horizontal and vertical directions;

[0048] Step 4.2: Based on step 2, the optical flow equation based on the image phase is used to calculate the optical flow information of all pixels in the subdomain. When calculating, when the θ direction is selected to be horizontal and vertical, that is, θ = 0° and θ = 90°, it satisfies;

[0049]

[0050] The optical flow of any pixel in the subdomain in the horizontal and vertical directions is calculated as;

[0051]

[0052]

[0053] The optical flow of any pixel in the image subdomain is calculated by formula (14), that is, the dense optical flow of all pixels in any subdomain is obtained.

[0054] Step 5 is as follows:

[0055] Step 5.1, based on the dense optical flows of different subdomains, construct the dense optical flow information matrices of different subdomains, and calculate the size of the dense optical flow information entropy of different subdomains;

[0056] Step 5.2: Based on the crack morphology identification strategy of adaptive threshold screening, the volute crack morphology is identified.

[0057] The dense optical flow information matrix in step 5.1 is described as:

[0058]

[0059] In the formula, m is the number of frames of the captured video, h is g (t) is the dense optical flow calculation result of subdomain pixel g at time t;

[0060] Based on the dense optical flow information entropy matrix, repeat the optical flow information entropy calculation method in step 3 to calculate the dense optical flow information entropy in different subdomains.

[0061] The specific process of step 5.2 is as follows:

[0062] Step 5.2.1, the calculated dense optical flow information entropy is used to perform interval statistics, and the difference in the optical flow information entropy between the crack area and the intact area is used to automatically determine the threshold value according to the distribution of the optical flow information entropy in different intervals;

[0063]

[0064] Where M is the calculation result of dense optical flow information entropy in different intervals, and Q is the number of subdomains;

[0065] Step 5.2.2: Identify the volute crack morphology by determining a good threshold.

[0066] The beneficial effects of the present invention are as follows: the method for identifying the morphology of micro-cracks in a turbine volute under a weak light environment of the present invention realizes accurate identification of the position and morphology of the cracks in the volute through sparse optical flow information entropy and dense optical flow information entropy; based on the difference in the motion characteristics of the structure before and after the initiation of a crack in the volute, considering that the optical flow algorithm has the advantage of not requiring marking in structural motion measurement, a sparse optical flow information entropy algorithm for locating the position of the crack in the volute and a dense optical flow information entropy algorithm for identifying the crack morphology are proposed, which solves the problems of low precision, high positioning cost and inability to identify the crack morphology of the existing volute crack position positioning method, and realizes accurate identification of the position and morphology of the crack in the volute without marking. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a flow chart of the method for identifying the micro-crack morphology of a turbine volute under a weak light environment of the present invention;

[0068] FIG2( a ) is a schematic diagram of a crack loading platform in Example 3 of the present invention;

[0069] FIG2( b ) is a schematic diagram of the test piece structure of Example 3 of the present invention;

[0070] Figure 3 This is the crack region division result of Example 3 of the present invention;

[0071] FIG4(a) is a schematic diagram of an arbitrary crack region selected in Example 3 of the present invention;

[0072] FIG4( b ) is a schematic diagram of the detection results of regional feature points in Example 3 of the present invention;

[0073] Figure 5 is a curve diagram of the calculation results of sparse optical flow information entropy in different regions in Example 3 of the present invention;

[0074] FIG6( a ) is a 10-fold magnification of a region with large sparse optical flow information entropy according to Example 3 of the present invention;

[0075] FIG6( b ) is a 100-fold magnification of a region with large sparse optical flow information entropy according to Example 3 of the present invention;

[0076] Figure 7 This is a diagram showing the result of sub-domain division of the cracked region in Example 3 of the present invention;

[0077] Figure 8 is a graph showing the calculation results of dense optical flow information entropy in different sub-domains in Example 3 of the present invention;

[0078] Fig. 9 is a schematic diagram of the threshold distribution result of Example 3 of the present invention;

[0079] Fig.10 This is the crack morphology recognition result based on dense optical flow information entropy in Example 3 of the present invention. DETAILED DESCRIPTION

[0080] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0081] Example 1

[0082] The method for identifying the micro-crack morphology of a turbine volute under a weak light environment of the present invention is as follows: Figure 1 As shown, this embodiment is implemented according to the following steps:

[0083] Step 1, record the movement of the volute by video;

[0084] Step 2: Select a target image, partition the volute structure to be measured on the target image, select pixels in different areas as feature points, and calculate the optical flow of feature points in different sub-areas;

[0085] Step 3, construct sparse optical flow matrices of different regions, use the sparse optical flow matrices to calculate the sparse optical flow information entropy of different regions, and locate the crack position according to the size of the sparse optical flow information entropy;

[0086] Step 4: Divide the cracked area into sub-domains, and use the sub-domain pixel dense optical flow calculation method based on image phase optical flow to calculate the dense optical flow of pixels in different sub-domains.

[0087] Step 5: Construct dense optical flow information matrices of different subdomains, calculate the size of dense optical flow information entropy of different subdomains, and use the judgment method based on adaptive dense optical flow information entropy threshold to identify the volute crack morphology.

[0088] Example 2

[0089] The method for identifying the micro-crack morphology of a turbine volute under a weak light environment of the present invention is as follows: Figure 1 As shown, this embodiment is implemented according to the following steps:

[0090] Step 1: Record the movement of the volute by using a camera;

[0091] Step 2: Select a target image, partition the volute structure to be measured on the target image, select pixels in different areas as feature points, and calculate the optical flow of feature points in different sub-areas;

[0092] Step 2.1, select the initial frame volute running video as the target image, and partition the structure to be tested on the target image, with the size of each area being 100×100 pixels; through the feature point screening method in different areas, the feature points in different areas are screened using the proposed K factor to obtain the pixel coordinates of the feature points in different areas of the initial frame target image;

[0093] The feature points in different areas are screened, and the feature points in the screened areas are:

[0094]

[0095] In the formula, λ 1 and λ 2 They are pixel brightness matrix A T The eigenvalue of A;

[0096] Step 2.2, based on the pixel coordinates of the feature points in step 2.1 in the target image of the initial frame, a sparse optical flow algorithm is used to calculate the optical flows of the feature points in different sub-regions;

[0097] The optical flow equation based on image grayscale is described as:

[0098] I x u+I y v+I t =0 (2)

[0099] In the formula, I x and I y are the gradients of the feature points in the horizontal and vertical directions, I t is the derivative of the brightness of the feature point with respect to time t, and u and v are the optical flows of the feature point in the horizontal and vertical directions, respectively.

[0100] The optical flow equation in step 2.2 is an overdetermined static equation and cannot be solved using the brightness of a single feature point. Based on the assumption of pixel motion consistency in the region, a feature point optical flow calculation method based on least squares is used to select an area around the feature point, that is, a feature point p and k pixels in the neighborhood window. Since the pixels in the window have the same motion, there are a total of k equations that satisfy the optical flow equation, namely:

[0101]

[0102] Formula (3) is defined as:

[0103]

[0104] Formula (4) is further described as:

[0105]

[0106] Step 2.3, since there are k pixels, equation (5) corresponds to k equations, two unknown quantities u and v, and the least squares method is used to solve equation (5), then the optical flow of the feature point in the horizontal and vertical directions is calculated as;

[0107]

[0108] Step 3: Based on the optical flow results of feature points in different regions, sparse optical flow matrices of different regions are constructed, and the sparse optical flow information entropy of different regions is calculated using the sparse optical flow matrix, and the crack position is located according to the size of the sparse optical flow information entropy;

[0109] Step 3.1, the sparse optical flow matrix of different regions is described as:

[0110]

[0111] Where m is the number of frames of the captured video, d k (t) is the optical flow calculation result of feature point α at time t, that is;

[0112]

[0113] In the formula, u t and v t They are the optical flows of the feature points in the horizontal and vertical directions at time t, respectively.

[0114] Step 3.2: Perform singular value decomposition on the optical flow information matrix, namely:

[0115]

[0116] Where Σ is a diagonal matrix, R and S are the left and right singular value vectors of the sparse optical flow information matrix, and σ i is the i-th singular value of the sparse optical flow information matrix.

[0117] Step 3.3, using the singular value decomposition result of the optical flow information, calculate the singular value distribution probability, that is:

[0118]

[0119] Step 3.4: According to the definition of information entropy, the region Ω i The sparse optical flow information entropy is described as:

[0120]

[0121] The sparse optical flow information entropy in different areas is calculated, and the area with cracks is determined according to the size of the sparse optical flow information entropy in different areas, and the crack position is located.

[0122] Step 4: Divide the area with cracks into sub-domains, and use the sub-domain pixel dense optical flow calculation method based on image phase optical flow according to the optical flow equation in step 2 to calculate the dense optical flow of pixels in different sub-domains.

[0123] Step 4.1, divide the area with cracks into sub-domains, the size of the divided sub-domains is 10×10 pixels, and the optical flow equation based on the image phase is:

[0124]

[0125] In the formula, φ θ represents the phase of the image in the θ direction, and u and v represent the optical flow in the horizontal and vertical directions;

[0126] Step 4.2: Based on step 2, the optical flow equation based on the image phase is used to calculate the optical flow information of all pixels in the subdomain. When calculating, when the θ direction is selected to be horizontal and vertical, that is, θ = 0° and θ = 90°, it satisfies;

[0127]

[0128] The optical flow of any pixel in the subdomain in the horizontal and vertical directions is calculated as;

[0129]

[0130] The optical flow of any pixel in the image subdomain is calculated by formula (14), that is, the dense optical flow of all pixels in any subdomain is obtained.

[0131] Step 5: Based on the dense optical flow of different subdomains, construct the dense optical flow information matrix of different subdomains, calculate the size of the dense optical flow information entropy of different subdomains, and propose a judgment method based on the threshold of adaptive dense optical flow information entropy to identify the volute crack morphology.

[0132] Step 5.1: Based on the dense optical flows of different subdomains, construct the dense optical flow information matrix of different subdomains, and calculate the size of the dense optical flow information entropy of different subdomains. The dense optical flow information matrix is ​​described as:

[0133]

[0134] In the formula, m is the number of frames of the captured video, h is g (t) is the dense optical flow calculation result of subdomain pixel g at time t;

[0135] Based on the dense optical flow information entropy matrix, repeat the optical flow information entropy calculation method in step 3 to calculate the dense optical flow information entropy in different subdomains.

[0136] Step 5.2: Based on the crack morphology identification strategy of adaptive threshold screening, the volute crack morphology is identified.

[0137] The specific process of step 5.2 is as follows:

[0138] Step 5.2.1: Perform interval statistics on the calculated dense optical flow information entropy, use the difference in the optical flow information entropy between the crack area and the intact area, and according to the distribution of the optical flow information entropy in different intervals, realize automatic judgment of the threshold.

[0139]

[0140] Where M is the calculation result of dense optical flow information entropy in different intervals, and Q is the number of subdomains.

[0141] Step 5.2.2: Identify the volute crack morphology by determining a good threshold.

[0142] Example 3

[0143] The crack loading platform is shown in Figure 2(a). In a simulated weak light environment, the surface of the metal specimen is subjected to speckle processing, as shown in Figure 2(b). The crack area division results are shown in Figure 2(b). Figure 3As shown in the figure, due to the influence of speckle on the surface of the metal structure, the crack location and morphology cannot be identified.

[0144] The method for identifying micro-crack morphology of a turbine volute under a weak light environment of the present invention is specifically implemented according to the following steps:

[0145] Step 1: Record the movement of the volute by using a camera;

[0146] Step 2: Select the target image, partition the volute structure to be tested on the target image, select any crack area, as shown in Figure 4(a), select pixels in different areas as feature points, and calculate the optical flow of feature points in different sub-areas;

[0147] Step 2.1, select the initial frame volute running video as the target image, and partition the structure to be tested on the target image, with the size of each area being 100×100 pixels; through the feature point screening method in different areas, the feature points in different areas are screened using the proposed K factor to obtain the pixel coordinates of the feature points in different areas of the initial frame target image;

[0148] The feature points in different areas are screened, and the feature points in the screened areas are:

[0149]

[0150] In the formula, λ 1 and λ 2 They are pixel brightness matrix A T The feature point detection result is shown in Figure 4(b). The proposed feature point screening method can effectively extract structural feature points.

[0151] Step 2.2, based on the pixel coordinates of the feature points in step 2.1 in the target image of the initial frame, a sparse optical flow algorithm is used to calculate the optical flows of the feature points in different sub-regions;

[0152] The optical flow equation based on image grayscale is described as:

[0153] I x u+I y v+I t =0 (2)

[0154] In the formula, I x and I y are the gradients of the feature points in the horizontal and vertical directions, I t is the derivative of the brightness of the feature point with respect to time t, and u and v are the optical flows of the feature point in the horizontal and vertical directions, respectively.

[0155] The optical flow equation in step 2.2 is an overdetermined static equation and cannot be solved using the brightness of a single feature point. Based on the assumption of pixel motion consistency in the region, a feature point optical flow calculation method based on least squares is used to select an area around the feature point, that is, a feature point p and k pixels in the neighborhood window. Since the pixels in the window have the same motion, there are a total of k equations that satisfy the optical flow equation, namely:

[0156]

[0157] Formula (3) is defined as:

[0158]

[0159] Formula (4) is further described as:

[0160]

[0161] Step 2.3, since there are k pixels, equation (5) corresponds to k equations, two unknown quantities u and v, and the least squares method is used to solve equation (5), then the optical flow of the feature point in the horizontal and vertical directions is calculated as;

[0162]

[0163] Step 3: Based on the optical flow results of feature points in different regions, sparse optical flow matrices of different regions are constructed, and the sparse optical flow information entropy of different regions is calculated using the sparse optical flow matrix, and the crack position is located according to the size of the sparse optical flow information entropy;

[0164] Step 3.1, the sparse optical flow matrix of different regions is described as:

[0165]

[0166] Where m is the number of frames of the captured video, d k (t) is the optical flow calculation result of feature point α at time t, that is;

[0167]

[0168] In the formula, u t and v t They are the optical flows of the feature points in the horizontal and vertical directions at time t, respectively.

[0169] Step 3.2: Perform singular value decomposition on the optical flow information matrix, namely:

[0170]

[0171] Where Σ is a diagonal matrix, R and S are the left and right singular value vectors of the sparse optical flow information matrix, and σ iis the i-th singular value of the sparse optical flow information matrix.

[0172] Step 3.3, using the singular value decomposition result of the optical flow information, calculate the singular value distribution probability, that is:

[0173]

[0174] Step 3.4: According to the definition of information entropy, the region Ω i The sparse optical flow information entropy is described as:

[0175]

[0176] The sparse optical flow information entropy in different areas is calculated, and the area with cracks is determined according to the size of the sparse optical flow information entropy in different areas, and the crack position is located.

[0177] are the calculation results of the sparse optical flow information entropy and the crack position identification results of different regions in Example 3 of the present invention, such as Figure 5 As shown in the calculation results, compared with other areas, the sparse optical flow information entropy of area 6 and area 8 is larger, that is, the possibility of the existence of cracks is the greatest. The images of area 6 and area 8 are enlarged, as shown in Figure 6(a) and Figure 6(b), and the results show that cracks exist in areas 6 and 8, proving the effectiveness of the crack identification method based on sparse optical flow proposed in the present invention.

[0178] Step 4: Divide the area with cracks into sub-domains, and use the sub-domain pixel dense optical flow calculation method based on image phase optical flow according to the optical flow equation in step 2 to calculate the dense optical flow of pixels in different sub-domains.

[0179] Step 4.1: Further divide the cracked area 6 and area 8 into sub-areas. The division results are as follows: Figure 7 As shown, the size of each sub-domain is 10×10 pixels, and a total of 200 sub-domains are divided. The optical flow equation based on the image phase is;

[0180]

[0181] In the formula, φ θ represents the phase of the image in the θ direction, and u and v represent the optical flow in the horizontal and vertical directions;

[0182] Step 4.2: Based on step 2, the optical flow equation based on the image phase is used to calculate the optical flow information of all pixels in the subdomain. When calculating, when the θ direction is selected to be horizontal and vertical, that is, θ = 0° and θ = 90°, it satisfies;

[0183]

[0184] The optical flow of any pixel in the subdomain in the horizontal and vertical directions is calculated as;

[0185]

[0186] The optical flow of any pixel in the image subdomain is calculated by formula (14), that is, the dense optical flow of all pixels in any subdomain is obtained.

[0187] Step 5: Based on the dense optical flow of different subdomains, construct the dense optical flow information matrix of different subdomains, calculate the size of the dense optical flow information entropy of different subdomains, and propose a judgment method based on the adaptive dense optical flow information entropy threshold to identify the volute crack morphology.

[0188] Step 5.1: Based on the dense optical flows of different subdomains, construct the dense optical flow information matrix of different subdomains, and calculate the size of the dense optical flow information entropy of different subdomains. The dense optical flow information matrix is ​​described as:

[0189]

[0190] In the formula, m is the number of frames of the captured video, h is g (t) is the dense optical flow calculation result of subdomain pixel g at time t;

[0191] Based on the dense optical flow information entropy matrix, repeat the optical flow information entropy calculation method in step 3 to calculate the dense optical flow information entropy in different subdomains.

[0192] Step 5.2: Based on the crack morphology identification strategy of adaptive threshold screening, the volute crack morphology is identified.

[0193] The specific process of step 5.2 is as follows:

[0194] Step 5.2.1: Perform interval statistics on the calculated dense optical flow information entropy, use the difference in the size of the optical flow information entropy between the crack area and the intact area, and according to the distribution of the optical flow information entropy in different intervals, realize automatic judgment of the threshold.

[0195]

[0196] Where M is the calculation result of dense optical flow information entropy in different intervals, and Q is the number of subdomains.

[0197] Step 5.2.2: Identify the volute crack morphology by determining a good threshold.

[0198] The phase optical flow algorithm of embodiment 3 of the present invention is used to calculate the optical flow of all pixels in the subdomain, and further obtain the dense optical information entropy of each subdomain, and the threshold value is calculated using the threshold determination method proposed by the present invention, such as Figure 8As shown in , the threshold distribution is between 0.17 and 0.18. The calculated dense optical flow information entropy is screened using the threshold distribution results, as shown in Fig. 9 As shown in , the area above the threshold is the crack area. The sub-domain above the threshold is marked, as shown in Fig.10 As shown, the results show that the subdomain above the threshold can completely identify the morphology of the crack, which proves the effectiveness of the method for identifying the morphology of micro-cracks in the turbine volute under weak light environment of the present invention, and the recognition result is highly accurate and reliable.

Claims

1. A method for identifying micro-crack morphology of a turbine volute under weak light conditions, characterized in that: Follow the steps below to implement it: Step 1, record the movement of the volute by video; Step 2: Select a target image, partition the volute structure to be measured on the target image, select pixels in different areas as feature points, and calculate the optical flow of feature points in different sub-areas; Step 3, construct sparse optical flow matrices of different regions, use the sparse optical flow matrices to calculate the sparse optical flow information entropy of different regions, and locate the crack position according to the size of the sparse optical flow information entropy; Step 4, divide the area with cracks into sub-domains, and use the sub-domain pixel dense optical flow calculation method based on image phase optical flow to calculate the dense optical flow of pixels in different sub-domains; Step 5: Construct the dense optical flow information matrix of different subdomains, calculate the size of the dense optical flow information entropy of different subdomains, and propose a judgment method based on the threshold of adaptive dense optical flow information entropy to identify the volute crack morphology.

2. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 1, characterized in that: Step 2 is as follows: Step 2.1, select the initial frame volute running video as the target image, and partition the structure to be tested on the target image, with the size of each area being 100×100 pixels; through the feature point screening method in different areas, the feature points in different areas are screened using the proposed K factor to obtain the pixel coordinates of the feature points in different areas of the initial frame target image; The feature points in different areas are screened, and the feature points in the screened areas are: Where λ1 and λ2 are the pixel brightness matrix A respectively. T The eigenvalue of A; Step 2.2, based on the pixel coordinates of the feature points in step 2.1 in the target image of the initial frame, a sparse optical flow algorithm is used to calculate the optical flows of the feature points in different sub-regions; The optical flow equation based on image grayscale is described as: I x u+I y v+I t =0 (2) In the formula, I x and I y are the gradients of the feature points in the horizontal and vertical directions, I t is the derivative of the brightness of the feature point with respect to time t, u and v are the optical flows of the feature point in the horizontal and vertical directions respectively; The optical flow equation in step 2.2 is an overdetermined static equation and cannot be solved using the brightness of a single feature point. Based on the assumption of pixel motion consistency in the region, a feature point optical flow calculation method based on least squares is used to select an area around the feature point, that is, a feature point p and k pixels in the neighborhood window. Since the pixels in the window have the same motion, there are a total of k equations that satisfy the optical flow equation, namely: Formula (3) is defined as: Formula (4) is further described as: Step 2.3, since there are k pixels, equation (5) corresponds to k equations, two unknown quantities u and v, and the least squares method is used to solve equation (5), then the optical flow of the feature point in the horizontal and vertical directions is calculated as; 3. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 2, characterized in that: Step 3 is as follows: Step 3.1, the sparse optical flow matrix of different regions is described as: Where m is the number of frames of the captured video, d k (t) is the optical flow calculation result of feature point α at time t, that is; In the formula, u t and v t are the optical flows of the feature points in the horizontal and vertical directions at time t respectively; Step 3.2: Perform singular value decomposition on the optical flow information matrix, namely: Where Σ is a diagonal matrix, R and S are the left and right singular value vectors of the sparse optical flow information matrix, and σ i is the i-th singular value of the sparse optical flow information matrix; Step 3.3, using the singular value decomposition result of the optical flow information, calculate the singular value distribution probability, that is: Step 3.4: According to the definition of information entropy, the region Ω i The sparse optical flow information entropy is described as: The sparse optical flow information entropy in different areas is calculated, and the area with cracks is determined according to the size of the sparse optical flow information entropy in different areas, and the crack position is located.

4. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 3 is characterized in that: Step 4 is as follows: Step 4.1, divide the area with cracks into sub-domains, the size of the divided sub-domains is 10×10 pixels, and the optical flow equation based on the image phase is: In the formula, φ θ represents the phase of the image in the θ direction, and u and v represent the optical flow in the horizontal and vertical directions; Step 4.2: Based on step 2, the optical flow equation based on the image phase is used to calculate the optical flow information of all pixels in the subdomain. When calculating, when the θ direction is selected to be horizontal and vertical, that is, θ = 0o and θ = 90o, it satisfies; The optical flow of any pixel in the subdomain in the horizontal and vertical directions is calculated as; The optical flow of any pixel in the image subdomain is calculated by formula (14), that is, the dense optical flow of all pixels in any subdomain is obtained.

5. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 4, characterized in that: Step 5 is as follows: Step 5.1, based on the dense optical flows of different subdomains, construct the dense optical flow information matrices of different subdomains, and calculate the size of the dense optical flow information entropy of different subdomains; Step 5.2: Based on the crack morphology identification strategy of adaptive threshold screening, the volute crack morphology is identified.

6. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 5, characterized in that: The dense optical flow information matrix in step 5.1 is described as: In the formula, m is the number of frames of the captured video, h is g (t) is the dense optical flow calculation result of subdomain pixel g at time t; Based on the dense optical flow information entropy matrix, repeat the optical flow information entropy calculation method in step 3 to calculate the dense optical flow information entropy in different subdomains.

7. The method for identifying micro-crack morphology of a turbine volute under a weak light environment according to claim 6, characterized in that: The specific process of step 5.2 is as follows: Step 5.2.1, the calculated dense optical flow information entropy is used to perform interval statistics, and the difference in the optical flow information entropy between the crack area and the intact area is used to automatically determine the threshold value according to the distribution of the optical flow information entropy in different intervals; Where M is the calculation result of dense optical flow information entropy in different intervals, and Q is the number of subdomains; Step 5.2.2: Identify the volute crack morphology by determining a good threshold.

Citation Information

Patent Citations

  • Multi-region variable-scale 3D-HOF based surveillance video anomaly detection method

    CN107967440A

  • Human action recognition method based on multi-feature motion-in-depth diagram

    CN108280421A

  • Structure surface micro crack identification method based on optical flow information entropy

    CN113870323A

  • Video motion sparse representation method based on line stream

    CN116580206A

  • Dense optical flow calculation system and method based on FPGA

    WO2021143569A1