Image processing method and device, equipment, storage medium and program product
By adjusting the correspondence between the sensitivity parameters of the thermal imaging detector and the image magnification, the problem of image amplification in infrared thermal imaging technology will be solved, and efficient observation of long-distance small targets and image fineness can be improved.
Patent Information
- Application Number
- CN202411365883.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-07
AI Technical Summary
In the process of image amplification, the image clarity is difficult to improve, especially the observation of long-distance small targets, which leads to the target not being prominent enough in the enlarged image.
By adjusting the correspondence between the sensitivity parameters of the thermal imaging detector and the image magnification, select the sensitivity parameters that match the image magnification to obtain a clearer image, ensuring that image magnification will improve detection sensitivity, enhance image delicateness and target highlighting sex.
After the image zoom operation, the image clarity is improved, and the goal is more prominent, avoiding the problem of image overexposure and improving the signal response capability of the infrared thermal imaging detector.
Smart Images

Figure CN119277172A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of infrared thermal imaging technology, and in particular to an image processing method, device, equipment, storage medium and program product. Background Art
[0002] In nature, all objects radiate infrared energy. Therefore, by detecting infrared energy in a non-contact manner and converting it into electrical signals, images can be obtained. This imaging method is called infrared thermal imaging. At present, infrared thermal imaging has been widely used to observe small targets at a long distance. Therefore, in order to observe the target more clearly, the image needs to be enlarged. A commonly used image magnification method is digital zoom, which is to electronically enlarge the image without changing the focal length. Instead, the image is magnified by reducing the total number of pixels, so the image clarity will decrease.
[0003] In the related art, image processing is performed on the acquired image, and then the image is enlarged to improve the clarity of the enlarged image. However, the improvement effect of this method is limited. Summary of the invention
[0004] The main purpose of the present application is to provide an image processing method, device, equipment, storage medium and program product, which can improve the clarity of the displayed image and make the target in the image more prominent when the image is digitally zoomed.
[0005] To achieve the above object, the present application provides an image processing method, which includes:
[0006] Determining the magnification of the first image based on the image magnification operation;
[0007] Determining a sensitivity parameter that matches the magnification of the first image based on a correspondence between a sensitivity parameter of a thermal imaging detector and an image magnification, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter;
[0008] Acquire a second image using the thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image;
[0009] The second image is displayed.
[0010] Optionally, the sensitivity parameter includes integration time and / or integration capacitance;
[0011] The step of determining the sensitivity parameter that matches the magnification of the first image based on the correspondence between the sensitivity parameter of the thermal imaging detector and the image magnification comprises:
[0012] Based on the corresponding relationship between the integration time of the thermal imaging detector and the image magnification, determining the integration time that matches the magnification of the first image, the image magnification being positively correlated with the integration time; and / or,
[0013] Based on the corresponding relationship between the integral capacitance of the thermal imaging detector and the image magnification, an integral capacitance matching the magnification of the first image is determined, and the image magnification is positively correlated with the integral capacitance.
[0014] Optionally, the acquiring the second image by using the thermal imaging detector based on a sensitivity parameter matching the magnification of the first image includes:
[0015] Using the thermal imaging detector, based on a sensitivity parameter that matches the magnification of the first image, a reference image is detected;
[0016] determining image processing parameters that match the magnification of the first image;
[0017] The reference image is processed using the image processing parameters to obtain the second image.
[0018] Optionally, before determining the image processing parameters matching the magnification of the first image, the method further includes:
[0019] Determining a plurality of preset magnifications and image processing parameters matching the plurality of preset magnifications;
[0020] Interpolation fitting is performed on the multiple preset magnifications and image processing parameters matching the multiple preset magnifications to obtain image processing parameters matching image magnifications between the multiple preset magnifications.
[0021] Optionally, the image processing parameters include edge sharpening parameters;
[0022] The step of processing the reference image using the image processing parameters to obtain the second image includes:
[0023] Based on the edge sharpening parameter, the edge of the object in the reference image is sharpened to obtain the second image, and the width of the edge of the object in the second image is not greater than the width of the edge of the object in the reference image.
[0024] Optionally, the image processing parameters include grayscale mapping parameters;
[0025] The step of processing the reference image using the image processing parameters to obtain the second image includes:
[0026] Performing grayscale mapping based on the target area in the reference image to obtain the second image;
[0027] or,
[0028] The step of processing the reference image using the image processing parameters to obtain the second image includes:
[0029] Grayscale mapping is performed based on all position areas in the reference image to obtain the second image.
[0030] Optionally, performing grayscale mapping based on the target region in the reference image to obtain the second image includes:
[0031] Determining a temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment, and the emissivity of infrared energy of the target;
[0032] Based on the temperature range corresponding to the target, grayscale mapping is performed on the reference image to obtain the second image, wherein the proportion of grayscales allocated to the temperature range corresponding to the target in the second image is greater than the proportion of grayscales allocated to the temperature range corresponding to the target in the reference image.
[0033] Optionally, the first image is a partial image of the displayed original image, and the image zoom operation indicates the magnification;
[0034] The method of acquiring a second image by using the thermal imaging detector based on a sensitivity parameter matching the magnification of the first image includes:
[0035] Using the thermal imaging detector, based on a sensitivity parameter matching the magnification of the first image, a reference image is detected, wherein the reference image has the same field of view as the original image;
[0036] determining a cropping parameter, wherein the cropping parameter indicates a position coordinate of the first image in the original image;
[0037] The reference image is cropped based on the cropping parameters to obtain the second image, where the second image has the same field of view as the first image.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes an image processing device, the image processing device comprising:
[0039] An operation detection module, used to determine the magnification of the first image based on the image magnification operation;
[0040] a parameter determination module, configured to determine a sensitivity parameter matching the magnification of the first image based on a correspondence between a sensitivity parameter of a thermal imaging detector and an image magnification, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter;
[0041] An image acquisition module, configured to acquire a second image using the thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image;
[0042] An image display module is used to display the second image.
[0043] Optionally, the sensitivity parameter includes integration time and / or integration capacitance;
[0044] The parameter determination module is used to determine the integration time that matches the magnification of the first image based on the corresponding relationship between the integration time of the thermal imaging detector and the image magnification, and the image magnification is positively correlated with the integration time; and / or,
[0045] The parameter determination module is used to determine the integral capacitance matching the magnification of the first image based on the corresponding relationship between the integral capacitance of the thermal imaging detector and the image magnification, and the image magnification is positively correlated with the integral capacitance.
[0046] Optionally, the image acquisition module includes:
[0047] An image detection unit, configured to detect and obtain a reference image using the thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image;
[0048] a parameter determination unit, configured to determine an image processing parameter that matches the magnification of the first image;
[0049] An image processing unit is used to process the reference image using the image processing parameters to obtain the second image.
[0050] Optionally, the parameter determination unit is further used to determine multiple preset magnifications and image processing parameters matching the multiple preset magnifications; perform interpolation fitting on the multiple preset magnifications and the image processing parameters matching the multiple preset magnifications to obtain image processing parameters matching image magnifications between the multiple preset magnifications.
[0051] Optionally, the image processing parameters include edge sharpening parameters;
[0052] The image processing unit is used to sharpen the edge of the target in the reference image based on the edge sharpening parameter to obtain the second image, and the width of the edge of the target in the second image is not greater than the width of the edge of the target in the reference image.
[0053] Optionally, the image processing parameters include grayscale mapping parameters; and the image processing unit includes:
[0054] A first mapping subunit, configured to perform grayscale mapping based on the target region in the reference image to obtain the second image;
[0055] or,
[0056] The second mapping subunit is used to perform grayscale mapping based on all position areas in the reference image to obtain the second image.
[0057] Optionally, the first mapping subunit is used to determine the temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment and the emissivity of the infrared energy of the target; based on the temperature range corresponding to the target, grayscale mapping is performed on the reference image to obtain the second image, and the proportion of the number of grayscales allocated to the temperature range corresponding to the target in the second image is greater than the proportion of the number of grayscales allocated to the temperature range corresponding to the target in the reference image.
[0058] Optionally, the first image is a partial image of the displayed original image, and the image zoom operation indicates the magnification;
[0059] The image acquisition module is used to use the thermal imaging detector to detect and obtain a reference image based on a sensitivity parameter that matches the magnification of the first image, and the reference image has the same field of view as the original image; determine a cropping parameter, and the cropping parameter indicates the position coordinates of the first image in the original image; based on the cropping parameter, crop the reference image to obtain the second image, and the second image has the same field of view as the first image.
[0060] In addition, to achieve the above-mentioned purpose, the present application also proposes an image processing device, which includes a memory, a processor, and an image processing program stored in the memory and executable on the processor, wherein the image processing program is configured to implement the image processing method described above.
[0061] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which an image processing program is stored, and when the image processing program is executed by a processor, the image processing method as described above is implemented.
[0062] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes an image processing program, and when the image processing program is executed by a processor, it implements the image processing method described above.
[0063] One or more technical solutions proposed in this application have at least the following technical effects:
[0064] The image processing scheme provided by the present application takes into account that the image magnification operation indicates that the current observation target is a small target at a long distance. For such a small target at a long distance, it is also taken into account that the infrared energy emitted by the target is lost over a long distance, and the infrared energy that can be detected when it reaches the thermal imaging detector is relatively small. In this case, improving the detection sensitivity of the thermal imaging detector to acquire the image will not only not cause image overexposure, but will improve the clarity of the image. Therefore, a corresponding relationship between the sensitivity parameter of the thermal imaging detector and the image magnification is set, and the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter. Once the image magnification operation is detected, the sensitivity parameter matching the magnification of the first image is selected to acquire the second image, thereby ensuring the clarity of the second image displayed after the user performs the image magnification operation, and making the target in the second image more prominent. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0067] Figure 1 A schematic diagram of an implementation environment provided for an exemplary embodiment of the present application;
[0068] Figure 2 This is a schematic diagram of the flow chart of the first embodiment of the image processing method of the present application;
[0069] Figure 3 A schematic diagram of a flow chart of another embodiment of the image processing method of the present application;
[0070] Figure 4 This is a schematic diagram of the module structure of the image processing device according to an embodiment of the present application;
[0071] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the image processing method in the embodiment of the present application.
[0072] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0073] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0074] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0075] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 The implementation environment includes at least one infrared thermal imaging camera 101 ( Figure 1 The infrared thermal imaging camera 101 and the terminal 102 are connected via a wireless or wired network. For example, the infrared thermal imaging camera 101 includes a pan / tilt camera, a spherical camera, a barrel camera or other types of cameras. For example, the infrared thermal imaging camera 101 also includes a telescope, such as a monocular telescope or a binocular telescope. For example, the terminal 102 includes a computer, a mobile phone, a tablet computer or other types of terminals.
[0076] Among them, any infrared thermal imaging camera 101 or terminal 102 has one or more functions of data processing, network communication, and program running. Any infrared thermal imaging camera 101 is used to capture images and send the captured images to terminal 102, and terminal 102 is used to perform image processing using the method provided in this application. Alternatively, any infrared thermal imaging camera 101 is used to perform image processing using the method provided in this application alone.
[0077] Figure 2 FIG. 1 is a flowchart of an image processing method provided by an exemplary embodiment of the present application. Taking the execution subject as an infrared thermal imaging camera as an example, referring to Figure 2 , the image processing method comprises:
[0078] Step S10: Determine the magnification of the first image based on the image magnification operation.
[0079] The infrared thermal imaging camera detects infrared energy in a non-contact manner and converts it into electrical signals through sensors to obtain images and temperature information. After acquiring the image, the image is displayed on the display of the infrared thermal imaging camera, and the user can view the image. Furthermore, the user can also perform image zooming operations to enlarge the area of interest in the image to more clearly view the target in the area of interest.
[0080] Optionally, the image zoom operation includes an image magnification operation based on display detection. For example, a user performs an image zoom operation based on the display, and the image zoom operation indicates a first image to be magnified and a magnification factor of the first image. The infrared thermal imaging camera can detect the image zoom operation based on the display and determine the first image to be magnified and a magnification factor of the first image. The image zoom operation can be any preset operation, such as a double-click operation, a drag operation, a sliding operation, etc.
[0081] Optionally, the image zoom operation includes an image magnification operation based on physical knob detection. For example, a physical knob is provided on the infrared thermal imaging camera, and the physical knob is used to control the zoom of the displayed image. Accordingly, the user can perform the image magnification operation based on the physical knob.
[0082] Optionally, the first image is a partial image of the original image displayed, which is magnified by the image zoom operation. The original image is the image displayed on the display before the image zoom operation is performed. Exemplarily, after determining the first image and the magnification of the first image, the infrared thermal imaging camera also records the position coordinates of the first image in the original image and the magnification of the first image.
[0083] Step S20: Based on the corresponding relationship between the sensitivity parameter of the thermal imaging detector and the image magnification, determine the sensitivity parameter that matches the magnification of the first image, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter.
[0084] The infrared thermal imaging camera includes a thermal imaging detector and an image processing unit. The thermal imaging detector is used to detect infrared energy and convert the infrared energy into an original grayscale image. The image processing unit processes the original grayscale image and translates it into an image that can be viewed on a display.
[0085] Among them, the original grayscale image is also called RAW image (raw image). The original grayscale image includes multiple grayscales. The grayscale range of a single pixel in the original grayscale image is represented by 14-bit data. The original grayscale image has 16384 grayscales. Each grayscale represents a different level of brightness from the darkest to the brightest. The higher the temperature of the object, the greater the infrared energy emitted, and the higher the brightness of the corresponding grayscale range in the original grayscale image. In this way, different grayscale ranges can represent different temperature ranges, thereby recording the temperature information of objects in the environment.
[0086] The sensitivity parameter of the thermal imaging detector is used to indicate the detection sensitivity of the thermal imaging detector. In general, the sensitivity parameter of the thermal imaging detector is a preset parameter, and the observed temperature range is large to ensure that as many objects as possible are recorded in the original grayscale image, thereby increasing the probability of detecting the target. When the user's image zoom operation is detected, it means that the current observed target is a small target at a long distance. Since the infrared energy emitted by such a small target at a long distance is lost over a long distance, the infrared energy that can be detected when it reaches the thermal imaging detector is small. In this case, the detection sensitivity of the thermal imaging detector is increased to enhance the signal response capability of the thermal imaging detector, thereby narrowing the observed temperature range. When the number of grayscales remains unchanged, the grayscale range corresponding to each temperature value in the original grayscale image detected becomes larger, the presented picture effect is more delicate, and the target in the original grayscale image is more prominent.
[0087] It can be understood that the greater the image magnification, the farther the distance between the target and the thermal imaging detector, and the smaller the infrared energy that the thermal imaging detector can detect. Therefore, setting the image magnification to be positively correlated with the detection sensitivity indicated by the sensitivity parameter can enable the thermal imaging detector to detect the target with a higher detection sensitivity, further narrowing the observed temperature range, and then the grayscale range corresponding to each temperature value in the original grayscale image detected is larger, and the grayscale range corresponding to the temperature range of the corresponding target is also larger, thereby making the target in the original grayscale image more prominent. In other words, setting the image magnification to be positively correlated with the detection sensitivity indicated by the sensitivity parameter can improve the clarity of the image detected by the thermal imaging detector to highlight the observed target.
[0088] Optionally, the infrared thermal imaging camera stores a correspondence between the sensitivity parameter of the thermal imaging detector and the image magnification. Accordingly, after determining the magnification of the first image, the infrared thermal imaging camera searches for the sensitivity parameter corresponding to the magnification from the correspondence as the sensitivity parameter matching the magnification. Exemplarily, the correspondence is in a table form, i.e., a correspondence table between the sensitivity parameter and the image magnification.
[0089] Optionally, the sensitivity parameter includes an integration time and / or an integration capacitance, that is, the sensitivity parameter includes at least one of the integration time or the integration capacitance. Wherein, within a certain range, the integration time and the integration capacitance are positively correlated with the detection sensitivity of the thermal imaging detector, that is, the longer the integration time, the higher the sensitivity of the thermal imaging detector, and the larger the integration capacitance, the higher the sensitivity of the thermal imaging detector. Accordingly, based on the correspondence between the sensitivity parameter of the thermal imaging detector and the image magnification, determining the sensitivity parameter that matches the magnification of the first image includes: based on the correspondence between the integration time of the thermal imaging detector and the image magnification, determining the integration time that matches the magnification of the first image, wherein the image magnification is positively correlated with the integration time; and / or, based on the correspondence between the integration capacitance of the thermal imaging detector and the image magnification, determining the integration capacitance that matches the magnification of the first image, wherein the image magnification is positively correlated with the integration capacitance.
[0090] It should be noted that the sensitivity parameter may also include other parameters besides the integration time and the integration capacitance, which is not limited in the embodiment of the present application.
[0091] In the embodiment of the present application, since the integration time and the integration capacitance are positively correlated with the detection sensitivity of the thermal imaging detector, setting the image magnification to be positively correlated with the integration time and the integration capacitance can ensure that when the magnification of the first image is larger, the matched integration time or integration capacitance is also larger, thereby making the sensitivity of the thermal imaging detector higher, ensuring the clarity of the image detected by the thermal imaging detector, and making the target in the image more prominent.
[0092] Step S30: using a thermal imaging detector to acquire a second image based on a sensitivity parameter that matches the magnification of the first image.
[0093] For example, the observation target is kept unchanged, and the second image is detected by using a thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image.
[0094] It should be noted that the sensitivity parameter matched by each image magnification is obtained by the tester based on the test results. For example, for any image magnification, the first image is magnified based on the image magnification, and different sensitivity parameters are used to obtain the second image. The quality of each second image is evaluated, and the sensitivity parameter corresponding to the second image with the best quality is determined as the sensitivity parameter matched by the image magnification, so as to obtain the sensitivity parameter matched by each image magnification. Then each image magnification and the matched sensitivity parameter are stored in the infrared thermal imaging camera. Among them, the image quality includes the clarity, fineness, and target prominence of the image. It can be understood that by determining the sensitivity parameter matched by the image magnification in this way, for any image magnification, it can be ensured that the second image obtained with the sensitivity parameter matched by the image magnification has better image quality than the first image.
[0095] Optionally, the first image is a local image of the displayed original image, which is magnified by the image zoom operation. Accordingly, using a thermal imaging detector based on a sensitivity parameter matching the magnification of the first image, the second image is acquired, including: using the thermal imaging detector based on the sensitivity parameter matching the magnification of the first image to detect and obtain a reference image; determining a cropping parameter, the cropping parameter indicating the position coordinates of the first image in the original image; based on the cropping parameter, cropping the reference image to obtain the second image. The reference image has the same field of view as the original image, and the second image has the same field of view as the first image.
[0096] The field of view refers to the field of view observed by the thermal imaging detector. Accordingly, the same field of view of the reference image and the original image means that the reference image and the original image have the same field of view, which can also be understood as the objects and the sizes of the objects in the reference image and the original image are the same. Similarly, the same field of view of the second image and the first image means that the same field of view of the second image and the first image, which can also be understood as the objects and the sizes of the objects in the second image and the first image are the same.
[0097] In the embodiment of the present application, the reference image is first detected based on the sensitivity parameter matching the magnification of the first image to ensure the clarity and target prominence of the reference image. Then the cropping parameters are determined according to the position coordinates of the first image in the original image. Since the reference image has the same field of view as the original image, the reference image is cropped according to the cropping parameters, and the obtained second image has the same field of view as the first image. Then, when the second image is subsequently displayed, for the user, after the image zoom operation is performed, the image field of the displayed second image does not change relative to the first image magnified by the user, but the presented picture effect is more delicate and the target therein is more prominent.
[0098] Step S40: Display the second image.
[0099] Exemplarily, after obtaining the second image, the infrared thermal imaging camera displays the second image on a display. Alternatively, the infrared thermal imaging camera performs image processing on the second image and then displays the second image on a display.
[0100] Optionally, the first image is a partial image magnified by the image zoom operation, and the second image is a cropped image with the same field of view as the first image. Accordingly, displaying the second image includes: magnifying the second image according to the magnification of the first image, and then displaying the second image on the display. For the user, after performing the image zoom operation, the second image displayed on the display has no change in the field of view and the size of the image relative to the magnified first image, but the presented picture effect is more delicate and the target therein is more prominent.
[0101] The image processing solution provided by the present application takes into account that the image magnification operation indicates that the current observation target is a small target at a long distance. For such a small target at a long distance, it is also taken into account that the infrared energy emitted by the target is lost over a long distance, and the infrared energy that can be detected when it reaches the thermal imaging detector is relatively small. In this case, improving the detection sensitivity of the thermal imaging detector to acquire the image will not only not cause image overexposure, but will improve the clarity of the image. Therefore, a corresponding relationship between the sensitivity parameter of the thermal imaging detector and the image magnification is set, and the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter. Once the image magnification operation is detected, the sensitivity parameter matching the magnification of the first image is selected to acquire the second image, thereby ensuring the clarity of the second image displayed after the user performs the image magnification operation, and making the target in the image more prominent.
[0102] exist Figure 2 Based on the shown embodiment, Figure 3 A flowchart of an image processing method provided by an exemplary embodiment of the present application is shown, which introduces that after obtaining a reference image based on a sensitivity parameter matching the magnification of a first image, the reference image is further processed based on an image processing parameter matching the magnification to obtain a second image. Figure 3 Taking the execution subject as an infrared thermal imaging camera as an example, the image processing method includes:
[0103] Step S10: Determine the magnification of the first image based on the image magnification operation.
[0104] Step S20: Based on the corresponding relationship between the sensitivity parameter of the thermal imaging detector and the image magnification, determine the sensitivity parameter that matches the magnification of the first image, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter.
[0105] The implementation of step S10 and step S20 can be referred to the above embodiment and will not be described in detail here.
[0106] Step S301: using a thermal imaging detector to detect and obtain a reference image based on a sensitivity parameter that matches the magnification of the first image.
[0107] Optionally, the first image is a local image of the original image that is magnified by the image zoom operation. The reference image has the same field of view as the original image. After obtaining the reference image, a cropping parameter is also determined, and the cropping parameter indicates the position coordinates of the first image in the original image. Then, based on the cropping parameter, the reference image is cropped, and the cropped reference image has the same field of view as the first image. Accordingly, the subsequent image processing process for the reference image can be an image processing process for the cropped reference image.
[0108] Step S302: Determine image processing parameters that match the magnification of the first image.
[0109] Optionally, the infrared thermal imaging camera stores a correspondence between image magnifications and matching image processing parameters. Accordingly, this step is implemented by determining image processing parameters that match the magnification of the first image based on the correspondence between the image magnifications and the image processing parameters. This method can accurately and quickly determine image processing parameters that match the magnification of the first image.
[0110] Optionally, before the infrared thermal imaging camera determines the image processing parameters that match the magnification of the first image, it must first determine the image processing parameters that match each image magnification, and the implementation method is: determine multiple preset magnifications and image processing parameters that match the multiple preset magnifications; interpolate and fit the multiple preset magnifications and the image processing parameters that match the multiple preset magnifications to obtain image processing parameters that match the image magnifications between the multiple preset magnifications.
[0111] The preset magnification can be set as required. For example, the preset magnification is 1.5 times, 2 times, 3 times, 4 times, etc. The algorithm for interpolating and fitting multiple preset magnifications and image processing parameters matching the multiple preset magnifications can adopt any algorithm as required, and the embodiment of the present application does not limit this.
[0112] Optionally, the infrared thermal imaging camera is provided with a plurality of image processing units, such as a noise reduction unit, a sharpening unit, a grayscale mapping unit, etc. Correspondingly, the image processing parameters also have a plurality of types, such as a noise reduction parameter, a sharpening parameter, a grayscale mapping parameter, etc. For each image magnification, it is necessary to obtain a plurality of types of image processing parameters matching the image magnification through the above steps.
[0113] It should be noted that the image processing parameters matched by each preset magnification are obtained by the tester based on the test results. For example, for an image corresponding to any preset magnification, multiple different image processing parameters are used for processing, the image processing effect is evaluated, and the image processing parameters with the best image processing effect are used as the image processing parameters corresponding to the preset magnification. In the case where multiple image processing units are set in the infrared thermal imaging camera, for any image processing unit, the image processing parameters matching each image magnification must be obtained by the above-mentioned test method. In addition, considering that multiple image processing units correspond to multiple types of image processing parameters, these multiple types of image processing parameters may affect each other in terms of the effects of image processing. Therefore, when determining the various types of image processing parameters matching each image magnification, other types of image processing parameters can also be combined. For example, when determining the sharpening parameters matching a certain image magnification, the noise reduction parameters matching the image magnification are combined. In this way, linkage tuning of multiple types of image processing parameters is achieved.
[0114] In the embodiment of the present application, multiple preset magnifications and image processing parameters matching the multiple preset magnifications are determined, and image processing parameters matching the image magnifications between the multiple preset magnifications are obtained by difference fitting, which can greatly improve the efficiency of determining the image processing parameters. And because the image processing parameters matching the multiple preset magnifications are obtained by testing, the processing effect of the image corresponding to each preset magnification can be guaranteed, thereby ensuring the adaptability of the image processing parameters matching the image magnifications between the multiple preset magnifications obtained by difference fitting.
[0115] Step S303: Process the reference image using the image processing parameters to obtain a second image.
[0116] Optionally, the image processing unit in the infrared thermal imaging camera includes a noise reduction unit, and the image processing parameters of the noise reduction unit include noise reduction parameters. Accordingly, the reference image is processed using the image processing parameters to obtain a second image, including: based on the noise reduction parameters, the reference image is subjected to noise reduction processing to obtain the second image, so as to improve the image quality of the second image. It should be noted that noise reduction is a method for removing flicker noise and spatial fixed noise between image frames in a time series. While removing noise, there will also be a loss of weak detail textures. Therefore, the setting of the noise reduction parameters will weigh the overall effect of the image.
[0117] Optionally, the image processing unit in the infrared thermal imaging camera includes a sharpening unit, and the image processing parameters of the sharpening unit include sharpening parameters. Accordingly, the reference image is processed using the image processing parameters to obtain a second image, including: the reference image is processed using the sharpening parameters to obtain the second image, so as to improve the image quality of the second image. It should be noted that sharpening is a method of enhancing image details, and the purpose of enhancing the sharpness of image edges is achieved by enhancing the high and low frequency information of the image. While increasing the details, some noise will also be enhanced. Therefore, the setting of the sharpening parameters will weigh the overall effect of the image.
[0118] Optionally, the sharpening parameters include edge sharpening parameters. Accordingly, the reference image is processed using the image processing parameters to obtain the second image, including: based on the edge sharpening parameters, sharpening the edge of the object in the reference image to obtain the second image. The width of the edge of the object in the second image is not greater than the width of the edge of the object in the reference image.
[0119] Among them, the edge sharpening parameter is used to suppress the width of the edge of the object in the image, that is, to suppress the number of pixels occupied by the edge of the object in the image in terms of width. In this way, from the user's visual perspective, the thickness of the edge of the object in the second image is the same as or thinner than the edge of the object in the reference image, which can avoid image blurring caused by too thick edges after image enlargement.
[0120] In the embodiment of the present application, considering that the image is cropped and enlarged, the edge of the target in the image will also be enlarged synchronously. Compared with other areas, the blurring phenomenon of the target edge will be more obvious, which has a greater impact on the image quality. Therefore, setting the edge sharpening parameter to suppress the width of the edge of the target in the reference image can effectively improve the picture effect and make the target more prominent.
[0121] Optionally, the image processing unit in the infrared thermal imaging camera includes a grayscale mapping unit, and the image processing parameters of the grayscale mapping unit include grayscale mapping parameters. Exemplarily, the grayscale mapping parameters indicate the use of target grayscale mapping, and accordingly, the reference image is processed using the image processing parameters to obtain a second image, including: grayscale mapping is performed based on the target area in the reference image to obtain the second image. The target can be set to any object as needed, such as a person, an animal, a vehicle, etc.
[0122] Taking the reference image as 14-bit data as an example, grayscale mapping refers to converting the reference image into an 8-bit visual image. Of course, the present application is not limited to this conversion scheme. For example, it can also be converting a 16-bit reference image into an 8-bit visual image. In addition, the present application does not limit the algorithm used for grayscale mapping. For example, linear mapping, histogram mapping or other grayscale mapping algorithms can be used.
[0123] Optionally, grayscale mapping is performed based on the area where the target in the reference image is located to obtain a second image, including: determining the temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment, and the emissivity of the infrared energy of the target; grayscale mapping is performed on the reference image based on the temperature range corresponding to the target to obtain the second image. Among them, the proportion of the number of grayscales allocated to the temperature range corresponding to the target in the second image is greater than the proportion of the number of grayscales allocated to the temperature range corresponding to the target in the reference image. For example, in the process of grayscale mapping of the reference image, more grayscales are allocated to the temperature range corresponding to the target, so that the proportion of the number of grayscales in the temperature range corresponding to the target in the second image is larger than that in the reference image. For example, in the reference image, the proportion of the number of grayscales allocated to the temperature range corresponding to the target is 20%. In the second image, the proportion of the number of grayscales allocated to the temperature range corresponding to the target is 30%.
[0124] Since the infrared thermal imaging camera is equipped with a distance measuring unit, the distance between the target and the thermal imaging detector can be measured. This application does not limit the time of measuring the distance. The infrared thermal imaging camera is also equipped with a temperature sensor that can measure the temperature of the current environment. The infrared energy emissivity of the target can be preset in the infrared thermal imaging camera in advance so that it can be called up at any time during the grayscale mapping process.
[0125] Optionally, the infrared thermal imaging camera determines the temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment and the emissivity of the infrared energy of the target by obtaining a mapping relationship between the distance, the temperature and emissivity of the environment and the temperature range corresponding to the target in the reference image, and based on the mapping relationship, maps the currently measured distance between the target and the thermal imaging detector, the temperature of the environment and the emissivity of the infrared energy of the target to the temperature range corresponding to the target in the reference image.
[0126] In an embodiment of the present application, grayscale mapping is performed on the reference image so that the proportion of grayscale allocated to the temperature range corresponding to the target in the second image is greater than the proportion of grayscale allocated to the temperature range corresponding to the target in the reference image. Therefore, the grayscale level of the area where the target is located in the second image is more obvious and the image is more delicate, thereby making the target in the second image more prominent.
[0127] Optionally, after grayscale mapping is performed based on the target region in the reference image to obtain the second image, stylization processing can be performed on the target region in the second image to improve target visibility, for example, adding color to the target region, etc., which is not limited in the embodiments of the present application.
[0128] Exemplarily, the grayscale mapping parameters indicate the use of global grayscale mapping, and accordingly, the reference image is processed using the image processing parameters to obtain the second image, including: performing grayscale mapping based on all position areas in the reference image to obtain the second image, so that the second image can be acquired simply and efficiently.
[0129] In an embodiment of the present application, two grayscale mapping schemes are provided. Grayscale mapping can be performed based on all position areas in the reference image, and grayscale mapping can be performed based on the area where the target is located, that is, grayscale mapping is performed on the reference image based on the temperature range corresponding to the target. In this way, matching grayscale mapping parameters can be determined based on the image magnification, so as to select a mapping scheme that is more suitable for the current image magnification, thereby ensuring the effect of grayscale mapping, improving the quality of the second image, and making the target therein more prominent.
[0130] Step S40: Display the second image.
[0131] In the embodiment of the present application, based on the reference image obtained based on the sensitivity parameter matching the magnification of the first image, the image processing parameter matching the magnification is determined, and the reference image is processed using the image processing parameter. Since the image processing parameter is more compatible with the reference image, the image processing effect is better, and the second image obtained after processing has higher clarity, a more delicate picture, and a more prominent target.
[0132] It should be noted that if the above image processing process is for a cropped reference image, then before displaying the second image, the processed second image needs to be enlarged according to the magnification factor of the first image and then displayed.
[0133] Another point that needs to be explained is that the solution described in the above embodiment is: the cropped reference image is first processed by the image processing parameters matching the magnification to obtain the second image, and then the second image is amplified according to the magnification of the first image to display the amplified second image. In other embodiments, the cropped reference image may be amplified first, and then the amplified reference image is processed by the image processing parameters to obtain the amplified second image, and then the amplified second image is displayed.
[0134] Another point that needs to be explained is that thermal imaging detectors currently do not have automatic exposure hardware implementation. Infrared applications generally observe long distances and small targets, and the need for magnification is more urgent. The current solution will trigger digital magnification after the optical zoom reaches the upper limit, that is, the image is magnified by reducing the total number of pixels, which will reduce the overall image clarity. The focus of the visible local area during digital zoom is mostly small targets at a distance, and more emphasis is placed on processing dimensions such as image noise, target highlighting, and sharpening and outlining. The current mainstream infrared thermal imaging digital zoom solution in the industry is still based on algorithms and hardware tuning based on global data. No solution has been developed for the local image area under digital zoom, which is not conducive to target recognition in the area of interest after zooming in.
[0135] The solution provided in the embodiment of the present application, when triggering digital zoom, links the sensitivity parameters of the thermal imaging detector, and reduces the observed temperature range by improving the detection sensitivity of the thermal imaging detector, thereby increasing the grayscale level in the image and improving the visibility of the target. In addition, the ISP (Image Signal Processor) is linked according to the local image after digital zoom. Therefore, it is possible to provide the best image effect under the corresponding image magnification for different image magnifications by combining the sensitivity parameters of the thermal imaging detector and the image processing parameters of the image signal processor. In addition, since the parameters under each image magnification can be adapted separately, it is possible to improve the target highlighting effect of the image under different image magnifications, and the parameter generalization adaptability is better, and it is also applicable to low temperature difference scenes.
[0136] It should be noted that the present application does not limit the algorithm used for digital zoom. For example, a traditional interpolation magnification algorithm, a super-resolution algorithm, etc. may be used. Among them, the super-resolution algorithm reconstructs a high-resolution image from a low-resolution image through a convolutional neural network. Compared with the traditional interpolation magnification algorithm, the super-resolution algorithm can significantly improve the quality of image reconstruction.
[0137] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the image processing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0138] This application also provides an image processing device, please refer to Figure 4 , the image processing device comprises:
[0139] An operation detection module 10, used to determine the magnification of the first image based on the image magnification operation;
[0140] A parameter determination module 20, for determining a sensitivity parameter that matches the magnification of the first image based on a correspondence between a sensitivity parameter of the thermal imaging detector and an image magnification, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter;
[0141] An image acquisition module 30, for acquiring a second image using a thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image;
[0142] The image display module 40 is used to display the second image.
[0143] Optionally, the sensitivity parameters include integration time and / or integration capacitance;
[0144] A parameter determination module 20 is used to determine an integration time that matches the magnification of the first image based on the corresponding relationship between the integration time of the thermal imaging detector and the image magnification, and the image magnification is positively correlated with the integration time; and / or,
[0145] The parameter determination module 20 is used to determine the integral capacitance matching the magnification of the first image based on the corresponding relationship between the integral capacitance of the thermal imaging detector and the image magnification, and the image magnification is positively correlated with the integral capacitance.
[0146] Optionally, the image acquisition module 30 includes:
[0147] An image detection unit, configured to detect and obtain a reference image using a thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image;
[0148] a parameter determination unit, configured to determine an image processing parameter that matches the magnification of the first image;
[0149] The image processing unit is used to process the reference image using the image processing parameters to obtain a second image.
[0150] Optionally, the parameter determination unit is further used to determine multiple preset magnifications and image processing parameters matching the multiple preset magnifications; perform interpolation fitting on the multiple preset magnifications and the image processing parameters matching the multiple preset magnifications to obtain image processing parameters matching the image magnifications between the multiple preset magnifications.
[0151] Optionally, the image processing parameters include edge sharpening parameters;
[0152] The image processing unit is used to sharpen the edge of the target in the reference image based on the edge sharpening parameter to obtain a second image, wherein the width of the edge of the target in the second image is not greater than the width of the edge of the target in the reference image.
[0153] Optionally, the image processing parameters include grayscale mapping parameters; and the image processing unit includes:
[0154] A first mapping subunit is used to perform grayscale mapping based on the target area in the reference image to obtain a second image;
[0155] or,
[0156] The second mapping subunit is used to perform grayscale mapping based on all position areas in the reference image to obtain a second image.
[0157] Optionally, the first mapping subunit is used to determine the temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment and the emissivity of the infrared energy of the target; based on the temperature range corresponding to the target, grayscale mapping is performed on the reference image to obtain a second image, in which the proportion of grayscales allocated to the temperature range corresponding to the target in the second image is greater than the proportion of grayscales allocated to the temperature range corresponding to the target in the reference image.
[0158] Optionally, the first image is a partial image of the displayed original image, which is magnified by the image zoom operation indication;
[0159] The image acquisition module is used to detect and obtain a reference image using a thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image, and the reference image has the same field of view as the original image; determine a cropping parameter, and the cropping parameter indicates the position coordinates of the first image in the original image; based on the cropping parameter, crop the reference image to obtain a second image, and the second image has the same field of view as the first image.
[0160] The image processing device provided by the present application adopts the image processing method in the above embodiment, and when the image is digitally zoomed, the clarity of the enlarged local image can be improved to make the target more prominent. Compared with the related art, the beneficial effects of the image processing device provided by the present application are the same as the beneficial effects of the image processing method provided by the above embodiment, and other technical features in the image processing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0161] The present application provides an image processing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the image processing method in the above-mentioned embodiment one.
[0162] Reference below Figure 5 , which shows a schematic diagram of the structure of an image processing device suitable for implementing the embodiment of the present application. The image processing device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The image processing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0163] like Figure 5As shown, the image processing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a ROM (Read Only Memory) 1002 or a program loaded from a storage device 1003 to a RAM (Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the image processing device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the image processing device to communicate with other devices wirelessly or by wire to exchange data. Although the image processing device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0164] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0165] The image processing device provided by the present application adopts the image processing method in the above embodiment, which can solve the technical problems of low image clarity and low target visibility in the relevant digital zoom scheme. Compared with the relevant technology, the beneficial effects of the image processing device provided by the present application are the same as the beneficial effects of the image processing method provided by the above embodiment, and the other technical features in the image processing device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0166] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0167] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0168] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the image processing method in the above-mentioned embodiment.
[0169] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory), optical fiber, CD-ROM (CD-Read Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0170] The computer-readable storage medium may be included in the image processing device; or may exist independently without being installed in the image processing device.
[0171] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the image processing device, the image processing device: determines the magnification of the first image based on the image magnification operation; determines the sensitivity parameter matching the magnification of the first image based on the correspondence between the sensitivity parameter of the thermal imaging detector and the image magnification; uses the thermal imaging detector to obtain the second image based on the sensitivity parameter matching the magnification of the first image; and displays the second image.
[0172] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or it can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0173] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a 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. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0174] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0175] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned image processing method, and can solve the technical problems of low image clarity and low target visibility in the relevant digital zoom scheme. Compared with the relevant technology, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the image processing method provided by the above-mentioned embodiment, and will not be repeated here.
[0176] The present application also provides a computer program product, including a computer program, which implements the above-mentioned image processing method when executed by a processor.
[0177] The computer program product provided by the present application can solve the technical problems of low image clarity and low target visibility in the relevant digital zoom scheme. Compared with the relevant technology, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the image processing method provided by the above embodiment, which will not be repeated here.
[0178] The above descriptions are only some embodiments of the present application, and are not intended to limit the scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the protection scope of the present application.
Claims
1. An image processing method, characterized in that: The image processing method comprises: Determining the magnification of the first image based on the image magnification operation; Determining a sensitivity parameter that matches the magnification of the first image based on a correspondence between a sensitivity parameter of a thermal imaging detector and an image magnification, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter; Acquire a second image using the thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image; The second image is displayed.
2. The image processing method according to claim 1, characterized in that: The sensitivity parameters include integration time and / or integration capacitance; The step of determining the sensitivity parameter that matches the magnification of the first image based on the correspondence between the sensitivity parameter of the thermal imaging detector and the image magnification comprises: Based on the corresponding relationship between the integration time of the thermal imaging detector and the image magnification, determining the integration time that matches the magnification of the first image, the image magnification being positively correlated with the integration time; and / or, Based on the corresponding relationship between the integral capacitance of the thermal imaging detector and the image magnification, an integral capacitance matching the magnification of the first image is determined, and the image magnification is positively correlated with the integral capacitance.
3. The image processing method according to claim 1, characterized in that: The method of acquiring a second image by using the thermal imaging detector based on a sensitivity parameter matching the magnification of the first image includes: Using the thermal imaging detector, based on a sensitivity parameter that matches the magnification of the first image, a reference image is detected; determining image processing parameters that match the magnification of the first image; The reference image is processed using the image processing parameters to obtain the second image.
4. The image processing method according to claim 3, characterized in that: Before determining the image processing parameters matching the magnification of the first image, the method further includes: Determining a plurality of preset magnifications and image processing parameters matching the plurality of preset magnifications; Interpolation fitting is performed on the multiple preset magnifications and image processing parameters matching the multiple preset magnifications to obtain image processing parameters matching image magnifications between the multiple preset magnifications.
5. The image processing method according to claim 3, characterized in that: The image processing parameters include edge sharpening parameters; The step of processing the reference image using the image processing parameters to obtain the second image includes: Based on the edge sharpening parameter, the edge of the object in the reference image is sharpened to obtain the second image, and the width of the edge of the object in the second image is not greater than the width of the edge of the object in the reference image.
6. The image processing method according to claim 3, characterized in that: The image processing parameters include grayscale mapping parameters; The step of processing the reference image using the image processing parameters to obtain the second image includes: Performing grayscale mapping based on the target area in the reference image to obtain the second image; or, The step of processing the reference image using the image processing parameters to obtain the second image includes: Grayscale mapping is performed based on all position areas in the reference image to obtain the second image.
7. The image processing method according to claim 6, characterized in that: The step of performing grayscale mapping based on the target region in the reference image to obtain the second image includes: Determining a temperature range corresponding to the target in the reference image based on the distance between the target and the thermal imaging detector, the temperature of the environment, and the emissivity of infrared energy of the target; Based on the temperature range corresponding to the target, grayscale mapping is performed on the reference image to obtain the second image, wherein the proportion of grayscales allocated to the temperature range corresponding to the target in the second image is greater than the proportion of grayscales allocated to the temperature range corresponding to the target in the reference image.
8. The image processing method according to claim 1, characterized in that: The first image is a partial image of the displayed original image, and the image zoom operation indicates the magnification of the partial image; The method of acquiring a second image by using the thermal imaging detector based on a sensitivity parameter matching the magnification of the first image includes: Using the thermal imaging detector, based on a sensitivity parameter matching the magnification of the first image, a reference image is detected, wherein the reference image has the same field of view as the original image; determining a cropping parameter, wherein the cropping parameter indicates a position coordinate of the first image in the original image; The reference image is cropped based on the cropping parameters to obtain the second image, where the second image has the same field of view as the first image.
9. An image processing device, characterized in that: The image processing device comprises: An operation detection module, used to determine the magnification of the first image based on the image magnification operation; a parameter determination module, configured to determine a sensitivity parameter matching the magnification of the first image based on a correspondence between a sensitivity parameter of a thermal imaging detector and an image magnification, wherein the image magnification is positively correlated with the detection sensitivity indicated by the sensitivity parameter; An image acquisition module, configured to acquire a second image using the thermal imaging detector based on a sensitivity parameter that matches the magnification of the first image; An image display module is used to display the second image.
10. An image processing device, characterized in that: The image processing device comprises: a memory, a processor, and an image processing program stored in the memory and executable on the processor, wherein the image processing program implements the image processing method according to any one of claims 1 to 8 when executed by the processor.
11. A storage medium, characterized in that: The storage medium stores an image processing program, and when the image processing program is executed by the processor, the image processing method according to any one of claims 1 to 8 is implemented.
12. A computer program product, characterized in that The computer program product comprises an image processing program, and when the image processing program is executed by a processor, the image processing method according to any one of claims 1 to 8 is implemented.