Parameter determination method and electronic device

Through the method of automatic search and target image similarity measurement, the problem of low parameter adjustment efficiency of image processing and display modules in electronic equipment is solved, and more efficient parameter optimization is achieved, which is suitable for complex ISP image processing and display units.

CN114385280BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011110798.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-16
Publication Date
2024-10-18
Estimated Expiration
2040-10-16

AI Technical Summary

Technical Problem

The existing technology is difficult to efficiently adjust the algorithm parameters of image processing and display modules in electronic devices, resulting in long adjustment cycles and poor results. In particular, the ISP image processing process is complex, neural network training is difficult, and the ISP algorithm logic is a black box, making it difficult to Parameters are determined through software simulation.

Method used

Through the automatic search process, pre-configured target images are used to determine parameters that meet the preset conditions, including obtaining parameter adjustment dimensions and module information, building a search space, adaptive search parameters, measuring the similarity between the target image and the processing results, optimizing parameters to Improve efficiency and effectiveness.

Benefits of technology

It improves the efficiency of parameter determination, ensures that parameters can achieve better image processing and display effects, shortens the adjustment cycle, reduces neural network training costs, and is suitable for parameter adjustment of ISP and display units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114385280B_ABST
    Figure CN114385280B_ABST
Patent Text Reader

Abstract

The present application provides a parameter determination method and an electronic device; it relates to the field of terminal technology, and can use a pre-configured target image to determine the target parameters that meet the preset conditions through an automatic search process, thereby improving the efficiency of parameter determination. The method includes: obtaining a parameter adjustment dimension, and determining the original data and target image corresponding to the parameter adjustment dimension. And obtaining information about the module of the parameter to be adjusted, and determining the search space. Searching for a first parameter in the search space, and obtaining a third image using the first parameter and the original data. By comparing the similarity between the third image and the target image, it is determined whether the current similarity meets the requirements. If it does, the current first parameter is determined as the target parameter of the module for adjusting the parameter to be adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a parameter determination method and an electronic device. Background Art

[0002] Before leaving the factory, electronic devices need to adjust their configured algorithm parameters to obtain better algorithm processing results. For example, the algorithm parameters in the image processing module and display module in the electronic device need to be adjusted to obtain better image processing results and display effects. However, the amount of algorithm parameter data that needs to be adjusted in each module of the electronic device is large, and the algorithm parameter adjustment process requires the participation of professional debugging personnel, resulting in a long adjustment cycle and the inability to achieve global adjustment.

[0003] Based on this, taking the adjustment of algorithm parameters in the image signal processor (ISP) as an example, it is proposed to use a neural network to determine the values ​​of each parameter. The neural network is pre-trained to simulate the ISP image processing process, and the collected image and ISP parameters are input into the trained neural network as input data. The output result is compared with the preset target value to obtain the adjusted ISP parameters. After multiple iterations, the optimized ISP parameters are determined. In the current solution, due to the complexity of the ISP image processing process, the training of the neural network is difficult, and it is difficult to obtain a neural network with accuracy that meets the requirements. In addition, if some algorithm modules in the ISP change, the neural network needs to be retrained, which is costly.

[0004] In addition, it is proposed to use software simulation to determine the values ​​of various parameters. However, the internal algorithm logic of ISP is generally a black box. If the algorithm logic cannot be obtained, software simulation cannot be implemented. In addition, the processing process of some modules in ISP depends on hardware information. There are certain differences between software simulation and hardware implementation, and it is difficult to use software simulation to determine these parameters. Summary of the invention

[0005] The parameter determination method and electronic device provided in the present application can utilize a pre-configured target image to determine target parameters that meet preset conditions through an automatic search process, thereby improving the efficiency of parameter determination.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, the present application provides a parameter determination method, which may include: obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information about modules of the parameters to be adjusted. According to the parameter adjustment dimensions, one or more data pairs are determined, each data pair including original data and a target image corresponding to the original data. According to the information about the modules of the parameters to be adjusted, a search space is determined; the search space includes parameter combinations corresponding to the modules of the parameters to be adjusted. A first parameter is searched in the search space, and a third image is obtained using the first parameter and the original data. A first similarity between the third image and the target image is determined, and a target parameter is determined using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted.

[0008] Among them, in the embodiments of the present application, the modules in the ISP or the display unit are used as examples for explanation. The parameter adjustment dimension is used to indicate the dimension that affects the image processing effect or the display effect after the parameter adjustment. For example, it includes the brightness after image processing, the color after image processing, the clarity of image display, and other dimensions. Exemplarily, the first interface can be displayed, and the parameter determination conditions can be collected through human-computer interaction.

[0009] In some embodiments, the data pair includes a RAW image and a corresponding target image. Alternatively, the data pair includes an original film source and a corresponding target image. That is, if the module whose parameters are to be adjusted is a module in the ISP, the original data is a RAW image corresponding to the first image captured by the mobile phone. Alternatively, if the module whose parameters are to be adjusted is a module in the display unit, the original data is the original film source.

[0010] In this way, a search space can be constructed according to the module and adjustment dimension of the parameter to be adjusted, and the parameters can be adaptively searched in the search space. In addition, the searched parameters can be measured by using the target image under the parameter dimension that is predetermined to be adjusted, and the parameters that meet the requirements can be quickly determined. This improves the efficiency of parameter determination and ensures that the determined parameters can achieve better results.

[0011] In a possible implementation, before determining one or more data pairs according to the parameter adjustment dimension, the method further includes: acquiring a first image and a second image, wherein the second image is superior to the first image in at least one parameter adjustment dimension. The first image is an image captured or displayed by an electronic device for adjusting the parameter, and the electronic device for adjusting the parameter includes a module for adjusting the parameter. The first image and the second image correspond to the same subject or the same original film source.

[0012] In a possible implementation, before adjusting the dimension according to the parameter and determining one or more data pairs, the method further includes: establishing a database, wherein the database includes one or more data pairs.

[0013] In some embodiments, a database for storing data pairs needs to be pre-established before determining the parameters, and the database is stored in an internal memory or in an external memory. Exemplarily, the database stores image pairs for determining image processing module parameters and / or image pairs for determining image display unit parameters.

[0014] It should be noted that in the process of acquiring the first image and the second image, it should be ensured that, except for the equipment differences, the ambient light source, the photographed object, the original film source, etc. remain consistent, thereby ensuring that the target image can be obtained more accurately.

[0015] In a possible implementation, determining one or more data pairs according to the parameter adjustment dimension includes: decoupling the second image according to the parameter adjustment dimension to obtain a target image, wherein the target image is superior to the first image in a single parameter adjustment dimension. Determining original data corresponding to the first image according to the first image. Taking the original data and the corresponding target image as a pair of data pairs, determining one or more pairs of data pairs.

[0016] In some embodiments, if the second image is better than the first image in one parameter adjustment dimension and is the same as the first image in other dimensions, the second image is used as the target image, and the RAW image corresponding to the first image and the target image are determined as a data pair. The second image is the same as the first image in other dimensions, which means that the evaluation results of the second image and the first image in other dimensions are the same. For example, in the brightness dimension, if the second image is the same as the first image or the difference is less than or equal to a preset threshold, the evaluation results in the brightness dimension are the same, and it is determined that the second image is the same as the first image in brightness.

[0017] In some other embodiments, if the second image is superior to the first image in multiple parameter adjustment dimensions, the second image needs to be decoupled. Specifically, if the second image is superior to the first image in multiple dimensions, the second image needs to be decoupled into multiple target images that are superior to the first image only in a single dimension. For example, if the second image is superior to the first image in both brightness and color parameter adjustment dimensions, the second image is decoupled to obtain a target image 1 that is superior to the first image in brightness and has the same color as the first image, and to obtain a target image 2 that is superior to the first image in color and has the same brightness as the first image. Afterwards, the RAW image corresponding to the first image and the target image 1 are taken as a data pair, and the RAW image corresponding to the first image and the target image 2 are taken as a data pair to obtain two data pairs.

[0018] In a possible implementation, obtaining a third image using the first parameter and the original data includes: sending the first parameter and the original data to an electronic device for adjusting the parameter to be adjusted, and outputting the third image after a module for adjusting the parameter to be adjusted in the electronic device for receiving the parameter to be adjusted processes the original data using the first parameter.

[0019] In some embodiments, after the first electronic device determines a set of first parameters, it is necessary to compile the first parameters into a corresponding electronic device of parameters to be adjusted, the electronic device of parameters to be adjusted includes a module of parameters to be adjusted, and is an electronic device that shoots the first image. After the first parameters are compiled into the module of parameters to be adjusted in the electronic device of parameters to be adjusted, the module of parameters to be adjusted uses the first parameters to process the raw data, thereby obtaining a third image corresponding to the first parameters.

[0020] In other embodiments, the first parameter and the original data may be determined by an electronic device whose parameters are to be adjusted, and the original data may be directly processed using the first parameter to obtain the third image.

[0021] In some scenarios, the module whose parameters are to be adjusted is a module in the ISP, and the third image is used to represent the image processing result. After the electronic device whose parameters are to be adjusted processes the original data using the first parameter, it can directly obtain the third image.

[0022] In other scenarios, the module whose parameters are to be adjusted is a module in a display unit, and the third image is used to represent the image display effect. The electronic device whose parameters are to be adjusted processes the raw data using the first parameter and then outputs a display image. In this scenario, it is necessary to use an acquisition device to acquire the display image. After acquiring the display image, the acquisition device obtains the third image.

[0023] In this way, the searched parameter combination can be run in an actual hardware environment, so that the target parameters finally determined can actually improve the image processing effect or image display effect of the module whose parameters are to be adjusted.

[0024] In a possible implementation, the parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; using the first similarity to determine the target parameter, including: if it is determined that the first similarity is greater than or equal to the first preset threshold, then stop searching the first parameter, and determine the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And / or, if it is determined that the number of searches for the first parameter reaches the target search number, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter. And / or, if it is determined that the duration of searching the first parameter reaches the target search duration, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter.

[0025] The search stop condition is a condition for stopping the parameter search process that is preset based on empirical values ​​or experimental results.

[0026] In some scenarios, the search stop condition includes a first preset threshold. After obtaining the first similarity, determine whether the first similarity meets the requirement of the first preset threshold. If the first similarity is greater than or equal to the first preset threshold, it means that the first similarity meets the requirement, and output the first parameter corresponding to the currently determined first similarity. If not, search the next set of first parameters in the search space again according to the first preset method.

[0027] Exemplarily, the first preset threshold is 99%. If the first similarity is 99.5%, the first preset threshold requirement is met, and the current first parameter is output. If the first similarity is 95%, the first preset threshold requirement is not met, and the next set of first parameters is searched again.

[0028] In some other scenarios, the search stop condition includes the target search times and / or the target search duration. After obtaining the first similarity, determine whether the current search times and / or search duration meet the search stop condition. If satisfied, such as the number of searches for the first parameter reaches the target search times and / or the duration of searches for the first parameter reaches the target search duration, determine the maximum value of the first similarities corresponding to the first parameters searched multiple times, take the first parameter corresponding to the maximum value as the target parameter, and output the first parameter. If not satisfied, re-search the next set of first parameters.

[0029] Exemplarily, assume that the search stop condition includes the number of target searches being 100. If, among the 100 searches, the first parameter searched in a certain time makes the first similarity meet the first preset threshold requirement, the search is stopped and the first parameter is output. If the target parameter is not found in all 100 searches, after the 100th search is completed and the first similarity is determined, 100 first similarities corresponding to the 100 searches are obtained, and the first parameter corresponding to the highest first similarity is used as the target parameter, and the first parameter is output.

[0030] In a possible implementation, determining the search space according to the information of the module of the parameter to be adjusted includes: determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameter to be adjusted according to the information of the module of the parameter to be adjusted. Determining the search space according to the adjustable parameters and the adjustable range.

[0031] For example, the parameter adjustment dimensions are determined to be the brightness and color of the image, and the modules of the parameters to be adjusted are the DRC module and the 3D LUT module in the ISP, and the search spaces corresponding to the different parameter adjustment dimensions are determined respectively. It is determined that the number of adjustable parameters in the DRC module corresponding to brightness is a, and the value range of each adjustable parameter includes b possible values. Then the search space corresponding to brightness includes b^a possible parameter combinations, that is, the search space size is b^a. It is determined that the number of adjustable parameters in the 3D LUT module corresponding to color is c, and the value range of each adjustable parameter includes d possible values. Then the search space corresponding to color includes d^c possible parameter combinations, that is, the search space size is d^c.

[0032] In a possible implementation, determining the search space according to the adjustable parameters and the adjustable range includes: displaying the adjustable parameters and the adjustable range, receiving the parameters and the range to be adjusted selected by the user, and determining the search space according to the parameters and the range to be adjusted.

[0033] In some embodiments, the module of the determined parameter to be adjusted, the adjustable parameter and the value range of the adjustable parameter (i.e., the adjustable range) are displayed on the second interface. Through human-computer interaction, the parameter to be adjusted determined by the user and the range to be adjusted corresponding to the parameter are obtained, thereby determining the search space required by the end user.

[0034] In this way, some parameters among all adjustable parameters can be determined as parameters to be adjusted according to user needs or experience, and the adjustable range of the parameters to be adjusted can be narrowed, thereby reducing the search space and improving the efficiency of subsequent parameter searches in the search space.

[0035] In one possible implementation, searching for the first parameter in the search space includes: searching for the first parameter in the search space according to a first preset method; wherein the first preset method includes any one or more of the following: random search, grid search, and optimized search.

[0036] For example, the PC searches randomly in the search space in a random search manner to obtain the first parameter. For another example, the PC presets a search step length, and obtains the first parameter in the search space in a grid search manner according to the preset search step length. For another example, the PC determines the first parameter searched this time based on the image processing result or display effect corresponding to the first parameter searched in the past. If the PC determines that a parameter in a certain value range can make the image processing result or display effect better based on several parameter search results, it will continue to search in this range, and then determine the target parameter that can be obtained faster so that the image processing result or display effect meets the requirements.

[0037] In a possible implementation, determining the parameter determination condition includes: displaying a first interface, the first interface being used to display any one or more of the following contents: parameter adjustment dimension, information of the module whose parameters are to be adjusted, and a search stop condition. Detecting the parameter determination condition selected by the user on the first interface.

[0038] In this way, the parameter determination conditions are collected through human-computer interaction. Furthermore, the parameter determination range can be narrowed and the parameter determination efficiency can be improved. For example, the current parameter adjustment dimension corresponds to 5 modules of parameters to be adjusted. The user determines that the final modules of the parameters to be adjusted are 3 of them based on the experience value, thereby improving the parameter determination efficiency.

[0039] In a possible implementation manner, determining the first similarity between the third image and the target image includes: determining the first similarity between the third image and the target image in a parameter adjustment dimension.

[0040] In this way, based on the comparison method with reference, the accuracy of parameter adjustment is improved by comparing the similarity between the image output by the electronic device whose parameters are to be adjusted and the target image.

[0041] In a second aspect, the present application provides a parameter determination method, which may include: obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information about the module of the parameter to be adjusted. According to the parameter adjustment dimensions, one or more data pairs are determined, each data pair including original data and a target image corresponding to the original data. According to the information about the module of the parameter to be adjusted, a search space is determined; the search space includes parameter combinations corresponding to the module of the parameter to be adjusted. A first parameter is searched in the search space, and a third image is obtained using the first parameter and the original data. A first similarity between the third image and the target image is determined, and a target parameter is determined using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted.

[0042] In a possible implementation, before determining one or more data pairs according to the parameter adjustment dimension, the method also includes: capturing or displaying a first image, and obtaining a second image that is superior to the first image in at least one parameter adjustment dimension; the first image and the second image correspond to the same subject or to the same original film source.

[0043] In a possible implementation, determining one or more data pairs according to the parameter adjustment dimension includes: decoupling the second image according to the parameter adjustment dimension to obtain a target image, wherein the target image is superior to the first image in a single parameter adjustment dimension. Determining original data corresponding to the first image according to the first image. Taking the original data and the corresponding target image as a pair of data pairs, determining one or more pairs of data pairs.

[0044] In a possible implementation, obtaining a third image using the first parameter and the original data includes: using a module of the parameter to be adjusted to run the first parameter to process the original data to obtain the third image. Alternatively, using a module of the parameter to be adjusted to run the first parameter to process the original data, and outputting a display image. Receiving a third image sent by a third electronic device, the third image is an image obtained after the third electronic device captures the display image.

[0045] In some embodiments, after the second electronic device determines a set of first parameters, it can directly compile the first parameters into a corresponding module of parameters to be adjusted, so that the module of parameters to be adjusted uses the first parameters to process the original data and obtain a third image corresponding to the first parameters.

[0046] In some scenarios, the module whose parameters are to be adjusted is a module in the ISP, and the third image is used to represent the image processing result. After the second electronic device processes the original data, the third image can be directly obtained.

[0047] In other scenarios, the module whose parameters are to be adjusted is a module in the display unit, and the third image is used to represent the image display effect. The second electronic device processes the raw data and outputs the display image. In this scenario, it is necessary to use an acquisition device to acquire the display image. After acquiring the display image, the acquisition device obtains the third image, and the second electronic device receives the third image sent by the acquisition device.

[0048] In this way, the searched parameter combination can be run in an actual hardware environment, so that the target parameters finally determined can actually improve the image processing effect or image display effect of the module whose parameters are to be adjusted.

[0049] In a possible implementation, the parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; using the first similarity to determine the target parameter, including: if it is determined that the first similarity is greater than or equal to the first preset threshold, then stop searching the first parameter, and determine the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And / or, if it is determined that the number of searches for the first parameter reaches the target search number, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter. And / or, if it is determined that the duration of searching the first parameter reaches the target search duration, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter.

[0050] In a possible implementation, determining the search space according to the information of the module of the parameter to be adjusted includes: determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameter to be adjusted according to the information of the module of the parameter to be adjusted. Determining the search space according to the adjustable parameters and the adjustable range.

[0051] In a possible implementation, determining the search space according to the adjustable parameters and the adjustable range includes: displaying the adjustable parameters and the adjustable range, receiving the parameters and the range to be adjusted selected by the user, and determining the search space according to the parameters and the range to be adjusted.

[0052] In one possible implementation, searching for the first parameter in the search space includes: searching for the first parameter in the search space according to a first preset method; wherein the first preset method includes any one or more of the following: random search, grid search, and optimized search.

[0053] In a possible implementation, before adjusting the dimension according to the parameter and determining one or more data pairs, the method further includes: establishing a database, wherein the database includes one or more data pairs.

[0054] In a possible implementation, determining the parameter determination condition includes: displaying a first interface, the first interface being used to display any one or more of the following contents: parameter adjustment dimension, information of the module whose parameters are to be adjusted, and a search stop condition. Detecting the parameter determination condition selected by the user on the first interface.

[0055] In a possible implementation manner, determining the first similarity between the third image and the target image includes: determining the first similarity between the third image and the target image in a parameter adjustment dimension.

[0056] In addition, the technical effects of the parameter determination method of the second aspect can refer to the technical effects of the parameter determination method of the first aspect, and will not be repeated here.

[0057] In a third aspect, the present application provides an electronic device, characterized in that it includes: a processor, a memory and a display screen, the memory and the display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device performs the following operations: obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information of the module of the parameter to be adjusted. According to the parameter adjustment dimensions, one or more data pairs are determined, each data pair includes original data and a target image corresponding to the original data. According to the information of the module of the parameter to be adjusted, a search space is determined; the search space includes a parameter combination corresponding to the module of the parameter to be adjusted. A first parameter is searched in the search space, and a third image is obtained using the first parameter and the original data. A first similarity between the third image and the target image is determined, and a target parameter is determined using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted.

[0058] In a possible implementation, when the processor reads the computer instruction from the memory, the electronic device is also caused to perform the following operations: a first image and a second image are acquired, and the second image is superior to the first image in at least one parameter adjustment dimension. The first image is an image captured or displayed by a second electronic device, and the second electronic device includes a module for adjusting parameters. The first image and the second image correspond to the same subject or the same original film source.

[0059] In a possible implementation, determining one or more data pairs according to the parameter adjustment dimension includes: decoupling the second image according to the parameter adjustment dimension to obtain a target image, wherein the target image is superior to the first image in a single parameter adjustment dimension. Determining original data corresponding to the first image according to the first image. Taking the original data and the corresponding target image as a pair of data pairs, determining one or more pairs of data pairs.

[0060] In a possible implementation, obtaining a third image using the first parameter and the original data includes: sending the first parameter and the original data to a second electronic device, and receiving the third image outputted by a module of the parameter to be adjusted in the second electronic device after processing the original data using the first parameter.

[0061] In a possible implementation, the parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; using the first similarity to determine the target parameter, including: if it is determined that the first similarity is greater than or equal to the first preset threshold, then stop searching the first parameter, and determine the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And / or, if it is determined that the number of searches for the first parameter reaches the target search number, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter. And / or, if it is determined that the duration of searching the first parameter reaches the target search duration, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter.

[0062] In a possible implementation, determining the search space according to the information of the module of the parameter to be adjusted includes: determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameter to be adjusted according to the information of the module of the parameter to be adjusted. Determining the search space according to the adjustable parameters and the adjustable range.

[0063] In a possible implementation, determining the search space according to the adjustable parameters and the adjustable range includes: displaying the adjustable parameters and the adjustable range, receiving the parameters and the range to be adjusted selected by the user, and determining the search space according to the parameters and the range to be adjusted.

[0064] In one possible implementation, searching for the first parameter in the search space includes: searching for the first parameter in the search space according to a first preset method; wherein the first preset method includes any one or more of the following: random search, grid search, and optimized search.

[0065] In a possible implementation, when the processor reads the computer instruction from the memory, it also causes the electronic device to perform the following operations: establishing a database, the database containing one or more data pairs.

[0066] In a possible implementation, determining the parameter determination condition includes: displaying a first interface, the first interface being used to display any one or more of the following contents: parameter adjustment dimension, information of the module whose parameters are to be adjusted, and a search stop condition. Detecting the parameter determination condition selected by the user on the first interface.

[0067] In a possible implementation manner, determining the first similarity between the third image and the target image includes: determining the first similarity between the third image and the target image in a parameter adjustment dimension.

[0068] In addition, the technical effects of the electronic device of the third aspect can refer to the technical effects of the parameter determination method of the first aspect, which will not be repeated here.

[0069] In a fourth aspect, the present application provides an electronic device, characterized in that it includes: a processor, a memory and a display screen, the memory and the display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device performs the following operations: obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information of the module of the parameter to be adjusted. According to the parameter adjustment dimensions, one or more data pairs are determined, each data pair includes original data and a target image corresponding to the original data. According to the information of the module of the parameter to be adjusted, a search space is determined; the search space includes a parameter combination corresponding to the module of the parameter to be adjusted. A first parameter is searched in the search space, and a third image is obtained using the first parameter and the original data. A first similarity between the third image and the target image is determined, and a target parameter is determined using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted.

[0070] In one possible implementation, when the processor reads computer instructions from the memory, it also causes the electronic device to perform the following operations: capture or display a first image, and obtain a second image that is superior to the first image in at least one parameter adjustment dimension; the first image and the second image correspond to the same subject or correspond to the same original film source.

[0071] In a possible implementation, determining one or more data pairs according to the parameter adjustment dimension includes: decoupling the second image according to the parameter adjustment dimension to obtain a target image, wherein the target image is superior to the first image in a single parameter adjustment dimension. Determining original data corresponding to the first image according to the first image. Taking the original data and the corresponding target image as a pair of data pairs, determining one or more pairs of data pairs.

[0072] In a possible implementation, obtaining a third image using the first parameter and the original data includes: using a module of the parameter to be adjusted to run the first parameter to process the original data to obtain the third image. Alternatively, using a module of the parameter to be adjusted to run the first parameter to process the original data, and outputting a display image. Receiving a third image sent by a third electronic device, the third image is an image obtained after the third electronic device captures the display image.

[0073] In a possible implementation, the parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; using the first similarity to determine the target parameter, including: if it is determined that the first similarity is greater than or equal to the first preset threshold, then stop searching the first parameter, and determine the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And / or, if it is determined that the number of searches for the first parameter reaches the target search number, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter. And / or, if it is determined that the duration of searching the first parameter reaches the target search duration, then determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter.

[0074] In a possible implementation, determining the search space according to the information of the module of the parameter to be adjusted includes: determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameter to be adjusted according to the information of the module of the parameter to be adjusted. Determining the search space according to the adjustable parameters and the adjustable range.

[0075] In a possible implementation, determining the search space according to the adjustable parameters and the adjustable range includes: displaying the adjustable parameters and the adjustable range, receiving the parameters and the range to be adjusted selected by the user, and determining the search space according to the parameters and the range to be adjusted.

[0076] In one possible implementation, searching for the first parameter in the search space includes: searching for the first parameter in the search space according to a first preset method; wherein the first preset method includes any one or more of the following: random search, grid search, and optimized search.

[0077] In a possible implementation, when the processor reads the computer instruction from the memory, it also causes the electronic device to perform the following operations: establishing a database, the database containing one or more data pairs.

[0078] In a possible implementation, determining the parameter determination condition includes: displaying a first interface, the first interface being used to display any one or more of the following contents: parameter adjustment dimension, information of the module whose parameters are to be adjusted, and a search stop condition. Detecting the parameter determination condition selected by the user on the first interface.

[0079] In a possible implementation manner, determining the first similarity between the third image and the target image includes: determining the first similarity between the third image and the target image in a parameter adjustment dimension.

[0080] In addition, the technical effects of the electronic device of the fourth aspect can refer to the technical effects of the parameter determination method of the second aspect, which will not be repeated here.

[0081] In a fifth aspect, the present application provides an electronic device, which has the function of implementing the parameter determination method described in the first aspect and any possible implementation thereof. Alternatively, the electronic device has the function of implementing the parameter determination method described in the second aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions.

[0082] In a sixth aspect, the present application provides a computer-readable storage medium, comprising computer instructions, which, when executed on an electronic device, causes the electronic device to execute a parameter determination method as described in any one of the first aspect and any possible implementation thereof. Alternatively, causes the electronic device to execute a parameter determination method as described in any one of the second aspect and any possible implementation thereof.

[0083] In a seventh aspect, the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the parameter determination method described in the first aspect and any possible implementation thereof. Alternatively, enables the electronic device to execute the parameter determination method described in the second aspect and any possible implementation thereof.

[0084] In an eighth aspect, a circuit system is provided, which includes a processing circuit, and the processing circuit is configured to execute the parameter determination method as described in the first aspect above and any possible implementation thereof; or, is configured to execute the parameter determination method as described in the second aspect above and any possible implementation thereof.

[0085] In the ninth aspect, an embodiment of the present application provides a chip system, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the parameter determination method as described in the above-mentioned first aspect and any possible implementation thereof; or, the at least one processor executes the parameter determination method as described in the above-mentioned second aspect and any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] Figure 1A A schematic diagram of a communication system provided in an embodiment of the present application;

[0087] Figure 1B A schematic diagram of a system architecture provided for an embodiment of the present application;

[0088] Figure 2 A structural schematic diagram 1 of an electronic device provided in an embodiment of the present application;

[0089] Figure 3 Flow chart 1 of the parameter determination method provided in the embodiment of the present application;

[0090] Figure 4 Interface diagram 1 provided for an embodiment of the present application;

[0091] Figure 5 Interface diagram provided for the embodiment of the present application Figure 2 ;

[0092] Figure 6 Parameter determination method process provided in the embodiment of the present application Figure 2 ;

[0093] Figure 7 Parameter determination method process provided in the embodiment of the present application Figure 3 ;

[0094] Figure 8 Schematic diagram 1 of the parameter determination effect provided in the embodiment of the present application;

[0095] Fig. 9 Schematic diagram of the effect of parameter determination provided in the embodiment of the present application Figure 2 ;

[0096] Fig.10 Parameter determination method process provided in the embodiment of the present application Figure 4 ;

[0097] Fig.11 Interface diagram provided for the embodiment of the present application Figure 3 ;

[0098] Fig.12Interface diagram provided for the embodiment of the present application Figure 4 ;

[0099] Fig.13 Parameter determination method process provided in the embodiment of the present application Figure 5 ;

[0100] Fig.14 A schematic diagram of the structure of the electronic device provided in the embodiment of the present application Figure 2 ;

[0101] Fig.15 A schematic diagram of the structure of the electronic device provided in the embodiment of the present application Figure 3 . DETAILED DESCRIPTION

[0102] The parameter determination method and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0103] The terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0104] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0105] In the description of this application, unless otherwise specified, the meaning of "plurality" refers to two or more. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0106] First, to facilitate understanding, relevant terms and concepts that may be involved in the embodiments of the present application are introduced below.

[0107] (1) Image signal processor (ISP)

[0108] ISP is a processing unit in the processor of an electronic device. During the shooting process of an electronic device, ISP is used to process the data fed back by the camera. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. In other words, ISP can convert the original image into an image in a visual format. This process is also called the image rendering process. Among them, the original image is a RAW image file (also described as a RAW image), and the rendered visible image is called a bitmap.

[0109] Optionally, the ISP includes multiple image algorithm processing modules, each of which is configured with multiple parameters, and each parameter corresponds to a certain range of values. The different parameters and different value combinations of different modules determine the final ISP image processing effect. A better parameter value combination can present a more robust and high-quality imaging effect, while a poor parameter value combination will result in a poor imaging effect. Therefore, it is necessary to globally determine the parameters and values ​​of each module in the ISP so that a better imaging effect can be obtained after their combination. It can be seen that the amount of data in the ISP parameter determination process is large, which also makes the process more complicated.

[0110] For example, the ISP can perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. The image algorithm processing modules in the ISP include, for example, a dynamic range compression (DRC) module, a 3D color look up table (3D LUT) module, an automatic white balance (AWB) module, an automatic focusing (AF) module, an automatic exposure (AE) module, etc.

[0111] (2) Display unit

[0112] The display unit described in the embodiment of the present application is a processing unit in a processor of an electronic device. During the shooting process of the electronic device, the display unit is used to convert the received digital signal into an electrical signal, and cooperates with the liquid crystal display (LCD), organic light-emitting diode (OLED) and other display devices in the display screen of the electronic device to display the captured image or video. The display unit includes multiple image algorithm processing modules, such as a sharpening module. The display unit deblurs, brightens, and processes the high-dynamic range image (HDR) of the original film source (such as the original image or the original video) through the algorithm module to obtain a better display effect. Corresponding to the ISP, the display unit cooperates with the display screen to display the image processed by the ISP. Correspondingly, the image algorithm processing module in the display unit and the parameters therein are also relatively complex. Therefore, it is necessary to determine the parameters that enable the electronic device to obtain a better display effect through a parameter determination process.

[0113] It should be noted that the embodiment of the present application takes the ISP and display unit for processing image data in the processor as examples, and explains the parameter determination method from the two perspectives of image processing and image display. It is understandable that the processor also includes other modules that need to determine parameters, such as compression modules, etc. Other modules can use the parameter determination method provided in the embodiment of the present application to determine the values ​​of the algorithm parameters therein, which will not be described in detail. In addition, some audio processing modules in the processor can also use the parameter determination method provided in the embodiment of the present application to determine the values ​​of the algorithm parameters therein, which will not be described in detail.

[0114] Figure 1A (a) is a schematic diagram of a communication system to which a parameter determination method provided in an embodiment of the present application is applied. Figure 1A As shown in (a), the communication system includes a first electronic device 100 and a second electronic device 200. The first electronic device 100 and the second electronic device 200 can be connected via a wired network or a wireless network. The embodiment of the present application does not specifically limit the connection method between devices.

[0115] Optionally, the above-mentioned first electronic device 100 refers to a research and development device, and the first electronic device 100 can be either a server or a terminal device, such as a terminal device operated by a developer. The first electronic device 100 can provide a relevant human-computer interaction interface so that the user can input parameter determination conditions. The parameter determination conditions include, for example, the dimensions of parameter adjustment, the modules of the parameters to be adjusted, the search stop conditions, etc. Among them, the dimensions of parameter adjustment include, for example, brightness, color, clarity, etc. The module of the parameters to be adjusted is a module in the processor that needs to be parameter adjusted, such as a DRC module in an ISP, a 3DLUT module, etc. Exemplarily, the first electronic device 100 can be a terminal device such as a desktop, laptop, handheld computer, notebook computer, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the first electronic device 100.

[0116] Optionally, the second electronic device 200 refers to a client device, which can be a terminal device used by a user (also described as a consumer). The second electronic device 200 is a device for adjusting parameters, including a module for adjusting parameters, and can determine the parameters (i.e., parameter value combinations) that enable the second electronic device 200 to obtain better image processing results and / or image display effects during interaction with the first electronic device 100. Exemplarily, the second electronic device 200 includes, for example, mobile phones, large-screen display devices (such as smart screens, etc.), tablet computers, vehicle-mounted devices, laptop computers, wearable devices, ultra-mobile personal computers (ultra-mobile personal computers, UMPC), netbooks, personal digital assistants (personal digital assistants, PDAs), artificial intelligence (artificial intelligence) devices, and other terminal devices with image processing and display functions. The embodiments of the present application do not impose any restrictions on the specific type of the second electronic device 200.

[0117] In some scenarios, such as Figure 1A As shown in (b) of FIG. 1 , the communication system further includes one or more third electronic devices 300. The image processing result of the third electronic device 300 in at least one dimension adjusted by parameters is better than the image processing result of the second electronic device 200 in the corresponding dimension, and / or the image display effect of the third electronic device 300 in at least one dimension adjusted by parameters is better than the image display effect of the second electronic device 200 in the corresponding dimension.

[0118] For example, the third electronic device 300 is a single-lens reflex camera, and the second electronic device 200 is a mobile phone. When shooting the same subject, the image output by the third electronic device 300 is better in color than the image output by the second electronic device 200. For another example, the third electronic device 300 is a professional display screen, and the second electronic device 200 is a television. When displaying the same image, the clarity of the image displayed by the third electronic device 300 is better than the clarity of the image displayed by the second electronic device 200.

[0119] Optionally, the third electronic device 300 can be a device that can obtain better image processing results, such as a SLR camera, a professional camera, etc. The third electronic device 300 can also be a device that can obtain better image display effects, such as a professional display screen, a consumer-grade large screen, etc. The embodiment of the present application does not impose any restrictions on the specific type of the third electronic device 300.

[0120] In the above Figure 1A (a) and Figure 1A In the scenario shown in (b), the first electronic device 100 is a server or terminal device for determining parameters. Figure 1A As shown in (c), the communication system includes a server 400 for determining parameters.

[0121] Optionally, the server 400 may be a device or server with computing functions such as a cloud server or a network server. The server 400 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center.

[0122] In some embodiments, Figure 1A As shown in (c), the communication system includes a server 400, a first electronic device 100 and a second electronic device 200. Among them, the first electronic device 100 provides a related human-computer interaction interface and collects parameter determination conditions input by the user. The server 400 is a cloud server, which receives the parameter determination conditions sent by the first electronic device 100 and determines the parameter values ​​in the module of the parameter to be adjusted. Among them, the specific parameter determination process is described below and will not be repeated here.

[0123] In other embodiments, the communication system includes a server 400 and a second electronic device 200, and the server 400 directly collects parameters to determine conditions, and determines parameter values ​​in a module of parameters to be adjusted during interaction with the second electronic device 200.

[0124] In some other scenarios, the communication system includes a second electronic device 200, and the second electronic device 200 collects parameters to determine conditions and determines parameter values ​​in a module of parameters to be adjusted.

[0125] It can be understood that the above parameter determination is to determine the parameters, the values ​​of the parameters, and the combination of the parameter values. The parameter determination process is the process of determining the parameters, the parameter values, and the combination of the parameter values. This will not be described in detail below.

[0126] Figure 1B A system architecture provided by an embodiment of the present application is exemplarily given, including a first electronic device 100, a second electronic device 200 and a third electronic device 300.

[0127] like Figure 1B As shown in the system architecture in FIG. 1 , the first electronic device 100 is configured with a communication interface 110 for data interaction with the second electronic device 200. The first electronic device 100 provides a human-computer interaction page or voice prompt to collect parameters input by the user to determine the conditions. The first electronic device 100 also includes a collection module 120, a construction module 130, a search module 140 and an evaluation module 150.

[0128] The acquisition module 120 is used to acquire the parameter determination conditions input by the user, including parameter adjustment dimensions (such as brightness, color, clarity, etc.), information of the modules of the parameters to be adjusted, search stop conditions, etc. Among them, the modules of the parameters to be adjusted correspond to the parameter adjustment dimensions. For example, if the acquisition module 120 acquires that the parameter adjustment dimension selected by the user is brightness, it determines the module corresponding to the brightness, and provides the information of these modules to the user for selection. Then, according to the user's selection, one or more modules corresponding to the brightness that the user determines need to adjust the parameters are acquired. The search stop condition includes one or more items such as a first preset threshold, the number of target searches, and the target search duration. Among them, the first preset threshold is the minimum similarity between the image corresponding to the searched parameter and the target image. For example, if the first preset threshold is set to 98%, the search needs to be stopped after the target parameter is searched so that the similarity between the processing result and the target image is greater than or equal to 98%. Among them, the processing result includes the image processed by the ISP or the image displayed by the display unit.

[0129] It should be noted that the target image can also be described as a reference image, reference data, target ground truth (GT), gold label image, gold label, gold label data, etc., and the embodiments of the present application do not make specific limitations on this.

[0130] The construction module 130 is used to construct a data pair and a search space. The data pair includes the original data and the corresponding target image. For example, Figure 1BAs shown, the database 400 stores images or video images taken by the second electronic device 200 and the third electronic device 300 for the same scene, and / or the database 400 stores displayed images of the second electronic device 200 and the third electronic device 300 for the same image or video image. Among them, the image processed or displayed by the second electronic device 200 is the first image, and the image processed or displayed by the third electronic device 300 is the second image. The construction module 130 forms a set of corresponding images with the first image and the second image that is superior to the first image in at least one dimension. Afterwards, the original data corresponding to the first image is obtained using the first image. And, according to the parameter adjustment dimension, the second image is decoupled to obtain one or more target images corresponding to the parameter adjustment dimension. The original data and the corresponding target image are constructed as a data pair. Among them, the target image is superior to the first image in the current parameter adjustment dimension, and is the same as the first image in other dimensions except the current parameter adjustment dimension.

[0131] Exemplarily, a second electronic device 200 such as a mobile phone is used to shoot scene 1 to obtain image A. Then, a third electronic device 300 such as a SLR camera is used to shoot scene 1 to obtain image B. Image B is better than image A in terms of brightness and color, so the construction module 130 uses image A and image B as a set of corresponding images. Then, the construction module 130 uses image A to obtain the RAW image corresponding to image A, and determines the target image according to the parameter adjustment dimension. For example, if the parameter adjustment dimension is brightness, the construction module 130 decouples image B to obtain target image 1. The brightness of target image 1 is better than that of image A, and the color of target image 1 is the same as that of image A. The RAW image and target image 1 are constructed as a data pair to obtain a data pair. For another example, if the parameter adjustment dimension is brightness and color, the construction module decouples image B to obtain target image 1 and target image 2. The brightness of target image 1 is better than that of image A, and the color of target image 1 is the same as that of image A. The color of target image 2 is better than that of image A, and the brightness of target image 2 is the same as that of image A. The RAW image and target image 1 are constructed as one data pair, and the RAW image and target image 2 are constructed as another data pair to obtain two data pairs.

[0132] The search space is a space for searching parameters determined by the construction module 130 according to the information of the module of the parameter to be adjusted and the parameter adjustment dimension collected by the collection module 120. For example, the information of the module of the parameter to be adjusted includes 10 parameters to be determined, and each parameter corresponds to 10 possible values, then the size of the search space is 100 (i.e., 10^10), and the search space contains 100 possible parameter combinations.

[0133] The search module 140 is used to search for the first parameter based on the search space constructed by the construction module 130. For example, the search module 140 searches for a set of first parameters in the search space by using a random search or the like, and sends the first parameter and the raw data (i.e., the RAW image) in the data pair to the second electronic device 200 through the communication interface 110, so that the second electronic device 200 processes the raw data by using the first parameter to obtain a corresponding processing result.

[0134] The evaluation module 150 is used to evaluate whether the first parameter currently searched by the search module 140 is a parameter that satisfies the search stop condition. Specifically, the evaluation module 150 obtains the processing result of the second electronic device 200 through the communication interface 110, compares the processing result with the target image in the data pair corresponding to the first parameter, obtains the similarity, and determines whether the search stop condition is met. If the search stop condition is met, the parameter corresponding to the highest similarity is obtained and determined as the target parameter. If the search stop condition is not met, the search module 140 is notified to search for another set of first parameters and execute the next round of parameter determination process.

[0135] It should be noted that Figure 1B This is only a schematic diagram of a system architecture provided by an embodiment of the present application, and the positional relationship between the devices, components, modules, etc. shown in the figure does not constitute any limitation. Figure 1B In the embodiment, the database 400 is an external memory relative to the first electronic device 100. In other cases, the database 400 may also be placed in the first electronic device 100.

[0136] The parameter determination method provided in the embodiment of the present application can be implemented by different devices. For example, it can be applied to Figure 2 The communication device 200 shown in FIG. Figure 2 As shown, the communication device 200 includes at least one processor 201, a communication line 202, a memory 203 and at least one communication interface 204. The memory 203 may also be included in the processor 201.

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

[0138] The communication line 202 may be a circuit that connects the above components to each other and transmits information between the above components.

[0139] The communication interface 204 is used to communicate with other devices. In the embodiment of the present application, the communication interface 204 can be a module, a circuit, a bus, an interface, a transceiver or other device capable of realizing a communication function, and is used to communicate with other devices. Optionally, when the communication interface 204 is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiment of the present application does not limit the specific implementation of the transceiver.

[0140] The memory 203 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM) and direct rambus RAM (DR RAM) or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but not limited thereto. The memory 203 can be independent and connected to the processor 201 via the communication line 202. The memory 203 can also be integrated with the processor 201.

[0141] The memory 203 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 201. The processor 201 is used to execute the computer-executable instructions stored in the memory 203, thereby implementing the method for determining parameters provided in the following embodiments of the present application.

[0142] It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0143] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer program or other names, which are not specifically limited in the embodiments of the present application.

[0144] In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as Figure 2CPU0 and CPU1 in.

[0145] In a specific implementation, as an embodiment, the communication device 200 may include multiple processors, such as Figure 2 201 and processor 207 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0146] In a specific implementation, as an embodiment, the communication device 200 may further include an output device 205 and an input device 206. The output device 205 communicates with the processor 201 and may display information in a variety of ways. For example, the output device 205 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 206 communicates with the processor 201 and may receive user input in a variety of ways. For example, the input device 206 may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0147] The above-mentioned communication device 200 may be a general device or a dedicated device. Figure 2 The structure of the communication device 200 shown in the figure does not constitute a limitation on the communication device, and an actual communication device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.

[0148] The parameter determination process will be performed by the first electronic device 100 below, and the first electronic device 100 is a device having a configuration shown in FIG. 1B and FIG. Figure 2 The PC of the structure shown takes the second electronic device 200 as a mobile phone as an example to illustrate the parameter determination method provided in the embodiment of the present application.

[0149] Before determining the parameters, a database for storing data pairs needs to be pre-established, and the database is stored in the PC or in an external memory of the PC. Exemplarily, the database stores image pairs for determining image processing module parameters and / or image pairs for determining image display unit parameters.

[0150] In some scenarios, the PC needs to determine the parameters of the image processing module in the mobile phone, such as determining the parameters of certain modules in the ISP, and then needs to use the mobile phone to collect the first image in advance. Among them, the first image can also be described as a first media file, including an image and / or a video. Afterwards, a second image of the same subject as the first image is collected using professional equipment such as a SLR camera. The second image is better than the first image in at least one dimension. For example, the brightness of the second image is better than the first image. For another example, the video shot by the SLR camera is better than the video shot by the mobile phone in color, and the shooting content and shooting environment of the two videos are the same. As described above for the ISP, the ISP can convert the RAW image into a first image in a visual format, so the mobile phone can determine the RAW image corresponding to the first image, and the PC stores the RAW image and the second image as a set of image pairs in the database. Alternatively, the PC stores the first image and the second image as a set of image pairs in the database. Alternatively, the RAW image corresponding to the first image and the target image corresponding to the second image are stored in the database. In other words, the RAW image is the original data, the second image is used to determine the corresponding target image, and the RAW image and the corresponding target image constitute a data pair. Then, the module with the parameters to be adjusted in the subsequent mobile phone processes the RAW image using different parameters. The PC obtains the visible third image obtained after the mobile phone processes the RAW image, and compares the third image with the corresponding target image. Based on the similarity, the target parameters that meet the requirements can be determined.

[0151] It should be noted that, in the process of acquiring the first image and the second image, it should be ensured that, except for the difference in equipment, the ambient light source, the object being photographed, etc. remain consistent, so that the target image can be obtained more accurately.

[0152] In other scenarios, the PC needs to determine the parameters of the image display unit in the mobile phone, and then the original film source needs to be determined in advance, and the original film source includes images and / or videos. The same original film source is displayed by the mobile phone and the professional display device (such as a professional display screen), and the images displayed by the mobile phone and the professional display device are captured by professional equipment, such as a high-speed camera, as the display effects of the mobile phone and the professional display device, respectively. For example, the image of the original film source displayed by the mobile phone is captured as the first image, and the image of the original film source displayed by the professional display device is captured as the second image. If the display effect of the professional display device is better than the display effect of the mobile phone in at least one dimension, then the second image is better than the first image in at least one dimension. If the clarity of the image displayed by the professional display device is better than the clarity of the image displayed by the mobile phone. The original film source is used as the original data, and the second image output by the original film source is displayed by the professional display device to obtain the corresponding target image and store it in the database. Then, the display unit in the subsequent mobile phone uses different parameters to display the original film source to obtain different third images, and the PC compares the third image with the corresponding target image, and then the target parameters that meet the requirements can be determined.

[0153] It should be noted that in the process of collecting the images output after the mobile phone and professional display device display the original film source, other conditions, such as the ambient light source, should be kept consistent except for the equipment differences between the mobile phone and the professional display device, so that the target image can be obtained more accurately. In addition, in the subsequent parameter determination process, if it is necessary to collect the display effect of the original film source displayed by the mobile phone, it should also be ensured that the conditions such as the collection equipment and the collection environment are the same.

[0154] For example, Figure 3 Schematic diagram of the parameter determination method provided in the embodiment of the present application. Figure 3 , the method includes S301-S308.

[0155] S301. PC obtains parameter determination conditions.

[0156] Among them, the parameter determination condition includes one or more of the following contents: parameter adjustment dimension, information of the module of the parameter to be adjusted, and search stop condition. The module of the parameter to be adjusted is a module in the mobile phone that needs to adjust the parameters to obtain better application effects. In the embodiment of the present application, the module in the ISP or display unit is used as an example for explanation. The parameter adjustment dimension is used to represent the dimension that affects the image processing effect or display effect after the parameter adjustment. For example, it includes dimensions such as the brightness after image processing, the color after image processing, and the clarity of image display. The search stop condition is a condition for stopping the parameter search process preset according to empirical values ​​or experimental results. For example, it includes one or more of the first preset threshold, the number of target searches, and the target search duration. The first preset threshold is used to describe the minimum similarity between the image processed by the searched parameters and the target image, that is, after searching for a parameter that makes the similarity greater than or equal to the first preset threshold, the search can be stopped, and the parameter is used as the target parameter for adjusting the module of the parameter to be adjusted.

[0157] In some embodiments, the PC displays a first interface, and collects parameters and determines conditions through human-computer interaction. Figure 4 As shown in interface 401, the PC detects the parameter adjustment dimension selected or filled in by the user. According to the parameter adjustment dimension, the module of the corresponding parameter to be adjusted is determined. As shown in interface 401, the PC determines that the module of the parameter to be adjusted corresponding to the brightness dimension includes 6 modules, namely module 1 to module 6. The PC displays these 6 modules for the user to select, and determines the module of the parameter to be adjusted selected by the user, such as module 1 shown in interface 401. Figure 4As shown, the PC also uses interface 401 to collect search stop conditions. For example, as shown in the current interface 401, the PC determines that the search stop conditions include the number of searches reaching 100 times and / or the similarity threshold reaching 99%. After the PC detects that the user clicks the confirmation control 41, the collection of parameter determination conditions is completed. In this way, through interface 401, the PC collects one or more parameter adjustment dimensions, as well as the corresponding one or more modules of the parameters to be adjusted and one or more search stop conditions.

[0158] In some embodiments, the correspondence between the preset parameter adjustment dimension, the module of the parameter to be adjusted, and the search stop condition is set, so that after the PC determines one or more of the contents, it can obtain other parameter determination conditions accordingly. For example, the PC determines that the parameter adjustment dimension is the brightness and color of the image, and it is no longer necessary for the user to select. The corresponding module of the parameter to be adjusted is directly determined to be the DRC module and the 3D LUT module in the ISP based on the correspondence. In addition, the PC can obtain the preset search stop condition, such as the similarity between the image brightness and the target image is greater than or equal to 98%, and the similarity between the image color and the target image is greater than or equal to 99%. For another example, the PC determines that the module of the parameter to be adjusted is the sharpen module in the display unit, then directly based on the correspondence, the parameter adjustment dimension is determined to be the clarity of the image display, and the search stop condition is that the similarity between the clarity of the image display and the target image is greater than or equal to 99%.

[0159] S302. The PC determines one or more data pairs corresponding to the parameter adjustment dimension, each data pair including original data and a corresponding target image.

[0160] In some embodiments, after obtaining the parameter determination condition, the PC determines the parameter adjustment dimension, and searches for the corresponding one or more second images in the database according to the parameter adjustment dimension. The number of parameter adjustment dimensions is one or more. For example, the number of parameter adjustment dimensions is 3, and the PC determines 3 second images that are respectively superior to the first image in the 3 parameter adjustment dimensions, and / or a second image that is superior to the first image in any two of the parameter adjustment dimensions, and / or a second image that is superior to the first image in all 3 parameter adjustment dimensions.

[0161] In some scenarios, after the PC acquires the first image and the parameter adjustment dimension, it searches the database for one or more second images that are superior to the first image in at least one parameter adjustment dimension. In other scenarios, after the PC acquires the parameter adjustment dimension, it searches the database for the first image and one or more second images that have been determined as an image pair in at least one parameter adjustment dimension.

[0162] Afterwards, the original data is determined and the target image is determined using the second image by adjusting the dimension according to the parameters to obtain one or more data pairs.

[0163] As described above, if the module whose parameters are to be adjusted is a module in the ISP, the PC determines that the original data is a RAW image corresponding to the first image captured by the mobile phone. Alternatively, if the module whose parameters are to be adjusted is a module in the display unit, the PC determines that the original data is the original film source.

[0164] In some embodiments, if the second image is better than the first image in one parameter adjustment dimension and is the same as the first image in other dimensions, the PC uses the second image as the target image and determines the RAW image corresponding to the first image and the target image as a data pair. The second image being the same as the first image in other dimensions means that the evaluation results of the second image and the first image in other dimensions are the same. For example, in the brightness dimension, if the second image is the same as the first image or the difference is less than or equal to a preset threshold, the evaluation results in the brightness dimension are the same, and it is determined that the second image is the same as the first image in brightness.

[0165] In some other embodiments, if the second image is superior to the first image in multiple parameter adjustment dimensions, the PC needs to decouple the second image. Specifically, if the second image is superior to the first image in multiple dimensions, the second image needs to be decoupled into multiple target images that are superior to the first image only in a single dimension. The image processing effect or image display effect is compared in a single parameter adjustment dimension, thereby ensuring the accuracy of the comparison effect and improving the certainty of the target parameter.

[0166] For example, if the second image is better than the first image in both the brightness and color parameter adjustment dimensions, the second image is decoupled to obtain a target image 1 that is better than the first image in brightness and has the same color as the first image, and a target image 2 that is better than the first image in color and has the same brightness as the first image. Afterwards, the PC takes the RAW image corresponding to the first image and the target image 1 as a data pair, and takes the RAW image corresponding to the first image and the target image 2 as a data pair, to obtain two data pairs.

[0167] S303: The PC determines a search space.

[0168] In some embodiments, after obtaining the parameter determination conditions, the PC determines the module of the parameter to be adjusted, and determines the corresponding search space according to the adjustable parameters in the module of the parameter to be adjusted and the value range of each adjustable parameter. The search space contains multiple parameter combinations corresponding to the current parameter adjustment dimension.

[0169] For example, the PC determines that the parameter adjustment dimensions are the brightness and color of the image, and the modules of the parameters to be adjusted are the DRC module and the 3D LUT module in the ISP, and determines the search spaces corresponding to the different parameter adjustment dimensions respectively. The PC determines that the number of adjustable parameters in the DRC module corresponding to the brightness is a, and the value range of each adjustable parameter includes b possible values. Then the search space corresponding to the brightness includes b^a possible parameter combinations, that is, the search space size is b^a. The PC determines that the number of adjustable parameters in the 3D LUT module corresponding to the color is c, and the value range of each adjustable parameter includes d possible values. Then the search space corresponding to the color includes d^c possible parameter combinations, that is, the search space size is d^c.

[0170] In some other embodiments, the PC displays a second interface, on which the module of the determined parameter to be adjusted, the adjustable parameter and the value range of the adjustable parameter (i.e., the adjustable range) are displayed. Through human-computer interaction, the parameter to be adjusted determined by the user and the range to be adjusted corresponding to the parameter are obtained, thereby determining the search space required by the end user.

[0171] In this way, some parameters among all adjustable parameters can be determined as parameters to be adjusted according to user needs or experience, and the adjustable range of the parameters to be adjusted can be narrowed, thereby reducing the search space and improving the efficiency of subsequent parameter searches in the search space.

[0172] For example, Figure 5 In the interface 501 shown, the module of the current parameter to be adjusted is module 1, and the corresponding adjustable parameters are parameters 1-parameter 5. In response to the user's selection, the parameters to be adjusted determined by the user of the current module 1 are determined to be parameters 1, 3 and 5, and the value range of each parameter to be adjusted is determined. For example, the adjustable range of parameter 1 is 1-30, and the user selects the value range of parameter 1 to be 1-10 within the adjustable range. After detecting that the user clicks the confirmation control 51, the parameters to be adjusted and the range to be adjusted of each module of the parameter to be adjusted are determined, and the search space to be applied in the subsequent parameter search is obtained by the above method.

[0173] S304: The PC searches for the first parameter in the search space according to a first preset method.

[0174] The first preset method is a parameter search method, including random search, grid search, optimization search, etc. The PC performs parameter search in a determined search space according to the first preset method to obtain a set of parameter combinations as first parameters.

[0175] For example, the PC searches randomly in the search space in a random search manner to obtain the first parameter. For another example, the PC presets a search step size, and obtains the first parameter in the search space in a grid search manner according to the preset search step size. For another example, the PC determines the first parameter searched this time based on the image processing result or display effect corresponding to the first parameter searched in the past. If the PC determines that a parameter in a certain value range can make the image processing result or display effect better based on several parameter search results, it will continue to search in this range, and then determine the target parameter that can be obtained more quickly so that the image processing result or display effect meets the requirements.

[0176] S305. The PC acquires a third image using the first parameter and the original data.

[0177] In some embodiments, after the PC determines a set of first parameters, it is necessary to compile the first parameters into a corresponding mobile phone, which includes a module of parameters to be adjusted and is the mobile phone that shoots the first image. After the first parameters are compiled into the module of parameters to be adjusted in the mobile phone, the module of parameters to be adjusted uses the first parameters to process the raw data, thereby obtaining a third image corresponding to the first parameters.

[0178] Among them, the third image is used to represent the image processing result or the image display effect. If the third image is used to represent the image processing result, the image output by the module of the parameter to be adjusted in the mobile phone after processing the original data is the third image, and the PC can directly obtain the third image sent by the mobile phone. If the third image is used to represent the image display effect, after the module of the parameter to be adjusted in the mobile phone processes the original data, it is necessary to use other acquisition devices (such as high-speed cameras) to acquire the display image to obtain the third image, and the PC needs to receive the third image sent by other acquisition devices.

[0179] In some scenarios, the module whose parameters are to be adjusted is a module in the ISP, and the third image is used to represent the image processing result. Figure 6 Schematic diagram of the parameter determination method provided in the embodiment of the present application Figure 2 .like Figure 6 As shown, step S305 is implemented as steps S601 to S603.

[0180] S601. The PC sends the first parameter and original data to the mobile phone.

[0181] S602: The mobile phone inputs the first parameter and the original data into a module of parameters to be adjusted to obtain a third image.

[0182] S603: The mobile phone sends the third image to the PC.

[0183] In some embodiments, as described in steps S601 to S603 above, the PC sends the first parameter and the original data to the mobile phone, the mobile phone compiles the first parameter into the corresponding module of the parameter to be adjusted, inputs the original data, i.e., the RAW image, into the module of the parameter to be adjusted whose updated parameter is the first parameter, obtains a bitmap after processing the RAW image, and uses the bitmap as the third image. Afterwards, the mobile phone sends the third image to the PC.

[0184] In other scenarios, the module whose parameters are to be adjusted is a module in a display unit, and the third image is used to represent an image display effect. Figure 7 Schematic diagram of the parameter determination method provided in the embodiment of the present application Figure 3 .like Figure 7 As shown, step S305 is implemented as steps S701 to S704.

[0185] S701. The PC sends the first parameter and original data to the mobile phone.

[0186] S702: The mobile phone inputs the first parameter and the original data into a module of parameters to be adjusted, and outputs a display image.

[0187] S703: The acquisition device acquires the display image to obtain a third image.

[0188] S704: The acquisition device sends the third image to the PC.

[0189] In some embodiments, as described in the above steps S701 to S704, the PC sends the first parameter and the original data to the mobile phone, the mobile phone compiles the first parameter into the module of the corresponding parameter to be adjusted, inputs the original data, i.e., the original film source, into the module of the parameter to be adjusted whose updated parameter is the first parameter, the original film source is processed to realize the mobile phone display image, and the image displayed by the mobile phone is collected by a collection device, such as a high-speed camera, to obtain a third image. Afterwards, the collection device sends the third image to the PC.

[0190] It should be noted that the acquisition device is a device that acquires the first image and the second image. For example, the acquisition device acquires the display image of the original film source displayed on a mobile phone to obtain the first image. The acquisition device acquires the display image of the original film source displayed on a professional display screen to obtain the second image.

[0191] Afterwards, if Figure 3 As shown, after obtaining the processing result corresponding to the first parameter searched this time, that is, the third image, the PC executes the following steps.

[0192] S306: The PC determines a first similarity between the third image and the target image.

[0193] In some embodiments, if the target image is an image corresponding to the same parameter adjustment dimension, the PC directly determines the similarity between the third image and the target image in the current dimension. For example, if the parameter adjustment dimension is clarity, the PC determines the similarity between the clarity of the original film source displayed by the mobile phone and the clarity of the original film source displayed by the professional display screen. For another example, if there are multiple target images, the similarity between the third image and the target image in the parameter adjustment dimension is determined by using the mean average or weighted average method. For example, in the above step S302, the PC determines that the number of second images that are superior to the first image in the dimension of brightness is 5, then correspondingly, the PC can obtain 5 target images corresponding to brightness. The PC compares the third image with the corresponding 5 target images respectively, obtains 5 similarities in brightness, and takes the average of these 5 similarities as the first similarity.

[0194] For example, Figure 8 As shown in (a), the third image is obtained by displaying the original source on the mobile phone, and the corresponding definition is definition 1. Figure 8 As shown in (b), a target image obtained by displaying the same original film source on a professional display device corresponds to a definition 2. Among them, the definition 2 is better than the definition 1. Then, the PC determines a first similarity between the definition 1 and the definition 2.

[0195] In some embodiments, if the target image is an image corresponding to multiple parameter adjustment dimensions, the PC needs to determine the similarity between the third image and the corresponding target image in each parameter adjustment dimension. Afterwards, the first similarity is determined by using the mean average or weighted average method. For example, the parameter adjustment dimensions are brightness and color, and the target image includes a target image 1 that is better than the first image in brightness and has the same color as the first image, and a target image 2 that is better than the first image in color and has the same brightness as the first image. Afterwards, the PC determines the similarity 1 between the third image and the target image 1 in brightness, and determines the similarity 2 between the third image and the target image 2 in color. And, using similarity 1 and similarity 2, the first similarity is obtained. The weights of brightness and color are set respectively, and the first similarity is obtained by using a weighted average algorithm based on similarity 1 and similarity 2. If the brightness weight is set higher, the target parameters subsequently determined according to the preset weights can enable the image processed by the mobile phone to obtain a better processing effect in terms of brightness.

[0196] For example, Fig. 9 As shown in (a), the first image is obtained by processing the RAW image with the original parameters before the mobile phone adjusts the parameters. Fig. 9 As shown in (b), after the second image obtained by processing the RAW image with a SLR camera is decoupled, the target image 1 is obtained, which is brighter than the first image. Fig. 9As shown in (c), after the second image obtained by processing the RAW image with a SLR camera is decoupled, the target image 2 is obtained, which is better than the first image in color.

[0197] S307, PC determines whether the search stop condition is met. If so, step S308 is executed. If not, the process returns to the above step S304 and executes steps S304 to S307 in a loop.

[0198] S308. The PC obtains a target parameter, which is a first parameter corresponding to the highest first similarity.

[0199] In some embodiments, as described in step S301 above, after the PC obtains the parameter determination condition, it determines the search stop condition and determines whether the current first parameter satisfies the search stop condition. If so, the current first parameter is output as the target parameter, and the parameter adjustment process of the module to be adjusted for the mobile phone is completed to obtain the parameters that enable the module to be adjusted for the parameters to have a better image processing result or display effect.

[0200] In some scenarios, the search stop condition includes a first preset threshold. After obtaining the first similarity in the above step S306, the PC determines whether the first similarity meets the requirement of the first preset threshold. If the first similarity is greater than or equal to the first preset threshold, it means that the first similarity meets the requirement, and the first parameter corresponding to the currently determined first similarity is output. If not, return to step S304 and search for the next set of first parameters in the search space again according to the first preset method.

[0201] For example, Figure 4 In the scenario shown, the first preset threshold (i.e., the similarity threshold shown in interface 401) is 99%. If the first similarity is 99.5%, the first preset threshold requirement is met, and the current first parameter is output. If the first similarity is 95%, the first preset threshold requirement is not met, and the process returns to step S304.

[0202] In some other scenarios, the search stop condition includes the target search times and / or the target search duration. After obtaining the first similarity in the above step S306, the PC determines whether the current search times and / or search duration meet the search stop condition. If satisfied, such as the number of searches for the first parameter reaches the target search times and / or the duration of searches for the first parameter reaches the target search duration, the maximum value of the first similarity corresponding to the first parameter searched multiple times is determined, the first parameter corresponding to the maximum value is used as the target parameter, and the first parameter is output. If not satisfied, return to step S304 and continue searching for parameters.

[0203] For example, Figure 4In the scenario shown, the search stop condition includes the target search number being 100. In the current scenario, if in the 100 searches, the first parameter searched in a certain time makes the first similarity meet the first preset threshold requirement, the search is stopped and the first parameter is output. If the target parameter is not found in all 100 searches, after the 100th search is completed and the first similarity is determined, the 100 first similarities corresponding to the 100 searches are obtained, and the first parameter corresponding to the highest first similarity is used as the target parameter, and the first parameter is output.

[0204] For example, after the search stop condition is met, the target parameter is output, and the mobile phone runs the target parameter to display the original source. Figure 8 As shown in (c). It can be seen that Figure 8 The clarity of the displayed image shown in (c) is better than that shown in (a) in FIG8 , that is, the target parameters can enable the mobile phone to obtain a better image display effect. Fig. 9 The target image 1 corresponding to the brightness dimension shown in (b) and Fig. 9 After the target image 2 corresponding to the color dimension shown in (c) is improved, the PC outputs the target parameters after the search stop condition is met. After the module of the parameter to be adjusted in the mobile phone runs the target parameter to process the RAW image, the following is displayed: Fig. 9 The image shown in (d) has better brightness and color than Fig. 9 The brightness and color of the image described in (a), i.e., the target parameters, can enable the mobile phone to obtain better image processing results.

[0205] Therefore, the parameter determination method provided in the embodiment of the present application can quickly search for available parameter combinations, and can run the searched parameter combinations in an actual hardware environment. By using a predetermined target image, the searched parameter combinations are measured, and the parameter combinations that meet the requirements are quickly determined. This improves the efficiency of parameter determination and ensures that the determined parameters can achieve better results.

[0206] In addition, different electronic devices or different modules with the same function in the same electronic device use the same target image to determine target parameters, thereby ensuring that each electronic device or module has similar performance after debugging.

[0207] For example, by using the same target image, the ISP parameters of different cameras in the mobile phone can be determined to achieve consistency in the image processing effects of multiple cameras, such as ensuring consistency in the brightness of images processed by the main camera, wide-angle camera, and telephoto camera.

[0208] For another example, by using the same target image, the ISP parameters of the mobile phone preview stream and video stream are adjusted so that when the mobile phone takes photos or videos, the preview image is consistent with the captured image.

[0209] For example, in some scenarios, it is necessary to use multiple large-screen display devices to splice to obtain a larger display screen for displaying images, and it is necessary to ensure that each large-screen display device has the same display effect. For example, by presetting the same target image, each large-screen display device can be consistent in brightness, color, clarity, etc., so that the spliced ​​display screen can have a better display effect.

[0210] In another scenario, when the second electronic device 200 determines that some modules need to adjust parameters, it can directly determine the target parameters without going through the first electronic device 100. That is, the second electronic device performs the parameter determination process.

[0211] The parameter determination method provided in the embodiment of the present application will be described below by taking the second electronic device 200 executing the parameter determination process and taking the second electronic device 200 as a mobile phone as an example.

[0212] For example, Fig.10 Schematic diagram of the parameter determination method provided in the embodiment of the present application Figure 4 . See Fig.10 , the method includes S1001-S1008.

[0213] S1001. The mobile phone obtains parameter determination conditions.

[0214] In some embodiments, the mobile phone displays the first interface, and collects parameters and determines conditions through human-computer interaction. Fig.11 As shown in interface 1101, the mobile phone detects the parameter adjustment dimension selected or filled in by the user. According to the parameter adjustment dimension, the module of the corresponding parameter to be adjusted is determined. As shown in interface 1101, the mobile phone determines that the module of the parameter to be adjusted corresponding to the brightness dimension includes 6 modules from module 1 to module 6. The PC displays these 6 modules for the user to select and determines the module of the parameter to be adjusted selected by the user, such as module 1 shown in interface 1101. Fig.11 As shown, the mobile phone also uses interface 1101 to collect search stop conditions. For example, as shown in the current interface 1101, the mobile phone determines that the search stop conditions include the number of searches reaching 100 times and / or the similarity threshold reaching 99%. After the mobile phone detects that the user clicks the confirmation control 111, the collection of parameter determination conditions is completed. In this way, through interface 1101, the mobile phone collects one or more parameter adjustment dimensions, as well as the corresponding information of one or more modules of the parameters to be adjusted and one or more search stop conditions.

[0215] In some embodiments, the correspondence between the preset parameter adjustment dimensions, the modules of the parameters to be adjusted, and the search stop conditions enables the mobile phone to obtain other parameter determination conditions accordingly after determining one or more of the contents.

[0216] Among them, other contents of step S1001 can refer to the relevant description of the above-mentioned step S301, which will not be repeated here.

[0217] S1002. The mobile phone determines one or more data pairs corresponding to the parameter adjustment dimension, each data pair including original data and a corresponding target image.

[0218] Wherein, if the first image is an image taken or displayed by the mobile phone, the mobile phone can directly determine the corresponding RAW image or original film source. Afterwards, the mobile phone adjusts the dimension according to the parameter and searches for the corresponding second image in the database.

[0219] Among them, other contents of step S1002 can refer to the relevant description of step S302 above, which will not be repeated here.

[0220] S1003. The mobile phone determines a search space.

[0221] In some embodiments, after obtaining the parameter determination conditions, the mobile phone determines the module of the parameter to be adjusted, and determines the corresponding search space according to the adjustable parameters in the module of the parameter to be adjusted and the value range of each adjustable parameter. The search space contains multiple parameter combinations corresponding to the current parameter adjustment dimension.

[0222] In some other embodiments, the mobile phone displays a second interface, on which the module of the determined parameter to be adjusted, the adjustable parameter and the adjustable range are displayed. Through human-computer interaction, the parameter to be adjusted determined by the user and the adjustable range corresponding to the parameter are obtained, thereby determining the search space required by the end user.

[0223] For example, Fig.12 In the interface 1201 shown, the module of the current parameter to be adjusted is module 1, and the corresponding adjustable parameters are parameters 1-parameter 5. In response to the user's selection, the parameters to be adjusted determined by the user of the current module 1 are determined to be parameters 1, 3 and 5, and the value range to be adjusted of each parameter is determined. For example, the adjustable range of parameter 1 is 1-30, and the user selects the value range of parameter 1 to be 1-10 within the adjustable range. After detecting that the user clicks the confirmation control 121, the parameters to be adjusted and the range to be adjusted of each module of the parameter to be adjusted are determined, and then the search space is determined.

[0224] For other contents of step S1003, reference may be made to the relevant description of step S303, which will not be repeated here.

[0225] S1004. The mobile phone searches for the first parameter in the search space according to the first preset method.

[0226] Among them, step S1004 can refer to the relevant description of step S304, which will not be repeated here.

[0227] S1005. The mobile phone inputs the first parameter and the original data into a module of parameters to be adjusted to obtain a third image.

[0228] In some scenarios, the module of the parameter to be adjusted is a module in the ISP, and the third image is used to represent the image processing result. Then, after the mobile phone searches for the first parameter, it loads the first parameter into the module of the parameter to be adjusted, and uses the module of the parameter to be adjusted after the updated parameter to process the original data, and the mobile phone can directly obtain the third image.

[0229] In other scenarios, the module of the parameter to be adjusted is a module in the image display unit, and the third image is used to represent the image display effect. Then, after the mobile phone searches for the first parameter, it loads the first parameter into the module of the parameter to be adjusted, and uses the module of the parameter to be adjusted after the updated parameter to process the original data, and outputs the display image. The display image needs to be collected by the acquisition device and sent to the mobile phone, so that the mobile phone can obtain the third image.

[0230] For example, Fig.13 As shown, step S1005 is implemented as steps S1301 to S1303.

[0231] S1301. The mobile phone inputs the first parameter and original data into a module of parameters to be adjusted, and outputs a display image.

[0232] S1302: The acquisition device acquires the display image to obtain a third image.

[0233] S1303: The acquisition device sends the third image to the mobile phone.

[0234] For other contents of step S1005, reference may be made to the relevant description of step S305, which will not be repeated here.

[0235] S1006: The mobile phone determines a first similarity between the third image and the target image.

[0236] S1007: The mobile phone determines whether the search stop condition is met. If so, step S1008 is executed. If not, the mobile phone returns to the above step S1004 and executes steps S1004 to S1007 in a loop.

[0237] S1008. The mobile phone obtains a target parameter, where the target parameter is a first parameter corresponding to the highest first similarity.

[0238] Among them, steps S1006 to S1008 can refer to the relevant descriptions of steps S306 to S308, which will not be repeated here.

[0239] Therefore, the parameter determination method provided in the embodiment of the present application can quickly search for available parameter combinations, and can run the searched parameter combinations in an actual hardware environment. By using a predetermined target image, the searched parameter combinations are measured, and the parameter combinations that meet the requirements are quickly determined. This improves the efficiency of parameter determination and ensures that the determined parameters can achieve better results.

[0240] In addition, when the mobile phone needs to adjust the module parameters, it can directly use Fig.10 The parameter determination method provided can quickly determine parameters and values, thus improving the efficiency of parameter determination.

[0241] Combination of the above Figure 3 , Figure 6 , Figure 7 , Fig.10 and Fig.13 The parameter determination method provided in the embodiment of the present application is described in detail. Fig.14 The parameter determination device provided in the embodiment of the present application is described in detail.

[0242] Optional, Fig.14 This is a schematic diagram of the structure of the parameter determination device provided in the embodiment of the present application. Fig.14 As shown, the parameter determination device 1400 includes: an acquisition unit 1401, a determination unit 1402 and a search unit 1403.

[0243] In a possible design, the parameter determination device 1400 can be used to implement the functions of the first electronic device involved in the above method embodiment. The parameter determination device 1400 can be the first electronic device itself, or a functional unit or chip in the first electronic device.

[0244] Optionally, the acquisition unit 1401 is used to support the parameter determination device 1400 to perform one or more steps of step S301, step S305, step S603 and step S704 in the above embodiment. And / or, the acquisition unit 1401 is also used to support the parameter determination device 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.

[0245] Optionally, the determination unit 1402 is used to support the parameter determination device 1400 to perform one or more steps of step S302, step S303, step S306, step S307 and step S308 in the above embodiment. And / or, the determination unit 1402 is also used to support the parameter determination device 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.

[0246] Optionally, the search unit 1403 is used to support the parameter determination device 1400 to perform step S304 in the above embodiment. And / or, the search unit 1403 is also used to support the parameter determination device 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.

[0247] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0248] Optionally, Fig.14 The parameter determination device 1400 shown may also include a sending unit ( Fig.14 (not shown in the figure), the sending unit is used to send data to other devices. For example, the sending unit is used to send the first parameter and the original data to the second electronic device.

[0249] Among them, the acquisition unit 1401 and the sending unit can be collectively referred to as a transceiver unit, which can be implemented by a transceiver or a transceiver-related circuit component, and can be a transceiver or a transceiver module.

[0250] Optionally, Fig.14 The parameter determination device 1400 shown may also include a storage unit ( Fig.14 (not shown), the storage unit stores a program or instruction. When the acquisition unit 1401, the determination unit 1402 and the search unit 1403 execute the program or instruction, Fig.14 The parameter determination apparatus 1400 shown may execute Figure 3 , Figure 6 and the parameter determination method shown in FIG. 7 .

[0251] Fig.14 The technical effect of the parameter determination device 1400 shown can be referred to Figure 3 , Figure 6 and Figure 7 The technical effects of the parameter determination method shown will not be repeated here.

[0252] In another possible design, the parameter determination device 1400 may be used to implement the functions of the second electronic device involved in the above method embodiment. The parameter determination device 1400 may be the second electronic device itself, or a functional unit or chip in the second electronic device.

[0253] Optionally, the acquisition unit 1401 is used to support the parameter determination device 1400 to perform one or more steps of step S1001 and step S1303 in the above embodiment. And / or, the acquisition unit 1401 is also used to support the parameter determination device 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.

[0254] Optionally, the determination unit 1402 is used to support the parameter determination device 1400 to perform one or more steps of step S1002, step S1003, step S1005, step S1006, step S1007, step S1008 and step S1301 in the above embodiment. And / or, the determination unit 1402 is also used to support the parameter determination device 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.

[0255] Optionally, the search unit 1403 is used to support the parameter determination device 1400 to perform step S1004 in the above embodiment. And / or, the search unit 1403 is also used to support the parameter determination device 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.

[0256] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0257] Optionally, Fig.14 The parameter determination device 1400 shown may also include a sending unit ( Fig.14 (not shown), the sending unit is used to send data to other devices.

[0258] Among them, the acquisition unit 1401 and the sending unit can be collectively referred to as a transceiver unit, which can be implemented by a transceiver or a transceiver-related circuit component, and can be a transceiver or a transceiver module.

[0259] Optionally, Fig.14 The parameter determination device 1400 shown may also include a storage unit ( Fig.14 (not shown), the storage unit stores a program or instruction. When the acquisition unit 1401, the determination unit 1402 and the search unit 1403 execute the program or instruction, Fig.14 The parameter determination apparatus 1400 shown may execute Fig.10 and Fig.13 The parameter determination method shown.

[0260] Fig.14 The technical effect of the parameter determination device 1400 shown can be referred to Fig.10 and Fig.13 The technical effects of the parameter determination method shown will not be repeated here.

[0261] In the case of an integrated unit, Fig.15 FIG. 2 shows another possible schematic diagram of the composition of the parameter determination device involved in the above embodiment. Fig.15As shown, the parameter determination device 1500 may include: a transceiver module 1501 and a processing module 1502 .

[0262] Optionally, the transceiver module is used to perform the above Fig.14 The processing module 1502 is used to perform the steps performed by the acquisition unit 1401 shown in FIG. Fig.14 The steps performed by the determination unit 1402 and the search unit 1403 are obtained as shown in FIG. The operations and / or functions of the transceiver module 1501 and the processing module 1502 are to achieve Figure 3 , Figure 6 and Figure 7 Alternatively, the operations and / or functions of the transceiver module 1501 and the processing module 1502 are to achieve Fig.10 and Fig.13 The corresponding process of the parameter determination method shown is not repeated here for the sake of brevity.

[0263] The parameter determination device 1500 may further include a storage module for storing program codes and data of the parameter determination device. The storage module may be a memory.

[0264] The processing module 1502 may be a processor or a controller. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0265] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0266] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0267] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separately provided with the processor, which is not limited in the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be provided on different chips. The present application does not specifically limit the type of memory and the arrangement of the memory and the processor.

[0268] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0269] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0270] An embodiment of the present application also provides a storage medium for storing instructions used by the above-mentioned communication device.

[0271] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a server, the server executes the above-mentioned related method steps to implement the parameter determination method in the above-mentioned embodiment.

[0272] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the parameter determination method in the above-mentioned embodiment.

[0273] In addition, an embodiment of the present application further provides a device, which may be a component or a module, and may include one or more processors and a memory connected to each other; wherein the memory is used to store computer programs, and the one or more computer programs include instructions. When the instructions are executed by one or more processors, the device executes the parameter determination method in the above-mentioned method embodiments.

[0274] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.

[0275] The steps of the method or algorithm described in conjunction with the disclosure of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0276] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0277] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0278] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0279] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0280] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code. The above is only a specific implementation of the present application, but the scope of protection of the present application is not limited to this. Any changes or replacements within the technical scope disclosed in the present application should be covered within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the scope of protection of the claims.

Claims

1. A parameter determination method, characterized in that: The method comprises: Obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information of modules of parameters to be adjusted; Adjust the dimension according to the parameter, and determine one or more data pairs, each data pair including original data and a target image corresponding to the original data; Determine a search space according to information of the module of the parameter to be adjusted; the search space includes a parameter combination corresponding to the module of the parameter to be adjusted; Searching for a first parameter in the search space, and obtaining a third image using the original data and the first parameter searched in the search space; Determine a first similarity between the third image and the target image, and determine a target parameter using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted, and the parameter adjustment dimension is used to represent the dimension that affects the image processing effect or display effect after the parameter of the module of the parameter to be adjusted is adjusted.

2. The method according to claim 1, characterized in that: Before adjusting the dimension according to the parameter and determining one or more data pairs, the method further includes: A first image and a second image are acquired, wherein the second image is superior to the first image in at least one parameter adjustment dimension; the first image is an image captured or displayed by an electronic device whose parameters are to be adjusted, and the device whose parameters are to be adjusted includes a module of the parameters to be adjusted; the first image and the second image correspond to the same subject or to the same original film source.

3. The method according to claim 2, characterized in that The step of adjusting the dimension according to the parameter to determine one or more data pairs includes: decoupling the second image according to the parameter adjustment dimension to obtain the target image, wherein the target image is superior to the first image in a single parameter adjustment dimension; Determining the original data corresponding to the first image according to the first image; The original data and the corresponding target image are taken as a pair of data pairs to determine the one or more data pairs.

4. The method according to claim 2 or 3, characterized in that: The step of obtaining a third image by using the first parameter and the original data includes: Sending the first parameter and the original data to the electronic device of the parameter to be adjusted; The module of the parameter to be adjusted in the electronic device that receives the parameter to be adjusted runs the first parameter to process the original data, and then outputs the third image.

5. The method according to any one of claims 1 to 4, characterized in that: The parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; the use of the first similarity to determine the target parameter includes: If it is determined that the first similarity is greater than or equal to the first preset threshold, the search for the first parameter is stopped, and a parameter corresponding to the first similarity greater than or equal to the first preset threshold is determined as the target parameter; and / or, Determine that the number of searches for the first parameter reaches the target number of searches, and determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter; and / or, It is determined that the duration of searching the first parameter reaches the target search duration, and a parameter corresponding to the first similarity with the highest value among the determined first similarities is determined as the target parameter.

6. The method according to any one of claims 1 to 5, characterized in that: The step of determining the search space according to the information of the module of the parameter to be adjusted includes: Determine, according to the information of the module of the parameter to be adjusted, an adjustable parameter in the module of the parameter to be adjusted and an adjustable range of the adjustable parameter; The search space is determined according to the adjustable parameter and the adjustable range.

7. The method according to claim 6, characterized in that The step of determining the search space according to the adjustable parameter and the adjustable range includes: Display the adjustable parameter and the adjustable range, and receive the parameter to be adjusted and the range to be adjusted selected by the user; The search space is determined according to the parameter to be adjusted and the range to be adjusted.

8. The method according to any one of claims 1 to 7, characterized in that: The searching the first parameter in the search space comprises: According to a first preset method, the first parameter is searched in the search space; wherein the first preset method includes any one or more of the following contents: random search, grid search, and optimized search.

9. The method according to any one of claims 1 to 8, characterized in that: Before adjusting the dimension according to the parameter and determining one or more data pairs, the method further includes: A database is established, wherein the database contains the one or more data pairs.

10. The method according to any one of claims 1 to 9, characterized in that: The obtaining parameter determination condition includes: Displaying a first interface, wherein the first interface is used to display any one or more of the following contents: parameter adjustment dimension, information of the module of the parameter to be adjusted, and a search stop condition; The parameter determination condition selected by the user is detected on the first interface.

11. The method according to any one of claims 1 to 10, characterized in that: The determining a first similarity between the third image and the target image comprises: In the parameter adjustment dimension, the first similarity between the third image and the target image is determined.

12. An electronic device, characterized in that: include: A processor, a memory and a display screen, wherein the memory and the display screen are coupled to the processor, the memory is used to store computer program codes, and the computer program codes include computer instructions. When the processor reads the computer instructions from the memory, the electronic device performs the following operations: Obtaining parameter determination conditions; the parameter determination conditions include parameter adjustment dimensions and information of modules of parameters to be adjusted; Adjust the dimension according to the parameter, and determine one or more data pairs, each data pair including original data and a target image corresponding to the original data; Determine a search space according to information of the module of the parameter to be adjusted; the search space includes a parameter combination corresponding to the module of the parameter to be adjusted; Obtaining a third image using the original data and the first parameter searched in the search space; Determine a first similarity between the third image and the target image, and determine a target parameter using the first similarity; the target parameter is used to adjust the module of the parameter to be adjusted, and the parameter adjustment dimension is used to represent the dimension that affects the image processing effect or display effect after the parameter of the module of the parameter to be adjusted is adjusted.

13. The electronic device according to claim 12, characterized in that: When the processor reads the computer instruction from the memory, the electronic device is also caused to perform the following operations: A first image is captured or displayed, and a second image is obtained that is superior to the first image in at least one parameter adjustment dimension; the first image and the second image correspond to the same subject or the same original film source.

14. The electronic device according to claim 13, characterized in that: The step of adjusting the dimension according to the parameter to determine one or more data pairs includes: decoupling the second image according to the parameter adjustment dimension to obtain the target image, wherein the target image is superior to the first image in a single parameter adjustment dimension; Determining the original data corresponding to the first image according to the first image; The original data and the corresponding target image are taken as a pair of data pairs to determine the one or more data pairs.

15. The electronic device according to claim 13 or 14, characterized in that: The step of obtaining a third image by using the first parameter and the original data includes: Using the module of the parameter to be adjusted to run the first parameter to process the raw data, to obtain the third image; Alternatively, the module of the parameter to be adjusted is used to run the first parameter to process the raw data and output a display image; The third image sent by a third electronic device is received, where the third image is an image obtained after the third electronic device captures the display image.

16. The electronic device according to any one of claims 12 to 15, characterized in that: The parameter determination condition also includes a search stop condition; the search stop condition includes any one or more of the following: a first preset threshold, a target search number, and a target search duration; the use of the first similarity to determine the target parameter includes: If it is determined that the first similarity is greater than or equal to the first preset threshold, the search for the first parameter is stopped, and a parameter corresponding to the first similarity greater than or equal to the first preset threshold is determined as the target parameter; and / or, Determine that the number of searches for the first parameter reaches the target number of searches, and determine the parameter corresponding to the first similarity with the highest value among the determined first similarities as the target parameter; and / or, It is determined that the duration of searching the first parameter reaches the target search duration, and a parameter corresponding to the first similarity with the highest value among the determined first similarities is determined as the target parameter.

17. The electronic device according to any one of claims 12 to 16, characterized in that: The step of determining the search space according to the information of the module of the parameter to be adjusted includes: Determine, according to the information of the module of the parameter to be adjusted, an adjustable parameter in the module of the parameter to be adjusted and an adjustable range of the adjustable parameter; The search space is determined according to the adjustable parameter and the adjustable range.

18. The electronic device according to claim 17, characterized in that: The step of determining the search space according to the adjustable parameter and the adjustable range includes: Display the adjustable parameter and the adjustable range, and receive the parameter to be adjusted and the range to be adjusted selected by the user; The search space is determined according to the parameter to be adjusted and the range to be adjusted.

19. The electronic device according to any one of claims 12 to 18, characterized in that: The searching the first parameter in the search space comprises: According to a first preset method, the first parameter is searched in the search space; wherein the first preset method includes any one or more of the following contents: random search, grid search, and optimized search.

20. The electronic device according to any one of claims 12 to 19, characterized in that: When the processor reads the computer instruction from the memory, the electronic device is also caused to perform the following operations: A database is established, wherein the database contains the one or more data pairs.

21. The electronic device according to any one of claims 12 to 20, characterized in that: The obtaining parameter determination condition includes: Displaying a first interface, wherein the first interface is used to display any one or more of the following contents: parameter adjustment dimension, information of the module of the parameter to be adjusted, and a search stop condition; The parameter determination condition selected by the user is detected on the first interface.

22. The electronic device according to any one of claims 12 to 21, characterized in that: The determining a first similarity between the third image and the target image comprises: In the parameter adjustment dimension, the first similarity between the third image and the target image is determined.

23. A computer-readable storage medium, characterized in that: The method comprises a program or an instruction. When the program or the instruction is executed, the method according to any one of claims 1 to 11 is implemented.

24. A computer program product comprising instructions, characterized in that When the computer program product runs on an electronic device, the electronic device is enabled to execute the parameter determination method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Indicator light identification method and device

    CN110163291A