CN110868533A - HDR mode determination method, device, storage medium and terminal - Google Patents

HDR mode determination method, device, storage medium and terminal Download PDF

Info

Publication number
CN110868533A
CN110868533A CN201910976206.0A CN201910976206A CN110868533A CN 110868533 A CN110868533 A CN 110868533A CN 201910976206 A CN201910976206 A CN 201910976206A CN 110868533 A CN110868533 A CN 110868533A
Authority
CN
China
Prior art keywords
peak value
pixel
gray level
pixel peak
value
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.)
Granted
Application number
CN201910976206.0A
Other languages
Chinese (zh)
Other versions
CN110868533B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201910976206.0A priority Critical patent/CN110868533B/en
Publication of CN110868533A publication Critical patent/CN110868533A/en
Application granted granted Critical
Publication of CN110868533B publication Critical patent/CN110868533B/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/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The embodiment of the application discloses a method, a device, a storage medium and a terminal for determining an HDR mode, wherein the method comprises the following steps: acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level; acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray levels, wherein the first pixel peak value is located in a first preset gray level range and corresponds to the lowest gray level in the pixel peak value set, and the second pixel peak value is located in a second preset gray level range and corresponds to the highest gray level in the pixel peak value set; and when the first pixel peak value and the second pixel peak value are both larger than the first pixel peak value threshold value, starting the HDR shooting mode. By applying the method and the device, the HDR shooting mode can be accurately judged and automatically started.

Description

HDR mode determination method, device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a storage medium, and a terminal for determining an HDR mode.
Background
With the rapid development of the image technology, photography is integrated into the aspect of life, and people can open a camera on terminal equipment to record life at any time and any place.
In the shooting process, aiming at different external environments, a user needs to manually switch/select a proper shooting mode for shooting so as to obtain an image with higher quality and better effect.
For an environment with a large light and shade contrast, if the HDR shooting mode is to be entered, the user needs to manually click/slide to change the current shooting mode, and the operation makes the shooting mode not intelligent and convenient enough in switching; moreover, the method for changing the current shooting mode to the HDR shooting mode by judging the external environment by naked eyes is not accurate enough, and images with poor effects are easy to shoot.
Disclosure of Invention
The embodiment of the application provides a method, a device, a storage medium and a terminal for determining an HDR mode, and can solve the problems that the HDR shooting mode is not accurately judged, and the shooting mode is not intelligent and convenient enough to switch. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an HDR mode determination method, where the method includes:
acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set;
determining a first pixel peak value and a second pixel peak value in the set of pixel peak values based on the gray levels, the first pixel peak value being in a first preset gray level range and corresponding to a lowest gray level in the set of pixel peak values, the second pixel peak value being in a second preset gray level range and corresponding to a highest gray level in the set of pixel peak values;
and when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value, starting an HDR shooting mode.
In a second aspect, an embodiment of the present application provides an HDR mode determining apparatus, including:
the device comprises a gray level histogram acquisition module, a gray level histogram acquisition module and a display module, wherein the gray level histogram acquisition module is used for acquiring a preview image aiming at a shooting area through a camera and acquiring a gray level histogram corresponding to the preview image, and the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
the parameter acquisition module is used for acquiring a pixel peak value set in the gray level histogram and acquiring the gray level corresponding to each pixel peak value in the pixel peak value set;
a peak pixel value determining module, configured to determine, based on the gray levels, a first peak pixel value and a second peak pixel value in the peak pixel value set, where the first peak pixel value is located in a first preset gray level range and corresponds to a lowest gray level in the peak pixel value set, and the second peak pixel value is located in a second preset gray level range and corresponds to a highest gray level in the peak pixel value set;
and the HDR shooting mode starting module is used for starting the HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, during shooting, a preview image of a shooting area is collected by a camera, a gray histogram corresponding to the preview image is obtained, and a pixel peak value set and a gray level corresponding to each pixel peak value in the pixel peak value set are obtained in the gray histogram; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray level, and starting an HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value. The HDR mode determining method provided by the embodiment of the application performs condition judgment by using each shooting parameter of the preview image, so as to determine whether the current shooting environment is suitable for the HDR shooting mode, when the parameter of the preview image meets the starting condition of the HDR mode, the terminal automatically changes the current shooting mode to the HDR shooting mode, the mode switching is intelligent and convenient, the accuracy of judging the HDR shooting mode based on the parameter data of the preview image is high, and the shooting quality of the image in the environment with high light and shade contrast can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating an HDR mode determination method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a gray histogram corresponding to a frame of image according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating an HDR mode determination method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an HDR mode determination method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an HDR mode determining apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an HDR mode determining apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The HDR mode determination method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 4.
Please refer to fig. 1, which is a flowchart illustrating an HDR mode determining method according to an embodiment of the present application.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
when a user starts a camera of the terminal to take a picture or record a video, before a shooting instruction is input, the terminal collects an image in real time based on a shooting area indicated by the camera and displays the image on a display screen, wherein the image displayed on the display screen is a preview image.
The preview image is a real-time frame image, and the terminal can continuously generate a plurality of frames of preview images before a shooting instruction is input. When analyzing the gray histogram of the preview image, each frame of the preview image may be analyzed in real time, or a currently acquired frame of the preview image may be analyzed at regular intervals, for example, at 2ms intervals. The input shooting command may be, for example, a voice shooting command, or a shooting command input to a physical/physical shooting button.
Each frame of image has its corresponding gray level histogram. The gray level histogram is a luminance information distribution statistical graph corresponding to all pixels in a frame image, 0-255 gray levels are arranged on the abscissa of the graph, the lower the gray level is, the darker the corresponding pixel luminance is, and the ordinate represents the number of pixels corresponding to each gray level/the frequency of occurrence. The number of pixels is acquired by a longitudinal coordinate of a gray level histogram corresponding to a preview image in the embodiment of the application.
The statistical result of the gray level histogram can reflect the light intensity of the external environment to a certain extent, and the terminal can acquire the current shooting environment through the gray level histogram of the preview image, so that the terminal automatically enters a proper shooting mode and shoots a high-quality image. Specifically, in the embodiment of the present application, when the terminal knows that the contrast between brightness and darkness of the current shooting environment is large, the HDR shooting mode is automatically turned on, so as to shoot an image with a better effect.
The terminal in this embodiment includes, but is not limited to, a smart phone, a tablet computer, a palm computer, a Personal digital assistant (PAD), an interactive smart tablet, and other devices.
S102, acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set;
under different shooting environments, the distribution of the number of pixels on each gray level in the gray level histogram is different, the heights are different, and peaks with different numbers are formed. Along the increasing direction of the gray level, each pixel peak value and the corresponding gray level can be determined according to the increasing and decreasing trend of the number of the pixels on each gray level. All pixel peaks in the gray histogram constitute a set of pixel peaks.
S103, determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray levels, wherein the first pixel peak value is located in a first preset gray level range and corresponds to the lowest gray level in the pixel peak value set, and the second pixel peak value is located in a second preset gray level range and corresponds to the highest gray level in the pixel peak value set;
in the embodiment of the present application, the first pixel peak value represents a first pixel peak value appearing in the increasing direction of the gray level in the gray level histogram, that is, the corresponding gray level of the first pixel peak value in the pixel peak value set is the lowest; the second pixel peak represents the last pixel peak in the gray histogram that occurs in the direction of increasing gray level, i.e. the second pixel peak has the highest corresponding gray level in the set of pixel peaks.
There are 256 gray levels in the gray histogram, and the gray levels in the gray histogram are range-divided according to the brightness degree. For example, 256 gray levels can be divided into a very dark portion, a darker portion, a lighter portion and a very bright portion according to the level, the very dark portion can correspond to the range of 0-64 gray levels, and the very bright portion can correspond to the range of 192-255 gray levels. The present embodiment is used for determining an HDR shooting mode, and therefore, at least two pixel peak values should appear in a gray scale range where very bright and very dark pixel points are distributed in a gray histogram, that is, a first pixel peak value appearing in a direction along which a gray scale increases should be located in the gray scale range where the very dark pixel points are distributed, and a last pixel peak value appearing in the direction along which the gray scale increases should be located in the gray scale range where the very bright pixel points are distributed, so that the HDR mode determining method provided by the present application can be implemented only when it is ensured that there are two dark and bright portions with strong contrast in an image.
Aiming at the determination of the HDR mode, the brightness corresponding to a pixel point in an image is mainly bright and dark, and the most intuitive embodiment in a gray level histogram is that the pixel point is mainly gathered at two ends of a gray level. Specifically, the gray level corresponding to the first pixel peak may be located in a first preset gray level range, where the first preset gray level range is relatively narrow and the gray level is the lowest, so as to ensure that the brightness corresponding to the pixel point is sufficiently dark, and for example, the brightness may be set in a 0-6 gray level range. In other embodiments, the gray level corresponding to the first pixel peak may also be in the range of 0-10 gray levels. The gray level corresponding to the last pixel peak value appearing in the gray level histogram along the gray level increasing direction can be located in a second preset gray level range with a relatively wide range, and when the number of pixel points in the second preset gray level range meets the condition, a sufficiently bright area can be considered to exist in the current shooting environment, and the range can be set to be 150-255 gray levels, for example. In other embodiments, the second predetermined gray scale range may be, for example, 130 to 255 gray scales.
Please refer to fig. 2, which is a schematic diagram of a gray histogram corresponding to a frame of image according to an embodiment of the present disclosure.
As shown in fig. 2, the histogram corresponds to the background image, and it can be seen that 3 pixel peaks appear in the 0 to 255 gray levels of the histogram, and are located at the leftmost end, the middle front end, and the rightmost end, respectively.
And S104, when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value, starting an HDR shooting mode.
The HDR (High-Dynamic Range) shooting mode can make the shot picture clear in details of highlight or shadow parts, and the picture effect is close to the effect seen by human eyes.
When both a first pixel peak value appearing in a first preset gray scale range and a second pixel peak value appearing in a second preset gray scale range meet the starting condition of the HDR shooting mode, the fact that the contrast of the outside shooting environment is high indicates that the HDR shooting mode is started.
Specifically, when the first pixel peak value in the 0-6 gray scale range is greater than 45 ten thousand pixels (the first pixel peak value threshold), and the second pixel peak value in the 150-255 gray scale range is also greater than 45 ten thousand pixels (the first pixel peak value threshold), the external shooting environment light-dark contrast is high, and the HDR shooting mode is started.
Wherein the first pixel peak threshold value can be adjusted according to the actual test. For example, the first pixel peak threshold may be adjusted to 43 thousand pixels, etc.
It should be noted that the HDR mode determination method provided by this embodiment is not limited to the number of peaks in the grayscale histogram, and the HDR shooting mode may be turned on as long as the parameters corresponding to the preview image satisfy the HDR shooting mode turning-on condition.
In the embodiment of the application, when shooting, a preview image aiming at a shooting area is collected through a camera, a gray histogram corresponding to the preview image is obtained, a pixel peak value set and a gray level corresponding to each pixel peak value in the pixel peak value set are obtained in the gray histogram; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray level, and starting an HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value. The HDR mode determining method provided by the embodiment of the application performs condition judgment by using each shooting parameter of the preview image, so as to determine whether the current shooting environment is suitable for the HDR shooting mode, when the parameter of the preview image meets the starting condition of the HDR mode, the terminal automatically changes the current shooting mode to the HDR shooting mode, the mode switching is intelligent and convenient, the accuracy of judging the HDR shooting mode based on the parameter data of the preview image is high, and the shooting quality of the image in the environment with high light and shade contrast can be improved.
Please refer to fig. 3, which is a flowchart illustrating an HDR mode determining method according to an embodiment of the present application.
As shown in fig. 3, the method of the embodiment of the present application may include the steps of:
s201, acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
this step can be referred to as S101, and is not described herein.
S202, acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set;
this step can be referred to as S102, and is not described herein.
S203, determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray levels, wherein the first pixel peak value is located in a first preset gray level range and corresponds to the lowest gray level in the pixel peak value set, and the second pixel peak value is located in a second preset gray level range and corresponds to the highest gray level in the pixel peak value set;
this step can be referred to as S103, and is not described herein.
S204, judging whether the gray level corresponding to the second pixel peak value is in a third preset gray level range or not;
when determining whether the gray level corresponding to the second pixel peak value in the gray histogram corresponding to the preview image is located in the third preset gray level range, the gray level range may be determined for each frame of preview image acquired in real time, or the gray level range may be determined for each frame of preview image acquired periodically (for example, one frame is acquired every 3ms, one frame is acquired every 5ms, etc.). And judging the gray level range of the gray level corresponding to the peak value of the second pixel, and executing the next step when the gray level corresponding to the peak value of the second pixel meets the condition.
S205, when the gray level corresponding to the second pixel peak value is in a third preset gray level range, and the first pixel peak value is larger than a second pixel peak value threshold value, and the second pixel peak value is larger than a first pixel peak value threshold value, starting an HDR shooting mode;
when the gray level corresponding to the second pixel peak value in the gray level histogram corresponding to the preview image is located in the range of 254-255 gray levels (a third preset gray level range), it is indicated that a region with very bright light exists in the current shooting environment, and the light is strong enough. For this case, the on condition of the HDR shooting mode is: the first pixel peak value is larger than a second pixel peak value threshold value and a second pixel peak value in a third preset gray level range is larger than a first pixel peak value threshold value. Wherein the second pixel peak threshold is less than the first pixel peak threshold. Specifically, when the first pixel peak value in the gray scale range of 0 to 6 is greater than 40 ten thousand pixels (the second pixel peak value threshold value), and the second pixel peak value in the gray scale range of 254/255 is greater than 45 ten thousand pixels (the first pixel peak value threshold value), the contrast of the light and shade of the current shooting environment is high, and the HDR shooting mode is started. The third preset gray scale range can be set to 250-255 gray scales and the like.
S206, when the gray level corresponding to the second pixel peak value is in a third preset gray level range and the second pixel peak value is larger than a third pixel peak value threshold value, obtaining a third pixel peak value and a corresponding gray level, wherein the third pixel peak value is in a fourth preset gray level range and corresponds to the next highest gray level in the pixel peak value set; and when the first pixel peak value is larger than a second pixel peak value threshold value and the third pixel peak value is larger than a fourth pixel peak value threshold value, starting an HDR shooting mode.
In the embodiment provided by the application, after determining that the gray level corresponding to the second pixel peak value is located in the third preset gray level range, the second pixel peak value is subjected to conditional judgment, and whether the second pixel peak value is greater than the third pixel peak value threshold value is judged. When the second pixel peak value is larger than the third pixel peak value threshold value, it is indicated that a very bright area of the current shooting environment is very small, and the number of pixels distributed on the maximum gray level in the gray level histogram is small, at this time, the terminal acquires a third pixel peak value located in a fourth preset gray level range, and whether the HDR shooting mode needs to be started or not is judged through the first pixel peak value and the third pixel peak value. At this time, the HDR shooting mode on condition is: the first pixel peak value is greater than the second pixel peak value threshold, and the third pixel peak value is greater than the fourth pixel peak value threshold.
It should be noted that the third pixel peak threshold is a smaller value than the first pixel peak threshold and the second pixel peak threshold. The third pixel peak value represents a penultimate pixel peak value occurring in the gray level histogram in the direction of increasing gray level, i.e., the third pixel peak value corresponds to the next highest gray level in the set of pixel peak values. When a pixel peak value with a larger value does not appear on the highest gray level in the gray level histogram, a third pixel peak value in a fourth preset gray level range can be obtained, and the external bright light condition is determined through the peak value in the range. When the third pixel peak value meets the fourth pixel peak value threshold value, it indicates that the current shooting environment has enough bright light.
Specifically, when the first pixel peak value in the gray scale range of 0 to 6 is greater than 40 ten thousand pixels (the second pixel peak value threshold), and the second pixel peak value in the gray scale range of 254/255 is greater than 5000 pixels (the third pixel peak value threshold), and if the third pixel peak value in the gray scale range of 150 to 254 is greater than 15000 pixels (the fourth pixel peak value threshold), it can be said that the contrast of light and shade in the current shooting environment is high, and the HDR shooting mode is turned on.
In other embodiments, the third pixel peak threshold may be 8000 pixels, for example, the fourth pixel peak threshold may be 2 ten thousand pixels, for example, and the fourth preset gray scale range may be 140 to 250 gray scales, for example.
In the embodiment of the application, when shooting, a preview image aiming at a shooting area is collected through a camera, a gray histogram corresponding to the preview image is obtained, a pixel peak value set and a gray level corresponding to each pixel peak value in the pixel peak value set are obtained in the gray histogram; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray level, and starting an HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value. The HDR mode determining method provided by the embodiment of the application performs condition judgment by using each shooting parameter of the preview image, so as to determine whether the current shooting environment is suitable for the HDR shooting mode, when the parameter of the preview image meets the starting condition of the HDR mode, the terminal automatically changes the current shooting mode to the HDR shooting mode, the mode switching is intelligent and convenient, the accuracy of judging the HDR shooting mode based on the parameter data of the preview image is high, and the shooting quality of the image in the environment with high light and shade contrast can be improved.
Please refer to fig. 4, which is a flowchart illustrating an HDR mode determining method according to an embodiment of the present application.
As shown in fig. 4, the method of the embodiment of the present application may include the steps of:
s301, acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
this step can be referred to as S101, and is not described herein.
S302, acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set;
this step can be referred to as S102, and is not described herein.
S303, determining a first pixel peak value and a second pixel peak value in the set of pixel peak values based on the gray levels, where the first pixel peak value is located in a first preset gray level range and corresponds to a lowest gray level in the set of pixel peak values, and the second pixel peak value is located in a second preset gray level range and corresponds to a highest gray level in the set of pixel peak values;
this step can be referred to as S103, and is not described herein.
S304, judging whether the gray level corresponding to the second pixel peak value is in a fourth preset gray level range;
this step can be referred to as S204, and is not described herein.
S305, when the gray level corresponding to the second pixel peak value is in a fourth preset gray level range, and when the second pixel peak value is larger than a fourth pixel peak value threshold value and the first pixel peak value is larger than a first pixel peak value threshold value, starting an HDR shooting mode.
When the gray level corresponding to the second pixel peak value in the gray level histogram corresponding to the preview image is in the third preset gray level range and the second pixel peak value is larger than the fourth pixel peak value threshold value, it is indicated that a region with very bright light exists in the current shooting environment, and the light is strong enough.
Specifically, when the first pixel peak value in the 0-6 gray scale range is greater than 45 ten thousand pixels (the first pixel peak value threshold), and the second pixel peak value in the 150-254 gray scale range is greater than 15000 pixels (the fourth pixel peak value threshold), it indicates that the contrast of the light and the shade of the current shooting environment is high, and the HDR shooting mode is started.
It should be noted that, in each embodiment recited in the present application, HDR mode starting condition determination may be performed on the acquired number threshold frame preview images, and when each frame preview image meets the HDR mode starting condition, the HDR shooting mode is entered; when at least one frame in the threshold frame preview images does not meet the starting condition of the HDR mode, the threshold frame preview images are required to be acquired again for judgment again. The number threshold frame preview image may be a plurality of frame preview images acquired continuously or a plurality of frame preview images acquired periodically at intervals. For example, 3 frames of preview images are continuously acquired, and when the parameter data of each frame of preview image meets the starting condition of the HDR shooting mode, the HDR shooting mode can be entered again; when the parameter data of at least one frame of preview image in the 3 frames of preview images can not meet the starting condition of the HDR shooting mode, the terminal controls the camera to keep the current shooting mode, and acquires the 3 frames of preview images again to continuously judge whether the current shooting environment is suitable for the HDR shooting mode. The embodiment can make the HDR shooting mode more accurate by carrying out condition judgment on the multi-frame preview images.
In the embodiment of the application, when shooting, a preview image aiming at a shooting area is collected through a camera, a gray histogram corresponding to the preview image is obtained, a pixel peak value set and a gray level corresponding to each pixel peak value in the pixel peak value set are obtained in the gray histogram; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray level, and starting an HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value. The HDR mode determining method provided by the embodiment of the application performs condition judgment by using each shooting parameter of the preview image, so as to determine whether the current shooting environment is suitable for the HDR shooting mode, when the parameter of the preview image meets the starting condition of the HDR mode, the terminal automatically changes the current shooting mode to the HDR shooting mode, the mode switching is intelligent and convenient, the accuracy of judging the HDR shooting mode based on the parameter data of the preview image is high, and the shooting quality of the image in the environment with high light and shade contrast can be improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 5, which is a schematic structural diagram of an HDR mode determining apparatus according to an exemplary embodiment of the present application. The HDR mode determining apparatus may be implemented as all or a part of the terminal by software, hardware, or a combination of both, and may be integrated on the server as a separate module. The HDR mode determination apparatus in the embodiment of the present application is applied to a terminal, and as shown in fig. 5, the HDR mode determination apparatus 1 includes a histogram of gray scale acquisition module 11, a parameter acquisition module 12, a pixel peak value determination module 13, and an HDR shooting mode starting module 14, where:
the gray histogram acquisition module 11 is configured to acquire a preview image for a shooting area through a camera, and acquire a gray histogram corresponding to the preview image, where the gray histogram includes multiple gray levels and the number of pixels corresponding to each gray level;
a parameter obtaining module 12, configured to obtain a pixel peak value set in the grayscale histogram, and obtain a grayscale corresponding to each pixel peak value in the pixel peak value set;
a peak pixel value determining module 13, configured to determine, based on the gray levels, a first peak pixel value and a second peak pixel value in the peak pixel value set, where the first peak pixel value is located in a first preset gray level range and corresponds to a lowest gray level in the peak pixel value set, and the second peak pixel value is located in a second preset gray level range and corresponds to a highest gray level in the peak pixel value set;
and an HDR shooting mode starting module 14, configured to start the HDR shooting mode when both the first pixel peak value and the second pixel peak value are greater than a first pixel peak value threshold.
Optionally, the HDR shooting mode starting module 14 is specifically configured to:
judging whether the gray level corresponding to the second pixel peak value is in a third preset gray level range or not;
and when the gray level corresponding to the second pixel peak value is in a third preset gray level range, and the first pixel peak value is larger than a second pixel peak value threshold value, and the second pixel peak value is larger than a first pixel peak value threshold value, starting the HDR shooting mode.
Optionally, the HDR shooting mode starting module 14 is specifically configured to:
when the gray level corresponding to the second pixel peak value is located in a third preset gray level range and the second pixel peak value is larger than a third pixel peak value threshold value, obtaining a third pixel peak value and a corresponding gray level, wherein the third pixel peak value is located in a fourth preset gray level range and corresponds to the next highest gray level in the pixel peak value set; and when the first pixel peak value is larger than a second pixel peak value threshold value and the third pixel peak value is larger than a fourth pixel peak value threshold value, starting an HDR shooting mode.
Optionally, the HDR shooting mode starting module 14 is specifically configured to:
judging whether the gray level corresponding to the second pixel peak value is in a fourth preset gray level range or not;
and when the gray level corresponding to the second pixel peak value is in a fourth preset gray level range, and the second pixel peak value is larger than a fourth pixel peak value threshold value and the first pixel peak value is larger than a first pixel peak value threshold value, starting an HDR shooting mode.
Please refer to fig. 6, which is a schematic structural diagram of an HDR mode determining apparatus according to an exemplary embodiment of the present application. Optionally, as shown in fig. 6, the apparatus 1 further includes:
a preview image acquisition module 15, configured to acquire threshold frame number preview images;
the HDR shooting mode starting module 14 is specifically configured to:
and when the first pixel peak value and the second pixel peak value in the gray level histogram corresponding to each frame of the acquired preview image are both larger than the first pixel peak value threshold value, starting the HDR shooting mode.
It should be noted that, when the HDR mode determining apparatus provided in the foregoing embodiment executes the HDR mode determining method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed and completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the HDR mode determining apparatus and the HDR mode determining method provided in the foregoing embodiments belong to the same concept, and details of implementation processes thereof are referred to as method embodiments, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, when shooting, a preview image aiming at a shooting area is collected through a camera, a gray histogram corresponding to the preview image is obtained, a pixel peak value set and a gray level corresponding to each pixel peak value in the pixel peak value set are obtained in the gray histogram; determining a first pixel peak value and a second pixel peak value in the pixel peak value set based on the gray level, and starting an HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value. The HDR mode determining method provided by the embodiment of the application performs condition judgment by using each shooting parameter of the preview image, so as to determine whether the current shooting environment is suitable for the HDR shooting mode, when the parameter of the preview image meets the starting condition of the HDR mode, the terminal automatically changes the current shooting mode to the HDR shooting mode, the mode switching is intelligent and convenient, the accuracy of judging the HDR shooting mode based on the parameter data of the preview image is high, and the shooting quality of the image in the environment with high light and shade contrast can be improved.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 7, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 7, the terminal 600 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 600 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 600, and the terminal 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (10)

1. A method for HDR mode determination, the method comprising:
acquiring a preview image aiming at a shooting area through a camera, and acquiring a gray level histogram corresponding to the preview image, wherein the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
acquiring a pixel peak value set in the gray level histogram, and acquiring a gray level corresponding to each pixel peak value in the pixel peak value set;
determining a first pixel peak value and a second pixel peak value in the set of pixel peak values based on the gray levels, the first pixel peak value being in a first preset gray level range and corresponding to a lowest gray level in the set of pixel peak values, the second pixel peak value being in a second preset gray level range and corresponding to a highest gray level in the set of pixel peak values;
and when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value, starting an HDR shooting mode.
2. The method of claim 1, wherein turning on an HDR capture mode when the first peak pixel value and the second peak pixel value are both greater than a first peak pixel value threshold comprises:
judging whether the gray level corresponding to the second pixel peak value is in a third preset gray level range or not;
and when the gray level corresponding to the second pixel peak value is in a third preset gray level range, and the first pixel peak value is larger than a second pixel peak value threshold value, and the second pixel peak value is larger than a first pixel peak value threshold value, starting the HDR shooting mode.
3. The method of claim 2, wherein the turning on the HDR shooting mode when the gray level corresponding to the second pixel peak is in a third preset gray level range, the first pixel peak is greater than a second pixel peak threshold, and the second pixel peak is greater than a first pixel peak threshold comprises:
when the gray level corresponding to the second pixel peak value is located in a third preset gray level range and the second pixel peak value is larger than a third pixel peak value threshold value, obtaining a third pixel peak value and a corresponding gray level, wherein the third pixel peak value is located in a fourth preset gray level range and corresponds to the next highest gray level in the pixel peak value set;
and when the first pixel peak value is larger than a second pixel peak value threshold value and the third pixel peak value is larger than a fourth pixel peak value threshold value, starting an HDR shooting mode.
4. The method of claim 1, wherein turning on an HDR capture mode when the first peak pixel value and the second peak pixel value are both greater than a first peak pixel value threshold comprises:
judging whether the gray level corresponding to the second pixel peak value is in a fourth preset gray level range or not;
and when the gray level corresponding to the second pixel peak value is in a fourth preset gray level range, and the second pixel peak value is larger than a fourth pixel peak value threshold value and the first pixel peak value is larger than a first pixel peak value threshold value, starting an HDR shooting mode.
5. The method of claim 1, further comprising:
acquiring a number threshold frame preview image;
and when the first pixel peak value and the second pixel peak value in the gray level histogram corresponding to each frame of the acquired preview image are both larger than the first pixel peak value threshold value, starting the HDR shooting mode.
6. An HDR mode determination apparatus, the apparatus comprising:
the device comprises a gray level histogram acquisition module, a gray level histogram acquisition module and a display module, wherein the gray level histogram acquisition module is used for acquiring a preview image aiming at a shooting area through a camera and acquiring a gray level histogram corresponding to the preview image, and the gray level histogram comprises a plurality of gray levels and the number of pixels corresponding to each gray level;
the parameter acquisition module is used for acquiring a pixel peak value set in the gray level histogram and acquiring the gray level corresponding to each pixel peak value in the pixel peak value set;
a peak pixel value determining module, configured to determine, based on the gray levels, a first peak pixel value and a second peak pixel value in the peak pixel value set, where the first peak pixel value is located in a first preset gray level range and corresponds to a lowest gray level in the peak pixel value set, and the second peak pixel value is located in a second preset gray level range and corresponds to a highest gray level in the peak pixel value set;
and the HDR shooting mode starting module is used for starting the HDR shooting mode when the first pixel peak value and the second pixel peak value are both larger than a first pixel peak value threshold value.
7. The apparatus of claim 6, wherein the HDR shooting mode enabling module is specifically configured to:
judging whether the gray level corresponding to the second pixel peak value is in a third preset gray level range or not;
and when the gray level corresponding to the second pixel peak value is in a third preset gray level range, and the first pixel peak value is larger than a second pixel peak value threshold value, and the second pixel peak value is larger than a first pixel peak value threshold value, starting the HDR shooting mode.
8. The apparatus of claim 7, wherein the HDR capture mode enabling module is specifically configured to:
when the gray level corresponding to the second pixel peak value is located in a third preset gray level range and the second pixel peak value is larger than a third pixel peak value threshold value, obtaining a third pixel peak value and a corresponding gray level, wherein the third pixel peak value is located in a fourth preset gray level range and corresponds to the next highest gray level in the pixel peak value set; and when the first pixel peak value is larger than a second pixel peak value threshold value and the third pixel peak value is larger than a fourth pixel peak value threshold value, starting an HDR shooting mode.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 5.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 5.
CN201910976206.0A 2019-10-15 2019-10-15 HDR mode determination method, device, storage medium and terminal Active CN110868533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910976206.0A CN110868533B (en) 2019-10-15 2019-10-15 HDR mode determination method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910976206.0A CN110868533B (en) 2019-10-15 2019-10-15 HDR mode determination method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN110868533A true CN110868533A (en) 2020-03-06
CN110868533B CN110868533B (en) 2021-06-18

Family

ID=69652574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910976206.0A Active CN110868533B (en) 2019-10-15 2019-10-15 HDR mode determination method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110868533B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815804A (en) * 2020-06-30 2020-10-23 中国第一汽车股份有限公司 Control method, device, equipment and storage medium
CN112616013A (en) * 2020-12-03 2021-04-06 上海龙旗科技股份有限公司 Method and apparatus for implementing automatic HDR
CN114374798A (en) * 2022-01-10 2022-04-19 Tcl通讯科技(成都)有限公司 Scene recognition method and device, electronic equipment and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582991A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for processing image
CN103905737A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Backlight detection method and device
US20150015726A1 (en) * 2013-07-12 2015-01-15 Canon Kabushiki Kaisha Imaging apparatus, method of controlling imaging apparatus, and program
CN105872351A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for shooting picture in backlight scene
CN105872399A (en) * 2016-04-19 2016-08-17 奇酷互联网络科技(深圳)有限公司 Backlighting detection method and system
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN109510946A (en) * 2017-09-15 2019-03-22 展讯通信(上海)有限公司 HDR scene detection method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582991A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for processing image
CN103905737A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Backlight detection method and device
US20150015726A1 (en) * 2013-07-12 2015-01-15 Canon Kabushiki Kaisha Imaging apparatus, method of controlling imaging apparatus, and program
CN105872351A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for shooting picture in backlight scene
CN105872399A (en) * 2016-04-19 2016-08-17 奇酷互联网络科技(深圳)有限公司 Backlighting detection method and system
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN109510946A (en) * 2017-09-15 2019-03-22 展讯通信(上海)有限公司 HDR scene detection method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815804A (en) * 2020-06-30 2020-10-23 中国第一汽车股份有限公司 Control method, device, equipment and storage medium
CN112616013A (en) * 2020-12-03 2021-04-06 上海龙旗科技股份有限公司 Method and apparatus for implementing automatic HDR
CN112616013B (en) * 2020-12-03 2022-03-04 上海龙旗科技股份有限公司 Method and apparatus for implementing automatic HDR
CN114374798A (en) * 2022-01-10 2022-04-19 Tcl通讯科技(成都)有限公司 Scene recognition method and device, electronic equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN110868533B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US11330194B2 (en) Photographing using night shot mode processing and user interface
JP6427711B1 (en) Electronic device, method and program
CN110868533B (en) HDR mode determination method, device, storage medium and terminal
CN109040524B (en) Artifact eliminating method and device, storage medium and terminal
KR20200017072A (en) Electronic device and method for providing notification relative to image displayed via display and image stored in memory based on image analysis
EP2728853A2 (en) Method and device for controlling a camera
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
US20110090345A1 (en) Digital camera, image processing apparatus, and image processing method
CN105049726A (en) Mobile terminal shooting method and mobile terminal
CN110225237B (en) Image acquisition method and device and mobile terminal
CN110798627B (en) Shooting method, shooting device, storage medium and terminal
CN107690804B (en) Image processing method and user terminal
US9743009B2 (en) Image processing method and image processing device
KR20210053096A (en) Method for providing preview and electronic device using the same
US20140313366A1 (en) Method of processing image and electronic device and system supporting the same
CN112866576A (en) Image preview method, storage medium and display device
US9942483B2 (en) Information processing device and method using display for auxiliary light
CN104580892A (en) Method for terminal to take images
CN108492266B (en) Image processing method, image processing device, storage medium and electronic equipment
US10122937B2 (en) Method and apparatus for processing image obtained by camera
CN104580889A (en) Terminal
CN108495038B (en) Image processing method, image processing device, storage medium and electronic equipment
CN105791689A (en) Image processing method and image processing device
CN110891142A (en) Night scene mode determining method and device, storage medium and terminal
CN117542325A (en) Compensation device, method, equipment and storage medium of display panel

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