An image enhancement method for resistor array infrared imaging
By calculating the infrared pixel interference coefficient and optimizing the iteration number of the Pal-King algorithm, the problem of radiation interference from other devices in the infrared target scene simulation system is solved, and the image quality and detail protection are improved.
Patent Information
- Application Number
- CN202410831011.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In the infrared target scene simulation system, in addition to the resistor array, other devices such as digital power supplies and temperature controllers will also produce infrared radiation, causing interference to the infrared target images collected by the infrared thermal imaging camera and affecting the image quality.
By obtaining the working temperature and position relationship of each device, calculating the infrared pixel interference coefficient, combined with the degree of confusion of the local gray value, determining the infrared pixel blur and reciprocal blur factor, optimizing the number of iterations of the Pal-King algorithm, and effectively detecting infrared targets. Grayscale images are enhanced to remove interference and improve image quality.
It effectively removes the interference of infrared radiation from other equipment in the experimental environment on the infrared target image, improves the image quality, and protects detailed information at the same time.
Smart Images

Figure CN118396893B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image enhancement method for resistor array infrared imaging. Background Art
[0002] Infrared target scene simulation is an important product in the development of infrared technology. It can effectively shorten the development cycle of infrared detectors. It is an economical, efficient and reliable calibration device, which is of great significance to the development of infrared detection systems. In recent years, with the combination of infrared detection technology with target recognition and tracking technology, infrared detection systems are developing in the direction of high resolution, high real-time performance and intelligence, and people have put forward higher and higher requirements for infrared detection technology. Resistor arrays have the advantages of wide radiation temperature range, high image frame rate and spectral spectrum bandwidth. Due to these advantages, resistor arrays have developed rapidly in the field of domestic infrared simulation and have great development potential.
[0003] The infrared target scene simulation system based on resistor array avoids the problems of long experimental cycle and high cost in field experiments. However, in addition to the infrared radiation generated by the resistor array, other equipment in the experimental device, such as digital power supply, temperature controller, etc., may also generate infrared radiation. These radiations interfere with the infrared target images collected by the infrared thermal imager, affecting the image quality and further affecting the simulation effect. Summary of the invention
[0004] In view of the above, it is necessary to provide an image enhancement method for resistor array infrared imaging. Compared with the traditional image enhancement method for resistor array infrared imaging, it effectively removes the interference of infrared radiation from other equipment in the experimental environment on the infrared target image.
[0005] The image enhancement method for resistor array infrared imaging of the present application adopts the following technical solution:
[0006] An embodiment of the present application provides an image enhancement method for resistor array infrared imaging, the method comprising the following steps:
[0007] Acquire an infrared target grayscale image of the resistor array, and acquire the operating temperature of each device when it reaches a stable state, wherein the devices are the remaining devices in the infrared target scene simulation system except the resistor array;
[0008] Based on the positional relationship between each device and the resistor array and the operating temperature of each device when it reaches a stable state, the infrared pixel interference coefficient of each pixel point in the infrared target grayscale image is determined;
[0009] The infrared pixel fuzziness of each pixel in the infrared target grayscale image is determined by combining the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the confusion degree of the pixel grayscale value in the local range;
[0010] Based on the preset exponential fuzzy factor in the Pal-King algorithm and the grayscale values of all pixels in the infrared target grayscale image, the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image is determined;
[0011] Determine the infrared pixel enhancement iteration number of each pixel based on the infrared pixel fuzziness of each pixel in the infrared target grayscale image;
[0012] Based on the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image and the number of infrared pixel enhancement iterations, the Pal-King algorithm is used to enhance the infrared target grayscale image.
[0013] In one embodiment, the infrared pixel interference coefficient is determined as follows:
[0014] Determine the azimuth reference coefficient of each device to each pixel point in the infrared target grayscale image based on the positional relationship between each device and the resistor array;
[0015] Determine the infrared image interference factor of each device based on the distance between each device and the center of the resistor array and the operating temperature of each device;
[0016] For each pixel in the grayscale image of the infrared target, the product of the azimuth reference coefficient of each device to the pixel and the infrared image interference factor of each device is calculated, recorded as the first interference product, and the cumulative sum of all the first interference products corresponding to the pixel is taken as the infrared pixel interference coefficient of the pixel.
[0017] In one embodiment, the process of determining the orientation reference coefficient is:
[0018] The position vector of each device relative to the center of the resistor array is recorded as the infrared device position vector;
[0019] The position vector of each pixel point in the infrared target grayscale image relative to the center of the infrared target grayscale image is recorded as the infrared image pixel vector;
[0020] Calculate the similarity between the infrared device position vector of each device and the infrared image pixel vector of each pixel point in the infrared target grayscale image, and record it as the initial orientation reference coefficient of each device to each pixel point in the infrared target grayscale image;
[0021] For each device, the maximum value of the initial orientation reference coefficient of the device for all pixels in the grayscale image of the infrared target is counted and recorded as the orientation calibration coefficient of the device. The difference between the orientation calibration coefficient of the device and the initial orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target is recorded as the orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target.
[0022] In one embodiment, the infrared image interference factor is determined as follows:
[0023] The distance between each device and the center of the resistor array is recorded as the infrared device spacing distance of each device;
[0024] For each device, the infrared image interference factor of the device is the ratio of the fourth power of the working temperature of the device to the square of the distance between the infrared devices.
[0025] In one embodiment, the process of determining the infrared pixel ambiguity is:
[0026] A square window of preset width is constructed with each pixel in the infrared target grayscale image as the center;
[0027] Based on the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the degree of confusion of the grayscale value in the square window of each pixel, the infrared pixel response index of each pixel in the infrared target grayscale image is determined;
[0028] For the central pixel of each square window, the opposite number of the grayscale value of the central pixel is used as the exponent of an exponential function with a natural constant as the base, which is recorded as a grayscale exponential function. The normalized value of the product of the calculation result of the grayscale exponential function, the infrared pixel response index of the central pixel and the degree of confusion of the grayscale value in the square window corresponding to the central pixel is used as the infrared pixel fuzziness of the central pixel.
[0029] In one embodiment, the infrared pixel response index is determined as follows:
[0030] Calculate the sum of the preset infrared image interference base and the infrared pixel interference coefficient of each pixel in the infrared target grayscale image, and record it as the infrared image interference index of each pixel in the infrared target grayscale image;
[0031] For the central pixel of each square window, the product of the normalized value of the grayscale value of the central pixel and the infrared image interference index is calculated, recorded as the second interference product, and the product of the fourth root of the second interference product of the central pixel and the degree of confusion is taken as the infrared pixel response index of the central pixel.
[0032] In one embodiment, the process of determining the infrared pixel reciprocal fuzzy factor is as follows:
[0033] Arrange the grayscale values of all pixels in the infrared target grayscale image from small to large, and record the grayscale value at the preset position as the reference grayscale value;
[0034] Based on the preset exponential fuzzy factor in the Pal-King algorithm, the reference gray value and the gray level of the infrared target gray image, the reference cardinality of the crossing point of the infrared target gray image is determined;
[0035] For each pixel in the infrared target grayscale image, the inverse of the normalized value of the grayscale value of the pixel is used as the exponent of an exponential function with the infrared pixel fuzziness as the base, which is recorded as the grayscale exponential function. The product of the calculated result of the grayscale exponential function of the pixel and the reference base of the transition point of the infrared target grayscale image is used as the infrared pixel reciprocal fuzzy factor of the pixel.
[0036] In one embodiment, the process of determining the reference base of the crossing point is as follows:
[0037] The reciprocal of the preset exponential fuzzy factor in the Pal-King algorithm is used as the exponent of an exponential function with a natural constant as the base, denoted as a fuzzy exponential function, and the difference between the grayscale level of the infrared target grayscale image and the reference grayscale value is calculated, denoted as the grayscale difference. The ratio of the grayscale difference to the calculation result of the fuzzy exponential function is used as the reference base of the crossing point of the infrared target grayscale image.
[0038] In one embodiment, the process of determining the number of infrared pixel enhancement iterations is as follows:
[0039] The product of the infrared pixel fuzziness of each pixel point and the preset maximum number of iterations of the resistor array infrared pixel enhancement is rounded off to a value that is used as the number of iterations of the infrared pixel enhancement of each pixel point.
[0040] In one embodiment, the determination process of enhancing the infrared target grayscale image is:
[0041] The infrared pixel reciprocal fuzzy factor of each pixel and the number of infrared pixel enhancement iterations are used as the reciprocal fuzzy factor parameter and iteration number parameter of the Pal-King algorithm respectively. The infrared target grayscale image is used as the input of the Pal-King algorithm, and the enhanced infrared target grayscale image is output.
[0042] This application has at least the following beneficial effects:
[0043] Based on the positional relationship between each device and the resistor array, combined with the operating temperature of each device when it reaches a stable state, the infrared pixel interference coefficient is calculated to reflect the interference intensity of other devices in the infrared target scene simulation system on pixels at different positions;
[0044] By analyzing the infrared pixel interference coefficient and the gray value changes near different pixels, the infrared pixel response index of the pixel is calculated to reflect the degree to which each pixel in the infrared target gray image is affected by infrared interference, which is conducive to the subsequent targeted enhancement of the pixel based on the degree of interference of the pixel.
[0045] The infrared pixel fuzziness is obtained based on the infrared pixel response index, and the infrared pixel reciprocal fuzziness factor of each pixel and the number of infrared pixel enhancement iterations are determined by using the infrared pixel fuzziness to optimize the Pal-King algorithm. The infrared target grayscale image is enhanced using the optimized Pal-King algorithm, which protects the detail information while strengthening the image enhancement effect, effectively removing the interference of infrared radiation from other equipment in the experimental environment on the infrared target image, and improving the image quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are 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 creative work.
[0047] Figure 1 A flowchart of the steps of an image enhancement method for resistor array infrared imaging provided in this application;
[0048] Figure 2 It is a schematic diagram of the process of determining the infrared pixel interference coefficient;
[0049] Figure 3 It is a schematic diagram of the process of determining the infrared pixel response index;
[0050] Figure 4 Schematic diagram of the process of obtaining the reciprocal fuzzy factor of infrared pixels. DETAILED DESCRIPTION
[0051] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It should be understood that, unless otherwise specified, " / " means or.
[0053] It should also be noted that the terms "first" and "second" in this application are used to distinguish similar objects, rather than to describe a specific order or sequence. The method disclosed in the embodiments of this application or the method shown in the flow chart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.
[0054] The following is a detailed description of a specific solution of an image enhancement method for resistor array infrared imaging provided by the present application in conjunction with the accompanying drawings.
[0055] An embodiment of the present application provides an image enhancement method for resistor array infrared imaging. Specifically, the following image enhancement method for resistor array infrared imaging is provided. Figure 1 , the method comprises the following steps:
[0056] Step 1, obtain the infrared target grayscale image of the resistor array and obtain the operating temperature of each device when it reaches a stable state.
[0057] The infrared target image generated by the resistor array is photographed with an infrared thermal imager, and the infrared target image is grayed to obtain an infrared target gray image. The center of the resistor array is taken as the origin of the spatial coordinates, and the distance and position vector between other devices in the infrared target scene simulation system and the center of the resistor array are obtained through the Real Time Location Systems (RTLS), recorded as the infrared device spacing distance and infrared device position vector, and the operating temperature of other devices when they reach a stable state is measured.
[0058] Step 2, based on the positional relationship between each device and the resistor array and the operating temperature of each device when it reaches a stable state, determine the infrared pixel interference coefficient of each pixel point in the infrared target grayscale image.
[0059] In the infrared target scene simulation system, the resistor array generates infrared radiation to simulate the radiation of the infrared scene. However, the additional infrared radiation generated by other devices during the simulation process will interfere with the thermal imaging of the resistor array, thereby affecting the infrared target image acquisition effect of the infrared thermal imager, resulting in distortion of the infrared target grayscale image. Due to the different working temperatures of different devices and the different distances and positions from the resistor array, the degree of interference caused to the infrared target grayscale image is different. Therefore, the infrared pixel interference coefficient is calculated by using the infrared device spacing distance and infrared device position vector of different devices obtained by RTLS, as well as the working temperature of different devices when they reach a stable state.
[0060] First, the azimuth reference coefficient of each device to each pixel in the grayscale image of the infrared target is determined based on the positional relationship between each device and the resistor array. The specific process is as follows:
[0061] The position vector of each pixel point in the infrared target grayscale image relative to the center of the infrared target grayscale image is recorded as the infrared image pixel vector;
[0062] Calculate the similarity between the infrared device position vector of each device and the infrared image pixel vector of each pixel point in the infrared target grayscale image, and record it as the initial orientation reference coefficient of each device to each pixel point in the infrared target grayscale image;
[0063] For each device, the maximum value of the initial orientation reference coefficient of the device for all pixels in the grayscale image of the infrared target is counted and recorded as the orientation calibration coefficient of the device. The difference between the orientation calibration coefficient of the device and the initial orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target is recorded as the orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target.
[0064] In one embodiment of the present application, the similarity is the Euclidean distance. As other implementations, on the basis of the measurable similarity between two vectors, the implementer may adopt other existing technologies to obtain the correlation between the two vectors, and the present application does not impose any special restrictions.
[0065] It should be noted that the difference refers to the distinction between the two, which can be a difference relationship, a difference absolute value relationship, or a ratio relationship, etc. The implementer can set it according to the actual situation.
[0066] When the similarity between the infrared image pixel vector of the pixel point in the infrared target grayscale image and the infrared device position vector is smaller, the radiation angle between the device and the resistor array is smaller, the infrared radiation impact on the infrared target grayscale image is greater, and the azimuth reference coefficient is larger.
[0067] Secondly, the infrared image interference factor of each device is determined based on the operating temperature of each device and the distance between the infrared devices. The specific process is as follows:
[0068] For each device, the infrared image interference factor of the device is proportional to the fourth power of the working temperature of the device, and inversely proportional to the square of the infrared device spacing distance of the device.
[0069] In order to control the value range, the calculated infrared image interference factor is normalized. When the distance between the infrared devices is smaller and the temperature of the device is higher, the infrared radiation interference to the infrared target grayscale image is stronger and the infrared image interference factor is larger.
[0070] In one embodiment of the present application, the infrared image interference factor of the device is the ratio of the fourth power of the working temperature of the device to the square of the distance between the infrared devices.
[0071] Finally, based on the device's orientation reference coefficient to the pixel and the device's infrared image interference factor, the infrared pixel interference coefficient of the pixel is determined. The specific process is as follows:
[0072] For each pixel in the infrared target grayscale image, the orientation reference coefficient of each device to the pixel and the infrared image interference factor of each device are forward fused. The infrared pixel interference coefficient of the pixel is positively correlated with all the forward fusion results corresponding to the pixel.
[0073] It needs to be understood that: positive fusion refers to combining multiple independent variables in a way that enhances the overall effect, such as additive relationship, multiplicative relationship, etc., and implementers can limit it according to actual conditions; positive correlation means that the changing trends of the dependent variable and the independent variable are in the same direction, for example, additive relationship, multiplicative relationship, etc., and implementers can limit it according to actual conditions.
[0074] In one embodiment of the present application, the product of the azimuth reference coefficient of each device to the pixel point and the infrared image interference factor of each device is calculated and recorded as the first interference product, and the cumulative sum of all the first interference products corresponding to the pixel point is taken as the infrared pixel interference coefficient of the pixel point.
[0075] It should be noted that: when the temperature of the device is higher, the distance between the infrared devices is smaller, and the azimuth reference coefficient is larger, the interference caused by infrared radiation to the pixel point is greater, and the infrared pixel interference coefficient of the pixel point is larger. The schematic diagram of the determination process of the infrared pixel interference coefficient is as follows Figure 2 shown.
[0076] Step 3, combining the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the degree of confusion of the pixel grayscale value in the local range, determine the infrared pixel fuzziness of each pixel in the infrared target grayscale image.
[0077] According to the Stefan-Boltzmann law, the radiation power of an object's surface is proportional to the fourth power of the object's temperature. Therefore, resistors of different temperatures undergo different temperature changes when subjected to the same infrared radiation, which in turn results in different degrees of interference to the infrared target grayscale image. A square window of a preset width is constructed with each pixel in the infrared target grayscale image as the center.
[0078] In one embodiment of the present application, the value of the preset width is 7. The value of the preset width is preset manually and can be set by the implementer. This application does not impose any special restrictions.
[0079] Based on the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the degree of confusion of the grayscale value in the square window of each pixel, the infrared pixel response index of each pixel in the infrared target grayscale image is determined. The specific process is:
[0080] Calculate the sum of the preset infrared image interference base and the infrared pixel interference coefficient of each pixel in the infrared target grayscale image, and record it as the infrared image interference index of each pixel in the infrared target grayscale image;
[0081] For the central pixel of each square window, the normalized value of the grayscale value of the central pixel, the infrared image interference index of the central pixel and the chaos degree of the grayscale values of all pixels in the square window corresponding to the central pixel are forward fused, and the forward fusion result is used as the infrared pixel response index of the central pixel.
[0082] In one embodiment of the present application, the preset value of the infrared image interference base is 1, and the value of the infrared image interference base can be set by the implementer, and this application does not impose any special restrictions.
[0083] In one embodiment of the present application, the product of the normalized value of the grayscale value of the central pixel and the infrared image interference index is calculated and recorded as the second interference product, and the product of the fourth root of the second interference product of the central pixel and the degree of confusion is taken as the infrared pixel response index of the central pixel.
[0084] It should be noted that the infrared pixel response index reflects the degree to which each pixel in the infrared target grayscale image is affected by infrared interference. The stronger the impact of infrared radiation on it, the larger the infrared pixel response index. The lower the temperature of the resistor in the resistor array, the greater the temperature change under the interference of the same infrared radiation, and the corresponding pixel with a lower grayscale value in the infrared target grayscale image is subject to stronger interference from the heat source. At the same time, the stronger the infrared radiation caused by the device to the pixel, the greater the infrared pixel interference coefficient, the greater the infrared image interference index, and the greater the calculated infrared pixel response index. On the other hand, the more drastic the change in the grayscale value of the pixel in the infrared pixel response window of the resistor array, the greater the degree of confusion of the grayscale value of the pixel in the window, the richer the details of the corresponding image, the stronger the impact of the same infrared radiation on it, and the larger the infrared pixel response index. The schematic diagram of the process of determining the infrared pixel response index is shown in the figure. Figure 3 shown.
[0085] The interferences generated by different devices on the grayscale image of infrared targets are superimposed on each other, and different interferences are independent of each other. The general image enhancement algorithm has limited effect on image enhancement. According to the characteristics of resistor array infrared imaging, the Pal-King algorithm is optimized.
[0086] Calculate the infrared pixel ambiguity of the central pixel of each square window. The specific process is:
[0087] For the central pixel of each square window, the infrared pixel fuzziness of the central pixel is negatively correlated with the grayscale value of the central pixel; and is positively correlated with the infrared pixel response index of the central pixel and the degree of confusion of the grayscale value in the square window corresponding to the central pixel.
[0088] In one embodiment of the present application, the opposite number of the grayscale value of the central pixel is taken as the exponent of an exponential function with a natural constant as the base, which is recorded as a grayscale exponential function, and the normalized value of the product of the calculation result of the grayscale exponential function, the infrared pixel response index of the central pixel and the degree of chaos of the grayscale value in the square window corresponding to the central pixel is taken as the infrared pixel fuzziness of the central pixel; wherein the degree of chaos can be represented by statistics such as variance, standard deviation or entropy that can describe the degree of irregularity of the grayscale value distribution.
[0089] It should be noted that: the lower the grayscale value of the pixel, the greater the interference caused by the infrared radiation generated by the device. When the Pal-King algorithm is used to perform blur enhancement in the blur domain, it is necessary to focus on enhancing its fuzziness. The greater the calculated resistor array pixel fuzziness. At the same time, the greater the infrared pixel response index of the pixel, the greater the interference caused by the infrared radiation generated by the device to the pixel, and the greater the infrared pixel fuzziness of the pixel. In addition, when the grayscale value chaos in the square window is greater, the more image information is contained in the square window, and the enhancement effect of the central pixel of the square window needs to be strengthened, and the infrared pixel fuzziness is greater.
[0090] Step 4: Based on the preset exponential fuzzy factor in the Pal-King algorithm and the grayscale values of all pixels in the infrared target grayscale image, determine the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image.
[0091] When the Pal-King algorithm maps the image from the spatial domain to the fuzzy domain, the same mapping conditions are used for all gray values, and the number of iterations of calculating the fuzzy enhancement operator is also the same. It is impossible to enhance the image according to the different interference characteristics of pixels with different gray values in the infrared target gray image. Therefore, the reciprocal fuzzy factor and the number of iterations in the Pal-King algorithm are optimized by the infrared pixel fuzziness of each pixel, and the optimized parameters are recorded as the infrared pixel reciprocal fuzzy factor and the number of infrared pixel enhancement iterations.
[0092] In order to improve the enhancement effect of the infrared target grayscale image, the grayscale values of all pixels in the infrared target grayscale image are arranged from small to large, the grayscale value at the preset position is recorded as the reference grayscale value, and the image enhancement degree is increased for pixels whose grayscale value is less than the reference grayscale value, and a smaller inverse fuzzy factor is given to the infrared pixels.
[0093] In one embodiment of the present application, the grayscale value at the third quartile is recorded as the reference grayscale value, and the implementer can set the value of the preset position by himself, and the present application does not impose any special restrictions.
[0094] Based on the preset exponential fuzzy factor, the reference gray value and the gray level of the infrared target gray image in the Pal-King algorithm, the reference cardinality of the crossing point of the infrared target gray image is determined. The specific process is as follows:
[0095] The reciprocal of the preset exponential fuzzy factor in the Pal-King algorithm is used as the exponent of an exponential function with a natural constant as the base, which is recorded as a fuzzy exponential function. The difference between the grayscale of the infrared target grayscale image and the reference grayscale value is calculated, which is recorded as a grayscale difference. The reference base of the crossing point of the infrared target grayscale image is negatively correlated with the calculation result of the fuzzy exponential function and positively correlated with the grayscale difference.
[0096] In one embodiment of the present application, the value of the preset exponential fuzzy factor is 2. The value of the exponential fuzzy factor can be set by the implementer, and the present application does not impose any special restrictions.
[0097] In one embodiment of the present application, the ratio of the grayscale difference to the calculation result of the fuzzy exponential function is used as the reference base of the crossing point of the infrared target grayscale image.
[0098] Furthermore, based on the infrared pixel fuzziness of each pixel in the infrared target grayscale image and the reference base of the crossing point of the infrared target grayscale image, the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image is determined. The specific process is as follows:
[0099] For each pixel in the infrared target grayscale image, the inverse of the normalized value of the grayscale value of the pixel is used as the exponent of an exponential function with the infrared pixel fuzziness as the base, which is recorded as a grayscale exponential function. The infrared pixel reciprocal fuzzy factor of the pixel is positively correlated with the calculation result of the grayscale exponential function of the pixel and the reference base of the crossing point of the infrared target grayscale image.
[0100] In one embodiment of the present application, the product of the calculation result of the grayscale index function of the pixel point and the reference base of the transition point of the infrared target grayscale image is used as the infrared pixel reciprocal fuzzy factor of the pixel point.
[0101] It should be noted that: the greater the infrared pixel blur, the smaller the grayscale exponential function, the smaller the infrared pixel reciprocal fuzzy factor, the smaller the membership calculated in the fuzzy domain, and the higher the image enhancement. On the other hand, the smaller the pixel grayscale value, the greater the interference of the infrared target grayscale image with the heat source of other equipment, the smaller the infrared pixel reciprocal fuzzy factor, the smaller the membership calculated in the fuzzy domain, and the stronger the enhancement effect when the fuzzy enhancement operator is used to correct the membership. At the same time, the grayscale value is used as an exponent to adjust the change of the infrared pixel reciprocal fuzzy factor with the grayscale value. When the grayscale value is smaller, the rate of change of the infrared pixel reciprocal fuzzy factor is greater, and the larger the grayscale value, the more stable the change of the infrared pixel reciprocal fuzzy factor is, reflecting the trend that the higher the grayscale value of the pixel, the smaller the interference from the heat source. The schematic diagram of the acquisition process of the infrared pixel reciprocal fuzzy factor is as follows: Figure 4 shown.
[0102] Step 5: Determine the number of infrared pixel enhancement iterations for each pixel based on the infrared pixel fuzziness of each pixel in the infrared target grayscale image.
[0103] The number of infrared pixel enhancement iterations determines the degree of image enhancement by the Pal-King algorithm. In order to avoid the loss of detail information and insufficient image enhancement effect, the number of infrared pixel enhancement iterations for each pixel is determined according to the infrared pixel fuzziness of each pixel. The specific process is as follows:
[0104] The product of the infrared pixel fuzziness of each pixel point and the preset maximum number of iterations of the resistor array infrared pixel enhancement is rounded off to a value that is used as the number of iterations of the infrared pixel enhancement of each pixel point.
[0105] In one embodiment of the present application, the maximum number of iterations of the resistor array infrared pixel enhancement is 5. The value of the maximum number of iterations of the resistor array infrared pixel enhancement is preset manually and can be set by the implementer according to actual conditions. This application does not impose any special restrictions.
[0106] It should be noted that the greater the infrared pixel blur of a pixel, the greater the degree to which the pixel is interfered with by the heat sources of other devices. Setting a larger number of iterations can improve the image enhancement effect.
[0107] Step 6, based on the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image and the number of infrared pixel enhancement iterations, the Pal-King algorithm is used to enhance the infrared target grayscale image.
[0108] The infrared pixel reciprocal fuzzy factor of each pixel and the number of infrared pixel enhancement iterations are used as the reciprocal fuzzy factor parameter and iteration number parameter of the Pal-King algorithm respectively. The infrared target grayscale image is used as the input of the Pal-King algorithm, and the enhanced infrared target grayscale image is output.
[0109] In summary, this application calculates the infrared pixel interference coefficient based on the positional relationship between each device and the resistor array, combined with the operating temperature of each device when it reaches a stable state, to reflect the interference intensity of other devices in the infrared target scene simulation system on pixels at different positions;
[0110] By analyzing the infrared pixel interference coefficient and the gray value changes near different pixels, the infrared pixel response index of the pixel is calculated to reflect the degree to which each pixel in the infrared target gray image is affected by infrared interference, which is conducive to the subsequent targeted enhancement of the pixel based on the degree of interference of the pixel.
[0111] The infrared pixel fuzziness is obtained based on the infrared pixel response index, and the infrared pixel reciprocal fuzziness factor of each pixel and the number of infrared pixel enhancement iterations are determined by using the infrared pixel fuzziness to optimize the Pal-King algorithm. The infrared target grayscale image is enhanced using the optimized Pal-King algorithm, which protects the detail information while strengthening the image enhancement effect, effectively removing the interference of infrared radiation from other equipment in the experimental environment on the infrared target image, and improving the image quality.
[0112] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
[0113] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive.
Claims
1. An image enhancement method for resistor array infrared imaging, characterized in that: The method comprises the following steps: Acquire an infrared target grayscale image of the resistor array, and acquire the operating temperature of each device when it reaches a stable state, wherein the devices are the remaining devices in the infrared target scene simulation system except the resistor array; Based on the positional relationship between each device and the resistor array and the operating temperature of each device when it reaches a stable state, the infrared pixel interference coefficient of each pixel point in the infrared target grayscale image is determined; The infrared pixel fuzziness of each pixel in the infrared target grayscale image is determined by combining the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the confusion degree of the pixel grayscale value in the local range; Based on the preset exponential fuzzy factor in the Pal-King algorithm and the grayscale values of all pixels in the infrared target grayscale image, the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image is determined; Determine the infrared pixel enhancement iteration number of each pixel based on the infrared pixel fuzziness of each pixel in the infrared target grayscale image; Based on the infrared pixel reciprocal fuzzy factor of each pixel in the infrared target grayscale image and the number of infrared pixel enhancement iterations, the Pal-King algorithm is used to enhance the infrared target grayscale image. The determination process of the infrared pixel reciprocal fuzzy factor is as follows: Arrange the grayscale values of all pixels in the infrared target grayscale image from small to large, and record the grayscale value at the preset position as the reference grayscale value; Based on the preset exponential fuzzy factor in the Pal-King algorithm, the reference gray value and the gray level of the infrared target gray image, the reference cardinality of the crossing point of the infrared target gray image is determined; For each pixel in the infrared target grayscale image, the inverse of the normalized value of the grayscale value of the pixel is used as the exponent of an exponential function with the infrared pixel fuzziness as the base, which is recorded as the grayscale exponential function. The product of the calculated result of the grayscale exponential function of the pixel and the reference base of the transition point of the infrared target grayscale image is used as the infrared pixel reciprocal fuzzy factor of the pixel.
2. The image enhancement method for resistor array infrared imaging according to claim 1, characterized in that: The determination process of the infrared pixel interference coefficient is: Determine the azimuth reference coefficient of each device to each pixel point in the infrared target grayscale image based on the positional relationship between each device and the resistor array; Determine the infrared image interference factor of each device based on the distance between each device and the center of the resistor array and the operating temperature of each device; For each pixel in the grayscale image of the infrared target, the product of the azimuth reference coefficient of each device to the pixel and the infrared image interference factor of each device is calculated, recorded as the first interference product, and the cumulative sum of all the first interference products corresponding to the pixel is taken as the infrared pixel interference coefficient of the pixel.
3. The image enhancement method for resistor array infrared imaging according to claim 2, characterized in that: The determination process of the azimuth reference coefficient is: The position vector of each device relative to the center of the resistor array is recorded as the infrared device position vector; The position vector of each pixel point in the infrared target grayscale image relative to the center of the infrared target grayscale image is recorded as the infrared image pixel vector; Calculate the similarity between the infrared device position vector of each device and the infrared image pixel vector of each pixel point in the infrared target grayscale image, and record it as the initial orientation reference coefficient of each device to each pixel point in the infrared target grayscale image; For each device, the maximum value of the initial orientation reference coefficient of the device for all pixels in the grayscale image of the infrared target is counted and recorded as the orientation calibration coefficient of the device. The difference between the orientation calibration coefficient of the device and the initial orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target is recorded as the orientation reference coefficient of the device for each pixel in the grayscale image of the infrared target.
4. The image enhancement method for resistor array infrared imaging according to claim 2, characterized in that: The determination process of the infrared image interference factor is as follows: The distance between each device and the center of the resistor array is recorded as the infrared device spacing distance of each device; For each device, the infrared image interference factor of the device is the ratio of the fourth power of the working temperature of the device to the square of the distance between the infrared devices.
5. The image enhancement method for resistor array infrared imaging according to claim 1, characterized in that: The process of determining the infrared pixel ambiguity is as follows: A square window of preset width is constructed with each pixel in the infrared target grayscale image as the center; Based on the infrared pixel interference coefficient of each pixel in the infrared target grayscale image and the degree of confusion of the grayscale value in the square window of each pixel, the infrared pixel response index of each pixel in the infrared target grayscale image is determined; For the central pixel of each square window, the opposite number of the grayscale value of the central pixel is used as the exponent of an exponential function with a natural constant as the base, which is recorded as a grayscale exponential function. The normalized value of the product of the calculation result of the grayscale exponential function, the infrared pixel response index of the central pixel and the degree of confusion of the grayscale value in the square window corresponding to the central pixel is used as the infrared pixel fuzziness of the central pixel.
6. The image enhancement method for resistor array infrared imaging as claimed in claim 5, characterized in that: The process of determining the infrared pixel response index is as follows: Calculate the sum of the preset infrared image interference base and the infrared pixel interference coefficient of each pixel in the infrared target grayscale image, and record it as the infrared image interference index of each pixel in the infrared target grayscale image; For the central pixel of each square window, the product of the normalized value of the grayscale value of the central pixel and the infrared image interference index is calculated, recorded as the second interference product, and the product of the fourth root of the second interference product of the central pixel and the degree of confusion is taken as the infrared pixel response index of the central pixel.
7. The image enhancement method for resistor array infrared imaging according to claim 1, characterized in that: The process of determining the reference cardinality of the crossing point is as follows: The reciprocal of the preset exponential fuzzy factor in the Pal-King algorithm is used as the exponent of an exponential function with a natural constant as the base, denoted as a fuzzy exponential function, and the difference between the grayscale level of the infrared target grayscale image and the reference grayscale value is calculated, denoted as the grayscale difference. The ratio of the grayscale difference to the calculation result of the fuzzy exponential function is used as the reference base of the crossing point of the infrared target grayscale image.
8. The image enhancement method for resistor array infrared imaging according to claim 1, characterized in that: The process of determining the number of infrared pixel enhancement iterations is as follows: The product of the infrared pixel fuzziness of each pixel point and the preset maximum number of iterations of the resistor array infrared pixel enhancement is rounded off to a value that is used as the number of iterations of the infrared pixel enhancement of each pixel point.
9. The image enhancement method for resistor array infrared imaging according to claim 1, characterized in that: The determination process of enhancing the infrared target grayscale image is as follows: The infrared pixel reciprocal fuzzy factor of each pixel and the number of infrared pixel enhancement iterations are used as the reciprocal fuzzy factor parameter and iteration number parameter of the Pal-King algorithm respectively. The infrared target grayscale image is used as the input of the Pal-King algorithm, and the enhanced infrared target grayscale image is output.
