High-temperature equipment lining surface depth estimation method based on panoramic image
Through panoramic image processing and deformable convolution structure design, the image distortion and accuracy problems in depth estimation of the lining surface of high-temperature equipment are solved, achieving more efficient and accurate depth information capture, and improving the efficiency of equipment maintenance and intelligent maintenance. ability.
Patent Information
- Application Number
- CN202410655654.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-06
AI Technical Summary
There are problems with image distortion and inaccurate depth information in estimating the surface depth of the cylindrical cavity lining of high-temperature equipment. Traditional measurement methods are difficult to operate and have poor accuracy.
A depth estimation method based on panoramic images is adopted, including obtaining a panoramic image data set, illumination equalization processing, designing a deformable convolution structure and pose estimation network, constructing a reprojection loss function for unsupervised training, and using a single image for depth estimation and A complete depth image is synthesized along the axis of the cylindrical cavity.
It improves the accuracy and efficiency of lining surface depth estimation, can more accurately capture the shape and texture of the equipment lining surface, and improves the digital and intelligent maintenance capabilities of high-temperature equipment.
Smart Images

Figure CN118608588A
Abstract
Description
Technical Field
[0001] The invention relates to the field of maintenance of high-temperature equipment linings, and in particular to a method for estimating the surface depth of high-temperature equipment linings based on panoramic images. Background Art
[0002] With the continuous development of modern industrial technology, high-temperature equipment is increasingly used in various fields. The surface condition of the lining of the internal cylindrical cavity of high-temperature equipment, such as ladles, high-temperature furnaces, and high-temperature electric furnaces, has an important impact on the operating efficiency and safety of the equipment. Therefore, accurate estimation of the depth information of these lining surfaces is of great significance for equipment maintenance, optimization, and fault prevention.
[0003] However, the traditional contact measurement method, such as using a measuring instrument to directly measure the lining surface, is not only difficult to operate, but also has low operating efficiency, poor accuracy, and difficulty in visualization. Therefore, non-contact measurement methods have become the focus of research.
[0004] In recent years, image-based measurement methods have attracted widespread attention due to their non-contact, high efficiency, and high precision. Among them, panoramic image-based measurement methods can obtain more comprehensive contextual information, thereby more comprehensively understanding the state of the lining surface. Through panoramic images, every corner of the equipment can be observed, more detailed information can be obtained, and a richer data basis is provided for the estimation of depth information.
[0005] However, there is a problem of distortion in obtaining a panoramic image of the inner surface of a cylindrical cavity, which will reduce the accuracy of depth information estimation based on ordinary convolutional neural networks. At the same time, since the imaging inside the cavity will have a problem of uneven lighting, it will also affect the final depth estimation. Summary of the invention
[0006] The technical problem to be solved by the present invention is: in order to solve the technical problems existing in the prior art, a method for estimating the surface depth of the lining of a cylindrical cavity of a high-temperature equipment is provided to solve the problems of image distortion and inaccurate depth information when estimating the depth of the lining surface.
[0007] The solution of the present invention to the above technical problem is: a method for estimating the surface depth of the lining of a high-temperature device based on a panoramic image, comprising the following steps:
[0008] S0, obtaining a panoramic image dataset of a cylindrical cavity of a high-temperature device;
[0009] S1, performing illumination equalization processing on the collected images;
[0010] S2, design deformable convolution structure;
[0011] S3, designing a depth estimation network based on a deformable convolutional structure;
[0012] S4, designing a pose estimation network based on a deformable convolutional structure;
[0013] S5, constructing a reprojection loss function and training the network using an unsupervised training method;
[0014] S6, uses a single image for depth estimation and synthesizes a complete depth image along the axis of the cylindrical cavity.
[0015] Furthermore, S06 is specifically:
[0016] Set different overlaps to determine the sampling interval of the panoramic camera along the axis of the cylindrical cavity. Set the sampling interval of the panoramic camera along the cylindrical cavity, and make the judgment according to the following formula:
[0017] ΔL=Z*W*(1-α)) / f
[0018] In the formula, ΔL is the moving interval of the panoramic camera; Z is the distance from the center of the camera to the inner wall obtained according to the camera calibration; W is the width of the acquired panoramic image; α is the overlap rate between adjacent images; and f is the focal length of the camera. According to the sampling interval, the panoramic images I with different overlap rates are obtained along the cylindrical cavity. t-1 ,I t Composition of data sets.
[0019] Furthermore, S1 is specifically:
[0020] The step S1 comprises the following steps:
[0021] S101, first use histogram equalization to enhance the image, and use fast guided filtering to perform edge preservation and noise reduction, so as to obtain the main feature layer of the image. The specific formula of fast guided filtering is as shown in:
[0022]
[0023] In the formula, O i is the output image, G i is the guide image, I is the input image, a k , b k is the local window ω k The linear coefficient of .
[0024] S102, the original image is copied in layers to obtain the image to be processed, the main feature extraction method is used to obtain the illumination component, and the reflection component is obtained by combining the Retinex principle and color restoration. The improved bilateral gamma function is used for brightness adaptive correction. The improved bilateral gamma function is specifically shown in the formula:
[0025]
[0026] Where I is the input image to be processed, O is the output image, γ is a constant between (0,1) and is used to control the image enhancement performance. d is a convex function to correct the dark areas, O b is a convex function for correcting bright areas. The value of γ is: m is the average pixel value of the illumination image; the adjustment parameter α is:
[0027] Furthermore, S2 is specifically:
[0028] According to the distortion characteristics of panoramic images, an offset weight matrix is introduced based on the traditional deformable convolution. The specific formula is as follows:
[0029]
[0030] Where R = {(-1,-1), (-1,0), ...., (0,1), (1,1)} is the common convolution sampling point; p 0 is the center position of the convolution kernel; p n is the sampling point; Δp n is the sampling point offset; x is the pixel value, obtained by bilinear interpolation calculation; w is the weight value; ΔM is the designed deformation weight matrix, where
[0031]
[0032] Furthermore, S3 is specifically:
[0033] Based on the step S2, a depth estimation network is designed based on a deformable convolutional structure.
[0034] The depth estimation network structure uses a 3×3 ordinary convolution kernel, combined with batch normalization (BatchNormalization, BN) to prevent overfitting operations, and finally uses the Relu activation function to introduce nonlinear characteristics.
[0035] In the encoding downsampling stage, the number of feature channels is increased to 6, offset learning is performed, and feature extraction is performed in conjunction with the deformation weight matrix designed in step S2.
[0036] In the decoding stage, every two convolutions, bilinear difference sampling is performed to double the feature scale.
[0037] Furthermore, S4 is specifically:
[0038] Based on the step S2, a pose estimation network is designed based on a deformable convolutional structure. The pose estimation network encoding part continues to be optimized in the encoding network part in step S3.
[0039] In the input channel part, since two images in the previous and next time series are required as input, the input channels need to be increased to 12.
[0040] After feature extraction, it is necessary to first pass through a 1×1 convolution layer for channel dimensionality reduction, then pass through two 3×3 ordinary convolution layers for further feature extraction, and finally pass through a 1×1 convolution layer to reduce the dimension to 1, take the average value and output 6-DOF information.
[0041] Furthermore, S5 is specifically:
[0042] The error between the reconstructed image and the input image is used as self-supervisory information.
[0043] The image reconstruction loss function is:
[0044]
[0045] The edge smoothing loss is defined as:
[0046]
[0047] Total loss:
[0048] L=λL c +μL s
[0049] Based on the constructed total loss function, the depth estimation network and the posture estimation network described in steps S3 and S4 are learned and trained in an unsupervised manner.
[0050] Furthermore, S6 is specifically:
[0051] Combined with the depth estimation network and attitude estimation network trained in step S5, panoramic image data with a fixed sampling interval is selected for input, and the depth information is estimated to obtain a panoramic depth image, which is then synthesized along the axial direction to obtain a depth image of the entire cylindrical cavity of the device.
[0052] Furthermore, an electronic device includes:
[0053] Memory for storing computer software programs;
[0054] The processor is used to read and execute the computer software program stored in the memory to implement a method for estimating the surface depth of the lining of high-temperature equipment based on panoramic images.
[0055] Compared with the prior art, this patent application has the following advantages:
[0056] The panoramic image used in this method can provide a wider range of vision of the equipment lining surface, so that the lining surface morphology and texture can be fully and accurately captured, which helps the algorithm to more accurately identify the surface ups and downs and bumps, and has better scalability for the lining digitalization and intelligent maintenance of high-temperature equipment. At the same time, in view of the inherent distortion characteristics of cylindrical cavities and panoramic images, the introduction of structured distortion convolution can improve the accuracy of neural network feature extraction and the accuracy of lining surface depth estimation. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flow chart of a method for estimating the surface depth of the lining of high-temperature equipment based on panoramic images;
[0058] Figure 2 FIG. 1 is a schematic diagram of step S0 in an embodiment of the present invention.
[0059] Figure 3 FIG. 4 is a schematic diagram of deformable convolution in an embodiment of the present invention.
[0060] Figure 4 A depth information estimation network based on deformable convolution in one embodiment of the present invention.
[0061] Figure 5 This is a posture estimation network based on deformable convolution in an implementation example of the present invention.
[0062] Figure 6 The present invention is a flowchart of depth image generation based on a monocular image in an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0064] Example 1
[0065] The technical problem to be solved by the present invention is: in order to solve the technical problems existing in the prior art, a method for estimating the surface depth of the lining of a cylindrical cavity of a high-temperature equipment is provided to solve the problems of image distortion and inaccurate depth information when estimating the depth of the lining surface.
[0066] The solution of the present invention to the above technical problem is: a method for estimating the surface depth of the lining of a high-temperature device based on a panoramic image, comprising the following steps:
[0067] S0, obtaining a panoramic image dataset of a cylindrical cavity of a high-temperature device;
[0068] Set different overlaps to determine the sampling interval of the panoramic camera along the axis of the cylindrical cavity. Set the sampling interval of the panoramic camera along the cylindrical cavity, and make the judgment according to the following formula:
[0069] ΔL=Z*W*(1-α)) / f
[0070] Where ΔL is the moving interval of the panoramic camera; Z is the distance from the camera center to the inner wall obtained according to the camera calibration; W is the width of the acquired panoramic image; α is the overlap rate between adjacent images; and f is the focal length of the camera. Figure 2 As shown, according to the sampling interval, the panoramic images I with different overlap rates are obtained along the cylindrical cavity. t-1 ,I t Composition of data sets.
[0071] S1, performing illumination equalization processing on the collected images;
[0072] The step S1 comprises the following steps:
[0073] S101, first use histogram equalization to enhance the image, and use fast guided filtering to perform edge preservation and noise reduction, so as to obtain the main feature layer of the image. The specific formula of fast guided filtering is as shown in:
[0074]
[0075] In the formula, O i is the output image, G i is the guide image, I is the input image, a k , b k is the local window ω k The linear coefficient of .
[0076] S102, the original image is copied in layers to obtain the image to be processed, the main feature extraction method is used to obtain the illumination component, and the reflection component is obtained by combining the Retinex principle and color restoration. The improved bilateral gamma function is used for brightness adaptive correction. The improved bilateral gamma function is specifically shown in the formula:
[0077]
[0078] Where I is the input image to be processed, O is the output image, γ is a constant between (0,1) and is used to control the image enhancement performance. d is a convex function to correct the dark areas, O b is a convex function for correcting bright areas. The value of γ is: m is the average pixel value of the illumination image; the adjustment parameter α is:
[0079] S2, design deformable convolution structure;
[0080] According to the distortion characteristics of panoramic images, an offset weight matrix is introduced based on the traditional deformable convolution. The specific formula is as follows:
[0081]
[0082] Where R = {(-1,-1), (-1,0), ...., (0,1), (1,1)} is the common convolution sampling point; p 0 is the center position of the convolution kernel; p n is the sampling point; Δp n is the sampling point offset; x is the pixel value, obtained by bilinear interpolation calculation; w is the weight value; ΔM is the designed deformation weight matrix, where The structural diagram of the difference between the designed deformable convolution structure and the ordinary convolution is as follows Figure 3 shown.
[0083] S3, designing a depth estimation network based on a deformable convolutional structure;
[0084] Based on the step S2, a depth estimation network is designed based on a deformable convolutional structure.
[0085] The depth estimation network structure uses a 3×3 ordinary convolution kernel, combined with batch normalization (BatchNormalization, BN) to prevent overfitting operations, and finally uses the Relu activation function to introduce nonlinear characteristics.
[0086] In the encoding downsampling stage, the number of feature channels is increased to 6, offset learning is performed, and feature extraction is performed in conjunction with the deformation weight matrix designed in step S2.
[0087] In the decoding stage, every two convolutions, bilinear difference sampling is performed to double the feature scale. Figure 4 shown.
[0088] S4, designing a pose estimation network based on a deformable convolutional structure;
[0089] Based on the step S2, a pose estimation network is designed based on a deformable convolutional structure. The pose estimation network encoding part continues to be optimized in the encoding network part in step S3.
[0090] In the input channel part, since two images in the previous and next time series are required as input, the input channels need to be increased to 12.
[0091] After feature extraction, it needs to go through a 1×1 convolution layer for channel dimension reduction, then go through two 3×3 ordinary convolution layers for further feature extraction, and finally go through a 1×1 convolution layer to reduce the dimension to 1, take the average and output 6 degrees of freedom information. The specific network structure is as follows Figure 5 shown.
[0092] S5, constructing a reprojection loss function and training the network using an unsupervised training method;
[0093] The error between the reconstructed image and the input image is used as self-supervisory information.
[0094] The image reconstruction loss function is:
[0095]
[0096] The edge smoothing loss is defined as:
[0097]
[0098] Total loss:
[0099] L=λL c +μL s
[0100] Based on the constructed total loss function, the depth estimation network and the posture estimation network described in steps S3 and S4 are learned and trained in an unsupervised manner. The specific process is as follows: Figure 6 shown.
[0101] S6, uses a single image for depth estimation and synthesizes a complete depth image along the axis of the cylindrical cavity.
[0102] Combined with the depth estimation network and attitude estimation network trained in step S5, the panoramic image data with a fixed sampling interval is selected for input, and the depth information is estimated to obtain a panoramic depth image, which is then synthesized along the axial direction to obtain a depth image of the entire cylindrical cavity of the device. The specific process is as follows Figure 6 shown.
[0103] Therefore, using this model to perform depth estimation on the captured panoramic images can improve the efficiency and accuracy of lining surface depth estimation.
[0104] Example 2
[0105] The method described in Embodiment 1 can be implemented by a computer software program. Based on this, Embodiment 2 of the present invention further provides an electronic device, including:
[0106] Memory for storing computer software programs;
[0107] The processor is used to read and execute the computer software program stored in the memory, so as to implement the method for estimating the surface depth of the lining of a high-temperature equipment based on a panoramic image as described in Example 1 of the present invention.
[0108] It should also be noted that the logic instructions in the computer software program can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for estimating the surface depth of the lining of a high-temperature equipment based on a panoramic image, characterized in that: The following steps are involved: S0, obtaining a panoramic image dataset of a cylindrical cavity of a high-temperature device; S1, performing illumination equalization processing on the collected images; S2, design deformable convolution structure; S3, designing a depth estimation network based on a deformable convolutional structure; S4, designing a pose estimation network based on a deformable convolutional structure; S5, constructing a reprojection loss function and training the network using an unsupervised training method; S6, uses a single image for depth estimation and synthesizes a complete depth image along the axis of the cylindrical cavity.
2. An electronic device, comprising: Memory for storing computer software programs; A processor is used to read and execute the computer software program stored in the memory to implement the method for estimating the surface depth of the lining of a high-temperature equipment based on a panoramic image as described in claim 1.
Citation Information
Patent Citations
Stereo matching method based on deformable and depth separable convolution
CN113592021A
Self-supervised depth estimation method and system based on moving object pose estimation
CN117876452A
