CN106453888A - Photographing method and device - Google Patents

Photographing method and device Download PDF

Info

Publication number
CN106453888A
CN106453888A CN201610880624.6A CN201610880624A CN106453888A CN 106453888 A CN106453888 A CN 106453888A CN 201610880624 A CN201610880624 A CN 201610880624A CN 106453888 A CN106453888 A CN 106453888A
Authority
CN
China
Prior art keywords
light intensity
difference value
control parameter
color saturation
screen
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
CN201610880624.6A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610880624.6A priority Critical patent/CN106453888A/en
Publication of CN106453888A publication Critical patent/CN106453888A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention relates to a photographing method and a photographing device, wherein the method comprises the following steps: acquiring the light intensity and the color saturation of the current environment; calculating the difference value between the light intensity of the current environment and the preset standard light intensity, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation; comparing the current light intensity difference value with a prestored light intensity difference value and a screen backlight brightness control parameter table, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter corresponding to the current light intensity difference value; and comparing the current color saturation difference value with a pre-stored color saturation difference value and a screen display gray-scale image control parameter table, and adjusting the gray-scale image displayed on the screen according to the screen display gray-scale image control parameter corresponding to the current color saturation difference value. The embodiment of the invention has good light supplementing effect and good photographing effect.

Description

Photographing method and device
Technical Field
The embodiment of the invention relates to a mobile device photographing technology, in particular to a photographing method and device.
Background
Along with the popularization of mobile terminals such as smart phones and tablet computers, the photographic effect of the mobile terminals is continuously improved, and the convenience of photographing by adopting the mobile terminals is realized, more and more people like to use the mobile terminals to photograph in various occasions. At present, when a user takes a picture for others, the mobile terminal can automatically turn on the flash lamp or manually turn on the flash lamp by the user to fill the light, and the flash lamp is not used in the self-shooting occasion.
In the implementation process of the invention, the inventor finds that the prior art has the following technical problems: the mode of opening the flash lamp through automation or manual and carrying out the light filling, the light filling effect is than relatively poor, and the effect of shooing is poor, especially is using leading camera to carry out the occasion of autodyne, because leading camera pixel ratio is lower and not being equipped with the flash lamp, therefore the effect of shooing is worse.
Disclosure of Invention
The technical problem mainly solved by the embodiment of the invention is to provide a photographing method and device, which can solve the problems of poor light supplementing effect and poor photographing effect when a user performs photographing in the prior art.
In order to solve the above technical problem, in a first aspect, an embodiment of the present invention provides a photographing method, where the photographing method includes:
acquiring the light intensity and the color saturation of the current environment;
calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and reading a screen display gray scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray scale image control parameter table according to the current color saturation difference value, and adjusting the gray scale image displayed on the screen according to the screen display gray scale image control parameter.
Optionally, the light intensity difference and screen backlight brightness control parameter table includes a plurality of light intensity difference intervals, each light intensity difference interval has a screen backlight brightness control parameter corresponding to the light intensity difference interval, and the step of reading the screen backlight brightness control parameter corresponding to the current light intensity difference on the pre-stored light intensity difference and screen backlight brightness control parameter table according to the current light intensity difference and adjusting the screen backlight brightness according to the screen backlight brightness control parameter specifically includes:
determining that the current light intensity difference value is located in a light intensity difference value interval of the light intensity difference value and a screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
Optionally, the step of reading the screen display gray scale map control parameter corresponding to the current color saturation difference value from the pre-stored color saturation difference value and screen display gray scale map control parameter table according to the current color saturation difference value and adjusting the gray scale map displayed on the screen according to the screen display gray scale map control parameter table specifically includes:
determining that the current color saturation difference value is located in a color saturation difference value interval of the color saturation difference value and a screen display gray scale map control parameter table, and reading a screen display gray scale map control parameter corresponding to the color saturation difference value interval;
and adjusting the gray-scale image displayed on the screen according to the read control parameter of the gray-scale image displayed on the screen.
Optionally, the step of adjusting the gray-scale image displayed on the screen according to the read control parameter of the gray-scale image displayed on the screen includes:
and calling the corresponding gray-scale image from a preset gray-scale image library according to the control parameters of the screen display gray-scale image and displaying the corresponding gray-scale image on the screen.
Optionally, the photographing method is used for a mobile terminal, and the step of obtaining the light intensity and the color saturation of the current environment includes:
the ambient light is detected through a camera of the mobile terminal, and the light intensity and the color saturation of the current environment are obtained.
In a second aspect, an embodiment of the present invention provides a photographing apparatus, including:
the environment light detection module is used for acquiring the light intensity and the color saturation of the current environment;
the calculation module is used for calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
the screen backlight brightness control module is used for reading a screen backlight brightness control parameter corresponding to the current light intensity difference value on a pre-stored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and the screen display gray-scale image control module is used for reading a screen display gray-scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray-scale image control parameter table according to the current color saturation difference value and adjusting the gray-scale image displayed on the screen according to the screen display gray-scale image control parameter.
Optionally, the light intensity difference and screen backlight brightness control parameter table includes a plurality of light intensity difference intervals, each light intensity difference interval has a screen backlight brightness control parameter corresponding thereto, and the screen backlight brightness control module includes:
the screen backlight brightness parameter reading module is used for determining that the current light intensity difference value is positioned in a light intensity difference value interval of the light intensity difference value and the screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and the screen backlight brightness control submodule is used for adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
Optionally, the color saturation difference and screen display gray-scale map control parameter table includes a plurality of color saturation difference intervals, each color saturation difference interval has a screen display gray-scale map control parameter corresponding thereto, and the screen display gray-scale map control module includes:
the screen display gray scale image parameter reading module is used for determining that the current color saturation difference value is positioned in a color saturation difference value interval of the color saturation difference value and a screen display gray scale image control parameter table, and reading a screen display gray scale image control parameter corresponding to the color saturation difference value interval;
and the screen display gray-scale image control submodule is used for adjusting the gray-scale image displayed on the screen according to the read screen display gray-scale image control parameter.
Optionally, the screen display gray scale map control sub-module includes:
and the screen display gray-scale image calling module is used for calling the corresponding gray-scale image from a preset gray-scale image library according to the screen display gray-scale image control parameters and displaying the corresponding gray-scale image on a screen.
Optionally, the photographing device is used for a mobile terminal, and the ambient light detection module includes:
and the ambient light detection submodule is used for detecting ambient light through a camera of the mobile terminal to obtain the light intensity and the color saturation of the current environment.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of:
acquiring the light intensity and the color saturation of the current environment;
calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and reading a screen display gray scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray scale image control parameter table according to the current color saturation difference value, and adjusting the gray scale image displayed on the screen according to the screen display gray scale image control parameter.
In a fourth aspect, the present application also provides a non-transitory computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method described above.
In a fifth aspect, the present application also provides a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method as described above.
The beneficial effects of the embodiment of the invention are as follows: according to the embodiment of the invention, the difference value between the light intensity and the color saturation of the current ambient light and the standard light intensity and the standard color saturation is calculated, and the screen backlight brightness and the screen display gray scale picture are adjusted to compensate the difference value, so that the light supplementing effect and the photographing effect are good.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a flow chart of one embodiment of a method of taking pictures in accordance with the present invention;
FIG. 2 is a flow chart of one embodiment of a method of taking pictures of the present invention;
FIG. 3 is a schematic structural diagram of one embodiment of a photographing apparatus according to the present invention;
fig. 4 is a schematic structural diagram of an embodiment of the electronic device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings in conjunction with specific embodiments.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
As shown in fig. 1, an embodiment of the present invention provides a photographing method, which may be used in a mobile terminal, and the photographing method includes the following steps:
step 101: acquiring the light intensity and the color saturation of the current environment;
in practical application, the light intensity and the color saturation of the current environment can be acquired through the photosensitive element, and the photosensitive element can be independently arranged or integrated in the camera.
Step 102: calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
the standard light intensity and the standard color saturation are preset and stored in the mobile terminal in combination with the performance condition of the camera.
Step 103: reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and finding a screen backlight brightness control parameter on the light intensity difference and the screen backlight brightness control parameter table according to the current light intensity difference, and then adjusting the screen backlight brightness according to the parameter.
Step 104: and reading a screen display gray scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray scale image control parameter table according to the current color saturation difference value, and adjusting the gray scale image displayed on the screen according to the screen display gray scale image control parameter.
And finding a screen display gray scale map control parameter from the color saturation difference and the screen display gray scale map control parameter table according to the current color saturation difference, and then adjusting the gray scale map displayed on the screen according to the parameter, wherein the color saturation difference and the screen display gray scale map control parameter table are preset and stored in the mobile terminal.
According to the embodiment of the invention, the difference value between the light intensity and the color saturation of the current ambient light and the standard light intensity and the standard color saturation is calculated, and the screen backlight brightness and the screen display gray scale picture are adjusted to compensate the difference value, so that the light supplementing effect and the photographing effect are good.
It should be noted that the order of the steps is not limited in the embodiment of the present invention, and for example, the order of the steps may be 101-.
Preferably, in some preferred embodiments of the photographing method, when the light intensity of the current environment is equal to the standard light intensity, the backlight brightness of the screen is not adjusted, and when the color saturation of the current environment is equal to the standard color saturation, the gray-scale map displayed by the screen is not adjusted. At this time, the brightness of the backlight of the screen is not adjusted when the current light intensity difference value is set to be zero on the light intensity difference value and screen backlight brightness control parameter table, and the gray scale image displayed by the screen is not adjusted when the current color saturation difference value is set to be zero on the color saturation difference value and screen display gray scale image control parameter table.
In this embodiment, the photographing method includes:
step S1: obtaining the light intensity and the color saturation of the current environment;
step S2: judging whether the light intensity of the current environment is equal to the standard light intensity and the color saturation of the current environment is equal to the standard color saturation, if so, not acting, otherwise, calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
step S3: if the current light intensity difference value is not zero, reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
step S4: and if the current color saturation difference value is not zero, reading a screen display gray-scale image control parameter corresponding to the current color saturation difference value from a pre-stored color saturation difference value and screen display gray-scale image control parameter table according to the current color saturation difference value, and adjusting the gray-scale image displayed on the screen according to the screen display gray-scale image control parameter.
Optionally, when the light intensity of the current environment is greater than the standard light intensity, that is, when the current illumination is good, the step of adjusting the backlight brightness of the screen may not be performed, in this embodiment, the photographing method includes:
step A1: obtaining the light intensity and the color saturation of the current environment;
step A2: judging whether the light intensity of the current environment is greater than or equal to the standard light intensity and the color saturation of the current environment is equal to the standard color saturation, if so, not acting, otherwise, calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain the current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain the current color saturation difference value;
step A3: if the current light intensity difference value is smaller than zero, reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
step A4: and if the current color saturation difference value is not zero, reading a screen display gray-scale image control parameter corresponding to the current color saturation difference value from a pre-stored color saturation difference value and screen display gray-scale image control parameter table according to the current color saturation difference value, and adjusting the gray-scale image displayed on the screen according to the screen display gray-scale image control parameter.
In this embodiment, when calculating the difference between the light intensity of the current environment and the preset standard light intensity, the light intensity value of the current environment is used as the subtree, and the standard light intensity value is used as the subtree.
The method is simplified by the implementation mode of not adjusting the screen backlight brightness when the light intensity of the current environment is greater than the standard light intensity, but as an optimal technical scheme, the implementation mode of adjusting the screen backlight brightness can avoid overexposure no matter whether the light intensity of the current environment is greater than the standard light intensity or less than the standard light intensity.
Specifically, in some preferred embodiments of the photographing method, the light intensity difference and screen backlight brightness control parameter table includes a plurality of light intensity difference intervals, each light intensity difference interval has a screen backlight brightness control parameter corresponding to the light intensity difference interval, the step of comparing the current light intensity difference with the pre-stored light intensity difference and screen backlight brightness control parameter table, and the step of adjusting the screen backlight brightness according to the screen backlight brightness control parameter corresponding to the current light intensity difference specifically includes:
determining that the current light intensity difference value is located in a light intensity difference value interval of the light intensity difference value and a screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
In practical application, the screen backlight brightness control parameters can be tested for many times, and finally, control parameter values capable of obtaining good image effects are found out. And judging the light intensity difference value of the current light intensity difference value falls in which light intensity difference value interval, and reading corresponding screen backlight brightness control parameters to adjust the screen backlight brightness.
Specifically, in some preferred embodiments of the photographing method, the color saturation difference and screen display gray scale map control parameter table includes a plurality of color saturation difference intervals, each color saturation difference interval has a screen display gray scale map control parameter corresponding to the color saturation difference interval, the step of comparing the current color saturation difference with a pre-stored color saturation difference and screen display gray scale map control parameter table, and the step of adjusting the gray scale map displayed on the screen according to the screen display gray scale map control parameter corresponding to the current color saturation difference specifically includes:
determining a color saturation difference value interval of the current color saturation difference value and a screen display gray scale map control parameter table, and reading a screen display gray scale map control parameter corresponding to the color saturation difference value interval;
and adjusting the gray-scale image displayed on the screen according to the read control parameter of the gray-scale image displayed on the screen.
In practical application, the control parameters of the screen display gray scale map can be tested for many times, and finally, the control parameter values capable of obtaining the image effect with good effect are found out. And judging which color saturation difference interval the current color saturation difference value falls in, and reading the corresponding control parameter of the screen display gray-scale image to adjust the gray-scale image displayed on the screen.
Specifically, in some preferred embodiments of the photographing method, the step of adjusting the gray-scale map displayed on the screen according to the read control parameter of the gray-scale map displayed on the screen includes:
and calling the corresponding gray-scale image from a preset gray-scale image library according to the control parameters of the screen display gray-scale image and displaying the corresponding gray-scale image on the screen.
The method comprises the steps that a gray-scale picture library is set in the mobile terminal in advance, the gray-scale picture library at least comprises gray-scale pictures corresponding to color saturation difference values and all screen display gray-scale picture control parameters in a screen display gray-scale picture control parameter table, optionally, the gray-scale pictures can be 32 gray-scale pictures, 64 gray-scale pictures or 256 gray-scale pictures, and as an optimal scheme, the 64 gray-scale pictures are good in photographing effect and small in occupied space.
Further, in some preferred embodiments of the photographing method, the step of acquiring the light intensity and the color saturation of the current environment includes:
the ambient light is detected through a camera of the mobile terminal, and the light intensity and the color saturation of the current environment are obtained.
The mobile terminal can directly detect the ambient light through the camera of the mobile terminal, so that the function of adjusting the screen brightness and the color saturation can be realized by using the element of the mobile terminal, other elements do not need to be added, the realization is easier, and the cost is reduced. The camera can be a rear camera or a front camera.
Further, as shown in fig. 2, in some preferred embodiments of the photographing method, the step of obtaining the light intensity and the color saturation of the current environment further includes:
judging whether the camera is opened, and if the camera is opened, detecting ambient light;
after the steps of adjusting the brightness of the backlight of the screen and adjusting the gray-scale map displayed on the screen are executed, the method further comprises the following steps:
and automatically taking a picture.
The step of automatic photographing is added after the backlight brightness of the screen is adjusted and the gray-scale image displayed on the screen is adjusted, so that the operation of a user is facilitated, the user does not need to click manually, the photographing speed is high, the photographing action can be immediately executed when the best light effect is compensated, and the photographing opportunity is prevented from being missed. The implementation method specifically comprises the following steps:
step 201, judging whether the camera is opened or not, if so, executing step 202, otherwise, returning to continuously judging whether the camera is opened or not;
step 202: obtaining the values of light intensity and color saturation of the current environment;
step 203: calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
step 204: reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
step 205: reading the control parameter of the screen display gray-scale image corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray-scale image control parameter table according to the current color saturation difference value, and adjusting the gray-scale image displayed on the screen according to the control parameter of the screen display gray-scale image
Step 206: and automatically taking a picture.
Correspondingly, the embodiment of the invention also provides a photographing device, which can be used for a mobile terminal, and comprises:
an ambient light detection module 301 for obtaining values of light intensity and color saturation of the current environment;
a calculating module 302, configured to calculate a difference between the light intensity of the current environment and a preset standard light intensity to obtain a current light intensity difference, and calculate a difference between the color saturation of the current environment and a preset standard color saturation to obtain a current color saturation difference;
a screen backlight brightness control module 303, configured to read a screen backlight brightness control parameter corresponding to the current light intensity difference from a pre-stored light intensity difference and screen backlight brightness control parameter table according to the current light intensity difference, and adjust screen backlight brightness according to the screen backlight brightness control parameter;
the screen display gray scale map control module 304 is configured to read a screen display gray scale map control parameter corresponding to the current color saturation difference from a pre-stored color saturation difference and screen display gray scale map control parameter table according to the current color saturation difference, and adjust a gray scale map displayed on a screen according to the screen display gray scale map control parameter.
According to the embodiment of the invention, the difference value between the light intensity and the color saturation of the current ambient light and the standard light intensity and the standard color saturation is calculated, and the screen backlight brightness and the screen display gray scale picture are adjusted to compensate the difference value, so that the light supplementing effect and the photographing effect are good.
Specifically, in some preferred embodiments of the photographing apparatus, the light intensity difference and screen backlight brightness control parameter table includes a plurality of light intensity difference intervals, each light intensity difference interval has a screen backlight brightness control parameter corresponding to the light intensity difference interval, and the screen backlight brightness control module includes:
the screen backlight brightness parameter reading module is used for determining that the current light intensity difference value is positioned in a light intensity difference value interval of the light intensity difference value and the screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and the screen backlight brightness control submodule is used for adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
Specifically, in some preferred embodiments of the photographing apparatus, the color saturation difference and on-screen display gray-scale map control parameter table includes a plurality of color saturation difference intervals, each color saturation difference interval has an on-screen display gray-scale map control parameter corresponding thereto, and the on-screen display gray-scale map control module includes:
the screen display gray scale image parameter reading module is used for determining that the current color saturation difference value is positioned in a color saturation difference value interval of the color saturation difference value and the screen display gray scale image control parameter table, and reading the screen display gray scale image control parameter corresponding to the color saturation difference value interval;
and the screen display gray-scale image control submodule is used for adjusting the gray-scale image displayed on the screen according to the read screen display gray-scale image control parameter.
Specifically, in some preferred embodiments of the photographing apparatus, the screen display gray scale map control sub-module includes:
and the screen display gray-scale image calling module is used for calling the corresponding gray-scale image from a preset gray-scale image library according to the screen display gray-scale image control parameters and displaying the corresponding gray-scale image on a screen.
Further, in some preferred embodiments of the photographing device, the ambient light detection module includes an ambient light detection sub-module, which is used for detecting ambient light through a camera of the mobile terminal to obtain light intensity and color saturation of the current environment.
Further, in some preferred embodiments of the photographing apparatus, the apparatus further comprises:
the camera opening judging module is used for judging whether the camera is opened or not before detecting the ambient light through the photosensitive element and returning to the values of the light intensity and the color saturation of the current environment, and if the camera is opened, the ambient light detecting module is called;
the photographing apparatus further includes:
and the automatic photographing module is used for automatically photographing after the adjustment of the backlight brightness of the screen and the adjustment of the gray-scale image displayed on the screen are performed.
It should be noted that, each module of the photographing apparatus provided in the embodiment of the present invention is used for implementing the flow steps of the photographing method, and details are not described herein again.
It should be noted that the mobile terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, and the like.
Referring to fig. 4, a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure is shown in fig. 4, where the electronic device 400 includes:
one or more processors 401 and a memory 402, one processor 401 being exemplified in fig. 4.
The processor 401 and the memory 402 may be connected by a bus or other means, such as the bus connection in fig. 4.
The memory 402, which is a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the photographing method in the embodiment of the present application (for example, the ambient light detection module 301, the calculation module 302, the screen backlight brightness control module 303, and the screen display gray-scale map control module 304 shown in fig. 3). The processor 401 executes various functional applications of the server and data processing, namely, implements the photographing method of the above-described method embodiment, by running the nonvolatile software program, instructions, and modules stored in the memory 402.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the photographing apparatus, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 402 may optionally include memory located remotely from the processor 401, which may be connected to the control device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 402, and when executed by the one or more processors 401, perform the photographing method in any of the above-described method embodiments, for example, perform the above-described method steps 101 to 104 in fig. 1, and the method steps 201 to 206 in fig. 2, so as to implement the functions of the module 301 and 304 in fig. 3.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
Embodiments of the present application provide a non-transitory computer-readable storage medium, which stores computer-executable instructions, which are executed by one or more processors, such as a processor 401 in fig. 4, to enable the one or more processors to perform the method in any of the method embodiments, such as the method steps 101 to 104 in fig. 1 and the method steps 201 to 206 in fig. 2, which are described above, and implement the functions of the module 301 and 304 in fig. 3.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, where technical features in the above embodiments or in different embodiments can also be combined, the steps can be implemented in any order and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A photographing method, comprising the steps of:
acquiring the light intensity and the color saturation of the current environment;
calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
reading a screen backlight brightness control parameter corresponding to the current light intensity difference value from a prestored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value, and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and reading a screen display gray scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray scale image control parameter table according to the current color saturation difference value, and adjusting the gray scale image displayed on the screen according to the screen display gray scale image control parameter.
2. The photographing method of claim 1, wherein the light intensity difference and screen backlight brightness control parameter table comprises a plurality of light intensity difference intervals, each light intensity difference interval has a screen backlight brightness control parameter corresponding thereto, and the step of reading the screen backlight brightness control parameter corresponding to the current light intensity difference on the pre-stored light intensity difference and screen backlight brightness control parameter table according to the current light intensity difference and adjusting the screen backlight brightness according to the screen backlight brightness control parameter specifically comprises:
determining that the current light intensity difference value is located in a light intensity difference value interval of the light intensity difference value and a screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
3. The photographing method according to claim 1 or 2, wherein the color saturation difference and on-screen display gray scale map control parameter table includes a plurality of color saturation difference intervals, each color saturation difference interval has an on-screen display gray scale map control parameter corresponding thereto, and the step of reading the on-screen display gray scale map control parameter corresponding to the current color saturation difference on the pre-stored color saturation difference and on-screen display gray scale map control parameter table according to the current color saturation difference and adjusting the gray scale map displayed on the screen according to the on-screen display gray scale map control parameter table specifically includes:
determining that the current color saturation difference value is located in a color saturation difference value interval of the color saturation difference value and a screen display gray scale map control parameter table, and reading a screen display gray scale map control parameter corresponding to the color saturation difference value interval;
and adjusting the gray-scale image displayed on the screen according to the read control parameter of the gray-scale image displayed on the screen.
4. The photographing method according to claim 3, wherein the step of adjusting the gray-scale map displayed on the screen according to the read on-screen display gray-scale map control parameter comprises:
and calling the corresponding gray-scale image from a preset gray-scale image library according to the control parameters of the screen display gray-scale image and displaying the corresponding gray-scale image on the screen.
5. The photographing method according to claim 1 or 2, wherein the photographing method is used for a mobile terminal, and the step of obtaining the light intensity and the color saturation of the current environment comprises:
the ambient light is detected through a camera of the mobile terminal, and the light intensity and the color saturation of the current environment are obtained.
6. A photographing apparatus, comprising:
the environment light detection module is used for acquiring the light intensity and the color saturation of the current environment;
the calculation module is used for calculating the difference value between the light intensity of the current environment and the preset standard light intensity to obtain a current light intensity difference value, and calculating the difference value between the color saturation of the current environment and the preset standard color saturation to obtain a current color saturation difference value;
the screen backlight brightness control module is used for reading a screen backlight brightness control parameter corresponding to the current light intensity difference value on a pre-stored light intensity difference value and screen backlight brightness control parameter table according to the current light intensity difference value and adjusting the screen backlight brightness according to the screen backlight brightness control parameter;
and the screen display gray-scale image control module is used for reading a screen display gray-scale image control parameter corresponding to the current color saturation difference value on a pre-stored color saturation difference value and screen display gray-scale image control parameter table according to the current color saturation difference value and adjusting the gray-scale image displayed on the screen according to the screen display gray-scale image control parameter.
7. The apparatus of claim 6, wherein the light intensity difference and screen backlight brightness control parameter table comprises a plurality of light intensity difference intervals, each light intensity difference interval having a corresponding screen backlight brightness control parameter, the screen backlight brightness control module comprises:
the screen backlight brightness parameter reading module is used for determining that the current light intensity difference value is positioned in a light intensity difference value interval of the light intensity difference value and the screen backlight brightness control parameter table, and reading a screen backlight brightness control parameter corresponding to the light intensity difference value interval;
and the screen backlight brightness control submodule is used for adjusting the screen backlight brightness according to the read screen backlight brightness control parameter.
8. The apparatus of claim 6 or 7, wherein the color saturation difference and on-screen display gray-scale map control parameter table comprises a plurality of color saturation difference intervals, each color saturation difference interval having an on-screen display gray-scale map control parameter corresponding thereto, the on-screen display gray-scale map control module comprises:
the screen display gray scale image parameter reading module is used for determining that the current color saturation difference value is positioned in a color saturation difference value interval of the color saturation difference value and a screen display gray scale image control parameter table, and reading a screen display gray scale image control parameter corresponding to the color saturation difference value interval;
and the screen display gray-scale image control submodule is used for adjusting the gray-scale image displayed on the screen according to the read screen display gray-scale image control parameter.
9. The photographing apparatus according to claim 8, wherein the screen display gray scale map control sub-module comprises:
and the screen display gray-scale image calling module is used for calling the corresponding gray-scale image from a preset gray-scale image library according to the screen display gray-scale image control parameters and displaying the corresponding gray-scale image on a screen.
10. The photographing device according to claim 6 or 7, wherein the photographing device is used for a mobile terminal, and the ambient light detection module comprises:
and the ambient light detection submodule is used for detecting ambient light through a camera of the mobile terminal to obtain the light intensity and the color saturation of the current environment.
CN201610880624.6A 2016-10-08 2016-10-08 Photographing method and device Pending CN106453888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610880624.6A CN106453888A (en) 2016-10-08 2016-10-08 Photographing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610880624.6A CN106453888A (en) 2016-10-08 2016-10-08 Photographing method and device

Publications (1)

Publication Number Publication Date
CN106453888A true CN106453888A (en) 2017-02-22

Family

ID=58173208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610880624.6A Pending CN106453888A (en) 2016-10-08 2016-10-08 Photographing method and device

Country Status (1)

Country Link
CN (1) CN106453888A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219294A1 (en) * 2017-06-02 2018-12-06 广东野光源眼科技有限公司 Information terminal
CN109238460A (en) * 2018-08-24 2019-01-18 维沃移动通信有限公司 A kind of method and terminal device obtaining ambient light intensity
CN111785217A (en) * 2020-07-03 2020-10-16 深圳创维-Rgb电子有限公司 Backlight adjustment method, device, terminal device and readable storage medium
US10909952B2 (en) 2017-06-02 2021-02-02 Guangdong Xiaye Household Electrical Appliances Co., Ltd Information terminal
CN112397033A (en) * 2019-08-18 2021-02-23 海信视像科技股份有限公司 Display device and backlight brightness adjusting method
CN113015017A (en) * 2021-03-15 2021-06-22 海信视像科技股份有限公司 Image quality compensation method and display device
CN113542711A (en) * 2020-04-14 2021-10-22 青岛海信移动通信技术股份有限公司 Image display method and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795929A (en) * 2014-02-13 2014-05-14 苏州佳世达电通有限公司 Photographing method of electronic device and electronic device
CN105955585A (en) * 2016-05-31 2016-09-21 维沃移动通信有限公司 Display method for mobile terminal and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795929A (en) * 2014-02-13 2014-05-14 苏州佳世达电通有限公司 Photographing method of electronic device and electronic device
CN105955585A (en) * 2016-05-31 2016-09-21 维沃移动通信有限公司 Display method for mobile terminal and mobile terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219294A1 (en) * 2017-06-02 2018-12-06 广东野光源眼科技有限公司 Information terminal
CN108989539A (en) * 2017-06-02 2018-12-11 广东野光源眼科技有限公司 A kind of information terminal
CN108989539B (en) * 2017-06-02 2019-07-05 广东夏野日用电器有限公司 A kind of information terminal
US10909952B2 (en) 2017-06-02 2021-02-02 Guangdong Xiaye Household Electrical Appliances Co., Ltd Information terminal
US10957262B2 (en) 2017-06-02 2021-03-23 Guangdong Xiaye Household Electrical Appliances Co., Ltd. Information terminal including a background illumination light
CN109238460A (en) * 2018-08-24 2019-01-18 维沃移动通信有限公司 A kind of method and terminal device obtaining ambient light intensity
CN109238460B (en) * 2018-08-24 2020-11-06 维沃移动通信有限公司 Method for obtaining ambient light intensity and terminal equipment
CN112397033A (en) * 2019-08-18 2021-02-23 海信视像科技股份有限公司 Display device and backlight brightness adjusting method
CN113542711A (en) * 2020-04-14 2021-10-22 青岛海信移动通信技术股份有限公司 Image display method and terminal
CN111785217A (en) * 2020-07-03 2020-10-16 深圳创维-Rgb电子有限公司 Backlight adjustment method, device, terminal device and readable storage medium
CN111785217B (en) * 2020-07-03 2022-02-15 深圳创维-Rgb电子有限公司 Backlight adjustment method, device, terminal device and readable storage medium
CN113015017A (en) * 2021-03-15 2021-06-22 海信视像科技股份有限公司 Image quality compensation method and display device

Similar Documents

Publication Publication Date Title
CN106453888A (en) Photographing method and device
US20170118415A1 (en) Tracking shooting method, mobile terminal and system
US10708512B2 (en) Method and device for capturing image and storage medium
US20170163878A1 (en) Method and electronic device for adjusting shooting parameters of camera
CN113126937B (en) Display terminal adjusting method and display terminal
US10489169B2 (en) Method and device for performing subset of functions of application
US20170068527A1 (en) Device control method and apparatus
US9666165B2 (en) Backlight compensation method, device and terminal
US20180341379A1 (en) Application distribution method and device
US10701301B2 (en) Video playing method and device
US20170171277A1 (en) Method and electronic device for multimedia recommendation based on android platform
CN104902143B (en) A kind of image de-noising method and device based on resolution ratio
US20150339016A1 (en) Tab creation method, device, and terminal
US12573048B2 (en) Disarranged-image processing method, device and storage medium
CN109034242B (en) Image processing algorithm scoring method, device and system
CN108898649A (en) Image processing method and device
CN108881875A (en) Image white balance processing method and device, storage medium and terminal
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
CN112781832A (en) Method, apparatus, device and medium for determining ambient light for terminal device
CN111131596B (en) Screen brightness adjustment method and device
CN112669231B (en) Image processing method, training method, device and medium of image processing model
CN104535178A (en) A light intensity value detection method and terminal
US20190080151A1 (en) Method for collecting facial information and related devices
US10827156B2 (en) Light filling method and apparatus for photographing environment, and computer-readable storage medium
CN115798394B (en) Brightness adjustment method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication