CN107463052B - Shooting exposure method and device - Google Patents

Shooting exposure method and device Download PDF

Info

Publication number
CN107463052B
CN107463052B CN201710764410.7A CN201710764410A CN107463052B CN 107463052 B CN107463052 B CN 107463052B CN 201710764410 A CN201710764410 A CN 201710764410A CN 107463052 B CN107463052 B CN 107463052B
Authority
CN
China
Prior art keywords
exposure
mode
short
shooting
long
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
CN201710764410.7A
Other languages
Chinese (zh)
Other versions
CN107463052A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710764410.7A priority Critical patent/CN107463052B/en
Publication of CN107463052A publication Critical patent/CN107463052A/en
Application granted granted Critical
Publication of CN107463052B publication Critical patent/CN107463052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/08Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
    • 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

Abstract

The disclosure relates to a shooting exposure method and a shooting exposure device. The method comprises the following steps: acquiring the brightness characteristic of the current shooting environment according to the detection mode; analyzing based on the brightness characteristics to determine an exposure mode; acquiring a shooting exposure value corresponding to the exposure mode; the shot exposure value is used for shooting exposure. The embodiment of the disclosure acquires the brightness characteristic of the current shooting environment through the detection mode, determines the exposure mode based on the brightness characteristic, acquires the shooting exposure value corresponding to the exposure mode, and performs shooting exposure by using the shooting exposure value, so that the exposure mode corresponding to the brightness characteristic is automatically determined and the corresponding shooting exposure value is acquired under the brightness characteristics of different shooting environments, thereby improving the shooting exposure effect.

Description

Shooting exposure method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a shooting exposure method and apparatus.
Background
In the related art, when people take a picture by a photographing apparatus (for example, a mobile phone with a photographing function), it often occurs that photographing exposure is not appropriate due to environmental factors. For example, when a photographed subject (for example, a dark skin color face) is in a dark environment or when a photographed subject (for example, a light skin color face) is in a bright environment, the recognition degree of the photographed subject by the photographing apparatus is low, and it is easy to occur that in a photographed picture, photographing exposure is inappropriate such as a dark skin color person is darker, a light skin color person is lighter, and the like.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a photographing exposure method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a photographic exposure method including:
acquiring the brightness characteristic of the current shooting environment according to the detection mode;
analyzing based on the brightness characteristics to determine an exposure mode;
acquiring a shooting exposure value corresponding to the exposure mode;
and carrying out shooting exposure according to the shooting exposure value.
For the above method, in one possible implementation, the determining the exposure mode based on the analysis of the brightness feature includes:
determining the exposure mode as a long exposure mode in the case that the brightness characteristic is less than or equal to a first brightness threshold value,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
For the above method, in one possible implementation, acquiring a shot exposure value corresponding to the exposure mode includes:
under the condition that the long exposure mode is multiple long exposure, acquiring an exposure value of multiple long exposure between the minimum exposure value and the maximum exposure value of the object to be shot;
and determining a shooting exposure value corresponding to the long exposure mode based on the exposure value of the multiple long exposures.
For the above method, in one possible implementation, the determining the exposure mode based on the analysis of the brightness feature includes:
determining the exposure mode as a short exposure mode in case the brightness characteristic is greater than or equal to a second brightness threshold,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
For the above method, in one possible implementation, acquiring a shot exposure value corresponding to the exposure mode includes:
under the condition that the short exposure mode is multiple short exposures, acquiring an exposure value of the multiple short exposures between the minimum exposure value and the maximum exposure value of the object to be shot;
and determining a shooting exposure value corresponding to the short exposure mode based on the exposure values of the plurality of times of short exposures.
For the above method, in a possible implementation manner, the acquiring the brightness characteristic of the current shooting environment according to the detection manner includes at least one of the following manners:
acquiring the brightness characteristic of the current shooting environment through a light sensor;
and acquiring the brightness characteristic of the current shooting environment through a camera sensor.
According to a second aspect of the embodiments of the present disclosure, there is provided a photographic exposure apparatus including:
the first acquisition module is used for acquiring the brightness characteristic of the current shooting environment according to the detection mode;
the determining module is used for analyzing based on the brightness characteristics and determining an exposure mode;
the second acquisition module is used for acquiring a shooting exposure value corresponding to the exposure mode;
and the shooting exposure module is used for shooting exposure according to the shooting exposure value.
For the above apparatus, in one possible implementation, the determining module includes:
a first determination sub-module for determining the exposure mode as a long exposure mode if the brightness characteristic is less than or equal to a first brightness threshold,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
For the above apparatus, in a possible implementation manner, the second obtaining module includes:
the first obtaining sub-module is used for obtaining and identifying an exposure value of multiple long exposures between the minimum exposure value and the maximum exposure value of the object to be shot under the condition that the long exposure mode is the multiple long exposures;
and the second determining submodule is used for determining a shooting exposure value corresponding to the long exposure mode based on the exposure value of the multiple long exposures.
For the above apparatus, in one possible implementation, the determining module includes:
a third determining sub-module for determining the exposure mode as a short exposure mode if the brightness characteristic is greater than or equal to the second brightness threshold,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
For the above apparatus, in a possible implementation manner, the second obtaining module includes:
the second acquisition sub-module is used for acquiring an exposure value of multiple short exposures between the minimum exposure value and the maximum exposure value of the object to be shot under the condition that the short exposure mode is multiple short exposures;
and the fourth determining submodule is used for determining a shooting exposure value corresponding to the short exposure mode based on the exposure values of the multiple times of short exposure.
For the above apparatus, in one possible implementation, the first obtaining module includes at least one of the following sub-modules:
the third acquisition submodule is used for acquiring the brightness characteristic of the current shooting environment through the light sensor;
and the fourth acquisition submodule is used for acquiring the brightness characteristic of the current shooting environment through the camera sensor.
According to a third aspect of the embodiments of the present disclosure, there is provided a photographic exposure apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the above method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor, enable the processor to perform the above-described photographic exposure method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the brightness characteristics of the current shooting environment are obtained through the detection mode, the exposure mode is determined based on the brightness characteristics, the shooting exposure value corresponding to the exposure mode is obtained, shooting exposure is carried out through the shooting exposure value, the exposure mode corresponding to the brightness characteristics is automatically determined under the brightness characteristics of different shooting environments, the corresponding shooting exposure value is obtained, and therefore the shooting exposure effect is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment.
Fig. 7 is a schematic diagram illustrating an application scenario of a photographic exposure method according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. As shown in fig. 1, the method is used in a photographing apparatus (e.g., a camera, a mobile phone with a photographing function, etc.). The shooting exposure method according to the embodiment of the disclosure includes:
in step S11, acquiring the brightness characteristics of the current shooting environment according to the detection mode;
in step S12, an exposure mode is determined based on the luminance characteristics;
in step S13, a captured exposure value corresponding to the exposure mode is acquired;
in step S14, a photographic exposure is performed at the photographic exposure value.
According to the embodiment of the disclosure, the brightness characteristic of the current shooting environment is obtained through the detection mode, the exposure mode is determined based on the brightness characteristic, the shooting exposure value corresponding to the exposure mode is obtained, shooting exposure is carried out according to the shooting exposure value, the exposure mode corresponding to the brightness characteristic is automatically determined under the brightness characteristics of different shooting environments, the corresponding shooting exposure value is obtained, and therefore the shooting exposure effect is improved.
For example, when the user opens the shooting device to shoot, the shooting device may obtain the brightness feature of the current shooting environment according to the detection mode.
Fig. 2 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. In one possible implementation, as shown in fig. 2, step S11 may include:
in step S111, the luminance characteristics of the current shooting environment are acquired by the light sensor.
For example, the brightness characteristic of the current shooting environment may be obtained by a detection manner of a light sensor (light sensor), where the light sensor may be used to sense the intensity of light and feed back the light to a shooting device (e.g., a mobile phone with a shooting function) provided with the light sensor, so as to obtain the brightness characteristic of the current shooting environment and feed back the brightness characteristic to the shooting device.
In step S112, the luminance characteristics of the current shooting environment are acquired by the camera sensor.
For example, the brightness characteristic of the current shooting environment may be obtained by a detection manner of a camera sensor (camera sensor), where the camera sensor may be configured to receive light passing through the camera and convert the light signal into an electrical signal, so as to obtain the brightness characteristic of the current shooting environment, and feed the brightness characteristic back to a shooting device (e.g., a mobile phone with a shooting function) provided with the light sensor. For example, when shooting is performed by a mobile phone having a shooting function, the ambient brightness can be detected by a camera sensor disposed in front of the mobile phone.
In this way, the brightness characteristics of the current shooting environment can be accurately acquired. It should be understood by those skilled in the art that the brightness characteristic of the current shooting environment may be obtained by the light sensor or the camera sensor, or may be obtained by both the light sensor and the camera sensor, as long as the brightness characteristic of the current shooting environment can be obtained, which is not limited by the present disclosure.
Fig. 3 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. In one possible implementation, as shown in fig. 3, step S12 may include:
in step S121, in the case where the luminance characteristic is less than or equal to the first luminance threshold value, it is determined that the exposure mode is the long exposure mode,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
For example, when it is acquired that the brightness feature of the current shooting environment is less than or equal to the first brightness threshold (the shooting environment is dark), the exposure mode may be determined to be a long exposure mode, where the long exposure mode may include a single long exposure or multiple long exposures. Thus, the object to be photographed can be recognized more accurately. It will be understood by those skilled in the art that the first brightness threshold may be set as desired, and the present disclosure is not limited thereto.
In one possible implementation, the long exposure mode may be a single long exposure. For example, a long exposure may be performed, the exposure time being extended to the first time, thereby accurately identifying the object to be photographed. It will be understood by those skilled in the art that the length of the first time may be set as needed as long as the object to be photographed can be accurately identified, and the present disclosure does not limit this.
In one possible implementation, in a case where the long Exposure mode is a single long Exposure, an Exposure Value (EV) of the single long Exposure is a shot Exposure Value corresponding to the single long Exposure mode, where the shot Exposure Value is an Exposure Value used to shoot the Exposure. It will be understood by those skilled in the art that the shot exposure value corresponding to a single long exposure may be acquired by a related art, and the present disclosure is not limited thereto.
In one possible implementation, the long exposure mode may be a multiple long exposure. For example, a long exposure greater than one time may be performed. For example, the length of each exposure time may be the second time (multiple long exposures with the same exposure time), but the exposure value changes, and the threshold value of the variation range interval may be: the first exposure value at which the object to be photographed can be identified and the last exposure value at which the object to be photographed can be identified, in this case, a plurality of long exposures may be performed within the variation range section (the number of exposures may be determined by the variation range section). It will be understood by those skilled in the art that the length of the second time can be set as desired, and the present disclosure is not limited thereto.
Fig. 4 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. In one possible implementation, as shown in fig. 4, step S13 may include:
in step S131, in the case where the long exposure manner is a multiple long exposure, an exposure value of the multiple long exposure between the minimum exposure value and the maximum exposure value at which the object to be photographed is identified is acquired.
For example, when the determined exposure mode is a long exposure mode and is a multiple long exposure, an exposure value of the multiple long exposure between the minimum exposure value and the maximum exposure value at which the object to be photographed can be identified may be acquired. For example, when a dark skin color face is photographed in a dark environment, a plurality of long exposures may be performed. Meanwhile, the exposure value of multiple long exposures between the minimum exposure value and the maximum exposure value of the face with the dark skin color can be acquired, wherein the exposure times can be determined according to the minimum exposure value and the maximum exposure.
It will be understood by those skilled in the art that the exposure value of the multiple long exposures between the minimum exposure value and the maximum exposure value of the object to be photographed can be obtained by the related art, and the exposure value changing manner can be sequentially long-exposed from the absolute value minimum to the absolute value maximum, and can also be sequentially long-exposed from the absolute value maximum to the absolute value minimum, which is not limited by the present disclosure.
In step S132, a photographic exposure value corresponding to the long exposure mode is determined based on the exposure value of the plurality of long exposures.
For example, a shot exposure value corresponding to a multiple long exposure manner may be determined from an exposure value of a multiple long exposure, wherein the shot exposure value is an exposure value used for shooting.
In one possible implementation, the photographing exposure value may be determined based on a minimum exposure value and a maximum exposure value at which the object to be photographed is identified. For example, when the minimum exposure value of the object to be photographed is identified as X, and the maximum exposure value of the object to be photographed is identified as Y, the following formula may be used: l (X + Y)/2| to determine a shot exposure value corresponding to the multiple long exposure mode.
In this way, a shot exposure value corresponding to the multiple long exposure mode can be acquired. It will be understood by those skilled in the art that the shot exposure value corresponding to the multiple long exposure mode can be determined in various ways known in the art, and the present disclosure is not limited thereto.
Fig. 5 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. In one possible implementation manner, as shown in fig. 5, step S12 may further include:
in step S122, in the case where the brightness feature is greater than or equal to the second brightness threshold, it is determined that the exposure mode is the short exposure mode,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
For example, when it is acquired that the brightness characteristic of the current shooting environment is greater than or equal to the second brightness threshold (the shooting environment is brighter), it may be determined that the exposure mode is a short exposure mode, where the short exposure mode may include a single short exposure or multiple short exposures. Thus, the object to be photographed can be recognized more accurately. It will be understood by those skilled in the art that the second brightness threshold may be set as desired, and the present disclosure is not limited thereto.
In one possible implementation, the short exposure mode may be a single short exposure. For example, a short exposure may be performed once, and the exposure time is shortened to a third time, thereby accurately identifying the object to be photographed. It will be understood by those skilled in the art that the length of the third time can be set as desired, and the present disclosure is not limited thereto.
In one possible implementation, in the case that the short exposure mode is a single short exposure, the exposure value of the single short exposure is a shot exposure value corresponding to the single short exposure mode, wherein the shot exposure value is an exposure value used for shooting. It will be understood by those skilled in the art that the shot exposure value corresponding to a single short exposure can be acquired by the related art, and the present disclosure is not limited thereto.
In one possible implementation, the short exposure mode may be multiple short exposures. For example, a short exposure greater than one time may be performed. For example, the length of each exposure time may be the fourth time (the same time for each exposure time for multiple short exposures), but the exposure value may be changed, and the threshold value of the variation range interval may be: the first exposure value at which the object to be photographed can be identified and the last exposure value at which the object to be photographed can be identified, in this case, a plurality of short exposures may be performed within the variation range section (the number of exposures may be determined by the variation range section). Those skilled in the art will appreciate that the length of the fourth time can be set as desired, and the present disclosure is not limited thereto.
Fig. 6 is a flowchart illustrating a photographic exposure method according to an exemplary embodiment. In one possible implementation, as shown in fig. 6, step S13 may include:
in step S133, in the case where the short exposure manner is multiple short exposures, an exposure value of the multiple short exposures between the minimum exposure value and the maximum exposure value at which the object to be photographed is identified is acquired.
For example, when the determined exposure mode is a short exposure mode and is a multiple short exposure mode, an exposure value of the multiple short exposure between the minimum exposure value and the maximum exposure value at which the object to be photographed can be identified may be acquired. For example, when a human face with a light skin color is photographed in a bright environment, short exposure may be performed a plurality of times. Meanwhile, the exposure value of multiple short exposures between the minimum exposure value and the maximum exposure value of the face with the light skin color can be acquired, wherein the exposure times can be determined according to the minimum exposure value and the maximum exposure.
It will be understood by those skilled in the art that the exposure value of the multiple short exposures between the minimum exposure value and the maximum exposure value of the object to be photographed can be obtained by the related art, and the exposure value change manner may be sequentially short-exposed from the absolute value minimum to the absolute value maximum, or sequentially short-exposed from the absolute value maximum to the absolute value minimum, which is not limited by the present disclosure.
In step S134, a shot exposure value corresponding to the short exposure mode is determined based on the exposure values of the plurality of short exposures.
For example, a shot exposure value corresponding to a multiple short exposure manner may be determined from an exposure value of the multiple short exposures, where the shot exposure value is an exposure value used for shooting.
In one possible implementation, the photographing exposure value may be determined based on a minimum exposure value and a maximum exposure value at which the object to be photographed is identified. For example, when the minimum exposure value of the object to be photographed is identified as M, and the maximum exposure value of the object to be photographed is identified as N, the following formula may be used: l (M + N)/2| to determine a shot exposure value corresponding to the multiple short exposure mode.
In this way, a shot exposure value corresponding to the multiple short exposure mode can be acquired. It will be understood by those skilled in the art that the shot exposure value corresponding to the multiple short exposure mode can be determined in various ways known in the art, and the present disclosure is not limited thereto.
Application example
An application example according to the embodiment of the present disclosure is given below in conjunction with "a user takes a picture through a mobile phone" as an exemplary application scenario to facilitate understanding of a flow of a shooting exposure method. It should be understood by those skilled in the art that the following application examples are only for the purpose of facilitating understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
Fig. 7 is a schematic diagram illustrating an application scenario of a photographic exposure method according to an exemplary embodiment. As shown in fig. 7, in this application example, the user takes a photograph through a cell phone.
In this application example, a user may issue a photo taking request to a mobile phone with a photo taking function, and the mobile phone starts a camera after responding to the photo taking request (step 701).
In this application example, the mobile phone may obtain the brightness characteristic of the current shooting environment through the light sensor or the front camera sensor of the mobile phone, and also through the light sensor and the front camera sensor of the mobile phone at the same time (step 702).
In this application example, when the luminance characteristic of the current shooting environment is acquired to be less than or equal to the first luminance threshold (for example, a darker luminance characteristic), the exposure mode is determined to be a long exposure mode (step 703), for example, a multiple long exposure mode. In this application example, exposure values for multiple long exposures between a minimum exposure value and a maximum exposure value identifying an object to be photographed (e.g., a dark skin face) may be obtained (step 704). For example, an exposure value of a plurality of long exposures between the minimum exposure value P and the maximum exposure value Q may be acquired, wherein the number of exposures is determined by the range of the minimum exposure value P and the maximum exposure value Q.
In this application example, a shot exposure value corresponding to the multiple long exposure manner may be determined based on the acquired exposure value of the multiple long exposure, wherein the shot exposure value is an exposure value used to shoot exposure. In this application example, the photographing exposure value may be determined according to the formula | (P + Q)/2| (step 705).
In this application example, a shot exposure may be performed on a subject to be shot (e.g., a dark skin-colored human face) with the obtained shot exposure value (step 708).
In this application example, when it is acquired that the brightness feature of the current shooting environment is greater than or equal to the second brightness threshold (e.g., a brighter brightness feature), it is determined that the exposure mode is the short exposure mode (step 706), for example, the single short exposure mode. In this application example, a single short exposure may be performed, and the exposure time is shortened to a fourth time (which may be set as the case may be). In this application example, a shooting exposure value corresponding to a single short exposure is acquired, for example, an exposure value at which an object to be shot (a face of a light skin color) can be recognized is acquired as a shooting exposure value corresponding to a single short exposure (step 707).
In this application example, a photographic exposure may be performed on an object to be photographed (e.g., a human face with a light skin color) with the acquired photographic exposure value (step 708).
According to the embodiment of the disclosure, the brightness characteristic of the current shooting environment is obtained through the detection mode, the exposure mode is determined based on the brightness characteristic, the shooting exposure value corresponding to the exposure mode is obtained, and shooting exposure is carried out by the shooting exposure value, so that the exposure mode corresponding to the brightness characteristic is automatically determined under the brightness characteristics of different shooting environments, the corresponding shooting exposure value is obtained, and the shooting effect is improved.
Fig. 8 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment. Referring to fig. 8, the apparatus includes a first acquisition module 91, a determination module 92, a second acquisition module 93, and a shot exposure module 94.
The first obtaining module 91 is configured to obtain the brightness characteristic of the current shooting environment according to a detection mode;
the determining module 92 is configured to analyze based on the brightness characteristics and determine an exposure mode;
the second acquiring module 93 configured to acquire a shot exposure value corresponding to the exposure mode;
the photographing exposure module 94 is configured to perform photographing exposure with the photographing exposure value.
Fig. 9 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment. Referring to fig. 9, in one possible implementation, the determining module 92 includes:
a first determining sub-module 921 configured to determine the exposure mode as a long exposure mode in a case where the brightness feature is less than or equal to a first brightness threshold value,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
Referring to fig. 9, in a possible implementation manner, the second obtaining module 93 includes:
a first obtaining sub-module 931 configured to obtain, in a case where the long exposure manner is a multiple long exposure, an exposure value of the multiple long exposure between a minimum exposure value and a maximum exposure value at which an object to be photographed is identified;
a second determination sub-module 932 configured to determine a photographing exposure value corresponding to the long exposure manner based on the exposure value of the plurality of long exposures.
Referring to fig. 9, in one possible implementation, the first obtaining module 91 includes at least one of the following sub-modules:
a third obtaining sub-module 911 configured to obtain the brightness characteristics of the current shooting environment through the light sensor;
a fourth obtaining sub-module 912 configured to obtain the brightness characteristics of the current shooting environment through the camera sensor.
Fig. 10 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment. Referring to fig. 10, in one possible implementation, the determining module 92 includes:
a third determining sub-module 922 configured to determine the exposure mode as a short exposure mode if the brightness characteristic is greater than or equal to the second brightness threshold,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
Referring to fig. 10, in a possible implementation manner, the second obtaining module 93 includes:
a second obtaining sub-module 933 configured to obtain, in a case where the short exposure manner is multiple short exposures, an exposure value of the multiple short exposures between a minimum exposure value and a maximum exposure value at which an object to be photographed is identified;
a fourth determination sub-module 934 configured to determine a shot exposure value corresponding to the short exposure manner based on the exposure values of the plurality of short exposures.
Referring to fig. 10, in one possible implementation, the first obtaining module 91 includes at least one of the following sub-modules:
a third obtaining sub-module 911 configured to obtain the brightness characteristics of the current shooting environment through the light sensor;
a fourth obtaining sub-module 912 configured to obtain the brightness characteristics of the current shooting environment through the camera sensor.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating a photographic exposure apparatus according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A photographic exposure method characterized by comprising:
acquiring the brightness characteristic of the current shooting environment according to the detection mode;
analyzing based on the brightness characteristics, and determining an exposure mode, wherein the exposure mode comprises exposure times and shooting exposure values corresponding to the exposure times;
acquiring at least one shooting exposure value corresponding to the exposure mode;
taking a photographic exposure at the at least one photographic exposure value,
wherein the exposure mode comprises a long exposure mode or a short exposure mode, the long exposure mode comprises single long exposure or multiple long exposures, the short exposure mode comprises single short exposure or multiple short exposures,
acquiring a shooting exposure value corresponding to the exposure mode, comprising:
under the condition that the long exposure mode is multiple long exposure, acquiring an exposure value of multiple long exposure between a minimum exposure value and a maximum exposure value of an object to be shot, wherein the exposure value of the multiple long exposure is an absolute value of an average value of the maximum exposure value and the minimum exposure value;
determining a shot exposure value corresponding to the long exposure mode based on the exposure value of the plurality of long exposures,
taking a photographic exposure with the at least one photographic exposure value, comprising:
when the exposure mode is the single long exposure, shooting exposure is carried out according to a shooting exposure value corresponding to the single long exposure; or
And when the exposure mode is the single short exposure, shooting exposure is carried out according to a shooting exposure value corresponding to the single short exposure.
2. The method of claim 1, wherein analyzing based on the intensity feature to determine an exposure mode comprises:
determining the exposure mode as a long exposure mode in the case that the brightness characteristic is less than or equal to a first brightness threshold value,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
3. The method of claim 1, wherein analyzing based on the intensity feature to determine an exposure mode comprises:
determining the exposure mode as a short exposure mode in case the brightness characteristic is greater than or equal to a second brightness threshold,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
4. The method according to claim 3, wherein acquiring the shot exposure value corresponding to the exposure mode comprises:
under the condition that the short exposure mode is multiple short exposures, acquiring an exposure value of the multiple short exposures between the minimum exposure value and the maximum exposure value of the object to be shot;
and determining a shooting exposure value corresponding to the short exposure mode based on the exposure values of the plurality of times of short exposures.
5. The method according to claim 1, wherein the obtaining of the brightness characteristic of the current shooting environment according to the detection mode comprises at least one of the following modes:
acquiring the brightness characteristic of the current shooting environment through a light sensor;
and acquiring the brightness characteristic of the current shooting environment through a camera sensor.
6. A photographic exposure apparatus characterized by comprising:
the first acquisition module is used for acquiring the brightness characteristic of the current shooting environment according to the detection mode;
the determining module is used for analyzing based on the brightness characteristics and determining an exposure mode, wherein the exposure mode comprises exposure times and shooting exposure values corresponding to the exposure times;
the second acquisition module is used for acquiring at least one shooting exposure value corresponding to the exposure mode;
a shooting exposure module for performing shooting exposure with the at least one shooting exposure value,
wherein the exposure mode comprises a long exposure mode or a short exposure mode, the long exposure mode comprises single long exposure or multiple long exposures, the short exposure mode comprises single short exposure or multiple short exposures,
taking a photographic exposure with the at least one photographic exposure value, comprising:
when the exposure mode is the single long exposure, shooting exposure is carried out according to a shooting exposure value corresponding to the single long exposure; or
Performing a shot exposure with a shot exposure value corresponding to the single short exposure when the exposure manner is the single short exposure,
the second acquisition module includes:
the first obtaining sub-module is used for obtaining an exposure value of multiple long exposures between a minimum exposure value and a maximum exposure value of an object to be shot under the condition that the long exposure mode is the multiple long exposures, and the exposure value of the multiple long exposures is an absolute value of an average value of the maximum exposure value and the minimum exposure value;
and the second determining submodule is used for determining a shooting exposure value corresponding to the long exposure mode based on the exposure value of the multiple long exposures.
7. The apparatus of claim 6, wherein the determining module comprises:
a first determination sub-module for determining the exposure mode as a long exposure mode if the brightness characteristic is less than or equal to a first brightness threshold,
wherein the long exposure mode comprises single long exposure or multiple long exposures.
8. The apparatus of claim 6, wherein the determining module comprises:
a third determining sub-module for determining the exposure mode as a short exposure mode if the brightness characteristic is greater than or equal to the second brightness threshold,
wherein, the short exposure mode comprises single short exposure or multiple short exposures.
9. The apparatus of claim 8, wherein the second obtaining module comprises:
the second acquisition sub-module is used for acquiring an exposure value of multiple short exposures between the minimum exposure value and the maximum exposure value of the object to be shot under the condition that the short exposure mode is multiple short exposures;
and the fourth determining submodule is used for determining a shooting exposure value corresponding to the short exposure mode based on the exposure values of the multiple times of short exposure.
10. The apparatus of claim 8, wherein the first obtaining module comprises at least one of the following sub-modules:
the third acquisition submodule is used for acquiring the brightness characteristic of the current shooting environment through the light sensor;
and the fourth acquisition submodule is used for acquiring the brightness characteristic of the current shooting environment through the camera sensor.
11. A photographic exposure apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor, enable the processor to perform the method of any one of claims 1-5.
CN201710764410.7A 2017-08-30 2017-08-30 Shooting exposure method and device Active CN107463052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710764410.7A CN107463052B (en) 2017-08-30 2017-08-30 Shooting exposure method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710764410.7A CN107463052B (en) 2017-08-30 2017-08-30 Shooting exposure method and device

Publications (2)

Publication Number Publication Date
CN107463052A CN107463052A (en) 2017-12-12
CN107463052B true CN107463052B (en) 2020-08-11

Family

ID=60550792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710764410.7A Active CN107463052B (en) 2017-08-30 2017-08-30 Shooting exposure method and device

Country Status (1)

Country Link
CN (1) CN107463052B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629329B (en) * 2018-05-17 2021-04-23 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN109118447B (en) * 2018-08-01 2021-04-23 Oppo广东移动通信有限公司 Picture processing method, picture processing device and terminal equipment
CN108683862B (en) 2018-08-13 2020-01-10 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic equipment and computer-readable storage medium
CN109005346B (en) * 2018-08-13 2020-04-03 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer-readable storage medium
CN108965731A (en) * 2018-08-22 2018-12-07 Oppo广东移动通信有限公司 A kind of half-light image processing method and device, terminal, storage medium
US10785419B2 (en) * 2019-01-25 2020-09-22 Pixart Imaging Inc. Light sensor chip, image processing device and operating method thereof
CN111277754B (en) * 2020-02-11 2022-08-23 北京小米移动软件有限公司 Mobile terminal shooting method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960446A (en) * 2005-11-04 2007-05-09 索尼株式会社 Image-pickup device, image-pickup method, and program
CN101621630A (en) * 2008-07-03 2010-01-06 鸿富锦精密工业(深圳)有限公司 Automatic switching system and method of image sensing modes
CN102369723A (en) * 2011-08-29 2012-03-07 华为终端有限公司 Auto exposure method and device, and imaging device
CN104580905A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Photographing method and terminal
CN105847706A (en) * 2016-04-07 2016-08-10 广东欧珀移动通信有限公司 Method and device for dynamically adjusting exposure
CN106303272A (en) * 2016-07-29 2017-01-04 广东欧珀移动通信有限公司 Control method and control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262330B (en) * 2010-05-25 2016-05-11 北京中星微电子有限公司 The method of automatic exposure and device
CN104917973B (en) * 2014-03-11 2019-03-05 宏碁股份有限公司 Dynamic exposure method of adjustment and its electronic device
CN104853112B (en) * 2015-05-06 2018-01-09 青岛海信移动通信技术股份有限公司 A kind of method and device for controlling the long time for exposure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960446A (en) * 2005-11-04 2007-05-09 索尼株式会社 Image-pickup device, image-pickup method, and program
CN101621630A (en) * 2008-07-03 2010-01-06 鸿富锦精密工业(深圳)有限公司 Automatic switching system and method of image sensing modes
CN102369723A (en) * 2011-08-29 2012-03-07 华为终端有限公司 Auto exposure method and device, and imaging device
CN104580905A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Photographing method and terminal
CN105847706A (en) * 2016-04-07 2016-08-10 广东欧珀移动通信有限公司 Method and device for dynamically adjusting exposure
CN106303272A (en) * 2016-07-29 2017-01-04 广东欧珀移动通信有限公司 Control method and control device

Also Published As

Publication number Publication date
CN107463052A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107463052B (en) Shooting exposure method and device
WO2021017561A1 (en) Face recognition method and apparatus, electronic device, and storage medium
CN106408603B (en) Shooting method and device
EP3179711A2 (en) Method and apparatus for preventing photograph from being shielded
CN108462833B (en) Photographing method, photographing device and computer-readable storage medium
CN110569822A (en) image processing method and device, electronic equipment and storage medium
EP3113071A1 (en) Method and device for acquiring iris image
CN110796988A (en) Backlight adjusting method and device
CN107015648B (en) Picture processing method and device
CN107480785B (en) Convolutional neural network training method and device
CN108040204B (en) Image shooting method and device based on multiple cameras and storage medium
CN111385456A (en) Photographing preview method and device and storage medium
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
CN112033527B (en) Ambient brightness detection method, device, equipment and storage medium
CN111586280B (en) Shooting method, shooting device, terminal and readable storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN106775246B (en) Screen brightness adjusting method and device
CN112669231B (en) Image processing method, training method, device and medium of image processing model
CN112702514B (en) Image acquisition method, device, equipment and storage medium
CN111277754B (en) Mobile terminal shooting method and device
CN108108668B (en) Age prediction method and device based on image
CN107707819B (en) Image shooting method, device and storage medium
CN112752010B (en) Shooting method, device and medium
CN111866373B (en) Method, device and medium for displaying shooting preview image
CN109862252B (en) Image shooting method and device

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