CN107360378B - Exposure control method, mobile terminal and computer storage medium - Google Patents

Exposure control method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN107360378B
CN107360378B CN201710607911.4A CN201710607911A CN107360378B CN 107360378 B CN107360378 B CN 107360378B CN 201710607911 A CN201710607911 A CN 201710607911A CN 107360378 B CN107360378 B CN 107360378B
Authority
CN
China
Prior art keywords
exposure
preview image
pixel point
parameter
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710607911.4A
Other languages
Chinese (zh)
Other versions
CN107360378A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710607911.4A priority Critical patent/CN107360378B/en
Publication of CN107360378A publication Critical patent/CN107360378A/en
Application granted granted Critical
Publication of CN107360378B publication Critical patent/CN107360378B/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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

Abstract

The embodiment of the invention discloses an exposure control method, a mobile terminal and a computer storage medium. The mobile terminal includes: a camera configured to capture a preview image; a memory configured to store an exposure control program; a processor configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed. According to the technical scheme of the embodiment of the invention, the image acquisition precision is improved, the operation experience of a user is improved, and particularly, the image with a better effect can be obtained under the condition that a shooting scene is extremely bright and dark simultaneously.

Description

Exposure control method, mobile terminal and computer storage medium
Technical Field
The present invention relates to an exposure technology, and in particular, to an exposure control method, a mobile terminal, and a computer storage medium.
Background
Most of the existing image sensors of many mobile terminals (e.g., mobile phones) adopt a line exposure mode or a global exposure mode. Regardless of the progressive exposure mode or the interlaced exposure mode, usually, after one line is exposed, another line is exposed, and only after all the lines are exposed, a frame image can be output. The exposure mode is not suitable for shooting scenes with moving scenes, and in a short time, if the shot scenes move and certain dislocation occurs in the line exposure process, the output pictures are blurred; on the other hand, this exposure method is not suitable for both the case of extremely bright and extremely dark. The global exposure mode is to output a frame of image by one-time exposure control (i.e. all pixels are exposed at the same time) under the control of a global shutter. This exposure method cannot simultaneously achieve both the case of extremely bright and extremely dark.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an exposure control method, a mobile terminal, and a computer storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
an embodiment of the present invention provides a mobile terminal, including:
a camera configured to capture a preview image;
a memory configured to store an exposure control program;
a processor configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
In the foregoing aspect, the processor is configured to execute the exposure control program to perform the following operations: and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
In the foregoing solution, the processor is further configured to execute the exposure control program to perform the following operations: before determining the exposure parameter of each pixel point in the preview image based on the display parameter, judging whether the preview image meets a preset condition based on the display parameter of the preview image; and when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode.
In the foregoing aspect, the processor is configured to execute the exposure control program to perform the following operations: and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
In the foregoing aspect, the processor is configured to execute the exposure control program to perform the following operations: judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold; and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
The embodiment of the invention also provides an exposure control method, which is applied to the mobile terminal; the method comprises the following steps:
detecting an acquired preview image, and identifying display parameters of the preview image;
determining exposure parameters of each pixel point in the preview image based on the display parameters;
and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
In the foregoing solution, the determining an exposure parameter of each pixel point in the preview image based on the display parameter includes:
and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
In the foregoing solution, before determining the exposure parameter of each pixel point in the preview image based on the display parameter, the method further includes:
judging whether the preview image meets a preset condition or not based on the display parameters of the preview image;
and when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode.
In the foregoing solution, the determining an exposure parameter of each pixel point in the preview image based on the display parameter includes:
and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
In the foregoing solution, the determining whether the preview image meets a preset condition based on the display parameter of the preview image includes:
judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold;
and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
An embodiment of the present invention further provides a computer-readable storage medium, on which an exposure control program is stored, and the exposure control program, when executed by a processor, implements the steps of the exposure control method according to the embodiment of the present invention.
The exposure control method, the mobile terminal and the computer storage medium provided by the embodiment of the invention, the mobile terminal comprises: a camera configured to capture a preview image; a memory configured to store an exposure control program; a processor configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed. By adopting the technical scheme of the embodiment of the invention, the independent exposure control of each pixel point is realized by determining the exposure parameter of each pixel point, the image shooting effect is greatly improved, the image acquisition precision is improved, the operation experience of a user is improved, particularly, the image with better effect can be obtained under the condition that a shooting scene is extremely bright and extremely dark, and on the other hand, the image acquisition scene is enriched.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a block diagram of the electrical structure of the camera of FIG. 1;
FIG. 4 is a flowchart illustrating an exposure control method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating an exposure control method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a PDA (Personal Digital Assistant), a PMP (Portable Media Player), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a GPU (Graphics Processing Unit) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Referring to fig. 3, fig. 3 is a block diagram of an electrical structure of the camera of fig. 2.
The photographing lens 1211 is composed of a plurality of optical lenses for forming an object image, and is a single focus lens or a zoom lens. The photographing lens 1211 is movable in the optical axis direction under the control of the lens driver 1221, and the lens driver 1221 controls the focal position of the photographing lens 1211 in accordance with a control signal from the lens driving control circuit 1222. The lens drive control circuit 1222 performs drive control of the lens driver 1221 in accordance with a control command from the microcomputer 1217.
An image pickup device 1212 is disposed on the optical axis of the photographing lens 1211 near the position of the object image formed by the photographing lens 1211. The image pickup device 1212 is used to pick up an image of an object and acquire picked-up image data. Photodiodes constituting each pixel are two-dimensionally arranged in a matrix on the image pickup device 1212. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, and the photoelectric conversion current is charged by a capacitor connected to each photodiode. The front surface of each pixel is provided with a bayer RGB color filter, and the image pickup element 1212 is a photosensitive element such as a CMOS image sensor and a CCD image sensor.
The image pickup device 1212 is connected to an image pickup circuit 1213, and the image pickup circuit 1213 performs charge accumulation control and image signal reading control in the image pickup device 1212, performs waveform shaping after reducing reset noise for the read image signal (analog image signal), and further performs gain improvement or the like so as to obtain an appropriate signal level.
The imaging circuit 1213 is connected to an a/D converter 1214, and the a/D converter 1214 performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
The bus 1227 is a transfer path for transferring various data read out or generated inside the camera. The a/D converter 1214 described above is connected to the bus 1227, and further connected to an image processor 1215, a JPEG processor 1216, a microcomputer 1217, an SDRAM (Synchronous Dynamic random access memory) 1218, a memory interface (hereinafter referred to as memory I/F)1219, and an LCD (Liquid Crystal Display) driver 1220.
The image processor 1215 performs various image processing such as OB subtraction processing, white balance adjustment, color matrix operation, gamma conversion, color difference signal processing, noise removal processing, synchronization processing, and edge processing on image data output from the image pickup device 1212. The JPEG processor 1216 compresses the image data read out from the SDRAM1218 in a JPEG compression method when recording the image data in the recording medium 1225. The JPEG processor 1216 decompresses JPEG image data for image reproduction display. When decompression is performed, a file recorded in the recording medium 1225 is read out, decompression processing is performed in the JPEG processor 1216, and the decompressed image data is temporarily stored in the SDRAM1218 and displayed on the LCD 1226. In the present embodiment, the JPEG system is used as the image compression/decompression system, but the compression/decompression system is not limited to this, and other compression/decompression systems such as MPEG, TIFF, and h.264 may be used.
The microcomputer 1217 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera. The microcomputer 1217 is connected to an operation unit 1223 and a flash memory 1224.
The operation unit 1223 includes, but is not limited to, physical keys or virtual keys, which may be various input buttons such as a power button, a photographing key, an editing key, a moving image button, a reproduction button, a menu button, a cross key, an OK button, a delete button, and an enlargement button, and various operation controls such as various input keys, and detects operation states of these operation controls.
The detection result is output to the microcomputer 1217. A touch panel is provided on the front surface of the LCD1226 as a display, and a touch position of the user is detected and output to the microcomputer 1217. The microcomputer 1217 executes various processing sequences corresponding to the user's operation according to the detection result of the operation position from the operation unit 1223.
The flash memory 1224 stores programs for executing various processing sequences of the microcomputer 1217. The microcomputer 1217 controls the entire camera according to the program. The flash memory 1224 stores various adjustment values of the camera, and the microcomputer 1217 reads the adjustment values and controls the camera in accordance with the adjustment values.
The SDRAM1218 is an electrically rewritable volatile memory for temporarily storing image data and the like. The SDRAM1218 temporarily stores the image data output from the a/D converter 1214 and the image data processed by the image processor 1215, JPEG processor 1216, and the like.
The memory interface 1219 is connected to the recording medium 1225, and performs control for writing and reading image data and data such as a file header added to the image data to and from the recording medium 1225. The recording medium 1225 is, for example, a recording medium such as a memory card that can be attached to and detached from the camera body, but is not limited to this, and may be a hard disk or the like that is built in the camera body.
The LCD driver 1210 is connected to the LCD1226, and stores the image data processed by the image processor 1215 in the SDRAM1218, and when display is required, reads the image data stored in the SDRAM1218 and displays the image data on the LCD1226, or the image data compressed by the JPEG processor 1216 is stored in the SDRAM1218, and when display is required, the JPEG processor 1216 reads the compressed image data in the SDRAM1218, decompresses the data, and displays the decompressed image data through the LCD 1226.
The LCD1226 is disposed on the back surface of the camera body and displays an image. LCD1226LCD), however, various display panels (LCD1226) such as organic EL may be used, but not limited thereto, and various display panels such as organic EL may be used.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the present invention are proposed.
Example one
The embodiment of the invention provides an exposure control method. FIG. 4 is a flowchart illustrating an exposure control method according to an embodiment of the present invention; as shown in fig. 4, the method includes:
step 301: and detecting the acquired preview image, and identifying the display parameters of the preview image.
Step 302: and determining the exposure parameter of each pixel point in the preview image based on the display parameter.
Step 303: and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
The exposure control method of the embodiment is applied to a mobile terminal, where the mobile terminal includes a camera, and the camera includes, but is not limited to, a CCD (Charge-coupled Device) image sensing unit or a CMOS (Complementary Metal-Oxide Semiconductor) image sensing unit. The mobile terminal can be a mobile phone, a tablet personal computer, intelligent glasses and other portable intelligent terminals. The camera of the mobile terminal can be understood as a camera element shown in fig. 3.
In this embodiment, the detecting the acquired preview image and identifying the display parameters of the preview image specifically include: and detecting a preview image acquired by the camera, and identifying display parameters of the preview image. The display parameters can represent the brightness of an image acquisition area corresponding to the camera. The display parameters include, but are not limited to, at least one of the following: brightness, contrast, etc.
In this embodiment, as an implementation manner, the determining, based on the display parameter, an exposure parameter of each pixel point in the preview image includes: and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
Specifically, in this embodiment, the exposure parameter of the corresponding pixel point is adjusted based on the brightness of each pixel point in the preview image, specifically, the exposure time of the corresponding pixel point is adjusted. In a specific implementation process, as an implementation manner, a mapping table may be preconfigured in the mobile terminal, where the mapping table includes mapping relationships between multiple sets of display parameter ranges and corresponding exposure times; and after the display parameter of each pixel point is obtained, the exposure time corresponding to the display parameter of each pixel point is obtained by searching the mapping table. As another embodiment, a calculation model (which may be a calculation formula) may also be configured in advance in the mobile terminal, and after the display parameter of each pixel is obtained, the exposure time corresponding to the display parameter of each pixel is obtained through calculation of the calculation model.
In this embodiment, as another implementation manner, the determining, based on the display parameter, an exposure parameter of each pixel point in the preview image includes: determining a first area with display parameters higher than a first preset threshold value in the preview image and/or determining a second area with display parameters lower than a second preset threshold value in the preview image based on the display parameters of each pixel point in the preview image; the first preset threshold is higher than the second preset threshold; determining the exposure time of each pixel point in the first region based on the display parameter of each pixel point in the first region, and/or determining the exposure time of each pixel point in the second region based on the display parameter of each pixel point in the second region.
In particular, the exposure control method of the embodiment of the invention is just suitable for the shooting scene with both extreme light and extreme dark, and based on the situation, in the embodiment, the ultra-bright area (i.e. the first area) and/or the ultra-dark area (the second area) in the preview image is determined based on the display parameters of each pixel point in the preview image, the exposure time of each pixel point in the extremely bright area (i.e. the first area) and/or the extremely dark area (second area) is controlled in particular, namely, the exposure time of each pixel point in the extremely bright area (i.e. the first area) is determined based on the display parameter of each pixel point in the extremely bright area (i.e. the first area), and/or determining the exposure time of each pixel point in the extremely dark region (second region) based on the display parameter of each pixel point in the extremely dark region (second region). As an implementation manner, for other regions except the first region, or other regions except the second region, or other regions except the first region and the second region in the preview image, the exposure time of each pixel point in the other regions may be determined based on the display parameter of the corresponding pixel point; as another embodiment, a uniform exposure time may also be set, and the exposure time of each pixel point in the other region is controlled to be the uniform exposure time.
In this embodiment, when the image capture instruction is detected, it can be understood that, in combination with the schematic structural diagram of the camera shown in fig. 3, the image capture instruction is determined to be detected when the operation unit 1223 detects an input operation for the photographing key. And further, executing the image acquisition instruction, controlling the exposure of the corresponding pixel points based on the exposure parameter of each pixel point, and outputting image data after the exposure of each pixel point is finished.
In general, the exposure process refers to light entering an image sensing unit through a camera of the mobile terminal, converting an optical signal into an electrical signal through an optoelectronic device (e.g., a photodiode), and obtaining a digital signal through conversion of an analog-digital signal. For mobile terminals such as mobile phones and tablet computers, the conversion process is realized from the image sensing unit in a line scanning mode or a global exposure mode because a physical shutter does not exist, and information of each frame of image is converted into a digital signal. In practical application, as an implementation manner, the exposure control scheme of this embodiment can realize control of the exposure parameter of each pixel point by adding a controllable material coating film to a single pixel point by point. For example, the light incident side surface of the image sensing unit is coated with a programmable material; dividing each pixel point in a preview area corresponding to the camera, adding a programmable control coating material to each pixel point by point, and realizing that each pixel point receives light or shields the light through the control of current parameters corresponding to each pixel point, thereby realizing the independent control of the exposure time of each pixel point. Of course, the control of the exposure parameter of each pixel point in this embodiment is not limited to the above embodiment. Further, after exposure of each pixel point in the preview image is completed according to the corresponding exposure time, complete image data is output.
By adopting the technical scheme of the embodiment of the invention, the independent exposure control of each pixel point is realized by determining the exposure parameter of each pixel point, the image shooting effect is greatly improved, the image acquisition precision is improved, the operation experience of a user is improved, particularly, the image with better effect can be obtained under the condition that a shooting scene is extremely bright and extremely dark, and on the other hand, the image acquisition scene is enriched.
Example two
The embodiment of the invention also provides an exposure control method. FIG. 5 is a schematic flow chart illustrating an exposure control method according to an embodiment of the present invention; as shown in fig. 5, the method includes:
step 401: and detecting the acquired preview image, and identifying the display parameters of the preview image.
Step 402: and judging whether the preview image meets a preset condition or not based on the display parameters of the preview image, and controlling the mobile terminal to be in a point pixel exposure mode when the preview image meets the preset condition.
Step 403: and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
Step 404: and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
The exposure control method of the embodiment is applied to a mobile terminal, wherein the mobile terminal comprises a camera, and the camera comprises but is not limited to a CCD image sensing unit or a CMOS image sensing unit. The mobile terminal can be a mobile phone, a tablet personal computer, intelligent glasses and other portable intelligent terminals. The image sensing unit of the mobile terminal may be understood as an image pickup element shown in fig. 3.
In this embodiment, the detecting the acquired preview image and identifying the display parameters of the preview image specifically include: and detecting a preview image acquired by the camera, and identifying display parameters of the preview image. The display parameters can represent the brightness of an image acquisition area corresponding to the camera. The display parameters include, but are not limited to, at least one of the following: brightness, contrast, etc.
In this embodiment, before determining the exposure time of each point pixel by using a point pixel exposure mode, it is first determined whether the mobile terminal is currently in the point pixel exposure mode, and when the mobile terminal is in the point pixel exposure mode, step 403 and step 404 are further performed; accordingly, when the dot pixel exposure mode is not used, the exposure can be performed according to any existing exposure mode.
As an embodiment, the determining whether the preview image meets a preset condition based on the display parameter of the preview image includes: judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold; and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
Specifically, in order to adapt to a shooting scenario in which an extreme light and an extreme dark exist simultaneously, in this embodiment, a light area (i.e., the first area) and/or a dark area (i.e., the second area) in the preview image is determined based on a display parameter of each pixel point in the preview image, and whether the display parameter of the first area is greater than a first threshold and whether the display parameter of the second area is greater than a second threshold is determined, that is, whether the light area (i.e., the first area) and/or the dark area (i.e., the second area) in the preview image meet a criterion for starting a dot pixel exposure mode is determined; when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, that is, the brightness of the first area and/or the second area reaches a standard for starting a dot pixel exposure mode, switching to the dot pixel exposure mode, wherein in the dot pixel exposure mode, the exposure time of each pixel point in a bright area (that is, the first area) and/or a dark area (the second area) is controlled.
In this embodiment, when the image capture instruction is detected, it can be understood that, in combination with the schematic structural diagram of the camera shown in fig. 3, the image capture instruction is determined to be detected when the operation unit 1223 detects an input operation for the photographing key. And further, executing the image acquisition instruction, controlling the exposure of the corresponding pixel points based on the exposure parameter of each pixel point, and outputting image data after the exposure of each pixel point is finished.
In general, the exposure process refers to light entering an image sensing unit through a lens of a mobile terminal, converting an optical signal into an electrical signal through an optoelectronic device (e.g., a photodiode), and obtaining a digital signal through conversion of an analog-digital signal. For mobile terminals such as mobile phones and tablet computers, the conversion process is realized from the image sensing unit in a line scanning mode or a global exposure mode because a physical shutter does not exist, and information of each frame of image is converted into a digital signal. In practical application, as an implementation manner, the exposure control scheme of this embodiment can realize control of the exposure parameter of each pixel point by adding a controllable material coating film to a single pixel point by point. For example, the light incident side surface of the image sensing unit is coated with a programmable material; dividing each pixel point in a preview area corresponding to the camera, adding a programmable control coating material to each pixel point by point, and realizing that each pixel point receives light or shields the light through the control of current parameters corresponding to each pixel point, thereby realizing the independent control of the exposure time of each pixel point. Of course, the control of the exposure parameter of each pixel point in this embodiment is not limited to the above embodiment. Further, after exposure of each pixel point in the preview image is completed according to the corresponding exposure time, complete image data is output.
By adopting the technical scheme of the embodiment of the invention, the independent exposure control of each pixel point is realized by determining the exposure parameter of each pixel point, the image shooting effect is greatly improved, the image acquisition precision is improved, the operation experience of a user is improved, particularly, the image with better effect can be obtained under the condition that a shooting scene is extremely bright and extremely dark, and on the other hand, the image acquisition scene is enriched.
EXAMPLE III
The embodiment of the invention also provides the mobile terminal. Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention; as shown in fig. 6, the mobile terminal includes: a camera 51 configured to capture a preview image;
a memory 53 configured to store an exposure control program;
a processor 52 configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
In this embodiment, the camera 51 includes but is not limited to a CCD image sensing unit or a CMOS image sensing unit. The mobile terminal can be a mobile phone, a tablet personal computer, intelligent glasses and other portable intelligent terminals. The image sensing unit of the mobile terminal may be understood as an image pickup element shown in fig. 3.
In this embodiment, the display parameter can represent the brightness of the image acquisition area corresponding to the camera 51. The display parameters include, but are not limited to, at least one of the following: brightness, contrast, etc.
In this embodiment, as an implementation manner, the processor 52 is configured to execute the exposure control program to perform the following operations: and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
Specifically, the processor 52 adjusts the exposure parameter of the corresponding pixel point based on the brightness of each pixel point in the preview image, specifically, adjusts the exposure time of the corresponding pixel point. In a specific implementation process, as an implementation manner, the processor 52 may configure a mapping table in advance, where the mapping table includes mapping relationships between multiple sets of display parameter ranges and corresponding exposure times; the processor 52 obtains the exposure time corresponding to the display parameter of each pixel point by looking up the mapping table after obtaining the display parameter of each pixel point. As another embodiment, the processor 52 may also be configured with a calculation model (the calculation model may be a calculation formula) in advance, and after the processor 52 obtains the display parameter of each pixel, the exposure time corresponding to the display parameter of each pixel is obtained through calculation of the calculation model.
In particular, the exposure control method of the embodiment of the invention is just suitable for the shooting scene with both extreme light and extreme dark, and based on the situation, in this embodiment, the processor 52 determines an extremely bright region (i.e. the first region) and/or an extremely dark region (the second region) in the preview image based on the display parameters of each pixel point in the preview image, the exposure time of each pixel point in the extremely bright area (i.e. the first area) and/or the extremely dark area (second area) is controlled in particular, namely, the exposure time of each pixel point in the extremely bright area (i.e. the first area) is determined based on the display parameter of each pixel point in the extremely bright area (i.e. the first area), and/or determining the exposure time of each pixel point in the extremely dark region (second region) based on the display parameter of each pixel point in the extremely dark region (second region). For another region of the preview image other than the first region, or other regions other than the second region, or other regions other than the first region and the second region, as an embodiment, the processor 52 may determine the exposure time of each pixel point in the other regions based on the display parameter of the corresponding pixel point; as another embodiment, the processor 52 may also set a uniform exposure time, and control the exposure time of each pixel point in the other region to be the uniform exposure time.
In this embodiment, the processor 52 detects the image capturing instruction, and in combination with the schematic structural diagram of the camera shown in fig. 3, it can be understood that the processor 52 can be implemented by the operation unit 1223. When an input operation for the photographing key is detected through the operation unit 1223, it is determined that an image capturing instruction is detected. Further, the processor 52 executes the image capturing instruction, controls exposure of the corresponding pixel point based on the exposure parameter of each pixel point, and outputs image data after the exposure of each pixel point is completed.
In general, the exposure process refers to light entering an image sensing unit through a camera of the mobile terminal, converting an optical signal into an electrical signal through an optoelectronic device (e.g., a photodiode), and obtaining a digital signal through conversion of an analog-digital signal. For mobile terminals such as mobile phones and tablet computers, the conversion process is realized from the image sensing unit in a line scanning mode or a global exposure mode because a physical shutter does not exist, and information of each frame of image is converted into a digital signal. In practical applications, as an implementation manner, the processor 52 may control the exposure parameter of each pixel point by adding a controllable material coating to each pixel point by point. For example, the light incident side surface of the image sensing unit is coated with a programmable material; each pixel point in the preview area corresponding to the camera 51 is divided, a programmable coating material is added to each pixel point by point, and the light received by or shielded by each pixel point is realized through the control of the current parameter corresponding to each pixel point, so that the independent control of the exposure time of each pixel point is realized. Of course, the control of the exposure parameter of each pixel point in this embodiment is not limited to the above embodiment. Further, after each pixel in the preview image is exposed according to the corresponding exposure time, the processor 52 outputs complete image data.
Example four
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 6, where the mobile terminal includes:
a camera 51 configured to capture a preview image;
a memory 53 configured to store an exposure control program;
a processor 52 configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; judging whether the preview image meets a preset condition or not based on the display parameters of the preview image; when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode; when the mobile terminal is in a point pixel exposure mode, determining an exposure parameter of each pixel point in the preview image based on the display parameter; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
In this embodiment, the camera 51 includes but is not limited to a CCD image sensing unit or a CMOS image sensing unit. The mobile terminal can be a mobile phone, a tablet personal computer, intelligent glasses and other portable intelligent terminals. The image sensing unit of the mobile terminal may be understood as an image pickup element shown in fig. 3.
In this embodiment, the display parameter can represent the brightness of the image acquisition area corresponding to the camera 51. The display parameters include, but are not limited to, at least one of the following: brightness, contrast, etc.
In this embodiment, the processor 52 is configured to execute the exposure control program to perform the following operations: judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold; and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
Specifically, in order to adapt to a shooting scenario in which an extreme light and an extreme dark exist simultaneously, in this embodiment, the processor 52 determines a light region (i.e., the first region) and/or a dark region (the second region) in the preview image based on the display parameter of each pixel point in the preview image, determines whether the display parameter of the first region is greater than a first threshold, and determines whether the display parameter of the second region is greater than a second threshold, that is, determines whether the light region (i.e., the first region) and/or the dark region (the second region) in the preview image meet a criterion for starting a dot pixel exposure mode; when the display parameter of the first region in the preview image is greater than a first threshold and the display parameter of the second region in the preview image is less than a second threshold, that is, the brightness of the first region and/or the second region reaches a criterion for starting a dot pixel exposure mode, the processor 52 controls to switch to the dot pixel exposure mode in which the exposure time of each pixel point in a bright region (i.e., the first region) and/or a dark region (the second region) is specifically controlled.
In this embodiment, the processor 52 detects the image capturing instruction, and in combination with the schematic structural diagram of the camera shown in fig. 3, it can be understood that the processor 52 can be implemented by the operation unit 1223. When an input operation for the photographing key is detected through the operation unit 1223, it is determined that an image capturing instruction is detected. Further, the processor 52 executes the image capturing instruction, controls exposure of the corresponding pixel point based on the exposure parameter of each pixel point, and outputs image data after the exposure of each pixel point is completed.
In general, the exposure process refers to light entering an image sensing unit through a camera of the mobile terminal, converting an optical signal into an electrical signal through an optoelectronic device (e.g., a photodiode), and obtaining a digital signal through conversion of an analog-digital signal. For mobile terminals such as mobile phones and tablet computers, the conversion process is realized from the image sensing unit in a line scanning mode or a global exposure mode because a physical shutter does not exist, and information of each frame of image is converted into a digital signal. In practical applications, as an implementation manner, the processor 52 may control the exposure parameter of each pixel point by adding a controllable material coating to each pixel point by point. For example, the light incident side surface of the image sensing unit is coated with a programmable material; each pixel point in the preview area corresponding to the camera 51 is divided, a programmable coating material is added to each pixel point by point, and the light received by or shielded by each pixel point is realized through the control of the current parameter corresponding to each pixel point, so that the independent control of the exposure time of each pixel point is realized. Of course, the control of the exposure parameter of each pixel point in this embodiment is not limited to the above embodiment. Further, after each pixel in the preview image is exposed according to the corresponding exposure time, the control unit 52 outputs complete image data.
In this embodiment, the memory 53 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous link Dynamic Random Access Memory (SLDRAM, Synchronous Dynamic Random Access Memory), Direct Memory (DRmb Access Memory, Random Access Memory). The memory 53 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
Processor 52 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 52. The Processor 52 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 52 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 53 and the processor 52 reads the information in the memory 53 and in combination with its hardware performs the steps of the method described above.
It should be noted that: in the above embodiment, when performing exposure control, the mobile terminal is only illustrated by dividing the program modules, and in practical applications, the processing allocation may be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the mobile terminal and the exposure control method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in the method embodiments, which is not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs: detecting an acquired preview image, and identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; and when an image acquisition instruction is detected, controlling exposure of the corresponding pixel points based on the exposure parameters of each pixel point, and outputting image data after the exposure of each pixel point is completed.
As an embodiment, the computer program, when executed by the processor, performs: and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
As an embodiment, the computer program, when executed by the processor, performs: judging whether the preview image meets a preset condition or not based on the display parameters of the preview image; when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode; and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
Specifically, when executed by the processor, the computer program performs: judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold; and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A mobile terminal, characterized in that the mobile terminal comprises:
a camera configured to capture a preview image;
a memory configured to store an exposure control program;
a processor configured to execute the exposure control program to perform the following operations: identifying display parameters of the preview image; determining exposure parameters of each pixel point in the preview image based on the display parameters; when an image acquisition instruction is detected, controlling exposure of corresponding pixel points based on the exposure parameter of each pixel point, and outputting image data after exposure of each pixel point is completed;
wherein, the controlling the exposure of the corresponding pixel point based on the exposure parameter of each pixel point comprises:
the programmable control coating material is added to each pixel point by point, the current parameter corresponding to each pixel point is controlled to realize that each pixel point receives light or shields the light, the exposure parameter of each pixel point is adjusted, and the exposure of the corresponding pixel point is controlled based on the adjusted exposure parameter.
2. The mobile terminal of claim 1, wherein the processor is configured to execute the exposure control program to: and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
3. The mobile terminal of claim 1, wherein the processor is further configured to execute the exposure control program to: before determining the exposure parameter of each pixel point in the preview image based on the display parameter, judging whether the preview image meets a preset condition based on the display parameter of the preview image; and when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode.
4. The mobile terminal of claim 3, wherein the processor is configured to execute the exposure control program to: and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
5. The mobile terminal of claim 3, wherein the processor is configured to execute the exposure control program to: judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold; and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
6. An exposure control method is applied to a mobile terminal; characterized in that the method comprises:
detecting an acquired preview image, and identifying display parameters of the preview image;
determining exposure parameters of each pixel point in the preview image based on the display parameters;
when an image acquisition instruction is detected, controlling exposure of corresponding pixel points based on the exposure parameter of each pixel point, and outputting image data after exposure of each pixel point is completed;
wherein, the controlling the exposure of the corresponding pixel point based on the exposure parameter of each pixel point comprises:
the programmable control coating material is added to each pixel point by point, the current parameter corresponding to each pixel point is controlled to realize that each pixel point receives light or shields the light, the exposure parameter of each pixel point is adjusted, and the exposure of the corresponding pixel point is controlled based on the adjusted exposure parameter.
7. The method of claim 6, wherein the determining an exposure parameter for each pixel point in the preview image based on the display parameter comprises:
and determining the exposure time of each pixel point in the preview image based on the display parameter of each pixel point in the preview image.
8. The method of claim 6, wherein prior to determining the exposure parameter for each pixel point in the preview image based on the display parameter, the method further comprises:
judging whether the preview image meets a preset condition or not based on the display parameters of the preview image;
and when the preview image meets a preset condition, controlling the mobile terminal to be in a point pixel exposure mode.
9. The method of claim 8, wherein the determining an exposure parameter for each pixel point in the preview image based on the display parameter comprises:
and when the mobile terminal is in a point pixel exposure mode, determining the exposure parameter of each pixel point in the preview image based on the display parameter.
10. The method according to claim 8, wherein the determining whether the preview image satisfies a preset condition based on the display parameter of the preview image comprises:
judging whether the display parameter of a first area in the preview image is larger than a first threshold value and whether the display parameter of a second area in the preview image is smaller than a second threshold value or not based on the display parameter of the preview image; the first region is different from the second region; the first threshold is greater than the second threshold;
and when the display parameter of the first area in the preview image is larger than a first threshold value and the display parameter of the second area in the preview image is smaller than a second threshold value, judging that the preview image meets a preset condition.
11. A computer-readable storage medium on which an exposure control program is stored, characterized in that the exposure control program realizes the steps of the exposure control method according to any one of claims 6 to 10 when executed by a processor.
CN201710607911.4A 2017-07-24 2017-07-24 Exposure control method, mobile terminal and computer storage medium Active CN107360378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710607911.4A CN107360378B (en) 2017-07-24 2017-07-24 Exposure control method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710607911.4A CN107360378B (en) 2017-07-24 2017-07-24 Exposure control method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN107360378A CN107360378A (en) 2017-11-17
CN107360378B true CN107360378B (en) 2020-01-07

Family

ID=60285027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710607911.4A Active CN107360378B (en) 2017-07-24 2017-07-24 Exposure control method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN107360378B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113228621B (en) * 2018-12-29 2022-06-21 浙江大华技术股份有限公司 Imaging control method, system and non-transitory computer readable medium
CN113657427B (en) * 2021-06-29 2024-01-23 东风汽车集团股份有限公司 In-vehicle multi-source image fusion recognition method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN104427254A (en) * 2013-09-10 2015-03-18 联想(北京)有限公司 Light sensing control method and light sensing control device
CN105163039A (en) * 2015-09-18 2015-12-16 联想(北京)有限公司 Control method and control device
CN105407294A (en) * 2015-10-27 2016-03-16 努比亚技术有限公司 Image exposure method and mobile terminal
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427254A (en) * 2013-09-10 2015-03-18 联想(北京)有限公司 Light sensing control method and light sensing control device
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN105163039A (en) * 2015-09-18 2015-12-16 联想(北京)有限公司 Control method and control device
CN105407294A (en) * 2015-10-27 2016-03-16 努比亚技术有限公司 Image exposure method and mobile terminal
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Also Published As

Publication number Publication date
CN107360378A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN108848294B (en) Shooting parameter adjusting method, terminal and computer readable storage medium
CN107820014B (en) Shooting method, mobile terminal and computer storage medium
CN107959795B (en) Information acquisition method, information acquisition equipment and computer readable storage medium
CN108156393B (en) Image photographing method, mobile terminal and computer-readable storage medium
CN107948530B (en) Image processing method, terminal and computer readable storage medium
CN107465881B (en) Dual-camera focusing method, mobile terminal and computer readable storage medium
CN107633475B (en) Picture processing method, terminal and computer readable storage medium
CN109639996B (en) High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN107040723B (en) Imaging method based on double cameras, mobile terminal and storage medium
CN107566734B (en) Intelligent control method, terminal and computer readable storage medium for portrait photographing
CN111885307B (en) Depth-of-field shooting method and device and computer readable storage medium
CN113179374A (en) Image processing method, mobile terminal and storage medium
CN108900779B (en) Initial automatic exposure convergence method, mobile terminal and computer-readable storage medium
CN111447371A (en) Automatic exposure control method, terminal and computer readable storage medium
CN107896304B (en) Image shooting method and device and computer readable storage medium
CN112511741A (en) Image processing method, mobile terminal and computer storage medium
CN112135053A (en) Image processing method, mobile terminal and computer readable storage medium
CN108156392B (en) Shooting method, terminal and computer readable storage medium
CN112135060B (en) Focusing processing method, mobile terminal and computer storage medium
CN107360378B (en) Exposure control method, mobile terminal and computer storage medium
CN109510941B (en) Shooting processing method and device and computer readable storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN115002347B (en) Image processing method, intelligent terminal and storage medium
CN114143471B (en) Image processing method, system, mobile terminal and computer readable storage medium
CN107205130B (en) Video recording method based on double cameras, terminal and computer readable medium

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