Processing method and device, equipment and storage medium

By providing task-specific image processing models and adjustment coefficients for in-vehicle cameras, the problem of poor image processing effects in the existing technology is solved, the quality and speed of completing visual tasks are improved, and the support for automotive safety and intelligent driving technology is enhanced.

CN118628992APending Publication Date: 2024-09-10LENOVO (BEIJING) LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410532667.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology fails to perform targeted optimization according to the needs of different downstream visual tasks in vehicle image processing, resulting in poor image processing effects and affecting the development of automotive safety and intelligent driving technology.

Method used

By providing corresponding image processing models and adjustment coefficients for different visual tasks, and adjusting the camera acquisition parameters according to the image feature parameter distribution information, it ensures that the image processing model can better extract and analyze the information required for visual tasks.

Benefits of technology

It improves the performance of vehicle cameras in different tasks, provides more accurate data support, and enhances the support capabilities of automotive safety and intelligent driving technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628992A
    Figure CN118628992A
Patent Text Reader

Abstract

The invention provides a processing method and device, equipment and a storage medium. The method comprises the steps of obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; visual tasks corresponding to the first image processing model and the second image processing model are different; obtaining a first image through the first image adjustment coefficient and a target image acquisition device, and outputting the first image to the first image processing model; and obtaining a second image through the second image adjustment coefficient and the target image acquisition device, and outputting the second image to the second image processing model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to a processing method, device, equipment and storage medium. Background Art

[0002] With the rapid development of information technology, various intelligent application scenarios are constantly emerging, and the demand for computer vision technology is also growing. In many computer vision tasks such as target recognition, object tracking, and scene understanding, these visual tasks require the ability to extract key information from complex images and perform accurate analysis and judgment. Summary of the invention

[0003] The present disclosure provides a processing method, an apparatus, a device and a storage medium to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, a processing method is provided, the method comprising:

[0005] Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0006] Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model;

[0007] A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

[0008] In one possible implementation manner, obtaining the first image through the first image adjustment coefficient and the target image acquisition device includes:

[0009] Obtaining an original image captured by the target image acquisition device;

[0010] The original image is adjusted using the first image adjustment coefficient to obtain a first image.

[0011] In one possible implementation manner, obtaining the first image through the first image adjustment coefficient and the target image acquisition device includes:

[0012] adjusting the acquisition parameters of the target image acquisition device by using the first image adjustment coefficient;

[0013] The first image is obtained by the target image acquisition device after adjusting the parameters.

[0014] In one possible implementation manner, the first image adjustment coefficient is obtained by:

[0015] A first image adjustment coefficient is obtained through a sample set, where the sample set is a training sample of the first image processing model.

[0016] In one possible implementation manner, obtaining the first image adjustment coefficient through the sample set includes:

[0017] Obtaining a first parameter range through the sample set;

[0018] A first image adjustment coefficient is obtained through the first parameter range.

[0019] In one possible implementation manner, obtaining the first parameter range through the sample set includes:

[0020] Obtaining image feature parameter distribution information of sample images in the sample set;

[0021] The first parameter range is obtained through image feature parameter distribution information of the sample image.

[0022] In one possible implementation manner, obtaining the first image adjustment coefficient through the sample set includes:

[0023] Obtaining a first parameter range through the sample set;

[0024] Acquire original images of a historical time period, and determine image feature parameters of the original images of the historical time period;

[0025] Obtaining a second parameter range through image feature parameters of the original image in the historical time period;

[0026] A first image adjustment coefficient is obtained through the first parameter range and the second parameter range.

[0027] According to a second aspect of the present disclosure, a processing device is provided, the device comprising:

[0028] An adjustment coefficient obtaining module, used to obtain a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0029] A first image acquisition module, used for acquiring a first image through the first image adjustment coefficient and a target image acquisition device, and outputting the first image to the first image processing model;

[0030] The second image acquisition module is used to obtain the second image through the second image adjustment coefficient and the target image acquisition device, and output the second image to the second image processing model.

[0031] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0032] At least one target image acquisition device, used for acquiring an original image;

[0033] Processor; and

[0034] A memory communicatively connected to the processor; wherein,

[0035] The memory stores instructions executable by the processor, the instructions being executed by the processor to enable the processor to perform:

[0036] Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0037] Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model;

[0038] A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

[0039] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute:

[0040] Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0041] Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model;

[0042] A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

[0043] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0045] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0046] Figure 1 A schematic diagram showing a process flow of a processing method according to an embodiment of the present disclosure is shown;

[0047] Figure 2 A schematic diagram of a process of obtaining a first image in an embodiment of the present disclosure is shown;

[0048] Figure 3 A schematic diagram of another process of obtaining a first image according to an embodiment of the present disclosure is shown;

[0049] Figure 4 A schematic diagram of a process of obtaining a second image according to an embodiment of the present disclosure is shown;

[0050] Figure 5 A schematic diagram of another process of obtaining a second image according to an embodiment of the present disclosure is shown;

[0051] Figure 6 A schematic diagram of a process for obtaining a first image adjustment coefficient according to an embodiment of the present disclosure is shown;

[0052] Figure 7 A schematic diagram of a process for obtaining a first parameter range in an embodiment of the present disclosure is shown;

[0053] Figure 8 A schematic diagram of another process of obtaining a first image adjustment coefficient according to an embodiment of the present disclosure is shown;

[0054] Fig. 9 A schematic diagram of a process for obtaining a second image adjustment coefficient according to an embodiment of the present disclosure is shown;

[0055] Fig.10 A schematic diagram of a process for obtaining a third parameter range in an embodiment of the present disclosure is shown;

[0056] Fig.11 A schematic diagram of another process of obtaining a second image adjustment coefficient according to an embodiment of the present disclosure is shown;

[0057] Fig.12 A schematic diagram of the structure of a processing device according to an embodiment of the present disclosure is shown;

[0058] Fig.13 A schematic diagram showing the structure of an electronic device according to an embodiment of the present disclosure is shown;

[0059] Fig.14 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0060] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0061] The present disclosure uses the automotive field as an example for explanation. For various downstream visual tasks of vehicle-mounted cameras, such as driving assistance, collision warning, blind spot monitoring, reversing assistance, in-car monitoring, and road condition monitoring, high-quality images can more accurately reflect road condition information, thereby providing more accurate data support for these downstream visual tasks. At present, a unified adjustment method is often used for image processing of different downstream visual tasks, without targeted optimization according to specific task requirements. Although this approach simplifies the processing flow, it ignores the differences in the requirements for image features of different visual tasks. Based on this, the present disclosure provides a processing method that can adjust the image processing method of a vehicle-mounted camera according to different downstream visual tasks, which can not only improve the performance of the camera in different tasks, but also provide better support for the development of automobile safety and intelligent driving technology.

[0062] According to the embodiments of the present disclosure, Figure 1 A schematic flow chart of a processing method is shown, the method comprising:

[0063] S10. Obtain a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the visual tasks corresponding to the first image processing model and the second image processing model are different.

[0064] In the automotive field, visual tasks include driving assistance, collision warning, blind spot monitoring, reversing assistance, in-car monitoring, and road condition monitoring. Driving assistance is used to achieve functions such as lane keeping, automatic following, traffic sign recognition, pedestrian detection, etc., providing driver assistance and safety warnings; collision warning can monitor the situation of incoming vehicles in real time, provide collision warnings, and help drivers avoid accidents; blind spot monitoring is used to monitor the vehicle's surroundings, provide drivers with visual information about blind spots, and reduce safety hazards caused by blind spots; reversing assistance is used to provide a rear view when reversing, helping drivers better perceive the surrounding environment and avoid collisions or hitting obstacles; in-car monitoring is used to detect driver fatigue, monitor passenger behavior, etc.; road condition monitoring is used to monitor traffic conditions in real time, including traffic flow, congestion, traffic accidents, etc., so as to provide better navigation and traffic management services.

[0065] Different visual tasks require attention to different features of the image, such as shape, color, texture, motion, etc. Therefore, each visual task requires a different type of image processing model, which is designed and trained to extract key information from the image and process and analyze the information. For example, in the target detection task, the image processing model can identify the object in the image and locate its position; in the image classification task, the image processing model can determine the category to which the image belongs; in the lane line detection and road boundary recognition tasks, the image processing model can identify the position and type of the lane line (such as solid line, dotted line, double yellow line, etc.), providing a basis for the vehicle to keep the lane centered and plan the path.

[0066] Among them, the first image processing model and the second image processing model are trained models for processing images and extracting feature parameters, and can be deep learning models, such as convolutional neural networks (CNN), or other types of machine learning models.

[0067] For example, in one example, the visual task corresponding to the first image processing model is driving assistance, and the visual task corresponding to the second image processing model is collision warning. Since driving assistance needs to pay more attention to the recognition of road signs and vehicles, color and shape information needs to be processed more finely; while collision warning focuses more on the detection and tracking of dynamic objects, it is necessary to process motion information more efficiently. Since different downstream visual tasks have different requirements for features in the image, the image adjustment coefficients corresponding to the image processing models corresponding to the downstream visual tasks are also different, that is, the first image adjustment coefficient corresponding to the first image processing model and the second image adjustment coefficient corresponding to the second image processing model are different.

[0068] The first image adjustment coefficient and the second image adjustment coefficient are coefficients related to picture feature parameters, including one or more of brightness coefficient, contrast coefficient, hue coefficient, saturation coefficient, color balance coefficient, sharpness coefficient, noise reduction coefficient, cropping coefficient, rotation coefficient, and scaling coefficient.

[0069] S20. Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model.

[0070] In the automotive field, the target image acquisition device is the vehicle-mounted camera, and the distribution of vehicle-mounted cameras mainly depends on their type and purpose. For example, there are cameras installed inside the vehicle, reversing image cameras at the rear of the vehicle, front-view cameras installed on the front windshield, surround-view cameras installed around the vehicle body, and side-view cameras distributed around the vehicle.

[0071] It should be noted that when performing different visual tasks, the number of vehicle-mounted cameras used can be one or more, depending on the complexity of the task and the need for visual information. For example, for simple reversing tasks, only the reversing image camera can be used to provide the driver with a rear view to help the driver better judge the distance and position of obstacles behind. For example, for visual tasks such as driving assistance, lane departure warning, and traffic sign recognition, multiple cameras are generally required to provide more comprehensive and accurate visual information. For example, the front-view camera can provide a view in front of the vehicle for lane line detection, traffic information reading, etc.; the side-view camera can monitor dynamic targets in the blind spot of the rearview mirror; and the rear-view camera provides a view behind the vehicle to assist in reversing and avoid collisions.

[0072] The first image is obtained according to the first image adjustment coefficient and the target image acquisition device, and the first image is output to the first image processing model. The first image processing model is used to further process and analyze the first image to extract information useful for downstream visual tasks.

[0073] S30, obtaining a second image through the second image adjustment coefficient and the target image acquisition device, and outputting the second image to the second image processing model

[0074] The second image is obtained according to the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model. The second image processing model is used to further process and analyze the second image to extract information useful for downstream visual tasks.

[0075] There is no particular order in which steps S20 and S30 are executed, and they can be performed simultaneously or independently as needed. These two steps are intended to illustrate that since the first image processing model and the second image processing model each correspond to a different image adjustment coefficient, they can be combined with the target image acquisition device in parallel or asynchronously to obtain the required image data. If there are more than two image processing models corresponding to visual tasks, such as a third image processing model, a fourth image processing model, etc., they can also be performed simultaneously or independently as needed to obtain the corresponding third image adjustment coefficient and the third image; and obtain the corresponding fourth image adjustment coefficient and the fourth image.

[0076] In the above scheme, firstly, according to the difference in the visual tasks corresponding to the first image processing model and the second image processing model, the corresponding image adjustment coefficients, namely the first image adjustment coefficient and the second image adjustment coefficient, are obtained respectively. Then, the first image is obtained by the first image adjustment coefficient and the target image acquisition device, and the second image is obtained by the second image adjustment coefficient and the target image acquisition device. Finally, the obtained first image and the second image are output to the corresponding first image processing model and the second image processing model respectively. Since each image processing model is trained for a specific visual task, inputting the image data that best suits its needs can enable the image processing model to better exert its feature extraction and classification capabilities, and improve the quality and speed of completing the visual task.

[0077] In one example, if Figure 2 A schematic diagram of a process of obtaining a first image is shown, wherein the process of obtaining the first image through the first image adjustment coefficient and the target image acquisition device includes:

[0078] S201, obtaining an original image acquired by the target image acquisition device;

[0079] S202: Adjust the original image using the first image adjustment coefficient to obtain a first image.

[0080] The target image acquisition device still takes the vehicle-mounted camera in the above example as an example. The vehicle-mounted camera continuously or on demand captures the optical information of the surrounding environment according to the preset acquisition parameters to obtain the original image. The original image can be a video or a picture. If the camera is set to continuous recording mode, a series of continuous image frames will be captured, and finally a video file will be formed. The video file is the original image data, which contains real-time and continuous visual information on the road. If the camera is set to single-frame shooting mode or manual trigger shooting mode, a single image frame will be captured to form a static picture file. The picture file is the original image data, which presents the field of view of the vehicle-mounted camera at a certain moment.

[0081] The original image captured by the vehicle camera is adjusted according to the first image adjustment coefficient to obtain a first image suitable for a specific visual task or display requirement. If the first image adjustment coefficient is a brightness coefficient of 1.5, the brightness of the original image is adjusted by 1.5 times to obtain the first image. If the first image adjustment coefficient is a brightness coefficient of 1.5 and a cropping coefficient of 0.8, the brightness of the original image is adjusted by 1.5 times and the original image is cropped by 0.8 to obtain the first image.

[0082] In another example, Figure 3 A schematic diagram of another process of obtaining a first image is shown, wherein the first image is obtained by using the first image adjustment coefficient and the target image acquisition device, including:

[0083] S203, adjusting the acquisition parameters of the target image acquisition device by using the first image adjustment coefficient;

[0084] S204: Obtain a first image through the target image acquisition device after adjusting parameters.

[0085] The acquisition parameters of the vehicle-mounted camera include one or more key parameters related to image acquisition, such as exposure time, white balance, focal length, resolution, frame rate, contrast and brightness. The acquisition parameters of the vehicle-mounted camera can be adjusted through the first image adjustment coefficient, so that the vehicle-mounted camera after adjusting the parameters can directly output an original image that meets the requirements during the shooting process, that is, the first image.

[0086] Wherein, adjusting the acquisition parameters of the target image acquisition device by using the first image adjustment coefficient includes:

[0087] Determine a mapping relationship between acquisition parameters of a target image acquisition device and image feature parameters of an original image acquired by the target image acquisition device;

[0088] The acquisition parameters of the image acquisition device are adjusted based on the first image adjustment coefficient and the mapping relationship.

[0089] like Figure 4 A schematic diagram of a process of obtaining a second image is shown. Based on the same method as that of obtaining a first image, the second image is obtained by adjusting the second image coefficient and the target image acquisition device, including:

[0090] S301, obtaining an original image acquired by the target image acquisition device;

[0091] S302: Adjust the original image using the second image adjustment coefficient to obtain a second image.

[0092] like Figure 5A schematic diagram of another process of obtaining a second image is shown, wherein the second image is obtained by using the second image adjustment coefficient and the target image acquisition device, including:

[0093] S303, adjusting the acquisition parameters of the target image acquisition device by using the second image adjustment coefficient;

[0094] S304: Obtain a second image through the target image acquisition device after adjusting parameters.

[0095] In one example, if Figure 6 A schematic diagram of a process for obtaining a first image adjustment coefficient is shown, wherein the first image adjustment coefficient is obtained in the following manner:

[0096] S40: Obtain a first image adjustment coefficient through a sample set, where the sample set is a training sample of the first image processing model.

[0097] The sample set often contains enough samples to cover different image types and feature parameter distributions. It is a data set containing multiple images and their corresponding feature parameters. The sample set is a training sample for the first image processing model.

[0098] In one example, in order to make the image types in the sample set conform to the specific application scenarios in the vehicle field, sample images that conform to the specific application scenarios in the vehicle field can be screened out from the sample set to ensure that the screened images can truly reflect the common image features in the vehicle environment. For example, images that conform to the specific application scenarios in the vehicle field can be screened out from the sample set based on the vehicle environment and key image features in the vehicle scene.

[0099] Obtaining a first image adjustment coefficient through a sample set includes:

[0100] S401, obtaining a first parameter range through the sample set;

[0101] S402: Obtain a first image adjustment coefficient through the first parameter range.

[0102] In one example, if Figure 7 A schematic diagram of a process for obtaining a first parameter range is shown. Obtaining the first parameter range through the sample set includes:

[0103] S4011, obtaining image feature parameter distribution information of sample images in the sample set;

[0104] S4012. Obtain the first parameter range through image feature parameter distribution information of the sample image.

[0105] Image feature parameters are extracted from the screened sample images using image processing techniques, such as deep learning models or other algorithms for extracting image features. These feature parameters can be any quantitative indicators related to image features, such as brightness, contrast, color distribution, etc. The extracted feature parameters are statistically analyzed to determine the distribution information of the image feature parameters. The mean, standard deviation, minimum value, maximum value, mode and other statistics of the image feature parameters can be counted to obtain the first parameter range. For example, the mean ± standard deviation of the image feature parameters can be used as the first parameter range of the image feature; the image feature parameters can also be clustered using a clustering algorithm, and the central value of a cluster and the parameter values ​​within a certain distance around it are selected to form the first parameter range, that is, the image feature parameter range with the largest proportion is used as the first parameter range; the minimum and maximum values ​​of the image feature parameters can also be used as the boundaries of the first parameter range. The above is only an example of determining the first parameter range, and the present disclosure does not limit this. In this embodiment, the image feature parameter range with the largest proportion is preferably used as the first parameter range. After obtaining the first parameter range, the first image adjustment coefficient is obtained according to the first parameter range.

[0106] In one example, if Figure 8 A schematic diagram of another process of obtaining a first image adjustment coefficient is shown, wherein obtaining the first image adjustment coefficient through a sample set includes:

[0107] S403, obtaining a first parameter range through the sample set;

[0108] S404, obtaining original images of a historical time period, and determining image feature parameters of the original images of the historical time period;

[0109] S405, obtaining a second parameter range through image feature parameters of the original image in the historical time period;

[0110] S406: Obtain a first image adjustment coefficient through the first parameter range and the second parameter range.

[0111] The method of obtaining the first parameter range through the sample set in step S403 is the same as step S401 in the above example.

[0112] According to the source of the original image data, the original image within the historical time period is obtained from the corresponding database, file server, cloud storage, API interface, etc., and the image feature parameters of the original image are determined. The second parameter range is determined based on the same determination method as the first parameter range.

[0113] In an example, a coefficient required for adjusting the second parameter range to the first parameter range may be determined as a first image adjustment coefficient.

[0114] The first image adjustment coefficient is obtained according to the first parameter range and the second parameter range. The purpose of the first image adjustment coefficient is to adjust the value in the second parameter range to match the first parameter range. There are many methods for determining the first image adjustment coefficient. For example, the value in the second parameter range is mapped to the first parameter range. The center points of the first parameter range and the second parameter range can be determined respectively. The first image coefficient is determined according to the proportional factor of the center point of the second parameter range mapped to the center point of the first parameter range. Assuming that the first parameter range is [15,75] and the second parameter range is [10,50], the coefficient required to adjust from the second parameter range to the first parameter range is 1.5, then the first image adjustment coefficient is 1.5.

[0115] In one example, when the first parameter range and the second parameter range are different in size, the first image adjustment coefficient can also be determined by a scaling and offset method. Assume that the first parameter range is [a, b] and the second parameter range is [c, d], where the scaling coefficient = (ba) / (dc); the offset = a-(c*scaling coefficient). For each value x within the second parameter range, its corresponding value y within the first parameter range can be calculated by y = (x*scaling coefficient) + offset. That is, the scaling coefficient and the offset together constitute the first image adjustment coefficient.

[0116] For example, the first parameter range corresponding to the contrast feature is [50, 150], and the second parameter range is [30, 180]. Then the scaling factor ≈ 0.8, the offset = 26, then y = (x*0.8) + 26, and the scaling factor 0.8 and the offset 26 constitute the first image adjustment coefficient.

[0117] The model can also be trained to learn the mapping relationship from the second parameter range to the first parameter range and determine the corresponding first image adjustment coefficient. The present disclosure does not limit the method for obtaining the first image adjustment coefficient according to the first parameter range and the second parameter range.

[0118] In another example, an overlapping range between the first parameter range and the second parameter range may be determined; and a coefficient required to adjust the second parameter range excluding the overlapping range to the first parameter range is determined as a first image adjustment coefficient.

[0119] First, it is necessary to determine the overlapping range between the first parameter range and the second parameter range, because the overlapping part in the second parameter range already satisfies the first parameter range, that is, meets the requirements of the first image processing model, and no further adjustment is required. If there are parts in the second parameter range that do not overlap with the first parameter range, it is necessary to calculate the coefficients required to adjust these non-overlapping parts to the first parameter range. The parts that exceed the overlapping range can be scaled or mapped, or the first image adjustment coefficient required to adjust the non-overlapping range to the first parameter range can be determined by methods such as training models. For example, for the part that is less than the minimum value of the overlapping range, it is mapped to the vicinity of the minimum value of the first parameter range; for the part that is greater than the maximum value of the overlapping range, it is mapped to the vicinity of the maximum value of the first parameter range.

[0120] Continuing with the above example, for example, the first parameter range corresponding to the contrast feature is [50,150], the second parameter range is [30,180], and the part where the second parameter range overlaps with the first parameter range is [50,150]. Then, it is only necessary to determine the first image adjustment coefficient required to adjust the non-overlapping part [30,50] to 50 and the first image adjustment coefficient required to adjust the non-overlapping part [150,180] to 180.

[0121] In one example, for a scenario where the accuracy requirement of the first image adjustment coefficient is not high, it is also possible to determine a partial range where the difference between the second parameter range and the first parameter range meets the threshold, and determine the coefficient required to adjust the portion of the second parameter range that does not meet the threshold requirement to the first parameter range as the first image adjustment coefficient. For example, if the first parameter range corresponding to the contrast feature is [50,150], the second parameter range is [30,180], the threshold is set to 10, and the portion where the difference between the second parameter range and the first parameter range meets the threshold is [40,50] and [150,160], then it is only necessary to determine the first image adjustment coefficient required to adjust the portion [30,40] that does not meet the threshold requirement to 50 and the first image adjustment coefficient required to adjust the portion [160,180] that does not meet the threshold requirement to 180. Similarly, the second image adjustment coefficient can be obtained based on the same method as the first image adjustment coefficient.

[0122] In one example, if Fig. 9 A schematic diagram of a process for obtaining a second image adjustment coefficient is shown, wherein the second image adjustment coefficient is obtained in the following manner:

[0123] S50: Obtain a second image adjustment coefficient through a sample set, where the sample set is a training sample of the second image processing model.

[0124] In one example, obtaining the second image adjustment coefficient through the sample set includes:

[0125] S501, obtaining a third parameter range through the sample set;

[0126] S502: Obtain a second image adjustment coefficient through the third parameter range.

[0127] In one example, if Fig.10 A schematic diagram of a process of obtaining a third parameter range is shown, wherein obtaining the third parameter range through the sample set includes:

[0128] S5011, obtaining image feature parameter distribution information of sample images in the sample set;

[0129] S5012. Obtain the third parameter range through the image feature parameter distribution information of the sample image.

[0130] In one example, if Fig.11 A schematic diagram of another process of obtaining a second image adjustment coefficient is shown, wherein obtaining the second image adjustment coefficient through a sample set includes:

[0131] S503, obtaining a third parameter range through the sample set;

[0132] S504, obtaining the original image of the historical time period, and determining the image feature parameters of the original image of the historical time period;

[0133] S505, obtaining a second parameter range through image feature parameters of the original image in the historical time period;

[0134] S506: Obtain a second image adjustment coefficient through the third parameter range and the second parameter range.

[0135] According to an embodiment of the present disclosure, the present disclosure further provides a processing device 600, such as Fig.12 The figure shows a schematic diagram of the structure of a processing device, which comprises:

[0136] An adjustment coefficient obtaining module 601 is used to obtain a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0137] A first image acquisition module 602, configured to acquire a first image through the first image adjustment coefficient and a target image acquisition device, and output the first image to the first image processing model;

[0138] The second image acquisition module 603 is used to obtain a second image through the second image adjustment coefficient and the target image acquisition device, and output the second image to the second image processing model.

[0139] In one example, the first image obtaining module 602 is further configured to:

[0140] Obtaining an original image captured by the target image acquisition device;

[0141] The original image is adjusted using the first image adjustment coefficient to obtain a first image.

[0142] In one example, the first image obtaining module 602 is further configured to:

[0143] adjusting the acquisition parameters of the target image acquisition device by using the first image adjustment coefficient;

[0144] The first image is obtained by the target image acquisition device after adjusting the parameters.

[0145] In one example, the adjustment coefficient obtaining module 601 is further used for:

[0146] A first image adjustment coefficient is obtained through a sample set, where the sample set is a training sample of the first image processing model.

[0147] In one example, the adjustment coefficient obtaining module 601 is further used for:

[0148] Obtaining a first parameter range through the sample set;

[0149] A first image adjustment coefficient is obtained through the first parameter range.

[0150] In one example, the adjustment coefficient obtaining module 601 is further used for:

[0151] Obtaining image feature parameter distribution information of sample images in the sample set;

[0152] The first parameter range is obtained through image feature parameter distribution information of the sample image.

[0153] In one example, the adjustment coefficient obtaining module 601 is further used for:

[0154] Obtaining a first parameter range through the sample set;

[0155] Acquire original images of a historical time period, and determine image feature parameters of the original images of the historical time period;

[0156] Obtaining a second parameter range through image feature parameters of the original image in the historical time period;

[0157] A first image adjustment coefficient is obtained through the first parameter range and the second parameter range.

[0158] According to an embodiment of the present disclosure, an electronic device 700 is provided, such as Fig.13 A schematic structural diagram of an electronic device is shown, comprising:

[0159] At least one target image acquisition device 701, used to acquire an original image;

[0160] Processor 702; and

[0161] A memory 703 in communication with the processor 702; wherein:

[0162] The memory 703 stores instructions that can be executed by the processor 702. The instructions are executed by the processor 702 to enable the processor 702 to execute:

[0163] Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0164] Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model;

[0165] A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

[0166] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute:

[0167] Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks;

[0168] Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model;

[0169] A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

[0170] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0171] Fig.14A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0172] like Fig.14 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 503, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0173] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0174] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the processing method. For example, in some embodiments, the processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the processing method in any other appropriate manner (e.g., by means of firmware).

[0175] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0176] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0177] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0178] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0179] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0180] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0181] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0182] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0183] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A processing method, the method comprising: Obtaining a first image adjustment coefficient corresponding to the first image processing model and a second image adjustment coefficient corresponding to the second image processing model; The first image processing model and the second image processing model correspond to different visual tasks; Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model; A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

2. The method according to claim 1, wherein obtaining the first image through the first image adjustment coefficient and the target image acquisition device comprises: Obtaining an original image captured by the target image acquisition device; The original image is adjusted using the first image adjustment coefficient to obtain a first image.

3. The method according to claim 1, wherein obtaining the first image by using the first image adjustment coefficient and the target image acquisition device comprises: adjusting the acquisition parameters of the target image acquisition device by using the first image adjustment coefficient; The first image is obtained by the target image acquisition device after adjusting the parameters.

4. The method according to claim 1, wherein the first image adjustment coefficient is obtained by: A first image adjustment coefficient is obtained through a sample set, where the sample set is a training sample of the first image processing model.

5. The method according to claim 4, wherein obtaining the first image adjustment coefficient through the sample set comprises: Obtaining a first parameter range through the sample set; A first image adjustment coefficient is obtained through the first parameter range.

6. The method according to claim 5, wherein obtaining the first parameter range through the sample set comprises: Obtaining image feature parameter distribution information of sample images in the sample set; The first parameter range is obtained through image feature parameter distribution information of the sample image.

7. The method according to claim 4, wherein obtaining the first image adjustment coefficient through the sample set comprises: Obtaining a first parameter range through the sample set; Acquire original images of a historical time period, and determine image feature parameters of the original images of the historical time period; Obtaining a second parameter range through image feature parameters of the original image in the historical time period; A first image adjustment coefficient is obtained through the first parameter range and the second parameter range.

8. A processing device, comprising: An adjustment coefficient obtaining module, used to obtain a first image adjustment coefficient corresponding to the first image processing model and a second image adjustment coefficient corresponding to the second image processing model; The first image processing model and the second image processing model correspond to different visual tasks; A first image acquisition module, used for acquiring a first image through the first image adjustment coefficient and a target image acquisition device, and outputting the first image to the first image processing model; The second image acquisition module is used to obtain the second image through the second image adjustment coefficient and the target image acquisition device, and output the second image to the second image processing model.

9. An electronic device, comprising: At least one target image acquisition device, used for acquiring an original image; processor; as well as A memory communicatively connected to the processor; wherein, The memory stores instructions executable by the processor, the instructions being executed by the processor to enable the processor to perform: Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks; Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model; A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute: Obtaining a first image adjustment coefficient corresponding to a first image processing model and a second image adjustment coefficient corresponding to a second image processing model; the first image processing model and the second image processing model correspond to different visual tasks; Obtain a first image through the first image adjustment coefficient and the target image acquisition device, and output the first image to the first image processing model; A second image is obtained by using the second image adjustment coefficient and the target image acquisition device, and the second image is output to the second image processing model.

Citation Information

Patent Citations

  • Image quality adjusting method and system, AI processing method and access control system

    CN112800969A

  • Self-adaptive adjustment method and system for image shooting parameters and vehicle

    CN116614700A

  • Image signal processing ISP parameter adjustment and related equipment

    CN117593381A

  • Medical Image Pre-Processing at the Scanner for Facilitating Joint Interpretation by Radiologists and Artificial Intelligence Algorithms

    US20200104994A1