Bridge image fusion method and device

By decomposing, enhancing, optimizing and multi-modal fusion of bridge images, the problem of low bridge image fusion accuracy in the existing technology is solved, high-quality fusion images are generated, and the accuracy of bridge crack detection is improved.

CN118799202AActive Publication Date: 2024-10-18XIANGJIANG LAB

Patent Information

Application Number
CN202411265036.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-10-18
Estimated Expiration
2044-09-10

AI Technical Summary

Technical Problem

Existing bridge image fusion methods have low accuracy in complex environments and are difficult to effectively fuse visible and infrared images, making bridge crack detection difficult.

Method used

By acquiring visible light and infrared images, decompose them into structural layers and texture layers, perform low-resolution enhancement, Fourier transform optimization and binarization, use expert models for multi-modal fusion, and sharpen based on edge information to finally generate High quality fused images.

Benefits of technology

It improves the clarity and accuracy of image information, enhances the accuracy of relevant information of structure and texture layer images, improves the accuracy of image fusion and the clarity and continuity of graphic edges.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799202A_ABST
    Figure CN118799202A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image fusion, and provides a bridge image fusion method and equipment, and the method comprises the steps: decomposing a visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposing an infrared image to obtain an infrared structure layer image and an infrared texture layer image; enhancing the visible light image and the infrared image to obtain an enhanced visible light image and an enhanced infrared image; optimizing the enhanced visible light image and the enhanced infrared image to obtain an optimized visible light image and an optimized infrared image; fusing the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image, and fusing the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image; and adding the final structure layer image and the final texture layer image, and sharpening based on the edge information to obtain a final image. According to the method, the accuracy of image fusion can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image fusion, and in particular to a bridge image fusion method and device. Background Art

[0002] Bridges are a key component of my country's transportation infrastructure, an important node and hub project of the transportation system, and an important guarantee for the development of the national social economy. In the process of bridge construction and maintenance, bridge cracks are the key to intelligent bridge construction, maintenance and repair. During the construction and use of bridges, regular maintenance of bridges and timely detection and effective maintenance and repair measures in the early stages of bridge disease development are important ways to ensure safe bridge operation, extend the life cycle of bridges, and save bridge maintenance costs.

[0003] However, most existing research technologies are mainly based on the analysis and measurement of bridge cracks based on visible light images under single mode. However, in real scenes, visible light images are affected by complex environments such as weather, lighting, and occlusion, which makes it difficult for visible light crack images to play their role. For example, insufficient light, insufficient layers, or reflections or flashes in the image cause image blur and loss of details, which reduces the quality and usability of the image and brings difficulties to the repair of bridge cracks. In contrast, infrared images have strong penetration, thermal imaging capabilities, and can reduce reflection interference, so that they are not affected by environmental conditions such as weather and lighting, and can make up for the shortcomings of visible light images. Therefore, feature fusion of visible light and infrared helps to enhance the quality of bridge crack images in complex environments in order to obtain more effective information. Most of the existing fusion methods directly extract the corresponding modal information from visible light images and infrared images, and then directly add or splice these modal information, and do not fully realize the dynamic fusion between different modal information. It can be seen that the existing image fusion methods have the problem of low accuracy of image fusion. Summary of the invention

[0004] The present application provides a bridge image fusion method and device, which can solve the problem of low accuracy of image fusion.

[0005] In a first aspect, an embodiment of the present application provides a bridge image fusion method, the image fusion method comprising: Acquire visible light images and infrared images of the target bridge surface; Decomposing the visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposing the infrared image to obtain an infrared structure layer image and an infrared texture layer image; Acquire a low-resolution visible light image of the visible light image, enhance the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, and acquire a low-resolution infrared image of the infrared image, enhance the infrared image using the low-resolution infrared image to obtain an enhanced infrared image; The enhanced visible light image is optimized by Fourier transform to obtain an optimized visible light image, and the enhanced infrared image is binarized to obtain an optimized infrared image; Using multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain the final structure layer image, and using multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain the final texture layer image; The final structure layer image and the final texture layer image are added together to obtain a fused image of the target bridge surface; The edge information of the fused image is extracted, and the fused image is sharpened based on the edge information to obtain the final image of the target bridge surface.

[0006] Optionally, decomposing the visible light image to obtain a visible light structure layer image and a visible light texture layer image includes: By formula: Obtaining visible light structure layer images ; in, represents the relative total variation operation, represents a visible light image, represents the regularization parameter, represents a small positive number, Represents the visible light structure layer image At pixel position The pixel value at Represents a visible light image At pixel position The pixel value at and Represent the visible light structure layer images respectively At pixel position The horizontal and vertical gradients at and Represents visible light images At pixel position The horizontal gradient norm and vertical gradient norm at ; By formula: Get visible light texture layer image ; Decomposing the infrared image to obtain the infrared structure layer image and the infrared texture layer image includes: Acquire infrared structure layer images ; in, represents the relative total variation operation, represents an infrared image, represents the regularization parameter, represents a small positive number, Infrared structure layer image At pixel position The pixel value at Infrared image At pixel position The pixel value at and Represents infrared structure layer images At pixel position The horizontal and vertical gradients at and Represents infrared images At pixel position The horizontal gradient norm and vertical gradient norm at ; By formula: Acquire infrared texture layer images .

[0007] Optionally, enhancing the visible light image using the low-resolution visible light image to obtain an enhanced visible light image includes: Dividing the visible light image into a plurality of visible light image blocks, and dividing the low-resolution visible light image into a plurality of low-resolution visible light image blocks; A sparse dictionary optimization function of visible light is constructed using all visible light image blocks and all low-resolution visible light image blocks, and the sparse dictionary optimization function of visible light is minimized to obtain a high-resolution dictionary of visible light and a low-resolution dictionary of visible light; Acquire multiple reconstructed high-resolution visible light image blocks according to a high-resolution dictionary of visible light and a low-resolution dictionary of visible light;

[0008] All reconstructed high-resolution visible light image blocks are spliced ​​to obtain a preliminary high-resolution visible light image, and the preliminary high-resolution visible light image is optimized to obtain an enhanced visible light image.

[0009] Optional, visible light sparse dictionary optimization function is: ; in, A high-resolution dictionary representing visible light, A low-resolution dictionary representing visible light, represents the sparse representation matrix, Indicates visible light image blocks, Indicates low-resolution visible light image patches, Indicates The sparse representation vector of visible light image patches, , represents the number of visible light image blocks and low-resolution visible light image blocks; A plurality of reconstructed high-resolution visible light image blocks are obtained according to a high-resolution dictionary of visible light and a low-resolution dictionary of visible light, including: By formula: ; Get the Reconstructed high-resolution visible light image patches ; in, Indicates Sparse representation of visible light image patches: in, Indicates low-resolution visible light image patches, represents the edge information matrix; The preliminary high-resolution visible light image is optimized to obtain an enhanced visible light image, including: By formula: Acquire enhanced visible light images ; in, represents a high-resolution visible light image during the optimization process, Represents a preliminary high-resolution visible light image.

[0010] Optionally, the enhanced visible light image is optimized by Fourier transform to obtain an optimized visible light image, including: By formula: ; ; ; Acquiring optimized visible light images ; in, represents the width of the enhanced visible light image, represents the length of the enhanced visible light image, and represents the frequency domain coordinates of the image, represents the filtering result in the frequency domain, and represents the spatial coordinates of the image, represents the imaginary unit, represents a constant, represents the representation of the enhanced visible light image obtained after Fourier transform in the frequency domain, represents the mask function of the high-pass filter, Represents enhanced visible light image.

[0011] Optionally, the enhanced infrared image is binarized to obtain an optimized infrared image, including: By formula: ; Acquire optimized infrared images ; in, Represents the pixel temperature binarization result, represents enhanced infrared image, Indicates that the horizontal coordinate in the enhanced infrared image is , the vertical axis is The temperature value of the pixel, Indicates the temperature threshold.

[0012] Optionally, multiple expert models are used to fuse the optimized visible light image, the visible light structural layer image, the optimized infrared image, and the infrared structural layer image to obtain a final structural layer image, including: Multiplying the optimized visible light image with the visible light structure layer image to obtain a visible light fusion structure layer image; Multiply the optimized infrared image and the infrared structure layer image to obtain an infrared fusion structure layer image; The visible light fusion structure layer image and the infrared fusion structure layer image are spliced ​​and expanded into a one-dimensional vector to obtain a spliced ​​structure layer vector; The weight of each expert model is calculated using the concatenated structure layer vector; According to the weights of all expert models, the visible light fusion structural layer image, and the infrared fusion structural layer image, all expert models are used to obtain the final structural layer image.

[0013] Optionally, the weight of each expert model is calculated using the concatenated structure layer vector, including: By formula: Calculate the The weight of the expert model ; in, Indicates The scores of the expert models, represents the concatenated structure layer vector, represents the weight matrix of the gating network, represents the noise weight matrix, represents a standard normally distributed random number, Indicates that After sorting the values ​​in from large to small, keep The front values, , represents the number of expert models; According to the weights of all expert models, the visible light fusion structural layer image, and the infrared fusion structural layer image, all expert models are used to obtain the final structural layer image, including: By formula: Get the final structure layer image ; in, Indicates The weight of the expert model, Indicates The output of the expert model is Represents the visible light fusion structure layer image, Indicates The weight of the expert model, Indicates The output of the expert model is Represents infrared fusion structure layer image.

[0014] Optionally, the fused image is sharpened based on edge information to obtain a final image of the target bridge surface, including: By formula: Get the final image ; in, represents the interpolation weights of all pixels of the fused image, represents a constant, represents the edge information of the fused image, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Represents the relative distance on the horizontal axis, Indicates the relative distance on the vertical axis: in, represents the horizontal coordinate of the pixel in the scaled image, , Indicates the width of the scaled image. , represents the width of the fused image, represents the vertical coordinate of the pixel in the scaled image, , Indicates the height of the scaled image. , represents the height of the fused image, Indicates the zoom ratio, represents the horizontal coordinate of the first interpolation point, represents the ordinate of the first interpolation point, represents the horizontal coordinate of the second interpolation point, Indicates the ordinate of the second interpolation point.

[0015] In a second aspect, an embodiment of the present application provides a bridge image fusion device, comprising: An acquisition module is used to acquire visible light images and infrared images of the target bridge surface; A decomposition module decomposes the visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposes the infrared image to obtain an infrared structure layer image and an infrared texture layer image; an enhancement module, acquiring a low-resolution visible light image of the visible light image, enhancing the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, and acquiring a low-resolution infrared image of the infrared image, enhancing the infrared image using the low-resolution infrared image to obtain an enhanced infrared image; An optimization module optimizes the enhanced visible light image using Fourier transform to obtain an optimized visible light image, and binarizes the enhanced infrared image to obtain an optimized infrared image; A fusion module, which uses multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image, and uses multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image; An addition module adds the final structure layer image and the final texture layer image to obtain a fused image of the target bridge surface; The sharpening module extracts the edge information of the fused image and sharpens the fused image based on the edge information to obtain the final image of the target bridge surface.

[0016] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned bridge image fusion method when executing the above-mentioned computer program.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned bridge image fusion method is implemented.

[0018] The above solution of the present application has the following beneficial effects: In an embodiment of the present application, a visible light image and an infrared image of the target bridge surface are acquired, and then the visible light image is decomposed to obtain a visible light structure layer image and a visible light texture layer image, and the infrared image is decomposed to obtain an infrared structure layer image and an infrared texture layer image, and then a low-resolution visible light image of the visible light image is acquired, and the low-resolution visible light image is used to enhance the visible light image to obtain an enhanced visible light image, and a low-resolution infrared image of the infrared image is acquired, and the low-resolution infrared image is used to enhance the infrared image to obtain an enhanced infrared image, and then the enhanced visible light image is optimized by Fourier transform to obtain an optimized visible light image. The image is obtained by binarizing the enhanced infrared image to obtain an optimized infrared image, and then multiple expert models are used to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image, and multiple expert models are used to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image, and then the final structure layer image and the final texture layer image are added to obtain a fused image of the target bridge surface, and finally the edge information of the fused image is extracted, and the fused image is sharpened based on the edge information to obtain the final image of the target bridge surface. Among them, enhancing and optimizing the visible light image and the infrared image can improve the clarity and accuracy of the information in the visible light image and the infrared image. Based on the visible light image and the infrared image with high accuracy, the expert model is used to fuse the structure layer image and the texture layer image respectively, so that the accuracy of the relevant information of the visible light image and the infrared image contained in the structure layer image and the texture layer image is improved. At the same time, the fused image is sharpened based on the edge information, which improves the clarity and continuity of the edge of the graphic in the fused image, thereby improving the accuracy of image fusion.

[0019] Other beneficial effects of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 A flow chart of a bridge image fusion method provided in one embodiment of the present application; Figure 2 A schematic diagram of an expert model provided in one embodiment of the present application; Figure 3A schematic diagram of the structure of a bridge image fusion device provided in one embodiment of the present application; Figure 4 A schematic diagram of the structure provided for an embodiment of the present application. DETAILED DESCRIPTION

[0022] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0023] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0024] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0026] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0027] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0028] In order to solve the problem of low accuracy of existing image fusion, an embodiment of the present application provides a bridge image fusion method, which obtains a visible light image and an infrared image of the target bridge surface, decomposes the visible light image to obtain a visible light structure layer image and a visible light texture layer image, decomposes the infrared image to obtain an infrared structure layer image and an infrared texture layer image, obtains a low-resolution visible light image of the visible light image, enhances the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, obtains a low-resolution infrared image of the infrared image, enhances the infrared image using the low-resolution infrared image to obtain an enhanced infrared image, and then uses Fourier transform to perform Fourier transform on the visible light image. The enhanced visible light image is optimized to obtain an optimized visible light image, and the enhanced infrared image is binarized to obtain an optimized infrared image. Multiple expert models are used to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image. Multiple expert models are used to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image. The final structure layer image and the final texture layer image are then added together to obtain a fused image of the target bridge surface. Finally, the edge information of the fused image is extracted, and the fused image is sharpened based on the edge information to obtain a final image of the target bridge surface. Among them, enhancing the visible light image and optimizing the infrared image can improve the clarity and accuracy of the information in the visible light image and the infrared image. Based on the visible light image and the infrared image with high accuracy, the expert model is used to fuse the structure layer image and the texture layer image respectively, so that the accuracy of the relevant information of the visible light image and the infrared image contained in the structure layer image and the texture layer image is improved. At the same time, the fused image is sharpened based on the edge information, which improves the clarity and continuity of the graphic edge in the fused image, thereby improving the accuracy of image fusion.

[0029] Next, the bridge image fusion method provided in this application is exemplified.

[0030] like Figure 1 As shown, the bridge image fusion method provided by the present application includes the following steps: Step 11, obtaining a visible light image and an infrared image of the target bridge surface.

[0031] The target bridge surface is a bridge surface that needs to be analyzed and measured for cracks.

[0032] In some embodiments of the present application, a visible light image of the target bridge surface may be acquired using an imaging device such as a camera, and an infrared image of the target bridge surface may be acquired using a device such as an infrared camera.

[0033] Step 12, decomposing the visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposing the infrared image to obtain an infrared structure layer image and an infrared texture layer image.

[0034] In some embodiments of the present application, the steps of decomposing the visible light image to obtain the visible light structure layer image and the visible light texture layer image, and decomposing the infrared image to obtain the infrared structure layer image and the infrared texture layer image include: The first step is to decompose the visible light image to obtain the visible light structure layer image and the visible light texture layer image.

[0035] Specifically, through the formula: Obtaining visible light structure layer images .

[0036] in, represents the relative total variation operation, represents a visible light image, represents the regularization parameter, represents a small positive number, Represents the visible light structure layer image At pixel position The pixel value at Represents a visible light image At pixel position The pixel value at and Represent the visible light structure layer images respectively At pixel position The horizontal and vertical gradients at and Represents visible light images At pixel position The horizontal and vertical gradient norms at .

[0037] By formula: Get visible light texture layer image .

[0038] The second step is to decompose the infrared image to obtain the infrared structure layer image and the infrared texture layer image.

[0039] Specifically, through the formula: Acquire infrared structure layer images .

[0040] in, represents the relative total variation operation, represents an infrared image, represents the regularization parameter, represents a small positive number, Infrared structure layer image At pixel position The pixel value at Infrared image At pixel position The pixel value at and Represents infrared structure layer images At pixel position The horizontal and vertical gradients at and Represents infrared images At pixel position The horizontal and vertical gradient norms at .

[0041] By formula: Acquire infrared texture layer images .

[0042] Exemplarily, computer software such as MATLAB may be used to run the above steps to decompose the visible light image and the infrared image.

[0043] It is worth mentioning that decomposing visible light images and infrared images into structure layer images and texture layer images can separate the structural information and texture information in the images, making it easier to subsequently perform detailed fusion of the structure layer images and texture layer images respectively.

[0044] Step 13, obtaining a low-resolution visible light image of the visible light image, and enhancing the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, and obtaining a low-resolution infrared image of the infrared image, and enhancing the infrared image using the low-resolution infrared image to obtain an enhanced infrared image.

[0045] It should be noted that the image can be scaled to obtain a corresponding low-resolution image, where the resolution of the low-resolution image is smaller than that of the original image. For example, if the resolution of the infrared image is 512×512, the resolution of the low-resolution infrared image may be 64×64.

[0046] In some embodiments of the present application, the steps of acquiring a low-resolution visible light image of a visible light image and enhancing the visible light image using the low-resolution visible light image to obtain an enhanced visible light image are specifically: In the first step, the visible light image is divided into a plurality of visible light image blocks, and the low-resolution visible light image is divided into a plurality of low-resolution visible light image blocks.

[0047] In the second step, a sparse dictionary optimization function of visible light is constructed using all visible light image blocks and all low-resolution visible light image blocks, and the sparse dictionary optimization function of visible light is minimized to obtain a high-resolution dictionary of visible light and a low-resolution dictionary of visible light.

[0048] The sparse dictionary optimization function for the above visible light is: ; in, A high-resolution dictionary representing visible light, A low-resolution dictionary representing visible light, represents the sparse representation matrix, Indicates visible light image blocks, Indicates low-resolution visible light image patches, Indicates The sparse representation vector of visible light image patches, , represents the number of visible light image blocks and low-resolution visible light image blocks, and the number of visible light image blocks is equal to the number of low-resolution visible light image blocks.

[0049] Exemplarily, the sparse dictionary optimization function may be solved using an algorithm such as a singular value decomposition algorithm.

[0050] In the third step, a plurality of reconstructed high-resolution visible light image blocks are obtained according to the high-resolution dictionary of visible light and the low-resolution dictionary of visible light.

[0051] By formula: ; Get the Reconstructed high-resolution visible light image patches .

[0052] in, Indicates Sparse representation of visible light image patches: in, Indicates low-resolution visible light image patches, Represents the edge information matrix, which is used to constrain the sparse representation.

[0053] In the fourth step, all reconstructed visible light image blocks are spliced ​​to obtain a preliminary high-resolution visible light image, and the preliminary high-resolution visible light image is optimized to obtain an enhanced visible light image.

[0054] Specifically, through the formula: Acquire enhanced visible light images ; in, represents a high-resolution visible light image during the optimization process, Represents a preliminary high-resolution visible-light image.

[0055] It should be noted that the specific process of obtaining a low-resolution infrared image of an infrared image, enhancing the infrared image using the low-resolution infrared image, and obtaining an enhanced infrared image is the same as the above process, that is, dividing the infrared image into multiple infrared image blocks, and dividing the low-resolution infrared image into multiple low-resolution infrared image blocks, and then using all infrared image blocks and all low-resolution infrared image blocks to construct an infrared sparse dictionary optimization function, and minimizing the infrared sparse dictionary optimization function to obtain an infrared high-resolution dictionary and an infrared low-resolution dictionary, and then obtaining multiple reconstructed high-resolution infrared image blocks based on the infrared high-resolution dictionary and the infrared low-resolution dictionary, and finally splicing all the reconstructed high-resolution infrared image blocks to obtain a preliminary high-resolution infrared image, and optimizing the preliminary high-resolution infrared image to obtain an enhanced infrared image.

[0056] Exemplarily, the above steps can be executed using computer software such as matlab and python to obtain enhanced visible light images and enhanced infrared images.

[0057] It is worth mentioning that by enhancing the visible light images and infrared images, the accuracy and clarity of the information of the visible light images and infrared images can be improved, providing high-quality information for subsequent steps.

[0058] Step 14, optimizing the enhanced visible light image by Fourier transform to obtain an optimized visible light image, and binarizing the enhanced infrared image to obtain an optimized infrared image.

[0059] In some embodiments of the present application, the steps of optimizing the enhanced visible light image using Fourier transform to obtain the optimized visible light image, and binarizing the enhanced infrared image to obtain the optimized infrared image are specifically as follows: In the first step, Fourier transform is used to optimize the enhanced visible light image to obtain an optimized visible light image.

[0060] Specifically, through the formula: ; ; ; Acquiring optimized visible light images .

[0061] in, represents the width of the enhanced visible light image, represents the length of the enhanced visible light image, and represents the frequency domain coordinates of the image, represents the filtering result in the frequency domain, and represents the spatial coordinates of the image, represents the imaginary unit, represents a constant, represents the representation of the enhanced visible light image obtained after Fourier transform in the frequency domain, represents the mask function of the high-pass filter, Represents enhanced visible light image.

[0062] The second step is to binarize the enhanced infrared image to obtain the optimized infrared image.

[0063] Specifically, through the formula: Acquire optimized infrared images .

[0064] in, Represents the pixel temperature binarization result, represents enhanced infrared image, Indicates that the horizontal coordinate in the enhanced infrared image is , the vertical axis is The temperature value of the pixel, Indicates the temperature threshold.

[0065] It should be noted that the above-mentioned horizontal coordinates and vertical coordinates are coordinates in a plane rectangular coordinate system, and the plane rectangular coordinate system takes the vertex of the enhanced infrared image as the origin.

[0066] Exemplarily, the above formula can be run using computer software such as MATLAB to obtain an optimized visible light image and an optimized infrared image.

[0067] It is worth mentioning that by optimizing the enhanced visible light images and infrared images, the accuracy and clarity of the information in the visible light images and infrared images can be further improved.

[0068] Step 15, using multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain the final structure layer image, and using multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain the final texture layer image.

[0069] In some embodiments of the present application, the above-mentioned steps of using multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain the final structure layer image are specifically:

[0070] In the first step, the optimized visible light image is multiplied by the visible light structure layer image to obtain the visible light fusion structure layer image.

[0071] Specifically, through the formula: Obtaining visible light fusion structure layer images .

[0072] in, represents the optimization of visible light images, Represents the visible light structure layer image.

[0073] In the second step, the optimized infrared image is multiplied with the infrared structure layer image to obtain the infrared fusion structure layer image.

[0074] Specifically, through the formula: Acquire infrared fusion structure layer images .

[0075] in, Indicates optimized infrared image, Represents an infrared structure layer image.

[0076] The third step is to splice the visible light fusion structure layer image and the infrared fusion structure layer image, and expand them into a one-dimensional vector to obtain a spliced ​​structure layer vector.

[0077] The fourth step is to calculate the weight of each expert model using the concatenated structure layer vector.

[0078] Specifically, through the formula: Calculate the The weight of the expert model .

[0079] in, Indicates The scores of the expert models, represents the concatenated structure layer vector, represents the weight matrix of the gating network, represents the noise weight matrix, represents a standard normally distributed random number, Indicates that After sorting the values ​​in from large to small, keep The front values, , Represents the number of expert models.

[0080] The fifth step is to use all expert models to obtain the final structural layer image according to the weights of all expert models, the visible light fusion structural layer image, and the infrared fusion structural layer image.

[0081] Specifically, through the formula: Get the final structure layer image .

[0082] in, Indicates The weight of the expert model, Indicates The output of the expert model is Represents the visible light fusion structure layer image, Indicates The weight of the expert model, Indicates The output of the expert model is Represents infrared fusion structure layer image.

[0083] It should be noted that the specific process of using multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain the final texture layer image is the same as the specific process of obtaining the final structure layer image mentioned above, that is, multiplying the optimized visible light image with the visible light texture layer image to obtain the visible light fusion texture layer image, and then multiplying the optimized infrared image with the infrared texture layer image to obtain the infrared fusion texture layer image, and then splicing the visible light fusion texture layer image with the infrared fusion texture layer image and expanding them into a one-dimensional vector to obtain a spliced ​​texture layer vector, and then using the spliced ​​texture layer vector to calculate the weight of each expert model, and finally using all expert models according to the weights of all expert models, the visible light fusion texture layer image and the infrared fusion texture layer image, to obtain the final texture layer image.

[0084] In some embodiments of the present application, the activation function in the above-mentioned multiple expert models for processing visible light fusion structure layer images and visible light fusion texture layer images is a ReLU activation function, which can effectively extract edge and texture features in visible light images; the activation function in the above-mentioned multiple expert models for processing infrared fusion structure layer images and infrared fusion structure layer images is a Leaky ReLU activation function, which can process negative value features that may exist in infrared images.

[0085] Exemplarily, the above steps may be executed using computer software such as MATLAB to obtain a final fused structure layer image and a final fused texture layer image.

[0086] It is worth mentioning that the fusion of structure layer images and texture layer images based on visible light images and infrared images with high information accuracy and clarity can improve the information accuracy of structure layer images and texture layer images.

[0087] The expert model of the present application is exemplified below with reference to a specific example.

[0088] like Figure 2 As shown in the figure, the visible light expert network includes the previous expert models, the infrared expert network includes Expert models to Expert model, Expert Indicates There are expert models, each of which is composed of two convolutional units connected in sequence. The convolutional unit is composed of a convolutional layer (Cov), a norm layer (Batch Norm), and an activation function layer connected in sequence. The activation function layer of the convolutional unit CBR in the expert model of the visible light expert network is the ReLU activation function, and the activation function layer of the convolutional unit CBL in the expert model of the infrared expert network is the Leaky ReLU activation function.

[0089] Step 16, adding the final structure layer image and the final texture layer image to obtain a fused image of the target bridge surface.

[0090] Specifically, through the formula: Get fused image .

[0091] in, Represents the final texture layer image, Represents the final structure layer image.

[0092] For example, the above formula can be run using computer software such as MATLAB to obtain a fused image of the target bridge surface.

[0093] It is worth mentioning that by adding the final texture layer image and the final structure layer image, accurate texture information and structure information can be integrated, so that the fused image contains highly accurate texture information and structure information.

[0094] Step 17, extracting edge information of the fused image, and sharpening the fused image based on the edge information to obtain a final image of the target bridge surface.

[0095] It should be noted that the final image of the target bridge surface obtained in this step can be used to detect cracks on the target bridge surface. For example, the final image can be input into a target detection algorithm such as YOLO to detect whether there are cracks on the target bridge surface.

[0096] In some embodiments of the present application, the step of extracting edge information of the fused image and sharpening the fused image based on the edge information to obtain a final image of the target bridge surface includes: The first step is to extract the edge information of the fused image.

[0097] Exemplarily, edge detection algorithm can be used to extract edge information of the fused image. Specifically, the formula is: Get edge information .

[0098] in, represents the horizontal gradient of the fused image, represents the vertical gradient of the fused image, Represents the fused image.

[0099] In the second step, the fused image is sharpened based on the edge information to obtain the final image of the target bridge surface.

[0100] Specifically, through the formula: Get the final image .

[0101] in, represents the interpolation weights of all pixels of the fused image, represents a constant, represents the edge information of the fused image, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Represents the relative distance on the horizontal axis, Indicates the relative distance on the vertical axis: in, represents the horizontal coordinate of the pixel in the scaled image, , Indicates the width of the scaled image. , represents the width of the fused image, represents the vertical coordinate of the pixel in the scaled image, , Indicates the height of the scaled image. , represents the height of the fused image, Indicates the zoom ratio, represents the horizontal coordinate of the first interpolation point, represents the ordinate of the first interpolation point, represents the horizontal coordinate of the second interpolation point, Indicates the ordinate of the second interpolation point.

[0102] It should be noted that the above-mentioned horizontal coordinates and vertical coordinates are coordinates in a plane rectangular coordinate system, and the plane rectangular coordinate system takes the vertex of the fused image as the origin.

[0103] Exemplarily, the above steps can be run using computer software such as matlab, python, etc. to obtain the final image.

[0104] It is worth mentioning that the interpolation weight is calculated through edge information, and the fused image is sharpened based on the interpolation weight, so that the clarity and continuity of the graphic edges in the fused image are improved, and the accuracy of the expression of the edges of the cracks in the final image is improved.

[0105] The bridge image fusion device provided in the present application is exemplarily described below.

[0106] like Figure 3 As shown, the embodiment of the present application provides a bridge image fusion device, and the bridge image fusion device 300 includes: An acquisition module 301 acquires a visible light image and an infrared image of the target bridge surface; A decomposition module 302 decomposes the visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposes the infrared image to obtain an infrared structure layer image and an infrared texture layer image; The enhancement module 303 acquires a low-resolution visible light image of the visible light image, and enhances the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, and acquires a low-resolution infrared image of the infrared image, and enhances the infrared image using the low-resolution infrared image to obtain an enhanced infrared image; The optimization module 304 optimizes the enhanced visible light image by Fourier transform to obtain an optimized visible light image, and binarizes the enhanced infrared image to obtain an optimized infrared image; A fusion module 305 uses multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image, and uses multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image; An adding module 306 adds the final structure layer image and the final texture layer image to obtain a fused image of the target bridge surface; The sharpening module 307 extracts edge information of the fused image and sharpens the fused image based on the edge information to obtain a final image of the target bridge surface.

[0107] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0108] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0109] like Figure 4 As shown, an embodiment of the present application provides a terminal device. The terminal device D10 of this embodiment includes: at least one processor D100 ( Figure 4 Only one processor is shown in the figure), a memory D101, and a computer program D102 stored in the memory D101 and executable on the at least one processor D100, wherein the processor D100 implements the steps of any of the above-mentioned method embodiments when executing the computer program D102.

[0110] Specifically, when the processor D100 executes the computer program D102, it obtains a visible light image and an infrared image of the target bridge surface, decomposes the visible light image to obtain a visible light structure layer image and a visible light texture layer image, decomposes the infrared image to obtain an infrared structure layer image and an infrared texture layer image, obtains a low-resolution visible light image of the visible light image, enhances the visible light image using the low-resolution visible light image to obtain an enhanced visible light image, obtains a low-resolution infrared image of the infrared image, enhances the infrared image using the low-resolution infrared image to obtain an enhanced infrared image, and then optimizes the enhanced visible light image using Fourier transform. The optimized visible light image is obtained, and the enhanced infrared image is binarized to obtain the optimized infrared image. Multiple expert models are used to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain the final structure layer image. Multiple expert models are used to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain the final texture layer image. The final structure layer image and the final texture layer image are then added together to obtain a fused image of the target bridge surface. Finally, the edge information of the fused image is extracted, and the fused image is sharpened based on the edge information to obtain the final image of the target bridge surface. Among them, enhancing the visible light image and optimizing the infrared image can improve the clarity and accuracy of the information in the visible light image and the infrared image. Based on the visible light image and the infrared image with high accuracy, the expert model is used to fuse the structure layer image and the texture layer image respectively, so that the accuracy of the relevant information of the visible light image and the infrared image contained in the structure layer image and the texture layer image is improved. At the same time, the fused image is sharpened based on the edge information, which improves the clarity and continuity of the graphic edge in the fused image, thereby improving the accuracy of image fusion.

[0111] The processor D100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0112] In some embodiments, the memory D101 may be an internal storage unit of the terminal device D10, such as a hard disk or memory of the terminal device D10. In other embodiments, the memory D101 may also be an external storage device of the terminal device D10, such as a plug-in hard disk, a smart memory card (SMC, SmartMedia Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device D10. Further, the memory D101 may also include both an internal storage unit of the terminal device D10 and an external storage device. The memory D101 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory D101 may also be used to temporarily store data that has been output or is to be output.

[0113] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0114] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the bridge image fusion method device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0116] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0117] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0118] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A bridge image fusion method, characterized in that: include: Acquire visible light images and infrared images of the target bridge surface; Decomposing the visible light image to obtain a visible light structure layer image and a visible light texture layer image, and decomposing the infrared image to obtain an infrared structure layer image and an infrared texture layer image; Acquire a low-resolution visible light image of the visible light image, and enhance the visible light image by using the low-resolution visible light image to obtain an enhanced visible light image, and acquire a low-resolution infrared image of the infrared image, and enhance the infrared image by using the low-resolution infrared image to obtain an enhanced infrared image; Optimizing the enhanced visible light image by Fourier transform to obtain an optimized visible light image, and binarizing the enhanced infrared image to obtain an optimized infrared image; Using multiple expert models to fuse the optimized visible light image, the visible light structure layer image, the optimized infrared image and the infrared structure layer image to obtain a final structure layer image, and using the multiple expert models to fuse the optimized visible light image, the visible light texture layer image, the optimized infrared image and the infrared texture layer image to obtain a final texture layer image; Adding the final structure layer image and the final texture layer image to obtain a fused image of the target bridge surface; Edge information of the fused image is extracted, and the fused image is sharpened based on the edge information to obtain a final image of the target bridge surface.

2. The bridge image fusion method according to claim 1, characterized in that: Decomposing the visible light image to obtain a visible light structure layer image and a visible light texture layer image includes: By formula: Acquire the visible light structure layer image ; in, represents the relative total variation operation, represents the visible light image, represents the regularization parameter, represents a small positive number, Represents the visible light structure layer image At pixel position The pixel value at Represents the visible light image At pixel position The pixel value at and Respectively represent the visible light structure layer images At pixel position The horizontal and vertical gradients at and Respectively represent the visible light images At pixel position The horizontal gradient norm and vertical gradient norm at ; By formula: Acquire the visible light texture layer image ; Decomposing the infrared image to obtain an infrared structure layer image and an infrared texture layer image includes: By formula: Acquire the infrared structure layer image ; in, represents the relative total variation operation, represents the infrared image, represents the regularization parameter, represents a small positive number, Infrared structure layer image At pixel position The pixel value at Infrared image At pixel position The pixel value at and Represents infrared structure layer images At pixel position The horizontal and vertical gradients at and Represents infrared images At pixel position The horizontal gradient norm and vertical gradient norm at ; By formula: Acquire the infrared texture layer image .

3. The bridge image fusion method according to claim 1, characterized in that: The step of enhancing the visible light image by using the low-resolution visible light image to obtain an enhanced visible light image includes: Dividing the visible light image into a plurality of visible light image blocks, and dividing the low-resolution visible light image into a plurality of low-resolution visible light image blocks; Constructing a sparse dictionary optimization function of visible light using all visible light image blocks and all low-resolution visible light image blocks, and minimizing the sparse dictionary optimization function of visible light to obtain a high-resolution dictionary of visible light and a low-resolution dictionary of visible light; Acquire a plurality of reconstructed high-resolution visible light image blocks according to the high-resolution dictionary of visible light and the low-resolution dictionary of visible light; All reconstructed high-resolution visible light image blocks are spliced ​​to obtain a preliminary high-resolution visible light image, and the preliminary high-resolution visible light image is optimized to obtain an enhanced visible light image.

4. The bridge image fusion method according to claim 3, characterized in that: The sparse dictionary optimization function of the visible light is: ; in, A high-resolution dictionary representing visible light, A low-resolution dictionary representing visible light, represents the sparse representation matrix, Indicates visible light image blocks, Indicates low-resolution visible light image patches, Indicates The sparse representation vector of visible light image patches, , represents the number of visible light image blocks and low-resolution visible light image blocks; The step of obtaining a plurality of reconstructed high-resolution visible light image blocks according to the high-resolution dictionary of visible light and the low-resolution dictionary of visible light comprises: By formula: Get the Reconstructed high-resolution visible light image patches ; in, Indicates Sparse representation of visible light image patches: ; in, Indicates low-resolution visible light image patches, represents the edge information matrix; The step of optimizing the preliminary high-resolution visible light image to obtain an enhanced visible light image comprises: By formula: Acquire the enhanced visible light image ; in, represents a high-resolution visible light image during the optimization process, Represents a preliminary high-resolution visible-light image.

5. The bridge image fusion method according to claim 1, characterized in that: The method of optimizing the enhanced visible light image by using Fourier transform to obtain the optimized visible light image includes: By formula: Acquiring optimized visible light images ; in, represents the width of the enhanced visible light image, represents the length of the enhanced visible light image, and represents the frequency domain coordinates of the image, represents the filtering result in the frequency domain, and represents the spatial coordinates of the image, represents the imaginary unit, represents a constant, represents the representation of the enhanced visible light image obtained after Fourier transform in the frequency domain, represents the mask function of the high-pass filter, Represents enhanced visible light image.

6. The bridge image fusion method according to claim 1, characterized in that: The step of binarizing the enhanced infrared image to obtain an optimized infrared image includes: By formula: Acquire the optimized infrared image ; in, Represents the pixel temperature binarization result, represents enhanced infrared image, Indicates that the horizontal coordinate in the enhanced infrared image is , the vertical axis is The temperature value of the pixel, Indicates the temperature threshold.

7. The bridge image fusion method according to claim 1, characterized in that: The method of using multiple expert models to fuse the optimized visible light image, the visible light structural layer image, the optimized infrared image and the infrared structural layer image to obtain a final structural layer image includes: Multiplying the optimized visible light image with the visible light structure layer image to obtain a visible light fusion structure layer image; Multiplying the optimized infrared image with the infrared structure layer image to obtain an infrared fusion structure layer image; Splicing the visible light fusion structure layer image and the infrared fusion structure layer image, and expanding them into a one-dimensional vector to obtain a spliced ​​structure layer vector; Calculating the weight of each of the expert models using the concatenated structure layer vector; According to the weights of all expert models, the visible light fusion structural layer image, and the infrared fusion structural layer image, all expert models are used to acquire a final structural layer image.

8. The bridge image fusion method according to claim 7, characterized in that: The step of calculating the weight of each expert model by using the splicing structure layer vector includes: By formula: Calculate the The weight of the expert model ; in, Indicates the The scores of the expert models, represents the splicing structure layer vector, represents the weight matrix of the gating network, represents the noise weight matrix, represents a standard normally distributed random number, Indicates that After sorting the values ​​in from large to small, keep The front values, , represents the number of expert models; The method of obtaining the final structure layer image by using all expert models according to the weights of all expert models, the visible light fusion structure layer image, and the infrared fusion structure layer image comprises: By formula: Get the final structure layer image ; in, Indicates The weight of the expert model, Indicates the The output of the expert model is represents the visible light fusion structure layer image, Indicates The weight of the expert model, Indicates the The output of the expert model is represents the infrared fusion structure layer image.

9. The bridge image fusion method according to claim 1, characterized in that: The step of sharpening the fused image based on the edge information to obtain a final image of the target bridge surface includes: By formula: Get the final image ; in, represents the interpolation weights of all pixels of the fused image, represents a constant, represents the edge information of the fused image, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The interpolation weight of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Indicates that the horizontal coordinate in the fused image is The vertical axis is The pixel value of the pixel, Represents the relative distance on the horizontal axis, Indicates the relative distance on the vertical axis: in, represents the horizontal coordinate of the pixel in the scaled image, , represents the width of the scaled image, , represents the width of the fused image, represents the vertical coordinate of the pixel in the scaled image, , represents the height of the scaled image, , represents the height of the fused image, Indicates the zoom ratio, represents the horizontal coordinate of the first interpolation point, represents the ordinate of the first interpolation point, represents the horizontal coordinate of the second interpolation point, Represents the ordinate of the second interpolation point.

10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the bridge image fusion method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Infrared image and visible light image fusion method, system, device and terminal

    CN114140366A

  • Systems and methods for fusing infrared image and visible light image

    US20190318463A1

  • Infrared and visible light fusing method

    WO2021120404A1

  • Infrared and visible light fusion method based on saliency map enhancement

    WO2021120406A1

Cited By

  • Infrared and visible light image fusion method for inspection of power transmission and transformation equipment

    CN119540702A