CN114385280A - Parameter determination method and electronic equipment - Google Patents

Parameter determination method and electronic equipment Download PDF

Info

Publication number
CN114385280A
CN114385280A CN202011110798.7A CN202011110798A CN114385280A CN 114385280 A CN114385280 A CN 114385280A CN 202011110798 A CN202011110798 A CN 202011110798A CN 114385280 A CN114385280 A CN 114385280A
Authority
CN
China
Prior art keywords
parameter
image
determining
adjusted
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011110798.7A
Other languages
Chinese (zh)
Inventor
吕飞帆
武小宇
张运超
张晓玲
贾瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011110798.7A priority Critical patent/CN114385280A/en
Publication of CN114385280A publication Critical patent/CN114385280A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a parameter determination method and electronic equipment; the method and the device can determine target parameters meeting preset conditions through an automatic search process by utilizing a preset target image, and improve parameter determination efficiency. The method comprises the following steps: and acquiring a parameter adjustment dimension, and determining original data and a target image corresponding to the parameter adjustment dimension. And acquiring the information of the module of the parameter to be adjusted, and determining the search space. And searching the first parameter in the search space, and obtaining a third image by using the first parameter and the original data. And judging whether the current similarity meets the requirement or not by comparing the similarity of the third image and the target image. If so, determining the current first parameter as a target parameter of the module for adjusting the parameter to be adjusted.

Description

Parameter determination method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a parameter determining method and an electronic device.
Background
Before the electronic device leaves a factory, the configured algorithm parameters of the electronic device need to be adjusted to obtain a better algorithm processing result. For example, algorithm parameters in an image processing module and a display module in the electronic device are adjusted, so that better image processing results and better display effects are obtained. However, the data volume of the algorithm parameters to be adjusted in each module of the electronic device is large, and a professional debugging person is required to participate in the algorithm parameter adjusting process, so that the adjusting period is long, and the global adjustment cannot be achieved.
Based on this, an example of adjusting an algorithm parameter in an Image Signal Processor (ISP) is described, and it is proposed to determine a value of each parameter by using a neural network. And training a neural network in advance to simulate an ISP image processing process, inputting the acquired image and the ISP parameters into the trained neural network as input data, and comparing an output result with a preset target value to obtain the adjusted ISP parameters. And after multiple iterations, determining the optimized ISP parameters. In the current scheme, the ISP image processing process is complex, so that the neural network is difficult to train, and the neural network with accuracy meeting the requirement is difficult to obtain. Moreover, if some algorithm modules in the ISP change, the neural network needs to be retrained, which is costly.
In addition, the method also provides a method for determining the value of each parameter by using software simulation. However, ISP internal algorithm logic is generally a black box, and if algorithm logic cannot be obtained, software simulation cannot be realized. Moreover, the processing process of some modules in the ISP depends on hardware information, and software simulation and hardware implementation have a certain difference, so that it is difficult to determine the parameters by software simulation.
Disclosure of Invention
According to the parameter determining method and the electronic equipment, the target parameters meeting the preset conditions can be determined through an automatic searching process by using the pre-configured target image, and the parameter determining efficiency is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a parameter determining method, which may include: acquiring a parameter determination condition; the parameter determination condition includes a parameter adjustment dimension and information of a module of the parameter to be adjusted. And determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises the original data and a target image corresponding to the original data. Determining a search space according to the 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. And searching the first parameter in the search space, and obtaining a third image by using the first parameter and the original data. Determining a first similarity between the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the module of the parameter to be adjusted.
In the embodiments of the present application, a module in an ISP or a display unit is taken as an example for description. The parameter adjustment dimension is used for representing the dimension which influences the image processing effect or the display effect after the parameter adjustment. Including, for example, dimensions such as brightness after image processing, color after image processing, and sharpness of image display. Illustratively, a first interface may be displayed, and parameters are acquired to determine conditions in a man-machine interaction manner.
In some embodiments, the data pair includes a RAW map and a corresponding target image. Alternatively, the data pair includes the original film source and the corresponding target image. Namely, if the module of the parameter to be adjusted is the module in the ISP, the original data is the RAW image corresponding to the first image acquired by the mobile phone. Or, if the module of the parameter to be adjusted is a module in the display unit, the original data is the original film source.
Therefore, a search space can be constructed according to the module of the parameter to be adjusted and the adjustment dimension, and the parameter is searched in the search space in a self-adaptive mode. And the target image under the parameter dimension which is predetermined to be adjusted is utilized to measure the searched parameters, and the parameters meeting the requirements are quickly determined. Therefore, the efficiency of parameter determination is improved, and the determined parameters can obtain better effect.
In one possible implementation, before adjusting the dimensions according to the parameters, the method further includes: a first image and a second image are acquired, the second image being superior to the first image in at least one parameter adjustment dimension. The first image is an image acquired or displayed by the electronic equipment of the parameter to be adjusted, and the electronic equipment of the parameter to be adjusted comprises a module of the parameter to be adjusted. The first image and the second image correspond to the same object or the same original film source.
In one possible implementation, before adjusting the dimensions according to the parameters, the method further includes: and establishing a database, wherein the database comprises one or more data pairs.
In some embodiments, a database for storing data pairs is pre-established prior to determining the parameters, the database being stored in an internal memory or in an external memory. Illustratively, the database stores image pairs for determining image processing module parameters and/or image pairs for determining image display unit parameters.
It should be noted that, in the process of acquiring the first image and the second image, it should be ensured that the ambient light source, the object to be photographed, the original film source, etc. are all consistent except for the device difference, thereby ensuring that the target image can be obtained more accurately.
In one possible implementation, determining one or more data pairs based on the parameter adjustment dimension includes: and 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. From the first image, raw data corresponding to the first image is determined. One or more pairs of data pairs are determined using the raw data and corresponding target image as a pair of data pairs.
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 taken as a target image, and the RAW image and the target image corresponding to the first image are determined as a data pair. The second image is identical to the first image in other dimensions, which means that the evaluation results of the second image and the first image in other dimensions are identical. And if the second image is the same as the first image in the brightness dimension or the difference is smaller than or equal to the preset threshold, determining that the second image is the same as the first image in brightness if the evaluation result in the brightness dimension is the same.
In still other embodiments, the second image may need to be decoupled if it is better than the first image in the plurality of parameter adjustment dimensions. 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 better than the first image in both the brightness and color parameter adjustment dimensions, the second image is decoupled, resulting in a target image 1 that is better in brightness and the same color as the first image, and a target image 2 that is better in color and the same brightness as the first image. Then, the RAW map corresponding to the first image and the target image 1 are used as one data pair, and the RAW map corresponding to the first image and the target image 2 are used as one data pair, so that two data pairs are obtained.
In one possible implementation, obtaining a third image using the first parameter and the raw data includes: and sending the first parameters and the original data to the electronic equipment of the parameters to be adjusted. And the module for receiving the parameters to be adjusted in the electronic equipment with the parameters to be adjusted runs the first parameters to process the original data, and then outputs a third image.
In some embodiments, after the first electronic device determines a set of first parameters, it needs to compile the first parameters into the corresponding electronic device of the parameters to be adjusted, where the electronic device of the parameters to be adjusted includes a module of the parameters to be adjusted, and is the electronic device that takes the first image. And compiling the first parameter to a module of the parameter to be adjusted in the electronic equipment of the parameter to be adjusted, so that the module of the parameter to be adjusted processes the original data by using the first parameter, and further a third image corresponding to the first parameter is obtained.
In other embodiments, the first parameter and the raw data may be determined by the electronic device of the parameter to be adjusted, and the raw data is processed directly with the first parameter to obtain the third image.
In some scenarios, the module of the parameter to be adjusted is the module in the ISP, and the third image is used to represent the image processing result. The electronic device to be subjected to parameter adjustment can directly obtain the third image after processing the original data by using the first parameter.
In other scenarios, the module of the parameter to be adjusted is a module in the display unit, and the third image is used to represent an image display effect. And the electronic equipment with the parameters to be adjusted outputs a display image after processing the original data by using the first parameters. In this scenario, the display image needs to be captured with a capture device. The acquisition device acquires a third image after acquiring the display image.
In this way, the searched parameter combination can be operated in the actual hardware environment, so that the finally determined target parameter can actually improve the image processing effect or the image display effect of the module of the parameter to be adjusted.
In one possible implementation, the parameter determination condition further includes a search stop condition; the search stop condition includes any one or several of the following: a first preset threshold, target search times and target search duration; determining a target parameter using the first similarity, comprising: and if the first similarity is determined to be greater than or equal to a first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And/or determining that the number of times of searching the first parameter reaches the target searching number, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter. And/or determining that the time length for searching the first parameter reaches the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
The search stopping condition is a condition for stopping the parameter search process, which is preset according to an empirical value or an experimental result.
In some scenarios, the search stop condition includes a first preset threshold. After the first similarity is obtained, whether the first similarity meets the requirement of a first preset threshold value is determined. If the first similarity is larger than or equal to a first preset threshold, the first similarity meets the requirement, and a first parameter corresponding to the currently determined first similarity is output. If not, searching the next group of first parameters in the search space according to the first preset mode again.
Illustratively, the first predetermined threshold is 99%. And if the first similarity is 99.5%, the first preset threshold requirement is met, and the current first parameter is output. And if the first similarity is 95%, the requirement of a first preset threshold value is not met, and the next group of first parameters is searched again.
In other scenarios, the search stop condition includes a target search number and/or a target search duration. And after the first similarity is obtained, determining whether the current search times and/or the search duration meet the search stop condition. If the first parameter is satisfied, if the number of times of searching the first parameter reaches the target searching number and/or the time length of searching the first parameter reaches the target searching time length, determining the maximum value of the first similarity corresponding to the first parameter searched for many times, taking the first parameter corresponding to the maximum value as the target parameter, and outputting the first parameter. If not, searching the next group of first parameters again.
For example, it is assumed that the search stop condition includes that the number of target searches is 100. If the first parameter searched for in a certain time in 100 searches enables the first similarity to meet the requirement of a first preset threshold, stopping searching and outputting the first parameter. If the target parameter is not searched in all 100 searches, after the 100 th search is finished 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.
In one possible implementation, determining a search space according to information of a module of the parameter to be adjusted includes: and determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameters to be adjusted according to the information of the module of the parameters to be adjusted. And determining a search space according to the adjustable parameters and the adjustable range.
For example, the parameter adjustment dimensions are determined as brightness and color of an image, the modules of the parameters to be adjusted are a DRC module and a 3D LUT module in an ISP, and search spaces corresponding to different parameter adjustment dimensions are respectively determined. And determining the number of adjustable parameters in the DRC module corresponding to the brightness as a, wherein the value range of each adjustable parameter comprises b possible values, and the search space corresponding to the brightness comprises b ^ a possible parameter combinations, namely the size of the search space is b ^ a. And determining the number of adjustable parameters in the 3D LUT module corresponding to the color to be c, wherein the value range of each adjustable parameter comprises D possible values, and the search space corresponding to the color comprises D ^ c possible parameter combinations, namely the size of the search space is D ^ c.
In one possible implementation, determining a search space according to the adjustable parameter and the adjustable range includes: displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user. And determining a search space according to the parameter to be adjusted and the range to be adjusted.
In some embodiments, the module that displays the determined parameter to be adjusted, the adjustable parameter, and the value range (i.e., the adjustable range) of the adjustable parameter are displayed using the second interface. And acquiring the parameters to be adjusted determined by the user to be adjusted and the range to be adjusted corresponding to the parameters by a man-machine interaction mode, and further determining the search space required by the final user.
In this way, part of all adjustable parameters can be determined as the parameters to be adjusted according to the requirements or experiences of the user, and the adjustable range of the parameters to be adjusted can be narrowed. Therefore, the search space is reduced, and the efficiency of searching parameters in the search space subsequently is improved.
In one possible implementation, searching for the first parameter in the search space includes: searching a first parameter in a search space according to a first preset mode; the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
For example, the PC randomly searches 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 a grid search manner according to the preset search step size in the search space. For another example, the PC determines the first parameter searched this time according to the image processing result or the display effect corresponding to the first parameter searched in the history. If the PC determines that the parameters in a certain value interval can make the image processing result or the display effect better according to the parameter search results for several times, the PC continues searching in the interval, and further determines that the target parameters which can make the image processing result or the display effect meet the requirements can be obtained more quickly.
In one possible implementation, determining the parameter determination condition includes: displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: parameter adjustment dimension, information of a module of the parameter to be adjusted, and search stop conditions. A user-selected parameter determination condition is detected on the first interface.
Therefore, the parameter determination conditions are acquired in a man-machine interaction mode. Furthermore, the parameter determining range can be narrowed, and the parameter determining efficiency is improved. For example, the current parameter adjustment dimension corresponds to 5 modules of the parameter to be adjusted, and the user determines that the number of the final modules of the parameter to be adjusted is 3 according to the experience value, so that the parameter determination efficiency is improved.
In one possible implementation, determining a first similarity between the third image and the target image includes: in the parameter adjustment dimension, a first similarity of the third image and the target image is determined.
Therefore, based on a reference comparison mode, the accuracy of parameter adjustment is improved by comparing the similarity between the image output by the electronic equipment of the parameter to be adjusted and the target image.
In a second aspect, the present application provides a parameter determining method, which may include: acquiring a parameter determination condition; the parameter determination condition includes a parameter adjustment dimension and information of a module of the parameter to be adjusted. And determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises the original data and a target image corresponding to the original data. Determining a search space according to the 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. And searching the first parameter in the search space, and obtaining a third image by using the first parameter and the original data. Determining a first similarity between the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the module of the parameter to be adjusted.
In one possible implementation, before adjusting the dimensions according to the parameters, the method further includes: acquiring or displaying a first image and acquiring a second image superior to the first image in at least one parameter adjustment dimension; the first image and the second image correspond to the same object or the same original film source.
In one possible implementation, determining one or more data pairs based on the parameter adjustment dimension includes: and 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. From the first image, raw data corresponding to the first image is determined. One or more pairs of data pairs are determined using the raw data and corresponding target image as a pair of data pairs.
In one possible implementation, obtaining a third image using the first parameter and the raw data includes: and operating the first parameter by using the module of the parameter to be adjusted to process the original data to obtain a third image. Or, the module of the parameter to be adjusted is used for operating the first parameter to process the original data and outputting the display image. And receiving a third image sent by the third electronic equipment, wherein the third image is an image acquired after the third electronic equipment acquires the display image.
In some embodiments, after determining a set of first parameters, the second electronic device can directly compile the first parameters to the corresponding module of the parameters to be adjusted, so that the module of the parameters to be adjusted processes the original data by using the first parameters, and further obtains a third image corresponding to the first parameters.
In some scenarios, the module of the parameter to be adjusted is the module in the ISP, and the third image is used to represent the image processing result. The second electronic device can directly obtain the third image after processing the original data.
In other scenarios, the module of the parameter to be adjusted is a module in the display unit, and the third image is used to represent an image display effect. And the second electronic equipment processes the original data and then outputs a display image. In this scenario, the display image needs to be captured with a capture device. And the acquisition equipment acquires a third image after acquiring the display image, and the second electronic equipment receives the third image transmitted by the acquisition equipment.
In this way, the searched parameter combination can be operated in the actual hardware environment, so that the finally determined target parameter can actually improve the image processing effect or the image display effect of the module of the parameter to be adjusted.
In one possible implementation, the parameter determination condition further includes a search stop condition; the search stop condition includes any one or several of the following: a first preset threshold, target search times and target search duration; determining a target parameter using the first similarity, comprising: and if the first similarity is determined to be greater than or equal to a first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And/or determining that the number of times of searching the first parameter reaches the target searching number, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter. And/or determining that the time length for searching the first parameter reaches the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
In one possible implementation, determining a search space according to information of a module of the parameter to be adjusted includes: and determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameters to be adjusted according to the information of the module of the parameters to be adjusted. And determining a search space according to the adjustable parameters and the adjustable range.
In one possible implementation, determining a search space according to the adjustable parameter and the adjustable range includes: displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user. And determining a search space according to the parameter to be adjusted and the range to be adjusted.
In one possible implementation, searching for the first parameter in the search space includes: searching a first parameter in a search space according to a first preset mode; the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
In one possible implementation, before adjusting the dimensions according to the parameters, the method further includes: and establishing a database, wherein the database comprises one or more data pairs.
In one possible implementation, determining the parameter determination condition includes: displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: parameter adjustment dimension, information of a module of the parameter to be adjusted, and search stop conditions. A user-selected parameter determination condition is detected on the first interface.
In one possible implementation, determining a first similarity between the third image and the target image includes: in the parameter adjustment dimension, a first similarity of the third image and the target image is determined.
In addition, for technical effects of the parameter determination method of the second aspect, reference may be made to technical effects of the parameter determination method of the first aspect, and details are not repeated here.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, and a display, the memory and the display coupled to the processor, the memory for storing computer program code, the computer program code including computer instructions that, when read from the memory by the processor, cause the electronic device to perform operations comprising: acquiring a parameter determination condition; the parameter determination condition includes a parameter adjustment dimension and information of a module of the parameter to be adjusted. And determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises the original data and a target image corresponding to the original data. Determining a search space according to the 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. And searching the first parameter in the search space, and obtaining a third image by using the first parameter and the original data. Determining a first similarity between the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the module of the parameter to be adjusted.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: a first image and a second image are acquired, the second image being superior to the first image in at least one parameter adjustment dimension. The first image is an image acquired or displayed by second electronic equipment, and the second electronic equipment comprises a module of a parameter to be adjusted. The first image and the second image correspond to the same object or the same original film source.
In one possible implementation, determining one or more data pairs based on the parameter adjustment dimension includes: and 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. From the first image, raw data corresponding to the first image is determined. One or more pairs of data pairs are determined using the raw data and corresponding target image as a pair of data pairs.
In one possible implementation, obtaining a third image using the first parameter and the raw data includes: and sending the first parameters and the original data to the second electronic equipment. And the module for receiving the parameters to be adjusted in the second electronic equipment operates the first parameters to process the original data, and then outputs a third image.
In one possible implementation, the parameter determination condition further includes a search stop condition; the search stop condition includes any one or several of the following: a first preset threshold, target search times and target search duration; determining a target parameter using the first similarity, comprising: and if the first similarity is determined to be greater than or equal to a first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And/or determining that the number of times of searching the first parameter reaches the target searching number, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter. And/or determining that the time length for searching the first parameter reaches the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
In one possible implementation, determining a search space according to information of a module of the parameter to be adjusted includes: and determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameters to be adjusted according to the information of the module of the parameters to be adjusted. And determining a search space according to the adjustable parameters and the adjustable range.
In one possible implementation, determining a search space according to the adjustable parameter and the adjustable range includes: displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user. And determining a search space according to the parameter to be adjusted and the range to be adjusted.
In one possible implementation, searching for the first parameter in the search space includes: searching a first parameter in a search space according to a first preset mode; the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: and establishing a database, wherein the database comprises one or more data pairs.
In one possible implementation, determining the parameter determination condition includes: displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: parameter adjustment dimension, information of a module of the parameter to be adjusted, and search stop conditions. A user-selected parameter determination condition is detected on the first interface.
In one possible implementation, determining a first similarity between the third image and the target image includes: in the parameter adjustment dimension, a first similarity of the third image and the target image is determined.
In addition, for technical effects of the electronic device of the third aspect, reference may be made to the technical effects of the parameter determination method of the first aspect, and details are not repeated here.
In a fourth aspect, the present application provides an electronic device, comprising: a processor, a memory, and a display, the memory and the display coupled to the processor, the memory for storing computer program code, the computer program code including computer instructions that, when read from the memory by the processor, cause the electronic device to perform operations comprising: acquiring a parameter determination condition; the parameter determination condition includes a parameter adjustment dimension and information of a module of the parameter to be adjusted. And determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises the original data and a target image corresponding to the original data. Determining a search space according to the 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. And searching the first parameter in the search space, and obtaining a third image by using the first parameter and the original data. Determining a first similarity between the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the module of the parameter to be adjusted.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: acquiring or displaying a first image and acquiring a second image superior to the first image in at least one parameter adjustment dimension; the first image and the second image correspond to the same object or the same original film source.
In one possible implementation, determining one or more data pairs based on the parameter adjustment dimension includes: and 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. From the first image, raw data corresponding to the first image is determined. One or more pairs of data pairs are determined using the raw data and corresponding target image as a pair of data pairs.
In one possible implementation, obtaining a third image using the first parameter and the raw data includes: and operating the first parameter by using the module of the parameter to be adjusted to process the original data to obtain a third image. Or, the module of the parameter to be adjusted is used for operating the first parameter to process the original data and outputting the display image. And receiving a third image sent by the third electronic equipment, wherein the third image is an image acquired after the third electronic equipment acquires the display image.
In one possible implementation, the parameter determination condition further includes a search stop condition; the search stop condition includes any one or several of the following: a first preset threshold, target search times and target search duration; determining a target parameter using the first similarity, comprising: and if the first similarity is determined to be greater than or equal to a first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter. And/or determining that the number of times of searching the first parameter reaches the target searching number, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter. And/or determining that the time length for searching the first parameter reaches the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
In one possible implementation, determining a search space according to information of a module of the parameter to be adjusted includes: and determining the adjustable parameters and the adjustable range of the adjustable parameters in the module of the parameters to be adjusted according to the information of the module of the parameters to be adjusted. And determining a search space according to the adjustable parameters and the adjustable range.
In one possible implementation, determining a search space according to the adjustable parameter and the adjustable range includes: displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user. And determining a search space according to the parameter to be adjusted and the range to be adjusted.
In one possible implementation, searching for the first parameter in the search space includes: searching a first parameter in a search space according to a first preset mode; the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: and establishing a database, wherein the database comprises one or more data pairs.
In one possible implementation, determining the parameter determination condition includes: displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: parameter adjustment dimension, information of a module of the parameter to be adjusted, and search stop conditions. A user-selected parameter determination condition is detected on the first interface.
In one possible implementation, determining a first similarity between the third image and the target image includes: in the parameter adjustment dimension, a first similarity of the third image and the target image is determined.
In addition, for technical effects of the electronic device of the fourth aspect, reference may be made to technical effects of the parameter determination method of the second aspect, and details are not repeated here.
In a fifth aspect, the present application provides an electronic device having a function of implementing the parameter determination method as described in the first aspect and any one of the possible implementation manners. Alternatively, the electronic device has a function of implementing the parameter determination method as described in the second aspect and any one of its possible implementations. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a sixth aspect, the present application provides a computer-readable storage medium, which includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the parameter determination method according to any one of the first aspect and any one of the possible implementations thereof. Or, causing the electronic device to execute the parameter determination method according to any one of the second aspect and any one of its possible implementations.
In a seventh aspect, the present application provides a computer program product, which when run on an electronic device, causes the electronic device to perform the parameter determination method according to any one of the first aspect and any one of its possible implementations. Or, causing the electronic device to execute the parameter determination method according to any one of the second aspect and any one of its possible implementations.
In an eighth aspect, there is provided circuitry comprising processing circuitry configured to perform the parameter determination method as described in the first aspect and any one of its possible implementations; or configured to perform the parameter determination method as described in the second aspect and any one of its possible implementations.
In a ninth aspect, an embodiment of the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiving function and send an instruction to the at least one processor, and when the at least one processor executes the instruction, the at least one processor performs the parameter determination method as described in the first aspect and any one of the possible implementations thereof; alternatively, at least one processor performs the parameter determination method as described in the second aspect and any one of its possible implementations.
Drawings
Fig. 1A is a schematic diagram of a communication system provided in an embodiment of the present application;
fig. 1B is a schematic diagram of a system architecture provided in an embodiment of the present application;
fig. 2 is a first schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a first flowchart of a parameter determination method according to an embodiment of the present application;
FIG. 4 is a first schematic view of an interface provided in an embodiment of the present application;
FIG. 5 is a second schematic interface diagram provided in an embodiment of the present application;
fig. 6 is a flowchart of a parameter determination method according to an embodiment of the present application;
fig. 7 is a flow chart of a parameter determination method provided in the embodiment of the present application;
fig. 8 is a first schematic diagram illustrating a parameter determination effect provided in an embodiment of the present application;
fig. 9 is a schematic diagram illustrating a parameter determination effect according to an embodiment of the present application;
fig. 10 is a fourth flowchart of a parameter determination method provided in the embodiment of the present application;
FIG. 11 is a third schematic interface diagram provided in accordance with an embodiment of the present application;
FIG. 12 is a fourth schematic interface diagram provided in accordance with an embodiment of the present application;
fig. 13 is a fifth flowchart of a parameter determination method according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following describes in detail a parameter determination method and an electronic device provided in an embodiment of the present application with reference to the drawings.
The terms "comprising" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
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 explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
First, for the sake of understanding, the following description is made of terms and concepts related to the embodiments of the present application.
(1) Image Signal Processor (ISP)
The ISP is a processing unit in the processor of the electronic device. In the shooting process of the electronic equipment, the ISP is used for processing data fed back by the camera. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. That is, the ISP can convert the original image into an image in a visual format, which is also referred to as an image rendering process. The original image is a RAW image file (which may also be described as a RAW image), and the rendered visual image is referred to as a bitmap.
Optionally, the ISP includes a plurality of image algorithm processing modules, wherein each module is configured with a plurality of parameters, and each parameter corresponds to a certain value range. 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 stable and higher-quality imaging effect, and a poorer parameter value combination can cause a poorer imaging effect. Therefore, parameters and values of each module in the ISP need to be determined globally, so that a good imaging effect can be obtained after the parameters and the values are combined. It can be seen that the ISP parameters determine the process data volume is large, which also results in a complex process.
Illustratively, the ISP may perform algorithm optimization for noise, brightness, and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. The image algorithm processing module in the ISP includes, for example, a Dynamic Range Compression (DRC) module, a three-dimensional color lookup table (3D LUT) module, an Automatic White Balance (AWB) module, an Automatic Focusing (AF) module, an Automatic Exposure (AE) module, and the like.
(2) Display unit
The display unit described in the embodiments of the present application is a processing unit in a processor of an electronic device. In the shooting process of the electronic device, the display unit is used for converting the received digital signal into an electrical signal, and is matched with display devices such as a Liquid Crystal Display (LCD) and an organic light-emitting diode (OLED) in a display screen of the electronic device to display the shot image or video. The display unit contains a plurality of image algorithm processing modules, for example, including a sharpening (sharpen) module. The display unit deblurs and brightens an original film source (such as an original image or an original video) through an algorithm module, and a high-dynamic range (HDR) image is processed, so that a better display effect is obtained. And the display unit is matched with the display screen to display the image processed by the ISP. Accordingly, the image algorithm processing module and the parameters thereof in the display unit are also complex, and thus, the parameters that enable the electronic device to obtain a better display effect need to be determined through a parameter determination process.
In the embodiments of the present application, an ISP and a display unit for processing image data in a processor are taken as examples, and a parameter determination method is described from two perspectives of image processing and image display, respectively. It can be understood that the processor further includes other modules that need to perform parameter determination, such as a compression module, and the other modules may determine values of algorithm parameters therein by using the parameter determination method provided in the embodiment of the present application, which is not described herein again. In addition, some audio processing modules in the processor may also determine values of algorithm parameters therein by using the parameter determination method provided in the embodiment of the present application, which is not described herein again.
Fig. 1A (a) is a schematic diagram of a communication system to which a parameter determination method according to an embodiment of the present application is applied. As shown in (a) of fig. 1A, 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 may be connected through a wired network or a wireless network. The connection mode between the devices is not particularly limited in the embodiments of the present application.
Optionally, the first electronic device 100 refers to a research and development device, and the first electronic device 100 may be a server or a terminal device, for example, a terminal device operated by a developer. The first electronic device 100 may provide a relevant human-machine interface for the user to input the parameter determination condition. The parameter determination condition includes, for example, a dimension of parameter adjustment, a module of a parameter to be adjusted, a search stop condition, and the like. The dimensions of parameter adjustment include, for example, brightness, color, sharpness, and the like. The module to be adjusted is a module in the processor, which needs parameter adjustment, and includes, for example, a DRC module in an ISP, a 3D LUT module, and the like. Illustratively, the first electronic device 100 may be a terminal device of a desktop, laptop, handheld computer, notebook, etc. The embodiment of the present application does not particularly limit the specific form of the first electronic device 100.
Optionally, the second electronic device 200 refers to a client device, and may be a terminal device used by a user (which may also be described as a consumer). The second electronic device 200 is a device for adjusting parameters, and includes a module for adjusting parameters, and in the process of interacting with the first electronic device 100, parameters (i.e., parameter value combinations) that enable the second electronic device 200 to obtain a better image processing result and/or image display effect can be determined. For example, the second electronic device 200 includes a mobile phone, a large-screen display device (e.g., a smart screen, etc.), a tablet computer, an in-vehicle device, a notebook computer, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an artificial intelligence (artificial intelligence) device, and other terminal devices having image processing and display functions, and the specific type of the second electronic device 200 is not limited in this embodiment.
In some scenarios, as shown in fig. 1A (b), one or more third electronic devices 300 are also included in the above-described communication system. Wherein, the image processing result of the third electronic device 300 in at least one parameter-adjusted dimension 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 parameter-adjusted dimension is better than the image display effect of the second electronic device 200 in the corresponding dimension.
For example, the third electronic device 300 is a single lens reflex camera, and the second electronic device 200 is a mobile phone. The same subject is photographed and the image output by the third electronic apparatus 300 is superior in color to the image output by the second electronic apparatus 200. For another example, the third electronic device 300 is a professional display screen, and the second electronic device 200 is a television. The same image is displayed and the definition of the image displayed by the third electronic device 300 is better than that of the image displayed by the second electronic device 200.
Optionally, the third electronic device 300 may be a single lens reflex camera, a professional photographing device, or the like, which can obtain a better image processing result. The third electronic device 300 may also be a professional display screen, a consumer-grade large screen, or the like, which can obtain a better image display effect. The embodiment of the present application does not set any limit to the specific type of the third electronic device 300.
In the scenarios shown in fig. 1A and 1b, the first electronic device 100 is a server or a terminal device for determining parameters. In other scenarios, as shown in fig. 1A (c), a server 400 for determining parameters is included in the communication system.
Alternatively, the server 400 may be a device or a server having a computing function, such as a cloud server or a web server. The server 400 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
In some embodiments, as shown in fig. 1A (c), the communication system includes a server 400, a first electronic device 100, and a second electronic device 200. The first electronic device 100 provides a relevant human-computer interaction interface, and collects parameter determination conditions input by a user. The server 400 is a cloud server, and receives the parameter determination condition sent by the first electronic device 100, and determines a parameter value in a module of the parameter to be adjusted. The specific parameter determination process is described below, and is not described herein again.
In other embodiments, the communication system includes the server 400 and the second electronic device 200, the server 400 directly collects the parameter determination condition, and determines the parameter value in the module of the parameter to be adjusted in the interaction process with the second electronic device 200.
In other scenarios, the communication system includes a second electronic device 200, and the second electronic device 200 acquires a parameter determination condition and determines a parameter value in a module of a parameter to be adjusted.
It is understood that the above parameter determination is determination of a parameter, a value of the parameter, and a combination of values of the parameter. The parameter determination process is a process of determining a parameter, a parameter value and a combination of the parameter values. Hereinafter, the description thereof will be omitted.
Fig. 1B exemplarily shows a system architecture provided in the embodiment of the present application, which includes a first electronic device 100, a second electronic device 200, and a third electronic device 300.
As shown in the system architecture in fig. 1B, the first electronic device 100 configures 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 a voice prompt, and collects parameter determination conditions input by a user. The first electronic device 100 further comprises an acquisition module 120, a construction module 130, a search module 140 and an evaluation module 150.
The collecting module 120 is configured to collect parameter determination conditions input by a user, including parameter adjustment dimensions (e.g., brightness, color, sharpness, etc.), information of a module to be adjusted in parameters, search stop conditions, and the like. Wherein the module of the parameter to be adjusted corresponds to the parameter adjustment dimension. For example, when the acquisition module 120 acquires that the parameter adjustment dimension selected by the user is brightness, the module corresponding to the brightness is determined, and the information of the module is provided to the user for selection. And then acquiring one or more modules corresponding to the brightness, wherein the parameters of which need to be adjusted are determined by the user according to the selection of the user. The search stop condition includes one or more items of a first preset threshold, a target search number, a target search duration, and the like. 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 is stopped after the target parameter is searched for, which makes the similarity between the processing result and the target image greater than or equal to 98%. The processing result comprises an image processed by the ISP or an image displayed by the display unit.
It should be noted that the target image may also be described as a reference image, reference data, a target true value (GT), a gold-labeled image, a gold label, gold-labeled data, and the like, which is not specifically limited in this embodiment of the present application.
A construction module 130 for constructing data pairs and search spaces. Wherein the data pairs comprise raw data and corresponding target images. For example, as shown in fig. 1B, the database 400 stores images or video pictures of the second electronic device 200 and the third electronic device 300 taken for the same scene, and/or the database 400 stores display images of the second electronic device 200 and the third electronic device 300 for the same image or video picture. The image processed or displayed by the second electronic device 200 is a first image, and the image processed or displayed by the third electronic device 300 is a second image. The construction module 130 constructs a set of corresponding images from the first image and a second image that is superior to the first image in at least one dimension. And then, obtaining original data corresponding to the first image by using the first image. And according to the parameter adjustment dimension, decoupling the second image to obtain one or more target images corresponding to the parameter adjustment dimension. The raw data and the corresponding target image are constructed as data pairs. Wherein the target image is superior to the first image in a current parameter adjustment dimension and identical to the first image in dimensions other than the current parameter adjustment dimension.
Illustratively, the image a is obtained by taking a scene 1 using a second electronic device 200, such as a cell phone. Then, the subject 1 is photographed by using a third electronic device 300 such as a single lens reflex camera to obtain an image B. Image B is superior to image a in both the luminance and color dimensions, then the construction module 130 treats image a and image B as a set of corresponding images. Then, the building module 130 obtains a RAW map corresponding to the image a by using the image a, and determines a target image according to the parameter adjustment dimension. For example, if the parameter adjustment dimension is brightness, the building module 130 decouples the image B to obtain the target image 1. The luminance of the target image 1 is better than the luminance of the image a, and the color of the target image 1 is the same as the color of the image a. The RAW map and the target image 1 are constructed as one data pair, and one data pair is obtained. For another example, if the parameter adjustment dimensions are brightness and color, the construction module decouples the image B to obtain the target image 1 and the target image 2. The luminance of the target image 1 is better than the luminance of the image a, and the color of the target image 1 is the same as the color of the image a. The color of the target image 2 is better than that of the image a, and the luminance of the target image 2 is the same as that of the image a. The RAW map and the target image 1 are constructed as one data pair, and the RAW map and the target image 2 are constructed as the other data pair, so that two data pairs are obtained.
The search space is a space for searching the parameters, which is determined by the construction module 130 according to the module information of the parameters to be adjusted and the parameter adjustment dimension, which are acquired by the acquisition module 120. For example, the information of the module of the parameter to be adjusted includes 10 parameters to be determined, each parameter corresponds to 10 possible values, so the size of the search space is 100 (i.e., 10^10), and the search space includes 100 possible parameter combinations.
A searching module 140, configured to search for the first parameter based on the search space constructed by the construction module 130. For example, the search module 140 searches a set of first parameters in the search space by using a random search or the like, and sends the first parameters and the RAW data (i.e., RAW map) 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 parameters to obtain a corresponding processing result.
And the evaluation module 150 is configured to evaluate whether the first parameter searched by the current 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 satisfied. And if the search stopping condition is met, obtaining the parameter corresponding to the highest similarity, and determining the parameter as the target parameter. If the search stop condition is not satisfied, the search module 140 is notified to search another set of first parameters, and a next round of parameter determination process is performed.
It should be noted that fig. 1B is only a schematic diagram of a system architecture provided in an embodiment of the present application, and a positional relationship between devices, modules, and the like shown in the diagram does not constitute any limitation. For example, in fig. 1B, the database 400 is an external memory with respect to the first electronic device 100, and in other cases, the database 400 may be disposed in the first electronic device 100.
The method for determining the parameters provided by the embodiment of the application can be realized by different devices. For example, it can be applied to the communication apparatus 200 shown in fig. 2. As shown in fig. 2, the communication device 200 includes at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204. Wherein the memory 203 may also be comprised in the processor 201.
The processor 201 may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The communication line 202 may be a circuit that connects the above components to each other and transfers information between the above components.
A communication interface 204 for communicating with other devices. In the embodiment of the present application, the communication interface 204 may be a module, a circuit, a bus, an interface, a transceiver or other apparatuses capable of implementing a communication function, which is used for communicating with other devices. Alternatively, when the communication interface 204 is a transceiver, the transceiver may be a stand-alone transmitter operable to transmit information to other devices, or a stand-alone receiver operable to receive information from other devices. The transceiver may also be a component that integrates information sending and receiving functions, and the embodiment of the present application does not limit the specific implementation of the transceiver.
The memory 203 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous link SDRAM (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 that can be accessed by a computer. The memory 203 may be separate and coupled to the processor 201 via the communication line 202. The memory 203 may also be integrated with the processor 201.
The memory 203 is used for storing computer-executable instructions for implementing the scheme of the application, and is controlled to execute by the processor 201. The processor 201 is configured to execute computer-executable instructions stored in the memory 203 to implement the method for determining parameter determination provided by the following embodiments of the present application.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, instructions, computer programs, or by other names, which are not specifically limited in the embodiments of the present application.
In particular implementations, processor 201 may include one or more CPUs such as CPU0 and CPU1 in fig. 2, for example, as one embodiment.
In particular implementations, communication apparatus 200 may include multiple processors, such as processor 201 and processor 207 in fig. 2, for example, as an example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one implementation, the communications apparatus 200 may further include an output device 205 and an input device 206. The output device 205 is in communication 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, a projector (projector), or the like. The input device 206 is in communication 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 sensing device, among others.
The communication apparatus 200 may be a general-purpose device or a special-purpose device. The configuration of the communication device 200 shown in fig. 2 does not constitute a limitation of the communication device, and an actual communication device may include more or less components than those shown, or combine some components, or a different arrangement of components.
The parameter determination method provided in the embodiment of the present application will be described below by taking the first electronic device 100 as a PC having the structure shown in fig. 1B and 2 and taking the second electronic device 200 as a mobile phone as an example to execute the parameter determination process by the first electronic device 100.
A database for storing data pairs, which is stored in the PC or in an external memory of the PC, needs to be established in advance before determining the parameters. Illustratively, the database stores image pairs for determining image processing module parameters and/or image pairs for determining image display unit parameters.
In some scenarios, the PC needs to determine parameters of an image processing module in the mobile phone, for example, parameters of some modules in the ISP need to acquire a first image by using the mobile phone in advance. The first image may also be described as a first media file, including images and/or video. Then, a second image identical to the subject of the first image is acquired by using a professional device such as a single lens reflex camera. The second image is superior to the first image in at least one dimension. For example, the second image may have a luminance better than the first image. For another example, a video shot by the single lens reflex camera is better than a video shot by a mobile phone in color, and the shooting contents of the two videos are the same as the shooting environment. As described above for the ISP, the ISP can convert the RAW map into the first image in a visual format, and therefore the handset can determine the RAW map corresponding to the first image, and the PC stores the RAW map 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 to a database. Or storing the RAW image corresponding to the first image and the target image corresponding to the second image in a database. That is, the RAW map is the original data, the second image is used to determine the corresponding target image, and the RAW map and the corresponding target image constitute a data pair. Then, a module of the subsequent mobile phone for adjusting the parameters processes the RAW image by using different parameters, the PC obtains a visible third image obtained after the RAW image is processed by the mobile phone, and compares the third image with the corresponding target image, and according to the similarity, the target parameters meeting the requirements can be determined.
It should be noted that, in the process of acquiring the first image and the second image, it should be ensured that the ambient light source, the object to be shot, and the like are consistent except for the device difference, so that the target image can be obtained more accurately.
In other scenarios, the PC needs to determine parameters of the image display unit in the handset, and the original film source, which includes images and/or video, needs to be predetermined. The method comprises the steps of utilizing a mobile phone and professional display equipment (such as a professional display screen) to display the same original film source respectively, and utilizing the professional equipment (such as a high-speed camera) to shoot images displayed by the mobile phone and the professional display equipment to respectively serve as display effects of the mobile phone and the professional display equipment. And if the image of the original film source displayed by the acquisition mobile phone is a first image, acquiring the image of the original film source displayed by the professional display equipment to be a second image. The display effect of the professional display device is superior to the display effect of the cell phone in at least one dimension, and then the second image is superior to the first image in at least one dimension. For example, the definition of the display image of the professional display equipment is better than that of the display image of the mobile phone. And taking the original film source as original data, displaying a second image output by the original film source by using a professional display device, obtaining a corresponding target image, and storing the target image in a database. Then, the display unit in the subsequent mobile phone displays the original film source by using different parameters to obtain different third images, and the PC compares the third images with the corresponding target images to determine the target parameters meeting the requirements.
It should be noted that, in the process of acquiring the images output after the mobile phone and the professional display device display the original film source, it should be ensured that other conditions, such as an ambient light source, etc., except for the device difference between the mobile phone and the professional display device are kept consistent, and thus the target image can be obtained more accurately. In addition, in the subsequent parameter determination process, if the display effect of the original film source displayed by the mobile phone needs to be acquired, the conditions of the acquisition equipment, the acquisition environment and the like are also ensured to be the same.
Exemplarily, fig. 3 is a first flowchart of a parameter determining method provided in the embodiment of the present application. Referring to FIG. 3, the method includes S301-S308.
S301, the PC acquires parameter determination conditions.
Wherein, the parameter determination condition comprises one or more of the following items: the dimension of parameter adjustment, the information of the module of the parameter to be adjusted, and the search stop condition. The module to be adjusted is a module that needs to adjust parameters in the mobile phone to obtain a better application effect, and in the embodiment of the present application, a module in an ISP or a display unit is taken as an example for description. The parameter adjustment dimension is used for representing the dimension which influences the image processing effect or the display effect after the parameter adjustment. Including, for example, dimensions such as brightness after image processing, color after image processing, and sharpness of image display. The search stopping condition is a condition for stopping the parameter search process, which is preset according to an empirical value or an experimental result. For example, one or more of a first preset threshold, a target search number and a target search duration are included. The first preset threshold is used for describing the minimum similarity between the image processed by using the searched parameters and the target image, namely after the parameters of which the similarity is greater than or equal to the first preset threshold are obtained through searching, the searching can be stopped, and the parameters are used as target parameters of a module for adjusting the parameters to be adjusted.
In some embodiments, the PC displays a first interface, and acquires the parameter determination condition in a man-machine interaction manner. Illustratively, as shown in interface 401 of FIG. 4, the PC detects the parameter adjustment dimension selected or filled in by the user. And determining a corresponding module of the parameter to be adjusted according to the parameter adjustment dimension. As shown in the interface 401, the modules for determining the parameter to be adjusted corresponding to the brightness by the PC include 6 modules, i.e., the module 1 to the module 6, according to the dimension of the brightness. The PC displays the 6 modules for selection by the user, and determines the module of the parameter to be adjusted selected by the user, such as module 1 shown in interface 401. As shown in fig. 4, the PC also collects search stop conditions using the interface 401. For example, as shown in the current interface 401, the PC determines that the search stop condition includes that the number of searches reaches 100 and/or the similarity threshold reaches 99%. And after the PC detects that the user clicks the determination control 41, the acquisition of the parameter determination condition is completed. Thus, through the interface 401, the PC collects one or more parameter adjustment dimensions, and corresponding modules of one or more parameters to be adjusted and one or more search stop conditions.
In some embodiments, the corresponding relationship among the parameter adjustment dimension, the module of the parameter to be adjusted, and the search stop condition is preset, so that the PC can correspondingly obtain other parameter determination conditions after determining one or more items of content. For example, the PC determines the parameter adjustment dimensions as the brightness and color of the image, and does not need to be selected by the user any more, and the corresponding modules for determining the parameters to be adjusted are the DRC module and the 3D LUT module in the ISP according to the corresponding relationship. Also, the PC can obtain preset search stop conditions including, for example, a similarity of the image brightness to the target image of 98% or more and a similarity of the image color to the target image of 99% or more. For another example, if the PC determines that the module of the parameter to be adjusted is a sharpen module in the display unit, the PC directly determines the parameter adjustment dimension as the definition of image display according to the corresponding relationship, and the search stopping condition is that the similarity between the definition of image display and the target image is greater than or equal to 99%.
S302, the PC determines one or more data pairs corresponding to the parameter adjustment dimension, and each data pair comprises original data and a corresponding target image.
In some embodiments, after obtaining the parameter determination condition, the PC determines a parameter adjustment dimension, and searches the database for the corresponding one or more second images according to the parameter adjustment dimension. Wherein 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 superior to the first image in the 3 parameter adjustment dimensions, respectively, and/or the second image that is superior to the first image in any two of the parameter adjustment dimensions, and/or the second image that is superior to the first image in all of the 3 parameter adjustment dimensions.
In some scenarios, after the PC acquires the first image and the parameter adjustment dimension, the database is searched 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 parametric adjustment dimensions, the database is searched for a first image and one or more second images that have been determined as an image pair in at least one of the parametric adjustment dimensions.
Then, determining the original data and determining a target image using the second image according to the parameter adjustment dimension to obtain one or more data pairs.
As described above, if the module of the parameter to be adjusted is the module in the ISP, the PC determines that the original data is the RAW image corresponding to the first image acquired by the mobile phone. Or if the module of the parameter to be adjusted is the module in the display unit, the PC determines that the original data is the original film source.
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 the other dimension, the PC takes the second image as the target image and determines the RAW image and the target image corresponding to the first image as one data pair. The second image is identical to the first image in other dimensions, which means that the evaluation results of the second image and the first image in other dimensions are identical. And if the second image is the same as the first image in the brightness dimension or the difference is smaller than or equal to the preset threshold, determining that the second image is the same as the first image in brightness if the evaluation result in the brightness dimension is the same.
In still other embodiments, the PC needs to decouple the second image if it is better than the first image in multiple parameter adjustment dimensions. 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. And comparing the image processing effect or the image display effect on the single parameter adjustment dimension, thereby ensuring the accuracy of the comparison effect and improving the certainty of the target parameter.
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, resulting in a target image 1 that is better in brightness and the same color as the first image, and a target image 2 that is better in color and the same brightness as the first image. Then, the PC sets the RAW map corresponding to the first image and the target image 1 as one data pair, and sets the RAW map corresponding to the first image and the target image 2 as one data pair, thereby obtaining two data pairs.
S303, the PC determines a search space.
In some embodiments, after the PC obtains the parameter determination condition, the PC determines a module of the parameter to be adjusted, and determines the corresponding search space according to the adjustable parameter in the module of the parameter to be adjusted and the value range of each adjustable parameter. The search space contains a plurality of parameter combinations corresponding to the current parameter adjustment dimension.
For example, the PC determines the parameter adjustment dimensions as 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 respectively determine the search spaces corresponding to different parameter adjustment dimensions. The PC determines that the number of adjustable parameters in the DRC module corresponding to the brightness is a, the value range of each adjustable parameter comprises b possible values, and the search space corresponding to the brightness comprises b ^ a possible parameter combinations, namely the size of the search space is b ^ a. The PC determines that the number of adjustable parameters in the 3D LUT module corresponding to the color is c, the value range of each adjustable parameter comprises D possible values, and the search space corresponding to the color comprises D ^ c possible parameter combinations, namely the size of the search space is D ^ c.
In still other embodiments, the PC displays a second interface, and displays the determined module of the parameter to be adjusted, the adjustable parameter, and the value range (i.e., the adjustable range) of the adjustable parameter on the second interface. And acquiring the parameters to be adjusted determined by the user to be adjusted and the range to be adjusted corresponding to the parameters by a man-machine interaction mode, and further determining the search space required by the final user.
In this way, part of all adjustable parameters can be determined as the parameters to be adjusted according to the requirements or experiences of the user, and the adjustable range of the parameters to be adjusted can be narrowed. Therefore, the search space is reduced, and the efficiency of searching parameters in the search space subsequently is improved.
For example, as shown in an interface 501 shown in fig. 5, a module of a current parameter to be adjusted is a module 1, corresponding adjustable parameters are parameters 1 to 5, and in response to a selection of a user, it is determined that the parameter to be adjusted, which is determined by the user of the current module 1, is a parameter 1, a parameter 3, and a parameter 5, and a value range to be adjusted of each parameter is determined. For example, the adjustable range of the parameter 1 is 1-30, and the user selects the value range of the parameter 1 in the adjustable range to be 1-10. After detecting the operation of clicking the determination control 51 by the user, determining the parameters to be adjusted and the ranges to be adjusted of the modules of the parameters to be adjusted, and obtaining the search space applied in the subsequent parameter search by the above method.
S304, the PC searches the first parameter in the search space according to a first preset mode.
The first preset mode is a parameter search mode and comprises a random search mode, a grid search mode, an optimization search mode and the like. And the PC searches the parameters in the determined search space according to a first preset mode to obtain a group of parameters which are combined into a first parameter.
For example, the PC randomly searches 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 a grid search manner according to the preset search step size in the search space. For another example, the PC determines the first parameter searched this time according to the image processing result or the display effect corresponding to the first parameter searched in the history. If the PC determines that the parameters in a certain value interval can make the image processing result or the display effect better according to the parameter search results for several times, the PC continues searching in the interval, and further determines that the target parameters which can make the image processing result or the display effect meet the requirements can be obtained more quickly.
S305, the PC acquires a third image by using the first parameter and the original data.
In some embodiments, after the PC determines a set of first parameters, the first parameters need to be compiled into a corresponding mobile phone, which contains the module of the parameters to be adjusted and is the mobile phone that captured the first image. And compiling the first parameter to a module of the parameter to be adjusted in the mobile phone, so that the module of the parameter to be adjusted processes the original data by using the first parameter, and further a third image corresponding to the first parameter is obtained.
Wherein the third image is used for representing an image processing result or an image display effect. If the third image is used for representing the image processing result, the image output after the module of the parameter to be adjusted in the mobile phone processes 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 for representing an image display effect, after the module of the parameter to be adjusted in the mobile phone processes the original data, other acquisition equipment (such as a high-speed camera) needs to be used for acquiring the display image to obtain the third image, and the PC needs to receive the third image sent by the other acquisition equipment.
In some scenarios, the module of the parameter to be adjusted is the module in the ISP, and the third image is used to represent the image processing result. Fig. 6 is a schematic flow chart of a parameter determination method according to an embodiment of the present application. As shown in fig. 6, step S305 is implemented as step S601 to step S603.
S601, the PC sends the first parameters and the original data to the mobile phone.
S602, the mobile phone inputs the first parameter and the original data into a module of the parameter to be adjusted to obtain a third image.
And S603, the mobile phone sends the third image to the PC.
In some embodiments, as described in the above steps S601 to S603, the PC sends the first parameter and the original data to the mobile phone, the mobile phone compiles the first parameter into a corresponding module of the parameter to be adjusted, inputs the original data, i.e., the RAW map, into the module of the parameter to be adjusted whose updated parameter is the first parameter, obtains a bitmap after processing the RAW map, and uses the bitmap as the third image. Thereafter, the handset transmits the third image to the PC.
In other scenarios, the module of the parameter to be adjusted is a module in the display unit, and the third image is used to represent an image display effect. Fig. 7 is a third schematic flow chart of a parameter determination method according to an embodiment of the present application. As shown in fig. 7, step S305 is implemented as step S701 to step S704.
S701, the PC sends the first parameters and the original data to the mobile phone.
S702, the mobile phone inputs the first parameter and the original data into a module of the parameter to be adjusted, and outputs and displays an image.
And S703, acquiring the display image by the acquisition equipment to obtain a third image.
And S704, the acquisition equipment sends the third image to the PC.
In some embodiments, as described in 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 a corresponding module of the parameter to be adjusted, the original data, i.e., the original film source, is input into the module of the parameter to be adjusted whose updated parameter is the first parameter, the original film source is processed to realize an image displayed by the mobile phone, and an image displayed by the mobile phone is acquired by using an acquisition device, such as a high-speed camera, to obtain a third image. And then, the acquisition equipment transmits the third image to the PC.
It should be noted that the acquiring device is a device that acquires the first image and the second image. And if the acquisition equipment acquires a display image of the original film source displayed by the mobile phone, acquiring a first image. The acquisition equipment acquires a display image of the original film source displayed by the professional display screen to obtain a second image.
Thereafter, as shown in fig. 3, the PC obtains a third image that is a processing result corresponding to the first parameter searched this time, and then executes the following steps.
S306, the PC determines a first similarity between the third image and the target image.
In some embodiments, if the target image is an image corresponding to the same parameter adjustment dimension, the PC directly determines the similarity of the third image and the target image in the current dimension. For example, if the parameter adjustment dimension is definition, the PC determines the similarity between the definition of the original film source displayed by the mobile phone and the definition of the original film source displayed by the professional display screen. For another example, if the number of the target images is multiple, the similarity between the third image and the target image in the parameter adjustment dimension is determined by using a mean average or a weighted average method. As in the above step S302, the PC determines that the number of second images superior to the first image in the dimension of the luminance is 5, and accordingly, the PC can obtain 5 target images corresponding to the luminance. The PC compares the third image with the corresponding 5 target images, respectively, to obtain 5 similarities in brightness, and takes the average of the 5 similarities as the first similarity.
Illustratively, as shown in fig. 8 (a), a third image obtained from an original film source is displayed for the mobile phone, and the corresponding definition is definition 1. As shown in fig. 8 (b), the target image obtained from the same original film source is displayed for the professional display device, and the corresponding definition is definition 2. Among them, the definition 2 is better than the definition 1. Thereafter, the PC determines a first similarity between the sharpness 1 and the sharpness 2.
In some embodiments, if the target image is an image corresponding to a plurality of parameter adjustment dimensions, the PC needs to determine the similarity between the third image and the corresponding target image in each parameter adjustment dimension. And then, determining the first similarity by using a 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 superior in brightness and the same color as the first image, and a target image 2 that is superior in color and the same brightness as the first image. Thereafter, the PC determines the similarity 1 in luminance of the third image and the target image 1, and determines the similarity 2 in color of the third image and the target image 2. And, using the similarity 1 and the similarity 2, a first similarity is obtained. And respectively setting the weights of the brightness and the color, and obtaining a first similarity by using a weighted average algorithm based on the similarity 1 and the similarity 2. If the set brightness weight is higher, the target parameters are determined according to the preset weight, so that the image processed by the mobile phone can obtain a better processing effect in the aspect of brightness.
Illustratively, as shown in fig. 9 (a), a first image obtained by processing the RAW map with original parameters is obtained for the mobile phone before the parameters are not adjusted yet. As shown in fig. 9 (b), the target image 1 superior in brightness to the first image is obtained after the second image obtained by processing the RAW map for the single lens reflex camera is decoupled. As shown in fig. 9 (c), the second image obtained by processing the RAW map for the single lens reflex camera is decoupled, and the target image 2 better in color than the first image is obtained.
S307, the PC determines whether the search stop condition is satisfied. If yes, go to step S308. If not, the process returns to step S304 and loops from step S304 to step S307.
S308, the PC obtains a target parameter, wherein the target parameter is a first parameter corresponding to the highest first similarity.
In some embodiments, as described in step S301 above, after the PC acquires the parameter determination condition, the PC determines a search stop condition, and determines whether the current first parameter satisfies the search stop condition. If the current first parameter is met, outputting the current first parameter as a target parameter, completing the parameter adjusting process of the mobile phone parameter adjusting module to be adjusted, and obtaining the parameter which can enable the parameter adjusting module to be adjusted to have a better image processing result or display effect.
In some scenarios, the search stop condition includes a first preset threshold. After obtaining the first similarity in step S306, the PC determines whether the first similarity meets the requirement of the first preset threshold. If the first similarity is larger than or equal to a first preset threshold, the first similarity meets the requirement, and a first parameter corresponding to the currently determined first similarity is output. If not, returning to step S304, and searching the next set of first parameters in the search space according to the first preset manner again.
Illustratively, in the scenario shown in fig. 4, the first preset threshold (i.e., the similarity threshold shown in the interface 401) is 99%. And 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.
In other scenarios, the search stop condition includes a target search number and/or a target search duration. After obtaining the first similarity in step S306, the PC determines whether the current search frequency and/or the search duration satisfy the search stop condition. If the first parameter is satisfied, if the number of times of searching the first parameter reaches the target searching number and/or the time length of searching the first parameter reaches the target searching time length, determining the maximum value of the first similarity corresponding to the first parameter searched for many times, taking the first parameter corresponding to the maximum value as the target parameter, and outputting the first parameter. If not, the process returns to step S304 to continue searching for parameters.
For example, in the scenario shown in fig. 4, the search stop condition includes that the number of target searches is 100. In the current scene, if the first parameter searched for in a certain time in 100 searches enables the first similarity to meet the requirement of a first preset threshold, the search is stopped, and the first parameter is output. If the target parameter is not searched in all 100 searches, after the 100 th search is finished 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.
For example, the target parameters are output after the search stop condition is satisfied, and the display effect of the mobile phone running target parameters displaying the original film source is shown in fig. 8 (c). It can be seen that the definition of the display image shown in (c) in fig. 8 is better than that of the display image shown in (a) in fig. 8, that is, the target parameter enables the mobile phone to obtain a better image display effect. For another example, after the target image 1 corresponding to the luminance dimension shown in fig. 9 (b) and the target image 2 corresponding to the color dimension shown in fig. 9 (c) are improved, the PC outputs the target parameters after satisfying the search stop condition. After the module of the parameter to be adjusted in the mobile phone runs the target parameter processing RAW map, the image shown in fig. 9 (d) is displayed, and the brightness and color of the image are superior to those of the image shown in fig. 9 (a), that is, the target parameter can enable the mobile phone to obtain a better image processing result.
Therefore, the parameter determining method provided by the embodiment of the application can quickly search the available parameter combinations and can run the searched parameter combinations in the actual hardware environment. And measuring the searched parameter combination by utilizing the predetermined target image, and quickly determining the parameter combination meeting the requirement. Therefore, the efficiency of parameter determination is improved, and the determined parameters can obtain better effect.
In addition, different electronic equipment or different modules with the same function in the same electronic equipment determine target parameters by using the same target image, so that the debugged electronic equipment or modules have similar performance.
For example, the same target image is used to determine ISP parameters of different cameras in the mobile phone, so as to achieve consistency of image processing effects of multiple cameras. If the consistency of the brightness of the processed images of the main camera, the wide-angle camera and the long-focus camera is ensured.
For another example, the same target image is used to adjust ISP parameters of a mobile phone preview stream and a video stream, so that the preview image and the photographed image are consistent when the mobile phone photographs or records.
For another example, in some scenes, after a plurality of large-screen display devices need to be spliced, a larger display screen is obtained for displaying an image, and it is necessary to ensure that each large-screen display device has the same display effect. If the same target image is preset, all the large-screen display equipment are consistent in brightness, color, definition and the like, and the spliced display screen can have a better display effect.
In another scenario, the second electronic device 200 may determine the target parameters directly when determining that some of the modules need to adjust the parameters, without determining the target parameters via the first electronic device 100. I.e. the parameter determination process is performed by the second electronic device.
The parameter determining method provided by the embodiment of the present application will be described below by taking the second electronic device 200 as an example to execute a parameter determining process, and taking the second electronic device 200 as a mobile phone.
Fig. 10 is a schematic flow chart of a parameter determination method according to an embodiment of the present application. Referring to fig. 10, the method includes S1001-S1008.
S1001, obtaining parameter determining conditions by the mobile phone.
In some embodiments, the mobile phone displays the first interface, and acquires the parameter determination condition in a man-machine interaction manner. Illustratively, as shown in FIG. 11 as interface 1101, the handset detects the parameter adjustment dimension selected or filled in by the user. And determining a corresponding module of the parameter to be adjusted according to the parameter adjustment dimension. As shown in the interface 1101, the modules for determining the parameter to be adjusted corresponding to the brightness of the mobile phone include 6 modules, i.e., the module 1 to the module 6, according to the dimension of the brightness. The PC displays the 6 modules for selection by the user, and determines the module of the parameter to be adjusted selected by the user, such as module 1 shown in interface 1101. As shown in fig. 11, the handset also collects search stop conditions using an interface 1101. For example, as shown in the current interface 1101, the mobile phone determines that the search stop condition includes that the number of searches reaches 100 and/or the similarity threshold reaches 99%. After the mobile phone detects that the user clicks the determination control 111, the collection of the parameter determination condition is completed. Thus, through the interface 1101, the mobile phone collects one or more parameter adjustment dimensions, and information of the corresponding module of one or more parameters to be adjusted and one or more search stop conditions.
In some embodiments, the corresponding relationship among the parameter adjustment dimension, the module of the parameter to be adjusted, and the search stop condition is preset, so that after one or more items of content are determined, the mobile phone can correspondingly obtain other parameter determination conditions.
For other contents of step S1001, reference may be made to the related description of step S301, and details are not repeated here.
S1002, the mobile phone determines one or more data pairs corresponding to the parameter adjustment dimension, wherein each data pair comprises original data and a corresponding target image.
Wherein, the first image is an image shot or displayed by the mobile phone, and the mobile phone can directly determine the corresponding RAW image or the original film source. And then, the mobile phone adjusts the dimension according to the parameters and searches the corresponding second image in the database.
For other contents of step S1002, reference may be made to the related description of step S302, which is not described herein again.
S1003, the mobile phone determines a search space.
In some embodiments, after obtaining the parameter determination condition, the mobile phone determines a module of the parameter to be adjusted, and may determine the corresponding search space according to the adjustable parameter in the module of the parameter to be adjusted and the value range of each adjustable parameter. The search space contains a plurality of parameter combinations corresponding to the current parameter adjustment dimension.
In still other embodiments, the mobile phone displays a second interface, and displays the determined module of the parameter to be adjusted, the adjustable parameter and the adjustable range on the second interface. And acquiring the parameters to be adjusted determined by the user to be adjusted and the range to be adjusted corresponding to the parameters by a man-machine interaction mode, and further determining the search space required by the final user.
For example, as shown in an interface 1201 shown in fig. 12, a module of a current parameter to be adjusted is a module 1, corresponding adjustable parameters are parameters 1 to 5, and in response to a selection of a user, it is determined that the parameter to be adjusted, which is determined by the user of the current module 1, is a parameter 1, a parameter 3, and a parameter 5, and a value range to be adjusted of each parameter is determined. For example, the adjustable range of the parameter 1 is 1-30, and the user selects the value range of the parameter 1 in the adjustable range to be 1-10. After the operation that the user clicks the determination control 121 is detected, the to-be-adjusted parameters and the to-be-adjusted ranges of the modules of the to-be-adjusted parameters are determined, and then the search space is determined.
For other contents in step S1003, reference may be made to the related description of step S303, which is not described herein again.
And S1004, searching the first parameter in the search space by the mobile phone according to a first preset mode.
Step S1004 may refer to the related description of step S304, which is not described herein again.
S1005, inputting the first parameter and the original data into a module of the parameter to be adjusted by the mobile phone to obtain a third image.
In some scenarios, the module of the parameter to be adjusted is the module in the ISP, and the third image is used to represent the image processing result. Then, after the mobile phone searches the first parameter, the first parameter is loaded to the module of the parameter to be adjusted, the original data is processed by using the module of the parameter to be adjusted after updating the parameter, and the mobile phone can directly obtain the third image.
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 the first parameter, the first parameter is loaded to the module of the parameter to be adjusted, the module of the parameter to be adjusted after updating the parameter is used for processing the original data, and a display image is output. The third image can be obtained only by the mobile phone when the acquisition equipment is used for acquiring the display image and sending the display image to the mobile phone.
Illustratively, as shown in fig. 13, step S1005 is implemented as steps S1301-S1303.
And S1301, inputting the first parameter and the original data into a module of the parameter to be adjusted by the mobile phone, and outputting and displaying an image.
S1302, the acquisition equipment acquires a display image to obtain a third image.
And S1303, the acquisition equipment sends the third image to the mobile phone.
For other contents of step S1005, reference may be made to the related description of step S305, which is not described herein again.
S1006, the mobile phone determines a first similarity between the third image and the target image.
S1007, the mobile phone determines whether the search stop condition is satisfied. If yes, go to step S1008. If not, the process returns to step S1004 and loops from step S1004 to step S1007.
And S1008, the mobile phone obtains a target parameter, wherein the target parameter is a first parameter corresponding to the highest first similarity.
Step S1006 to step S1008 may refer to the related description of step S306 to step S308, and are not described herein again.
Therefore, the parameter determining method provided by the embodiment of the application can quickly search the available parameter combinations and can run the searched parameter combinations in the actual hardware environment. And measuring the searched parameter combination by utilizing the predetermined target image, and quickly determining the parameter combination meeting the requirement. Therefore, the efficiency of parameter determination is improved, and the determined parameters can obtain better effect.
In addition, when the mobile phone needs to adjust the module parameters, the mobile phone can directly utilize the parameter determination method provided in fig. 10 to quickly determine the parameters and values, thereby improving the parameter determination efficiency.
The parameter determination method provided by the embodiment of the present application is described in detail above with reference to fig. 3, fig. 6, fig. 7, fig. 10, and fig. 13. The following describes the parameter determination apparatus provided in the embodiment of the present application in detail with reference to fig. 14.
Optionally, fig. 14 is a schematic structural diagram of a parameter determining apparatus provided in an embodiment of the present application. As shown in fig. 14, the parameter determination apparatus 1400 includes: an acquisition unit 1401, a determination unit 1402, and a search unit 1403.
In one possible design, the parameter determining apparatus 1400 may be used to implement the functions of the first electronic device involved in the above method embodiments. The parameter determining apparatus 1400 may be the first electronic device itself, or may be a functional unit or a chip in the first electronic device.
Optionally, the obtaining unit 1401 is configured to support the parameter determining apparatus 1400 to perform one or more steps of step S301, step S305, step S603, and step S704 in the foregoing embodiment. And/or, the obtaining unit 1401 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.
Optionally, the determining unit 1402 is configured to support the parameter determining apparatus 1400 to perform one or more of step S302, step S303, step S306, step S307, and step S308 in the above embodiments. And/or, the determining unit 1402 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.
Optionally, the searching unit 1403 is configured to enable the parameter determining apparatus 1400 to execute step S304 in the foregoing embodiment. And/or the search unit 1403 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the first electronic device in the embodiment of the present application.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Optionally, the parameter determining apparatus 1400 shown in fig. 14 may further include a sending unit (not shown in fig. 14) configured to send data to other devices. For example, the sending unit is configured to send the first parameter and the raw data to the second electronic device.
The obtaining unit 1401 and the sending unit may be collectively referred to as a transceiver unit, may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module.
Alternatively, the parameter determination apparatus 1400 shown in fig. 14 may further include a storage unit (not shown in fig. 14) that stores a program or instructions. When the acquisition unit 1401, the determination unit 1402, and the search unit 1403 execute the program or the instructions, the parameter determination device 1400 shown in fig. 14 is made to execute the parameter determination methods shown in fig. 3, 6, and 7.
Technical effects of the parameter determining apparatus 1400 shown in fig. 14 can refer to technical effects of the parameter determining methods shown in fig. 3, fig. 6 and fig. 7, and are not described herein again.
In another possible design, the parameter determining apparatus 1400 may be used to implement the functions of the second electronic device involved in the above method embodiments. The parameter determining apparatus 1400 may be the second electronic device itself, or may be a functional unit or a chip in the second electronic device.
Optionally, the obtaining unit 1401 is configured to support the parameter determining apparatus 1400 to perform one or more steps of step S1001 and step S1303 in the foregoing embodiment. And/or, the obtaining unit 1401 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.
Optionally, the determining unit 1402 is configured to enable the parameter determining apparatus 1400 to perform one or more of step S1002, step S1003, step S1005, step S1006, step S1007, step S1008 and step S1301 in the above embodiments. And/or, the determining unit 1402 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.
Optionally, the searching unit 1403 is configured to enable the parameter determining apparatus 1400 to execute step S1004 in the foregoing embodiment. And/or the search unit 1403 is further configured to support the parameter determining apparatus 1400 to perform other steps performed by the second electronic device in the embodiment of the present application.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Optionally, the parameter determining apparatus 1400 shown in fig. 14 may further include a sending unit (not shown in fig. 14) configured to send data to other devices.
The obtaining unit 1401 and the sending unit may be collectively referred to as a transceiver unit, may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module.
Alternatively, the parameter determination apparatus 1400 shown in fig. 14 may further include a storage unit (not shown in fig. 14) that stores a program or instructions. When the acquisition unit 1401, the determination unit 1402, and the search unit 1403 execute the program or the instructions, the parameter determination device 1400 shown in fig. 14 is made to execute the parameter determination method shown in fig. 10 and 13.
Technical effects of the parameter determining apparatus 1400 shown in fig. 14 can refer to technical effects of the parameter determining methods shown in fig. 10 and 13, and are not described herein again.
In the case of an integrated unit, fig. 15 shows another possible schematic composition of the parameter determination device referred to in the above-described embodiment. As shown in fig. 15, the parameter determining apparatus 1500 may include: a transceiver module 1501 and a processing module 1502.
Optionally, the transceiver module is configured to execute the steps executed by the obtaining unit 1401 shown in fig. 14. The processing module 1502 is configured to execute the steps executed by the acquisition determining unit 1402 and the searching unit 1403 shown in fig. 14. The operations and/or functions of the transceiving module 1501 and the processing module 1502 are to implement the corresponding flows of the parameter determination methods shown in fig. 3, 6, and 7. Alternatively, the operations and/or functions of the transceiver module 1501 and the processing module 1502 are not described herein again for brevity in order to implement the corresponding flows of the parameter determining methods shown in fig. 10 and fig. 13.
The parameter determination device 1500 may also include a storage module for storing program code and data for the parameter determination device. The storage module may be a memory.
The processing module 1502 may be a processor or a controller, among others. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
An embodiment of the present application further provides a chip system, including: a processor coupled to a memory for storing a program or instructions that, when executed by the processor, cause the system-on-chip to implement the method of any of the above method embodiments.
Optionally, the system on a chip may have one or more processors. The processor may be implemented by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
Optionally, the memory in the system-on-chip may also be one or more. The memory may be integrated with the processor or may be separate from the processor, which is not limited in this application. For example, the memory may be a non-transitory processor, such as a read only memory ROM, which may be integrated with the processor on the same chip or separately disposed on different chips, and the type of the memory and the arrangement of the memory and the processor are not particularly limited in this application.
The system-on-chip may be, for example, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit (DSP), a Microcontroller (MCU), a Programmable Logic Device (PLD), or other integrated chips.
It will be appreciated that the steps of the above described method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Embodiments of the present application also provide a storage medium for storing instructions for use by the above-described communication apparatus.
The embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a server, the server is caused to execute the relevant method steps to implement the parameter determination method in the foregoing embodiment.
The embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the parameter determination method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a component or a module, and may include one or more processors and memories connected to each other; wherein the memory is used to store computer programs, one or more of which comprise instructions. The instructions, when executed by one or more processors, cause an apparatus to perform the parameter determination method in the above-described method embodiments.
The apparatus, the computer-readable storage medium, the computer program product, or the chip provided in the embodiments of the present application are all configured to execute the corresponding methods provided above, so that the beneficial effects achieved by the apparatus, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC).
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of modules or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. A method for parameter determination, the method comprising:
acquiring a parameter determination condition; the parameter determination condition comprises parameter adjustment dimension and information of a module of a parameter to be adjusted;
determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises original data and a target image corresponding to the original data;
determining a search space according to the information of the module of the parameter to be adjusted; the search space comprises a parameter combination corresponding to the module of the parameter to be adjusted;
searching a first parameter in the search space, and obtaining a third image by using the first parameter and the original data;
determining a first similarity of the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the to-be-adjusted parameter.
2. The method of claim 1, wherein prior to said adjusting dimensions according to said parameters, determining one or more data pairs, the method further comprises:
acquiring a first image and a second image, the second image being superior to the first image in at least one of the parameter adjustment dimensions; the first image is an image acquired or displayed by electronic equipment of a parameter to be adjusted, and the equipment of the parameter to be adjusted comprises a module of the parameter to be adjusted; the first image and the second image correspond to the same shot or the same original film source.
3. The method of claim 2, wherein said adjusting the dimensions according to the parameters, determining one or more data pairs, comprises:
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;
and determining the one or more pairs of data pairs by taking the original data and the corresponding target images as a pair of data pairs.
4. The method of claim 2 or 3, wherein obtaining a third image using the first parameter and the raw data comprises:
sending the first parameter and the original data to the electronic equipment of the parameter to be adjusted;
and the module for receiving the parameter to be adjusted in the electronic equipment of 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, wherein the parameter determination condition further includes a search stop condition; the search stop condition includes any one or several of the following items: a first preset threshold, target search times and target search duration; the determining the target parameter by using the first similarity comprises:
if the first similarity is determined to be greater than or equal to the first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter;
and/or the presence of a gas in the gas,
determining that the number of times of searching the first parameter reaches the target searching number, and determining a parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter;
and/or the presence of a gas in the gas,
and determining the time length for searching the first parameter to reach the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
6. The method according to any one of claims 1 to 5, wherein the determining a search space according to the information of the module of the parameter to be adjusted comprises:
determining an adjustable parameter in the module of the parameter to be adjusted and an adjustable range of the adjustable parameter according to the information of the module of the parameter to be adjusted;
and determining the search space according to the adjustable parameters and the adjustable range.
7. The method of claim 6, wherein determining the search space based on the adjustable parameter and the adjustable range comprises:
displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user;
and determining the search space according to the parameter to be adjusted and the range to be adjusted.
8. The method according to any of claims 1-7, wherein searching the search space for the first parameter comprises:
searching the first parameter in a search space according to a first preset mode; wherein, the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
9. The method of any of claims 1-8, wherein prior to said adjusting dimensions according to said parameters, determining one or more data pairs, the method further comprises:
and establishing a database, wherein the database comprises the one or more data pairs.
10. The method according to any of claims 1-9, wherein said determining a parameter determination condition comprises:
displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: the method comprises the steps of adjusting dimensions of parameters, information of a module of the parameters to be adjusted and search stopping conditions;
detecting the parameter determination condition selected by a user on the first interface.
11. The method of any of claims 1-10, wherein determining the first similarity of the third image and the target image comprises:
determining the first similarity of the third image and the target image in the parameter adjustment dimension.
12. An electronic device, comprising: a processor, a memory, and a display, the memory, the display coupled with the processor, the memory to store computer program code, the computer program code including computer instructions that, when read from the memory by the processor, cause the electronic device to:
acquiring a parameter determination condition; the parameter determination condition comprises parameter adjustment dimension and information of a module of a parameter to be adjusted;
determining one or more data pairs according to the parameter adjustment dimension, wherein each data pair comprises original data and a target image corresponding to the original data;
determining a search space according to the information of the module of the parameter to be adjusted; the search space comprises a parameter combination corresponding to the module of the parameter to be adjusted;
searching a first parameter in the search space, and obtaining a third image by using the first parameter and the original data;
determining a first similarity of the third image and the target image, and determining a target parameter by using the first similarity; and the target parameter is used for adjusting the to-be-adjusted parameter.
13. The electronic device of claim 12, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
acquiring or displaying a first image and acquiring a second image superior to the first image in at least one of the parameter adjustment dimensions; the first image and the second image correspond to the same shot or the same original film source.
14. The electronic device of claim 13, wherein said adjusting dimensions according to said parameters, determining one or more data pairs, comprises:
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;
and determining the one or more pairs of data pairs by taking the original data and the corresponding target images as a pair of data pairs.
15. The electronic device of claim 13 or 14, wherein the obtaining a third image using the first parameter and the raw data comprises:
running the first parameter by using the module of the parameter to be adjusted to process the original data to obtain the third image;
or, the module of the parameter to be adjusted is used for operating the first parameter to process the original data and outputting a display image;
and receiving the third image sent by a third electronic device, wherein the third image is an image obtained after the third electronic device acquires the display image.
16. The electronic device according to any of claims 12-15, wherein the parameter determination condition further comprises a search stop condition; the search stop condition includes any one or several of the following items: a first preset threshold, target search times and target search duration; the determining the target parameter by using the first similarity comprises:
if the first similarity is determined to be greater than or equal to the first preset threshold, stopping searching the first parameter, and determining the parameter corresponding to the first similarity greater than or equal to the first preset threshold as the target parameter;
and/or the presence of a gas in the gas,
determining that the number of times of searching the first parameter reaches the target searching number, and determining a parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter;
and/or the presence of a gas in the gas,
and determining the time length for searching the first parameter to reach the target search time length, and determining the parameter corresponding to the first similarity with the highest value in the determined first similarities as the target parameter.
17. The electronic device according to any of claims 12-16, wherein determining a search space based on information of the module of parameters to be adjusted comprises:
determining an adjustable parameter in the module of the parameter to be adjusted and an adjustable range of the adjustable parameter according to the information of the module of the parameter to be adjusted;
and determining the search space according to the adjustable parameters and the adjustable range.
18. The electronic device of claim 17, wherein determining the search space based on the adjustable parameter and the adjustable range comprises:
displaying the adjustable parameters and the adjustable range, and receiving the parameters to be adjusted and the range to be adjusted selected by the user;
and determining the search space according to the parameter to be adjusted and the range to be adjusted.
19. The electronic device of any of claims 12-18, wherein searching the search space for the first parameter comprises:
searching the first parameter in a search space according to a first preset mode; wherein, the first preset mode comprises any one or more of the following contents: random search, grid search and optimized search.
20. The electronic device of any of claims 12-19, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
and establishing a database, wherein the database comprises the one or more data pairs.
21. The electronic device of any of claims 12-20, wherein determining a parameter determination condition comprises:
displaying a first interface, wherein the first interface is used for displaying any one or more of the following contents: the method comprises the steps of adjusting dimensions of parameters, information of a module of the parameters to be adjusted and search stopping conditions;
detecting the parameter determination condition selected by a user on the first interface.
22. The electronic device of any of claims 12-21, wherein the determining a first similarity of the third image and the target image comprises:
determining the first similarity of the third image and the target image in the parameter adjustment dimension.
23. A computer-readable storage medium comprising a program or instructions which, when executed, implement the method of any one of claims 1-11.
24. A computer program product comprising instructions for causing an electronic device to perform the parameter determination method according to any of claims 1-11 when the computer program product is run on the electronic device.
CN202011110798.7A 2020-10-16 2020-10-16 Parameter determination method and electronic equipment Pending CN114385280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011110798.7A CN114385280A (en) 2020-10-16 2020-10-16 Parameter determination method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011110798.7A CN114385280A (en) 2020-10-16 2020-10-16 Parameter determination method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114385280A true CN114385280A (en) 2022-04-22

Family

ID=81192577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011110798.7A Pending CN114385280A (en) 2020-10-16 2020-10-16 Parameter determination method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114385280A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065428A (en) * 2022-06-15 2022-09-16 北斗星通智联科技有限责任公司 Calibration method and device of radio, automobile machine and medium
CN116033285A (en) * 2022-12-27 2023-04-28 芯原微电子(上海)股份有限公司 Debug parameter determination method, device, electronic equipment and storage medium
WO2024067593A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Vector retrieval method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833780A (en) * 2018-06-15 2018-11-16 Oppo广东移动通信有限公司 A kind of image parameter adjusting method, image parameter regulating device and mobile terminal
CN110163291A (en) * 2019-05-28 2019-08-23 北京史河科技有限公司 A kind of indicator light recognition methods and device
CN110868535A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Shooting method, shooting parameter determination method, electronic equipment and server
CN111158567A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833780A (en) * 2018-06-15 2018-11-16 Oppo广东移动通信有限公司 A kind of image parameter adjusting method, image parameter regulating device and mobile terminal
CN110163291A (en) * 2019-05-28 2019-08-23 北京史河科技有限公司 A kind of indicator light recognition methods and device
CN110868535A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Shooting method, shooting parameter determination method, electronic equipment and server
CN111158567A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065428A (en) * 2022-06-15 2022-09-16 北斗星通智联科技有限责任公司 Calibration method and device of radio, automobile machine and medium
WO2024067593A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Vector retrieval method and device
CN116033285A (en) * 2022-12-27 2023-04-28 芯原微电子(上海)股份有限公司 Debug parameter determination method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11012626B2 (en) Electronic device for providing quality-customized image based on at least two sets of parameters
CN114385280A (en) Parameter determination method and electronic equipment
CN105227857B (en) A kind of method and apparatus of automatic exposure
CN104796610A (en) Mobile terminal and camera sharing method, device and system thereof
US10657172B2 (en) Method and apparatus for managing image metadata
CN115049057B (en) Model deployment method and device, electronic equipment and storage medium
CN113110731B (en) Method and device for generating media content
CN114640783B (en) Photographing method and related equipment
CN104580920A (en) Imaging processing method and user terminal
CN111104980A (en) Method, device, equipment and storage medium for determining classification result
WO2019051701A1 (en) Photographic terminal, and photographic parameter setting method therefor based on long short-term memory neural network
CN105635568A (en) Image processing method in mobile terminal and mobile terminal
CN114845049A (en) Image simulation method, system, medium, and electronic device
CN116195263A (en) Recommending locations and content aware filters for digital photos
CN112132172A (en) Model training method, device, equipment and medium based on image processing
CN114782296A (en) Image fusion method, device and storage medium
CN114282587A (en) Data processing method and device, computer equipment and storage medium
CN110868471B (en) Equipment construction method, device and storage medium
JP2010093718A (en) Image generating system and image generation method
WO2023071933A1 (en) Camera photographing parameter adjustment method and apparatus and electronic device
WO2020155072A1 (en) Mixed layer processing method and apparatus
US20210110554A1 (en) Systems, methods, and computer program products for digital photography using a neural network
US20200126517A1 (en) Image adjustment method, apparatus, device and computer readable storage medium
CN117319789A (en) Image simulation method, device and storage medium
CN115546010B (en) Image processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination