CN112135113B - Photographing effect adjusting method and system, photographing device and storage medium - Google Patents

Photographing effect adjusting method and system, photographing device and storage medium Download PDF

Info

Publication number
CN112135113B
CN112135113B CN202011031310.1A CN202011031310A CN112135113B CN 112135113 B CN112135113 B CN 112135113B CN 202011031310 A CN202011031310 A CN 202011031310A CN 112135113 B CN112135113 B CN 112135113B
Authority
CN
China
Prior art keywords
tone
effect
parameters
color temperature
skin color
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.)
Active
Application number
CN202011031310.1A
Other languages
Chinese (zh)
Other versions
CN112135113A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202011031310.1A priority Critical patent/CN112135113B/en
Publication of CN112135113A publication Critical patent/CN112135113A/en
Application granted granted Critical
Publication of CN112135113B publication Critical patent/CN112135113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention provides a method and a system for adjusting a photographing effect, photographing equipment and a storage medium, wherein the method comprises the following steps: adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes; adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in a bottom layer effect file; the color temperature tone effect parameters are in one-to-one correspondence with the color temperature tone driving codes through driving configuration, and the skin color effect parameters are in one-to-one correspondence with the skin color driving codes; debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters; and debugging the skin color effect under the current tone by adjusting the skin color effect parameters. The method can adjust different tones to take a picture in the portrait shooting process, but does not change the skin color of the person, and is beneficial to improving the overall picture effect.

Description

Photographing effect adjusting method and system, photographing device and storage medium
Technical Field
The present invention relates to the field of photographing processing technologies, and in particular, to a method and a system for adjusting a photographing effect, a photographing apparatus, and a storage medium.
Background
In the process of taking pictures of camera, mobile phone, tablet and other shooting devices, two common methods for changing the tone of the picture are provided, firstly, before taking pictures, the white balance is set as manual white balance in a professional mode, and the color of the whole picture is changed by manually adjusting the AWB color temperature value; and secondly, the overall picture effect is adjusted through the photographing filter effect of the camera, and for example, a plurality of cameras have the filter effects of small freshness, vintage and the like.
However, the adjustment of the color tone by using the first adjustment method is a change of the whole color of the picture, the color temperature value is increased, the picture is gradually warmer and more yellow, the color temperature value is decreased, the picture is gradually cooler and more cyan, and the user is difficult to perform accurate adjustment; the second adjustment method is also to adjust the whole picture, if a small fresh filter is used during photographing, the whole saturation of the photographed effect is reduced, the picture hue is slightly cold and the color is more green, and if people appear in the photographed picture, the skin color can be normal without using the filter, after the filter is added, the whole skin color can become cold along with the filter, the whole effect is affected, in addition, the filter is used for realizing the switching of different hue effects, and only the background hue can not be changed, and the skin color can not be changed. Therefore, there is a need for a method for adjusting the photographing effect that can adjust different hues without changing the skin color of the person during the photographing of the portrait.
Disclosure of Invention
The invention aims to provide a method, a system, a photographing device and a storage medium for adjusting a photographing effect.
The technical scheme provided by the invention is as follows:
the invention provides a method for adjusting a photographing effect, which comprises the following steps:
adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes;
adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in a bottom layer effect file;
the color temperature tone effect parameters are in one-to-one correspondence with the color temperature tone driving codes through driving configuration, and the skin color effect parameters are in one-to-one correspondence with the skin color driving codes;
debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters;
and debugging the skin color effect under the current tone by adjusting the skin color effect parameters.
The invention adds a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer drive file, correspondingly adds a plurality of color temperature and tone drive codes and a plurality of skin color drive codes, simultaneously adds a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file, and enables the color temperature and tone effect parameters to be in one-to-one correspondence with the color temperature and tone drive codes through drive configuration, and enables the skin color effect parameters to be in one-to-one correspondence with the skin color drive codes, so that the whole color temperature and tone effect of the picture can be debugged through adjusting the color temperature and tone parameters, and the skin color effect under the current tone can be debugged through adjusting the skin color effect parameters, thereby enabling a user to adjust the whole color of the picture before taking a picture, avoiding the skin color from being influenced by the picture tone, and being beneficial to improving the whole picture effect.
Specifically, when the color temperature tone parameters and the skin color parameters are added in the bottom layer drive file, each color temperature tone parameter corresponds to one color temperature, each skin color parameter corresponds to one skin color, and in order to make the adjustment range wider, the number of the color temperature tone parameters and the number of the skin color parameters can be properly increased; meanwhile, in order to make the amplitude change of each adjustment equal when the user adjusts by taking a picture, the color temperature and hue parameters and the skin color parameters should be changed uniformly.
Further, adding a plurality of color temperature and hue parameters in the bottom layer driving file includes:
and adding a plurality of color temperature and tone parameters in the driving lib.h, and correspondingly configuring register values and reg _ settings.
Further, adding a plurality of color temperature and hue parameters in the driving lib.h specifically comprises:
and at least two groups of color temperature and tone parameters are added in the driving lib.h and respectively correspond to high color temperature cold tone and low color temperature warm tone.
When more color temperature and tone parameters are set, the setting should be between two sets of color temperature and tone parameters corresponding to the high color temperature and the low color temperature and the warm tone, the more parameter sets are added, the wider the adjustable range of the final user is, and the better the user experience is.
Further, adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom effect file specifically includes:
adding a plurality of color temperature and tone effect parameters in a 3A file in a Chromatix effect file;
in an isp file in the Chromatix effect file, several skin color effect parameters are added.
A plurality of color temperature and tone effect parameters are added in a 3A file in a chromamatix effect file, and a plurality of skin color effect parameters are added in an isp file in the chromamatix effect file, so that the tone of the current group of parameters can be debugged in the 3A parameters, the whole cold tone or warm tone can be controlled, and the skin color effect of the human face can be debugged corresponding to the current tone in the isp.
Further, after adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driver file, before adjusting the color temperature and tone parameters to debug the overall color temperature and tone effect of the picture, the method further includes:
and linking the bottom layer drive file with the top layer APP so as to adjust the color temperature and tone parameter and the skin color parameter through a menu bar of the top layer APP.
When specifically shooting and debugging, the bottom layer drive file can be linked with the top layer APP through the top layer APP and the like, so that the color temperature, the hue parameter and the skin color parameter can be respectively adjusted through a menu bar of the top layer APP, and the purposes of adjusting the whole color of a picture and adjusting the skin color effect are achieved.
In addition, the present invention also provides a photographing effect adjusting system, comprising:
the debugging parameter increasing module is used for increasing a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driving file;
the code adding module is used for correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes;
the effect parameter increasing module is used for increasing a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file;
the configuration module is used for corresponding the color temperature tone effect parameters to the color temperature tone driving codes one by one through driving configuration and corresponding the skin color effect parameters to the skin color driving codes one by one;
the first debugging module is used for debugging the integral color temperature and tone effect of the picture by adjusting the color temperature and tone parameters;
and the second debugging module is used for debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
The method comprises the steps of adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer drive file through a debugging parameter adding module, correspondingly adding a plurality of color temperature and tone drive codes and a plurality of skin color drive codes through a code adding module, simultaneously adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in a bottom layer effect file through an effect parameter adding module, corresponding the color temperature and tone effect parameters and the color temperature and tone drive codes one to one through drive configuration, enabling the whole color temperature and tone effect of a picture to be debugged through adjusting the color temperature and tone parameters through a first debugging module, and debugging the skin color effect under the current tone through adjusting the skin color effect parameters through a second debugging module, so that when a user takes a picture, the whole color of the picture can be adjusted firstly, then the skin color effect is adjusted, the skin color is prevented from being influenced by the picture tone, and the whole picture effect is improved.
Specifically, when the color temperature and tone parameters and the skin color parameters are added to the bottom layer driving file, each color temperature and tone parameter corresponds to a color temperature, and each skin color parameter corresponds to a skin color, so that the adjustment range is wider, and the number of the color temperature and tone parameters and the number of the skin color parameters can be properly increased; meanwhile, in order to make the amplitude change of each adjustment equal when the user adjusts by taking a picture, the color temperature and hue parameters and the skin color parameters should be changed uniformly.
Further, the debugging parameter increasing module increases a plurality of color temperature and tone parameters in the driving lib.h, and configures register values and reg _ settings correspondingly.
And when the debugging parameter increasing module increases a plurality of color temperature and tone parameters in the drive lib.h, at least two groups of color temperature and tone parameters are increased and respectively correspond to the high color temperature cold tone and the low color temperature warm tone.
When more color temperature and tone parameters are set, the setting should be between two sets of color temperature and tone parameters corresponding to the high color temperature and the low color temperature and the warm tone, the more parameter sets are added, the wider the adjustable range of the final user is, and the better the user experience is.
Further, the effect parameter increasing module increases a plurality of color temperature and tone effect parameters in a 3A file in a Chromatix effect file, and increases a plurality of skin color effect parameters in an isp file in the Chromatix effect file.
A plurality of color temperature tone effect parameters are added in a 3A file in a Chromatix effect file, and a plurality of skin color effect parameters are added in an isp file in the Chromatix effect file, so that the tone of the current group of parameters can be debugged in the 3A parameters, the integral cold tone or warm tone can be controlled, and the human face skin color effect can be debugged corresponding to the current tone in the isp.
The system further comprises a top layer APP, and the bottom layer drive file is linked with the top layer APP, so that color temperature, hue parameters and skin color parameters can be respectively adjusted through a menu bar of the top layer APP, and the purposes of adjusting the whole color of the picture and then adjusting the skin color effect are achieved.
In addition, the present invention also provides a photographing apparatus comprising:
the memory is used for storing the running program;
and the processor is used for executing the running program stored in the memory and realizing the operation executed by the photographing effect adjusting method.
In addition, the present invention further provides a storage medium, where at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operation performed by the above-mentioned method for adjusting a photographing effect.
According to the method, the system, the photographing equipment and the storage medium for adjusting the photographing effect, a plurality of color temperature and tone parameters and a plurality of skin color parameters are added in the bottom layer drive file, a plurality of color temperature and tone drive codes and a plurality of skin color drive codes are correspondingly added, a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters are added in the bottom layer effect file, the color temperature and tone effect parameters and the color temperature and tone drive codes are in one-to-one correspondence through drive configuration, the skin color effect parameters and the skin color drive codes are in one-to-one correspondence, so that the whole color temperature and tone effect of a picture can be debugged by adjusting the color temperature and tone parameters, and the skin color effect under the current tone can be debugged by adjusting the skin color effect parameters, so that when a user photographs, the whole color of the picture can be adjusted firstly, then the skin color effect is adjusted, the skin color is prevented from being influenced by the picture tone, and the whole picture effect is improved.
Drawings
The foregoing features, technical features, advantages and embodiments of the present invention will be further explained in the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.
FIG. 1 is a schematic overall flow diagram of an embodiment of the present invention;
FIG. 2 is a schematic diagram of the overall structure of an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention.
The reference numbers illustrate: 1-debugging parameter increasing module; 2-a code addition module; 3-an effect parameter increasing module; 4-configuring the module; 5-a first debug module; 6-a second debug module; 100-a memory; 200-a processor; 300-a communication interface; 400-a communication bus; 500-input/output interface.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
Example 1
An embodiment of the present invention, as shown in fig. 1, provides a method for adjusting a photographing effect, including the steps of:
s1, adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
And S2, adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom effect file.
And S3, corresponding the color temperature and tone effect parameters to the color temperature and tone driving codes one by one through driving configuration, and corresponding the skin color effect parameters to the skin color driving codes one by one.
And S4, debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
And S5, debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
The invention adds a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer drive file, correspondingly adds a plurality of color temperature and tone drive codes and a plurality of skin color drive codes, simultaneously adds a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file, and enables the color temperature and tone effect parameters to be in one-to-one correspondence with the color temperature and tone drive codes through drive configuration, and enables the skin color effect parameters to be in one-to-one correspondence with the skin color drive codes, so that the whole color temperature and tone effect of the picture can be debugged through adjusting the color temperature and tone parameters, and the skin color effect under the current tone can be debugged through adjusting the skin color effect parameters, thereby enabling a user to adjust the whole color of the picture before taking a picture, avoiding the skin color from being influenced by the picture tone, and being beneficial to improving the whole picture effect.
Specifically, when the color temperature and tone parameters and the skin color parameters are added to the bottom layer driving file, each color temperature and tone parameter corresponds to a color temperature, and each skin color parameter corresponds to a skin color, so that the adjustment range is wider, and the number of the color temperature and tone parameters and the number of the skin color parameters can be properly increased; meanwhile, in order to make the user adjust the photo taking with equal change of the amplitude of each adjustment, the color temperature and tone parameter and the skin color parameter should be changed uniformly.
Example 2
An embodiment of the present invention, as shown in fig. 1, provides a method for adjusting a photographing effect, including the steps of:
s1, adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
Preferably, a plurality of color temperature and tone parameters are added in the bottom layer driving file, including a plurality of color temperature and tone parameters are added in the driving lib.h, and the register values and reg _ settings are configured correspondingly.
Further preferably, a plurality of color temperature and hue parameters are added in the driving lib.h, specifically:
at least two groups of color temperature and tone parameters are added in the driving lib.h and respectively correspond to the high color temperature cold tone and the low color temperature warm tone so as to meet the basic tone selection requirement.
When more color temperature and tone parameters are set, the setting should be between two sets of color temperature and tone parameters corresponding to the high color temperature and the low color temperature and the warm tone, the more parameter sets are added, the wider the adjustable range of the final user is, and the better the user experience is.
And S2, adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom effect file.
And S3, corresponding the color temperature and tone effect parameters to the color temperature and tone driving codes one by one through driving configuration, and corresponding the skin color effect parameters to the skin color driving codes one by one.
And S4, debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
And S5, debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
The invention adds a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer drive file, correspondingly adds a plurality of color temperature and tone drive codes and a plurality of skin color drive codes, simultaneously adds a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file, and enables the color temperature and tone effect parameters to be in one-to-one correspondence with the color temperature and tone drive codes through drive configuration, and enables the skin color effect parameters to be in one-to-one correspondence with the skin color drive codes, so that the whole color temperature and tone effect of the picture can be debugged through adjusting the color temperature and tone parameters, and the skin color effect under the current tone can be debugged through adjusting the skin color effect parameters, thereby enabling a user to adjust the whole color of the picture before taking a picture, avoiding the skin color from being influenced by the picture tone, and being beneficial to improving the whole picture effect.
Example 3
An embodiment of the present invention, as shown in fig. 1, provides a method for adjusting a photographing effect, including the steps of:
s1, adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
And S2, adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom effect file.
Preferably, a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters are added to the bottom effect file, and the method specifically includes the following steps:
adding a plurality of color temperature and tone effect parameters in a 3A file in a Chromatix effect file; in an isp file in the Chromatix effect file, several skin color effect parameters are added.
A plurality of color temperature tone effect parameters are added in a 3A file in a Chromatix effect file, and a plurality of skin color effect parameters are added in an isp file in the Chromatix effect file, so that the tone of the current group of parameters can be debugged in the 3A parameters, the integral cold tone or warm tone can be controlled, and the human face skin color effect can be debugged corresponding to the current tone in the isp.
And S3, corresponding the color temperature and tone effect parameters to the color temperature and tone driving codes one by one through driving configuration, and corresponding the skin color effect parameters to the skin color driving codes one by one.
And S4, debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
And S5, debugging the skin color effect under the current tone by adjusting the skin color effect parameters.
According to the invention, a plurality of color temperature hue parameters and a plurality of skin color parameters are added in the bottom layer drive file, a plurality of color temperature hue drive codes and a plurality of skin color drive codes are correspondingly added, a plurality of color temperature hue effect parameters and a plurality of skin color effect parameters are added in the bottom layer effect file, the color temperature hue effect parameters are in one-to-one correspondence with the color temperature hue drive codes through drive configuration, the skin color effect parameters are in one-to-one correspondence with the skin color drive codes, so that the whole color temperature hue effect of a picture can be debugged by adjusting the color temperature hue parameters, and the skin color effect under the current hue is debugged by adjusting the skin color effect parameters, so that a user can adjust the whole color of the picture and then adjust the skin color effect when taking a picture, the skin color is prevented from being influenced by the picture hue, and the whole picture effect is favorably improved.
Example 4
An embodiment of the present invention, as shown in fig. 1, provides a method for adjusting a photographing effect, including the steps of:
s1, adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
Preferably, several color temperature and tone parameters are added to the underlying driver file, including several color temperature and tone parameters added to the driver lib.h, and corresponding to the configuration register values and reg _ settings.
Further preferably, a plurality of color temperature and hue parameters are added in the driving lib.h, specifically:
at least two groups of color temperature and tone parameters are added in the driving lib.h and respectively correspond to the high color temperature cold tone and the low color temperature warm tone so as to meet the basic tone selection requirement.
When more color temperature and tone parameters are set, the setting should be between two sets of color temperature and tone parameters corresponding to the high color temperature and the low color temperature and the warm tone, the more parameter sets are added, the wider the adjustable range of the final user is, and the better the user experience is.
And S2, adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom effect file.
And S3, corresponding the color temperature and tone effect parameters to the color temperature and tone driving codes one by one through driving configuration, and corresponding the skin color effect parameters to the skin color driving codes one by one.
And S4, debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
And S5, debugging the skin color effect under the current tone by adjusting the skin color effect parameters.
Preferably, after adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driver file, before adjusting the color temperature and tone parameters to debug the overall color temperature and tone effect of the picture, the method further includes:
and linking the bottom layer drive file with the top layer APP so as to adjust the color temperature and tone parameters and the skin color parameters through a menu bar of the top layer APP.
When specifically shooting and debugging, the bottom layer drive file can be linked with the top layer APP through the top layer APP and the like, so that the color temperature, the hue parameter and the skin color parameter can be respectively adjusted through a menu bar of the top layer APP, and the purposes of adjusting the whole color of a picture and adjusting the skin color effect are achieved.
The invention adds a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer drive file, correspondingly adds a plurality of color temperature and tone drive codes and a plurality of skin color drive codes, simultaneously adds a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file, and enables the color temperature and tone effect parameters to be in one-to-one correspondence with the color temperature and tone drive codes through drive configuration, and enables the skin color effect parameters to be in one-to-one correspondence with the skin color drive codes, so that the whole color temperature and tone effect of the picture can be debugged through adjusting the color temperature and tone parameters, and the skin color effect under the current tone can be debugged through adjusting the skin color effect parameters, thereby enabling a user to adjust the whole color of the picture before taking a picture, avoiding the skin color from being influenced by the picture tone, and being beneficial to improving the whole picture effect.
Example 5
An embodiment of the present invention, as shown in fig. 2, further provides a photographing effect adjusting system, which includes a debugging parameter adding module 1, a code adding module 2, an effect parameter adding module 3, a configuration module 4, a first debugging module 5, and a second debugging module 6.
The debugging parameter adding module 1 is used for adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driving file.
The code adding module 2 is used for correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
The effect parameter adding module 3 is used for adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file.
The configuration module 4 is configured to correspond the color temperature and tone effect parameters to the color temperature and tone driving codes one by one through driving configuration, and to correspond the skin color effect parameters to the skin color driving codes one by one.
The first debugging module 5 is used for debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
The second debugging module 6 is used for debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
A plurality of color temperature and tone parameters and a plurality of skin color parameters are added in a bottom layer drive file through a debugging parameter adding module 1, a plurality of color temperature and tone drive codes and a plurality of skin color drive codes are correspondingly added through a code adding module 2, meanwhile, a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters are added in a bottom layer effect file through an effect parameter adding module 3, the color temperature and tone effect parameters and the color temperature and tone drive codes are in one-to-one correspondence through drive configuration, the skin color effect parameters and the skin color drive codes are in one-to-one correspondence, the whole color temperature and tone effect of a picture can be debugged through adjusting the color temperature and tone parameters through a first debugging module 5, the skin color effect under the current tone is debugged through adjusting the skin color effect parameters through a second debugging module 6, and therefore when a user takes a picture, the whole color of the picture can be adjusted firstly, then the skin color effect is adjusted, the influence of the skin color by the picture tone is avoided, and the whole picture effect is improved.
Example 6
An embodiment of the present invention, as shown in fig. 2, further provides a photographing effect adjusting system, which includes a debugging parameter adding module 1, a code adding module 2, an effect parameter adding module 3, a configuration module 4, a first debugging module 5, and a second debugging module 6.
The debugging parameter adding module 1 is used for adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driving file.
Preferably, the debugging parameter adding module 1 adds a plurality of color temperature and hue parameters in the driving lib.h, and configures register values and reg _ settings correspondingly.
In addition, when the debugging parameter increasing module 1 increases a plurality of color temperature and tone parameters in the drive lib.h, at least two groups of color temperature and tone parameters are increased and respectively correspond to the high color temperature cold tone and the low color temperature warm tone.
When more color temperature and tone parameters are set, the color temperature and tone parameters are set between two groups corresponding to the high color temperature and the low color temperature and the warm tone, the more parameter groups are added, the wider the adjustable range of the final user is, and the better the user experience is.
The code adding module 2 is used for correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
The effect parameter adding module 3 is used for adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file.
The configuration module 4 is configured to correspond the color temperature and hue effect parameters to the color temperature and hue drive codes one by one through drive configuration, and correspond the skin color effect parameters to the skin color drive codes one by one.
The first debugging module 5 is used for debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters.
The second debugging module 6 is used for debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
A plurality of color temperature and tone parameters and a plurality of skin color parameters are added in a bottom layer drive file through a debugging parameter adding module 1, a plurality of color temperature and tone drive codes and a plurality of skin color drive codes are correspondingly added through a code adding module 2, meanwhile, a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters are added in a bottom layer effect file through an effect parameter adding module 3, the color temperature and tone effect parameters and the color temperature and tone drive codes are in one-to-one correspondence through drive configuration, the skin color effect parameters and the skin color drive codes are in one-to-one correspondence, the whole color temperature and tone effect of a picture can be debugged through adjusting the color temperature and tone parameters through a first debugging module 5, the skin color effect under the current tone is debugged through adjusting the skin color effect parameters through a second debugging module 6, and therefore when a user takes a picture, the whole color of the picture can be adjusted firstly, then the skin color effect is adjusted, the influence of the skin color by the picture tone is avoided, and the whole picture effect is improved.
Example 7
An embodiment of the present invention, as shown in fig. 2, further provides a photographing effect adjusting system, which includes a debugging parameter adding module 1, a code adding module 2, an effect parameter adding module 3, a configuration module 4, a first debugging module 5, and a second debugging module 6.
The debugging parameter adding module 1 is used for adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driving file.
The code adding module 2 is used for correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes.
The effect parameter adding module 3 is used for adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in the bottom layer effect file.
Preferably, the effect parameter increasing module 3 is included in a 3A file in the chromamatix effect file, and increases a plurality of color temperature and tone effect parameters, and increases a plurality of skin color effect parameters in an isp file in the chromamatix effect file.
A plurality of color temperature and tone effect parameters are added in a 3A file in a chromamatix effect file, and a plurality of skin color effect parameters are added in an isp file in the chromamatix effect file, so that the tone of the current group of parameters can be debugged in the 3A parameters, the whole cold tone or warm tone can be controlled, and the skin color effect of the human face can be debugged corresponding to the current tone in the isp.
The configuration module 4 is configured to correspond the color temperature and hue effect parameters to the color temperature and hue drive codes one by one through drive configuration, and correspond the skin color effect parameters to the skin color drive codes one by one.
The first debugging module 5 is configured to debug the overall color temperature and tone effect of the screen by adjusting the color temperature and tone parameter.
The second debugging module 6 is configured to debug the skin color effect in the current hue by adjusting the skin color effect parameter.
A plurality of color temperature and tone parameters and a plurality of skin color parameters are added in a bottom layer drive file through a debugging parameter adding module 1, a plurality of color temperature and tone drive codes and a plurality of skin color drive codes are correspondingly added through a code adding module 2, meanwhile, a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters are added in a bottom layer effect file through an effect parameter adding module 3, the color temperature and tone effect parameters and the color temperature and tone drive codes are in one-to-one correspondence through drive configuration, the skin color effect parameters and the skin color drive codes are in one-to-one correspondence, the whole color temperature and tone effect of a picture can be debugged through adjusting the color temperature and tone parameters through a first debugging module 5, the skin color effect under the current tone is debugged through adjusting the skin color effect parameters through a second debugging module 6, and therefore when a user takes a picture, the whole color of the picture can be adjusted firstly, then the skin color effect is adjusted, the influence of the skin color by the picture tone is avoided, and the whole picture effect is improved.
In addition, in this embodiment, the system further includes a top APP, and the bottom driver file is linked to the top APP, so that the color temperature, the hue parameter and the skin color parameter can be respectively adjusted through a menu bar of the top APP, and the purpose of adjusting the whole color of the picture and then adjusting the skin color effect is achieved.
Example 8
As shown in fig. 3, an embodiment of the present invention further provides a photographing apparatus, which includes a memory 100 and a processor 200, where the memory 100 is used to store an operation program, and the processor 200 is used to execute the operation program stored in the memory, so as to implement the operations performed by the photographing effect adjusting method according to any embodiment of embodiments 1 to 4.
Specifically, the electronic device may further include a communication interface 300, a communication bus 400, and an input/output interface 500, wherein the processor 200, the memory 100, the input/output interface 500, and the communication interface 300 complete communication with each other through the communication bus 400.
A communication bus 400 is a circuit that connects the elements described and enables transmission between these elements. For example, the processor 200 receives commands from other elements through the communication bus 400, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 100 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface 500 relays commands or data input by a user through input/output devices (e.g., sensors, keyboards, touch screens). The communication interface 300 connects the electronic device with other network devices, user equipment, networks. For example, the communication interface 300 may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), bluetooth (BT), near Field Communication (NFC), global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The electronic device may connect to the network through the communication interface 300, and a protocol by which the electronic device communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
Example 9
The embodiment of the present invention further provides a storage medium, where at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operation performed by the method for adjusting a photographing effect according to any one of embodiments 1 to 4. For example, the computer readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like. They may be implemented in program code that is executable by a computing device such that it is executed by the computing device, or separately, or as individual integrated circuit modules, or as a plurality or steps of individual integrated circuit modules. Thus, the present invention is not limited to any specific combination of hardware and software.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (4)

1. A method for adjusting a photographing effect, comprising the steps of:
adding a plurality of color temperature and tone parameters and a plurality of skin color parameters in a bottom layer driving file, and correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes, wherein at least two groups of color temperature and tone parameters are added in a driving lib.h and respectively correspond to high color temperature cold tones and low color temperature warm tones; and configuring register values and reg _ settings correspondingly;
adding a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in a bottom layer effect file; adding a plurality of color temperature and tone effect parameters in a 3A file in a Chromatix effect file; adding a plurality of skin color effect parameters in an isp file in a Chromatix effect file;
the color temperature tone effect parameters are in one-to-one correspondence with the color temperature tone driving codes through driving configuration, and the skin color effect parameters are in one-to-one correspondence with the skin color driving codes;
linking the bottom layer drive file with a top layer APP so as to adjust the color temperature and tone parameter and the skin color parameter through a menu bar of the top layer APP;
debugging the overall color temperature and tone effect of the picture by adjusting the color temperature and tone parameters;
and debugging the skin color effect under the current tone by adjusting the skin color effect parameters.
2. A photographic effect adjustment system, comprising:
the debugging parameter increasing module is used for increasing a plurality of color temperature and tone parameters and a plurality of skin color parameters in the bottom layer driving file;
the code adding module is used for correspondingly adding a plurality of color temperature and tone driving codes and a plurality of skin color driving codes, adding a plurality of color temperature and tone parameters in the driving lib.h, and correspondingly configuring register values and reg _ settings;
the effect parameter increasing module is used for increasing a plurality of color temperature and tone effect parameters and a plurality of skin color effect parameters in a bottom layer effect file, wherein the color temperature and tone effect parameters are increased in a 3A file in a Chromatix effect file, and the skin color effect parameters are increased in an isp file in the Chromatix effect file;
the configuration module is used for corresponding the color temperature tone effect parameters to the color temperature tone driving codes one by one through driving configuration and corresponding the skin color effect parameters to the skin color driving codes one by one;
the link module is used for linking the bottom layer drive file with a top layer APP so as to adjust the color temperature and tone parameter and the skin color parameter through a menu bar of the top layer APP;
the first debugging module is used for debugging the integral color temperature and tone effect of the picture by adjusting the color temperature and tone parameters;
and the second debugging module is used for debugging the skin color effect under the current tone by adjusting the skin color effect parameter.
3. A photographing apparatus, comprising:
the memory is used for storing the running program;
a processor for executing the running program stored in the memory to realize the operations executed by the photo effect adjustment method according to claim 1.
4. A storage medium, characterized by: the storage medium has at least one instruction stored therein, and the instruction is loaded and executed by the processor to implement the operations performed by the photo effect adjustment method according to claim 1.
CN202011031310.1A 2020-09-27 2020-09-27 Photographing effect adjusting method and system, photographing device and storage medium Active CN112135113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011031310.1A CN112135113B (en) 2020-09-27 2020-09-27 Photographing effect adjusting method and system, photographing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011031310.1A CN112135113B (en) 2020-09-27 2020-09-27 Photographing effect adjusting method and system, photographing device and storage medium

Publications (2)

Publication Number Publication Date
CN112135113A CN112135113A (en) 2020-12-25
CN112135113B true CN112135113B (en) 2023-03-24

Family

ID=73840555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011031310.1A Active CN112135113B (en) 2020-09-27 2020-09-27 Photographing effect adjusting method and system, photographing device and storage medium

Country Status (1)

Country Link
CN (1) CN112135113B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001148863A (en) * 1999-11-19 2001-05-29 Victor Co Of Japan Ltd White balance adjustment method and adjustment device
JP2011044964A (en) * 2009-08-21 2011-03-03 Samsung Yokohama Research Institute Co Ltd Imaging apparatus, imaging method and computer program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002315015A (en) * 2001-04-17 2002-10-25 Olympus Optical Co Ltd Image processing equipment
TWI350700B (en) * 2007-05-30 2011-10-11 Princeton Technology Corp Image color compensating apparatus and the related method
KR101715854B1 (en) * 2010-11-26 2017-03-13 엘지디스플레이 주식회사 Method and unit converting color temperature for improving emotional image quality and digital display apparatus using the same
CN107454345B (en) * 2017-07-12 2019-10-22 Oppo广东移动通信有限公司 White balancing treatment method, device and the terminal device of image
CN107437072B (en) * 2017-07-18 2019-01-29 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer readable storage medium
CN110381303B (en) * 2019-05-31 2021-07-09 成都品果科技有限公司 Portrait automatic exposure white balance correction method and system based on skin color statistics
CN111062868B (en) * 2019-12-03 2021-04-02 广州云从鼎望科技有限公司 Image processing method, device, machine readable medium and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001148863A (en) * 1999-11-19 2001-05-29 Victor Co Of Japan Ltd White balance adjustment method and adjustment device
JP2011044964A (en) * 2009-08-21 2011-03-03 Samsung Yokohama Research Institute Co Ltd Imaging apparatus, imaging method and computer program

Also Published As

Publication number Publication date
CN112135113A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US11470294B2 (en) Method, device, and storage medium for converting image from raw format to RGB format
CN103347152A (en) Method, device and terminal for picture processing
CN103391363A (en) Photographing preview display method and device and mobile terminal
CN104243782A (en) Optical module and electronic equipment
CN106791468A (en) A kind of mobile terminal and its shooting light compensation method
CN105979235A (en) Image processing method and terminal
US9432574B2 (en) Method of developing an image from raw data and electronic apparatus
CN111866483A (en) Color restoration method and device, computer readable medium and electronic device
WO2018223888A1 (en) Method for browsing images, mobile terminal and storage medium
CN105847638A (en) Photographing device and electronic device with the photographing device
CN104618660A (en) Photographing method and terminal for user-defined flash lamp photographing effect parameters
CN112135113B (en) Photographing effect adjusting method and system, photographing device and storage medium
WO2021179142A1 (en) Image processing method and related apparatus
EP3694282A1 (en) Communication control method and communication control device
US20210297558A1 (en) Cubiform method
JP2021510020A (en) Wireless communication method and equipment
US9948828B2 (en) Image sensing apparatus and method of controlling operation of same
WO2009089525A1 (en) Pre-image capture color effects
JP7335283B2 (en) Information processing terminal, program, information processing system, and color correction method
CN107682625B (en) Method for controlling any frame rate during photographing preview, mobile terminal and storage medium
US10778880B2 (en) Imaging device, imaging method, and imaging program
CN111371998A (en) Camera starting control method and related device
KR20150000520A (en) Photo service method using in smart phone
JP2002271671A (en) Mobile terminal
WO2023038307A1 (en) Image generation using non-linear scaling and tone-mapping based on cubic spline curves

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
GR01 Patent grant
GR01 Patent grant