CN108900778A - A kind of image pickup method, mobile terminal and computer readable storage medium - Google Patents
A kind of image pickup method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108900778A CN108900778A CN201810682208.4A CN201810682208A CN108900778A CN 108900778 A CN108900778 A CN 108900778A CN 201810682208 A CN201810682208 A CN 201810682208A CN 108900778 A CN108900778 A CN 108900778A
- Authority
- CN
- China
- Prior art keywords
- image
- photo
- mobile terminal
- exposure time
- target object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of image pickup method, the method includes:It controls the camera of the mobile terminal and the first photo is shot with the first exposure time;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure time is greater than first exposure time;The image for intercepting target object in first photo is the first image, and intercepting the image in second photo in addition to the target object is the second image, and the target object is intense light source main body;The first image and second image are synthesized, Target Photo is obtained.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.In this way, image pickup method provided by the invention is shot using the different time for exposure, the photo then obtained to shooting synthesizes after intercepting, and obtains intense light source part and background parts all clearly pictures, promotes intense light source shooting effect.
Description
Technical field
The present invention relates to image taking technology field more particularly to a kind of image pickup methods, mobile terminal and computer-readable
Storage medium.
Background technique
With the continuous development of electronic technology, mobile terminal (such as smart phone, tablet computer etc.) gives people's lives
And work brings very big convenience, at the necessity for people's lives and in work.Mobile terminal usually has camera shooting at present
Head, shooting the drop in photo or videograph life by camera becomes a main trend.
In the case where shooting environmental is the environment compared with intense light source, such as the case where shooting solar eclipse, due to intense light source and back
The brightness difference of scape is larger, if the time for exposure is longer, the background in photo shot is more normal, and intense light source then can mistake
It exposes;On the contrary, light source parts of images in the photo shot is normal, and background then can be darker if the time for exposure is shorter.
As it can be seen that in the prior art, how under intense light source photographic light sources and all more visible image of background, become and urgently solve
Certainly the problem of.
Summary of the invention
In view of this, the present invention proposes a kind of image pickup method, mobile terminal and computer readable storage medium, on solving
State technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of image pickup method, it is applied to mobile terminal, the method packet
It includes:
It controls the camera of the mobile terminal and the first photo is shot with the first exposure time;
It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure
Duration is greater than first exposure time;
The image for intercepting target object in first photo is the first image, intercepts and removes the mesh in second photo
Marking the image except object is the second image, and the target object is intense light source main body;
The first image and second image are synthesized, Target Photo is obtained.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, the method also includes:
Identify that the intense light source main body in first photo and second photo is target object using preset algorithm.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, the method also includes:
Receive the circle selection operation that user executes on first photo and second photo;
Based on the circle selection operation, determine that the image enclosed in favored area on first photo and second photo is mesh
Mark the image of object.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, the method also includes:
The image for identifying that brightness value is greater than in the region of the first predetermined luminance value in first photo is target object
Image;
The image for identifying that brightness value is greater than in the region of the second predetermined luminance value in second photo is target object
Image, wherein first predetermined luminance value is less than second predetermined luminance value.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
The method of stating further includes:
When the camera of the mobile terminal is in the open state, judge whether the mobile terminal meets default item
Part;
The camera of the control mobile terminal shoots the first photo with the first exposure time, including:
If the mobile terminal meets the preset condition, the camera of the mobile terminal is controlled with the first exposure time
Shoot the first photo.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the mobile terminal is in default screening-mode;
If the mobile terminal is in the default screening-mode, determine that the mobile terminal meets the preset condition.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the maximum brightness value of the camera acquired image of the mobile terminal is greater than third predetermined luminance
Value;
If the maximum brightness value of the camera acquired image of the mobile terminal is greater than the third predetermined luminance value,
Determine that the mobile terminal meets the preset condition.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
The method of stating further includes:
Obtain the maximum brightness value of the camera acquired image of the mobile terminal;
The first exposure time is determined according to the maximum brightness value of the camera acquired image, wherein different is bright
Angle value corresponds to different exposure times.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage
Device, at least one processor and at least one journey that is stored on the memory and can be executed at least one described processor
Sequence, at least one described program realize the step in method described in any of the above embodiments when being executed by least one described processor
Suddenly.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer
When so that the computer is executed the step in the above method.
Compared to the prior art, image pickup method proposed by the invention controls the camera of the mobile terminal and exposes with first
The first photo of light time long shooting;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein institute
The second exposure time is stated greater than first exposure time;The image for intercepting target object in first photo is the first figure
Picture, intercepting the image in second photo in addition to the target object is the second image, and the target object is intense light source
Main body;The first image and second image are synthesized, Target Photo is obtained.In this way, image pickup method provided by the invention makes
Shot with the different time for exposure, synthesized after then being intercepted to the obtained photo of shooting, obtain intense light source part and
Background parts all clearly pictures, promote intense light source shooting effect.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of image pickup method provided in an embodiment of the present invention;
Fig. 4 is a kind of user interface schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another user interface schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another user interface schematic diagram provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of another image pickup method provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of another image pickup method provided in an embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Moving terminal 100 may include:RF (Radio Frequency, 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, the components such as memory 109, processor 110 and power supply 111, the number of the processor 110 are at least one.Ability
Field technique personnel are appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, and mobile terminal can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and by least one element that the input received is transferred in mobile terminal 100 or can use
In transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned 100 hardware configuration of mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
It is a kind of step flow chart of image pickup method provided in an embodiment of the present invention, the method application refering to Fig. 3, Fig. 3
In a mobile terminal, as shown in figure 3, the method includes:
Step 301 controls the camera of the mobile terminal with the first exposure time the first photo of shooting.
In the step, the method controls the camera of the mobile terminal and shoots the first photo with the first exposure time.
In some embodiments of the invention, whether the camera that the method can detecte the mobile terminal is in the open state, if institute
The camera for stating mobile terminal is in the open state, and the method judges whether the mobile terminal meets preset condition, if institute
It states mobile terminal and meets the preset condition, the method is controlled the camera of the mobile terminal and shot with the first exposure time
First photo.
First exposure time is the exposure time less than the camera under normal photographing, and specifically, described first exposes
Light time length can be the exposure time of the pre-set default of the method, be also possible to user according to specific shooting situation setting
Exposure time, can also be the method according to shooting environmental determine exposure time.Specifically, when the described first exposure
When the exposure time that a length of user is arranged according to specific shooting situation, user can input according to the brightness case of subject
First exposure time.When the method determines exposure time according to shooting environmental, the method is available described mobile whole
The luminance information of the camera acquired image at end, then determines corresponding exposure according to the maximum brightness value of acquired image
Light time a length of first exposure time, wherein different brightness values corresponds to different exposure times.
In the embodiment of the present invention, the preset condition can be in default screening-mode for the mobile terminal, specifically,
The method judges whether the mobile terminal meets the mode of preset condition can be to judge whether the mobile terminal is in
Default screening-mode, if the mobile terminal is in the default screening-mode, the method determines that the mobile terminal meets
The preset condition.Whether the preset condition is also possible in the camera acquired image of the mobile terminal include strong
Light source body, it can be the maximum brightness value of the camera acquired image of the mobile terminal greater than third predetermined luminance
Value, specifically, the method judge the mobile terminal whether meet preset condition mode can for judge it is described movement end
Whether the maximum brightness value of the camera acquired image at end is greater than third predetermined luminance value, if the camera shooting of the mobile terminal
The maximum brightness value of head acquired image is greater than the third predetermined luminance value, and the method determines taking the photograph for the mobile terminal
As, including intense light source main body, the method further determines that the mobile terminal meets the default item in head acquired image
Part.
In some embodiments of the invention, the method can be in opening state in the camera for detecting the mobile terminal
When state, user interface is provided for user and selects screening-mode, such as user interface as shown in Figure 4 is provided, user can basis
The common screening-mode of Object Selection or intense light source screening-mode with shooting.Further, the method can also be described
Mobile terminal provides user interface as shown in Figure 5, inputs the first exposure time for user.
Step 302 controls the camera of the mobile terminal with the second exposure time the second photo of shooting, wherein described
Second exposure time is greater than first exposure time.
In the step, the method controls the camera of the mobile terminal and shoots the second photo with the second exposure time,
Wherein, second exposure time is greater than first exposure time.Second exposure time can be normal photographing mode
Under the camera exposure time, the exposure time of the camera under normal photographing mode can also be greater than, the present invention is real
Example is applied to be not specifically limited in this embodiment.It should be noted that the method can first carry out step 301, step is then executed again
302, step 302 can also be first carried out, then executes step 301 again, that is to say, that the embodiment of the present invention is to step 301 and step
Rapid 302 execution sequencing is not specifically limited.
The image of target object is the first image in step 303, interception first photo, is intercepted in second photo
Image in addition to the target object is the second image, and the target object is intense light source main body.
In the step, the method intercepts the image of target object in first photo for the first image, described in interception
Image in second photo in addition to the target object is the second image, and the target object is intense light source main body.Specifically,
The method can first identify the target object in first photo and second photo, then further be cut
It takes.
The method, which identifies that the mode of first photo and the target object in second photo is specifically as follows, to be made
It identifies that the intense light source main body in first photo and second photo is target object with preset algorithm, can be used for example
AE algorithm identifies the intense light source main body in first photo and second photo, described using in AE algorithm identification photo
Intense light source main body belongs to prior art scope, and details are not described herein again.The method can also operate determination according to the user's choice
Target object in first photo and second photo, for example, user can be in first photos and described
Circle selects target object respectively in second photo, and the method receives the circle selection operation of user, and according to circle selection operation determination
Target object in first photo and second photo.
In other embodiments of the present invention, the method can also be known by brightness determines first photo otherwise
With the target object in second photo, specifically, the method can identify in first photo that brightness value is greater than the
Image in the region of one predetermined luminance value is the image of target object, identifies that it is pre- to be greater than second for brightness value in second photo
If the image in the region of brightness value is the image of target object, wherein it is pre- that first predetermined luminance value is less than described second
If brightness value.
Step 304, synthesis the first image and second image, obtain Target Photo.
In the step, the method synthesizes the first image and second image, obtains target image, specifically,
It can be by the first image and second figure that the method, which synthesizes the first image and the mode of second image,
As being combined splicing, target image is obtained.It is understood that the first image is camera under the first exposure time
The intense light source image of shooting, the intense light source image that the as described camera is shot under compared with short exposure duration, can effectively prevent
Intense light source overexposure.Second image is the background image that camera is shot under the second exposure time, the as described camera
The background image shot under normal exposure duration can effectively prevent background image excessively dark.
In the present embodiment, the image pickup method controls the camera of the mobile terminal with the first exposure time shooting first
Photo;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure time
Greater than first exposure time;The image for intercepting target object in first photo is the first image, interception described second
Image in photo in addition to the target object is the second image, and the target object is intense light source main body;Synthesize described
One image and second image, obtain Target Photo.In this way, image pickup method provided by the invention uses the different time for exposure
It is shot, the photo then obtained to shooting synthesizes after intercepting, and obtains intense light source part and background parts all clearly
Picture promotes intense light source shooting effect.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, the method also includes:
Identify that the intense light source main body in first photo and second photo is target object using preset algorithm.
In the step, the method identifies the intense light source in first photo and second photo using preset algorithm
Main body is target object, and AE algorithm can be used for example and identify intense light source master in first photo and second photo
Body.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, the method also includes:
Receive the circle selection operation that user executes on first photo and second photo;
Based on the circle selection operation, determine that the image enclosed in favored area on first photo and second photo is mesh
Mark the image of object.
In the step, the method determines the target in first photo and the second photo according to the circle selection operation of user
Object.In some embodiments of the invention, the method can provide user interface as shown in FIG. 6 in the mobile terminal, use
Target object is selected in prompt user's circle.User can carry out circle choosing on first photo and second photo respectively.Phase
Ying Di, the method receive the circle selection operation that user executes on first photo and second photo, are then based on institute
Circle selection operation is stated, determines that the image enclosed in favored area on first photo and second photo is the image of target object.
It is the flow diagram of another image pickup method provided in an embodiment of the present invention referring to Fig. 7, Fig. 7, as shown in fig. 7,
The method includes:
Step 701 controls the camera of the mobile terminal with the first exposure time the first photo of shooting.
In the step, the method controls the camera of the mobile terminal and shoots the first photo with the first exposure time.
In some embodiments of the invention, whether the camera that the method can detecte the mobile terminal is in the open state, if institute
The camera for stating mobile terminal is in the open state, and the method judges whether the mobile terminal meets preset condition, if institute
It states mobile terminal and meets the preset condition, the method is controlled the camera of the mobile terminal and shot with the first exposure time
First photo.
First exposure time is the exposure time less than the camera under normal photographing, and specifically, described first exposes
Light time length can be the exposure time of the pre-set default of the method, be also possible to user according to specific shooting situation setting
Exposure time, can also be the method according to shooting environmental determine exposure time.Specifically, when the described first exposure
When the exposure time that a length of user is arranged according to specific shooting situation, user can input according to the brightness case of subject
First exposure time.When the method determines exposure time according to shooting environmental, the method is available described mobile whole
The luminance information of the camera acquired image at end, then determines corresponding exposure according to the maximum brightness value of acquired image
Light time a length of first exposure time, wherein different brightness values corresponds to different exposure times.
In the embodiment of the present invention, the preset condition can be in default screening-mode for the mobile terminal, specifically,
The method judges whether the mobile terminal meets the mode of preset condition can be to judge whether the mobile terminal is in
Default screening-mode, if the mobile terminal is in the default screening-mode, the method determines that the mobile terminal meets
The preset condition.Whether the preset condition is also possible in the camera acquired image of the mobile terminal include strong
Light source body, it can be the maximum brightness value of the camera acquired image of the mobile terminal greater than third predetermined luminance
Value, specifically, the method judge the mobile terminal whether meet preset condition mode can for judge it is described movement end
Whether the maximum brightness value of the camera acquired image at end is greater than third predetermined luminance value, if the camera shooting of the mobile terminal
The maximum brightness value of head acquired image is greater than the third predetermined luminance value, and the method determines taking the photograph for the mobile terminal
As, including intense light source main body, the method further determines that the mobile terminal meets the default item in head acquired image
Part.
In some embodiments of the invention, the method can be in opening state in the camera for detecting the mobile terminal
When state, user interface is provided for user and selects screening-mode, such as user interface as shown in Figure 4 is provided, user can basis
The common screening-mode of Object Selection or intense light source screening-mode with shooting.Further, the method can also be described
Mobile terminal provides user interface as shown in Figure 5, inputs the first exposure time for user.
Step 702 controls the camera of the mobile terminal with the second exposure time the second photo of shooting, wherein described
Second exposure time is greater than first exposure time.
In the step, the method controls the camera of the mobile terminal and shoots the second photo with the second exposure time,
Wherein, second exposure time is greater than first exposure time.Second exposure time can be normal photographing mode
Under the camera exposure time, the exposure time of the camera under normal photographing mode can also be greater than, the present invention is real
Example is applied to be not specifically limited in this embodiment.It should be noted that the method can first carry out step 701, step is then executed again
702, step 702 can also be first carried out, then executes step 701 again, that is to say, that the embodiment of the present invention is to step 701 and step
Rapid 702 execution sequencing is not specifically limited.
It is mesh that brightness value, which is greater than the image in the region of the first predetermined luminance value, in step 704, identification first photo
Mark the image of object.
It is mesh that brightness value, which is greater than the image in the region of the second predetermined luminance value, in step 705, identification second photo
Mark the image of object, wherein first predetermined luminance value is less than second predetermined luminance value.
In other embodiments of the present invention, the method determines first photo and described by brightness knowledge otherwise
Target object in second photo, specifically, the method can identify that it is default to be greater than first for brightness value in first photo
Image in the region of brightness value is the image of target object, identifies that brightness value is greater than the second predetermined luminance in second photo
Image in the region of value is the image of target object, wherein first predetermined luminance value is less than second predetermined luminance
Value.
It is understood that since the brightness of the photo obtained with different exposure times shooting Same Scene is not identical, i.e.,
With the brightness of image for the first photo that the first exposure time photographic subjects object obtains, and with the second exposure time photographic subjects pair
As the brightness of image of the second obtained photo is not identical.First exposure time is less than the second exposure time, image in the first photo
Average brightness value lower than the average brightness value of image in second photo, therefore, the method can be with different default
Brightness value is the image that standard identifies the target object in different photos.Specifically, for shot with the first exposure time
One photo, the method identify that brightness value shines greater than image in the region of the first predetermined luminance value for first in first photo
The image of target object in piece, for the second photo that the second exposure time to be greater than the first exposure time is shot, the side
It is target object in the second photo that method, which identifies that brightness value in second photo is greater than image in the region of the second predetermined luminance value,
Image, wherein the second predetermined luminance value be greater than first predetermined luminance value.
The image of target object is the first image in step 705, interception first photo, is intercepted in second photo
Image in addition to the target object is the second image, and the target object is intense light source main body.
In the step, the method intercepts the image of target object in first photo for the first image, described in interception
Image in second photo in addition to the target object is the second image, and the target object is intense light source main body.
Step 706, synthesis the first image and second image, obtain Target Photo.
In the step, the method synthesizes the first image and second image, obtains target image, specifically,
It can be by the first image and second figure that the method, which synthesizes the first image and the mode of second image,
As being combined splicing, target image is obtained.It is understood that the first image is camera under the first exposure time
The intense light source image of shooting, the intense light source image that the as described camera is shot under compared with short exposure duration, can effectively prevent
Intense light source overexposure.Second image is the background image that camera is shot under the second exposure time, the as described camera
The background image shot under normal exposure duration can effectively prevent background image excessively dark.
In the present embodiment, the image pickup method controls the camera of the mobile terminal with the first exposure time shooting first
Photo;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure time
Greater than first exposure time;Identify that brightness value is greater than the image in the region of the first predetermined luminance value in first photo
For the image of target object;The image for identifying that brightness value is greater than in the region of the second predetermined luminance value in second photo is mesh
Mark the image of object, wherein first predetermined luminance value is less than second predetermined luminance value;It intercepts in first photo
The image of target object is the first image, and intercepting the image in second photo in addition to the target object is the second figure
Picture, the target object are intense light source main body;The first image and second image are synthesized, Target Photo is obtained.In this way,
Image pickup method provided by the invention is shot using the different time for exposure, after the photo then obtained to shooting intercepts
Synthesis obtains intense light source part and background parts all clearly pictures, promotes intense light source shooting effect.
It is the flow diagram of another image pickup method provided in an embodiment of the present invention referring to Fig. 8, Fig. 8, as shown in figure 8,
The method includes:
Step 801, when the camera of the mobile terminal is in the open state, judge whether the mobile terminal meets
Preset condition.
In the step, whether the camera that the method detects the mobile terminal is in the open state, if the movement
The camera of terminal is in the open state, and the method judges whether the mobile terminal meets preset condition, if the movement
Terminal meets the preset condition, executes step 802;On the contrary, if the mobile terminal is unsatisfactory for the preset condition, process
Terminate.
The preset condition can be in default screening-mode for the mobile terminal, and specifically, the method judges institute
State mobile terminal whether meet preset condition mode can to judge whether the mobile terminal is in default screening-mode, if
The mobile terminal is in the default screening-mode, and the method determines that the mobile terminal meets the preset condition.Institute
State preset condition be also possible to the mobile terminal camera acquired image maximum brightness value be greater than third preset it is bright
Angle value, specifically, the method judges whether the mobile terminal meets the mode of preset condition can be to judge the movement
Whether the maximum brightness value of the camera acquired image of terminal is greater than third predetermined luminance value, if the mobile terminal is taken the photograph
As the maximum brightness value of head acquired image is greater than the third predetermined luminance value, the method determines that the mobile terminal is full
The foot preset condition.
Step 802 controls the camera of the mobile terminal with the first exposure time the first photo of shooting.
In the step, the method controls the camera of the mobile terminal and shoots the first photo with the first exposure time.
In some embodiments of the invention, whether the camera that the method can detecte the mobile terminal is in the open state, if institute
The camera for stating mobile terminal is in the open state, and the method judges whether the mobile terminal meets preset condition, if institute
It states mobile terminal and meets the preset condition, the method is controlled the camera of the mobile terminal and shot with the first exposure time
First photo.
First exposure time is the exposure time less than the camera under normal photographing, and specifically, described first exposes
Light time length can be the exposure time of the pre-set default of the method, be also possible to user according to specific shooting situation setting
Exposure time, can also be the method according to shooting environmental determine exposure time.Specifically, when the described first exposure
When the exposure time that a length of user is arranged according to specific shooting situation, user can input according to the brightness case of subject
First exposure time.When the method determines exposure time according to shooting environmental, the method is available described mobile whole
The luminance information of the camera acquired image at end, then determines corresponding exposure according to the maximum brightness value of acquired image
Light time a length of first exposure time, wherein different brightness values corresponds to different exposure times.
Step 803 controls the camera of the mobile terminal with the second exposure time the second photo of shooting, wherein described
Second exposure time is greater than first exposure time.
In the step, the method controls the camera of the mobile terminal and shoots the second photo with the second exposure time,
Wherein, second exposure time is greater than first exposure time.Second exposure time can be normal photographing mode
Under the camera exposure time, the exposure time of the camera under normal photographing mode can also be greater than, the present invention is real
Example is applied to be not specifically limited in this embodiment.It should be noted that the method can first carry out step 802, step is then executed again
803, step 803 can also be first carried out, then executes step 802 again, that is to say, that the embodiment of the present invention is to step 802 and step
803 execution sequencing is not specifically limited.
The image of target object is the first image in step 804, interception first photo, is intercepted in second photo
Image in addition to the target object is the second image, and the target object is intense light source main body.
In the step, the method intercepts the image of target object in first photo for the first image, described in interception
Image in second photo in addition to the target object is the second image, and the target object is intense light source main body.Specifically,
The method can first identify the target object in first photo and second photo, then further be cut
It takes.
The method, which identifies that the mode of first photo and the target object in second photo is specifically as follows, to be made
It identifies that the intense light source main body in first photo and second photo is target object with preset algorithm, can be used for example
AE algorithm identifies the intense light source main body in first photo and second photo, described using in AE algorithm identification photo
Intense light source main body belongs to prior art scope, and details are not described herein again.The method can also operate determination according to the user's choice
Target object in first photo and second photo, for example, user can be in first photos and described
Circle selects target object respectively in second photo, and the method receives the circle selection operation of user, and according to circle selection operation determination
Target object in first photo and second photo.
In other embodiments of the present invention, the method can also be known by brightness determines first photo otherwise
With the target object in second photo, specifically, the method can identify in first photo that brightness value is greater than the
Image in the region of one predetermined luminance value is the image of target object, identifies that it is pre- to be greater than second for brightness value in second photo
If the image in the region of brightness value is the image of target object, wherein it is pre- that first predetermined luminance value is less than described second
If brightness value.
Step 805, synthesis the first image and second image, obtain Target Photo.
In the step, the method synthesizes the first image and second image, obtains target image, specifically,
It can be by the first image and second figure that the method, which synthesizes the first image and the mode of second image,
As being combined splicing, target image is obtained.It is understood that the first image is camera under the first exposure time
The intense light source image of shooting, the intense light source image that the as described camera is shot under compared with short exposure duration, can effectively prevent
Intense light source overexposure.Second image is the background image that camera is shot under the second exposure time, the as described camera
The background image shot under normal exposure duration can effectively prevent background image excessively dark.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the mobile terminal is in default screening-mode;
If the mobile terminal is in the default screening-mode, determine that the mobile terminal meets the preset condition.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the maximum brightness value of the camera acquired image of the mobile terminal is greater than third predetermined luminance
Value;
If the maximum brightness value of the camera acquired image of the mobile terminal is greater than the third predetermined luminance value,
Determine that the mobile terminal meets the preset condition.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
The method of stating further includes:
Obtain the maximum brightness value of the camera acquired image of the mobile terminal;
The first exposure time is determined according to the maximum brightness value of the camera acquired image, wherein different is bright
Angle value corresponds to different exposure times.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store in shifting as shown in Figure 1
It in the memory 109 of dynamic terminal 100, and can be executed by the processor 110, at least one described program is by the processor
110 realize following steps when executing:
It controls the camera of the mobile terminal and the first photo is shot with the first exposure time;
It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure
Duration is greater than first exposure time;
The image for intercepting target object in first photo is the first image, intercepts and removes the mesh in second photo
Marking the image except object is the second image, and the target object is intense light source main body;
The first image and second image are synthesized, Target Photo is obtained.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is held by the processor 110
When row, following steps can also be realized:
Identify that the intense light source main body in first photo and second photo is target object using preset algorithm.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is held by the processor 110
When row, following steps can also be realized:
Receive the circle selection operation that user executes on first photo and second photo;
Based on the circle selection operation, determine that the image enclosed in favored area on first photo and second photo is mesh
Mark the image of object.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is held by the processor 110
When row, following steps can also be realized:
The image for identifying that brightness value is greater than in the region of the first predetermined luminance value in first photo is target object
Image;
The image for identifying that brightness value is greater than in the region of the second predetermined luminance value in second photo is target object
Image, wherein first predetermined luminance value is less than second predetermined luminance value.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
When stating at least one program and being executed by the processor 110, following steps can also be realized:
When the camera of the mobile terminal is in the open state, judge whether the mobile terminal meets default item
Part;
The camera of the control mobile terminal shoots the first photo with the first exposure time, including:
If the mobile terminal meets the preset condition, the camera of the mobile terminal is controlled with the first exposure time
Shoot the first photo.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the mobile terminal is in default screening-mode;
If the mobile terminal is in the default screening-mode, determine that the mobile terminal meets the preset condition.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the maximum brightness value of the camera acquired image of the mobile terminal is greater than third predetermined luminance
Value;
If the maximum brightness value of the camera acquired image of the mobile terminal is greater than the third predetermined luminance value,
Determine that the mobile terminal meets the preset condition.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
When stating at least one program and being executed by the processor 110, following steps can also be realized:
Obtain the maximum brightness value of the camera acquired image of the mobile terminal;
The first exposure time is determined according to the maximum brightness value of the camera acquired image, wherein different is bright
Angle value corresponds to different exposure times.
In the present embodiment, the mobile terminal controls the camera of the mobile terminal with the first exposure time shooting first
Photo;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure time
Greater than first exposure time;The image for intercepting target object in first photo is the first image, interception described second
Image in photo in addition to the target object is the second image, and the target object is intense light source main body;Synthesize described
One image and second image, obtain Target Photo.In this way, being shot using the different time for exposure, then to shooting
Obtained photo synthesizes after being intercepted, and obtaining intense light source part and background parts, all clearly picture, promotion intense light source are shot
Effect.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one
In storage media, which is performed, and is included the following steps:
It controls the camera of the mobile terminal and the first photo is shot with the first exposure time;
It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure
Duration is greater than first exposure time;
The image for intercepting target object in first photo is the first image, intercepts and removes the mesh in second photo
Marking the image except object is the second image, and the target object is intense light source main body;
The first image and second image are synthesized, Target Photo is obtained.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is performed, can also be real
Existing following steps:
Identify that the intense light source main body in first photo and second photo is target object using preset algorithm.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is performed, can also be real
Existing following steps:
Receive the circle selection operation that user executes on first photo and second photo;
Based on the circle selection operation, determine that the image enclosed in favored area on first photo and second photo is mesh
Mark the image of object.
Optionally, the image of target object is the first image in interception first photo, intercepts described second and shines
Before image in piece in addition to the target object is the second image, at least one described program is performed, can also be real
Existing following steps:
The image for identifying that brightness value is greater than in the region of the first predetermined luminance value in first photo is target object
Image;
The image for identifying that brightness value is greater than in the region of the second predetermined luminance value in second photo is target object
Image, wherein first predetermined luminance value is less than second predetermined luminance value.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
It states at least one program to be performed, can also realize following steps:
When the camera of the mobile terminal is in the open state, judge whether the mobile terminal meets default item
Part;
The camera of the control mobile terminal shoots the first photo with the first exposure time, including:
If the mobile terminal meets the preset condition, the camera of the mobile terminal is controlled with the first exposure time
Shoot the first photo.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the mobile terminal is in default screening-mode;
If the mobile terminal is in the default screening-mode, determine that the mobile terminal meets the preset condition.
Optionally, described to judge whether the mobile terminal meets preset condition, including:
Judge whether the maximum brightness value of the camera acquired image of the mobile terminal is greater than third predetermined luminance
Value;
If the maximum brightness value of the camera acquired image of the mobile terminal is greater than the third predetermined luminance value,
Determine that the mobile terminal meets the preset condition.
Optionally, before the camera of the control mobile terminal shoots the first photo with the first exposure time, institute
When stating the execution of at least one program, following steps can also be realized:
Obtain the maximum brightness value of the camera acquired image of the mobile terminal;
The first exposure time is determined according to the maximum brightness value of the camera acquired image, wherein different is bright
Angle value corresponds to different exposure times.
In the present embodiment, at least one described program is performed, and is controlled the camera of the mobile terminal and is exposed with first
The first photo of light time long shooting;It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein institute
The second exposure time is stated greater than first exposure time;The image for intercepting target object in first photo is the first figure
Picture, intercepting the image in second photo in addition to the target object is the second image, and the target object is intense light source
Main body;The first image and second image are synthesized, Target Photo is obtained.In this way, being carried out using the different time for exposure
Shooting synthesizes after then intercepting to the obtained photo of shooting, obtains intense light source part and background parts all clearly pictures,
Promote intense light source shooting effect.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of image pickup method is applied to mobile terminal, which is characterized in that the method includes:
It controls the camera of the mobile terminal and the first photo is shot with the first exposure time;
It controls the camera of the mobile terminal and the second photo is shot with the second exposure time, wherein second exposure time
Greater than first exposure time;
The image for intercepting target object in first photo is the first image, intercepts and removes the target pair in second photo
Image as except is the second image, and the target object is intense light source main body;
The first image and second image are synthesized, Target Photo is obtained.
2. image pickup method as described in claim 1, which is characterized in that the figure of target object in interception first photo
As being the first image, before the image for intercepting in second photo in addition to the target object is the second image, the side
Method further includes:
Identify that the intense light source main body in first photo and second photo is target object using preset algorithm.
3. image pickup method as described in claim 1, which is characterized in that the figure of target object in interception first photo
As being the first image, before the image for intercepting in second photo in addition to the target object is the second image, the side
Method further includes:
Receive the circle selection operation that user executes on first photo and second photo;
Based on the circle selection operation, determine that the image enclosed in favored area on first photo and second photo is target pair
The image of elephant.
4. image pickup method as described in claim 1, which is characterized in that the figure of target object in interception first photo
As being the first image, before the image for intercepting in second photo in addition to the target object is the second image, the side
Method further includes:
Identify that brightness value is greater than the image that the image in the region of the first predetermined luminance value is target object in first photo;
Identify that brightness value is greater than the image that the image in the region of the second predetermined luminance value is target object in second photo,
Wherein, first predetermined luminance value is less than second predetermined luminance value.
5. image pickup method as described in claim 1, which is characterized in that the camera of the control mobile terminal is with first
Before exposure time shoots the first photo, the method also includes:
When the camera of the mobile terminal is in the open state, judge whether the mobile terminal meets preset condition;
The camera of the control mobile terminal shoots the first photo with the first exposure time, including:
If the mobile terminal meets the preset condition, controls the camera of the mobile terminal and shot with the first exposure time
First photo.
6. image pickup method as claimed in claim 5, which is characterized in that described to judge whether the mobile terminal meets default item
Part, including:
Judge whether the mobile terminal is in default screening-mode;
If the mobile terminal is in the default screening-mode, determine that the mobile terminal meets the preset condition.
7. image pickup method as claimed in claim 5, which is characterized in that described to judge whether the mobile terminal meets default item
Part, including:
Judge whether the maximum brightness value of the camera acquired image of the mobile terminal is greater than third predetermined luminance value;
If the maximum brightness value of the camera acquired image of the mobile terminal is greater than the third predetermined luminance value, determine
The mobile terminal meets the preset condition.
8. image pickup method as described in any one of claim 1 to 7, which is characterized in that described to control taking the photograph for the mobile terminal
Before shooting the first photo as head with the first exposure time, the method also includes:
Obtain the maximum brightness value of the camera acquired image of the mobile terminal;
The first exposure time is determined according to the maximum brightness value of the camera acquired image, wherein different brightness values
Corresponding different exposure time.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, at least one processor and is stored in institute
At least one program stated on memory and can executed at least one described processor, at least one described program by it is described extremely
A few processor realizes the step in the described in any item methods of the claims 1~8 when executing.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least
One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer
Benefit requires the step in 1~8 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810682208.4A CN108900778A (en) | 2018-06-27 | 2018-06-27 | A kind of image pickup method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810682208.4A CN108900778A (en) | 2018-06-27 | 2018-06-27 | A kind of image pickup method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108900778A true CN108900778A (en) | 2018-11-27 |
Family
ID=64346236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810682208.4A Pending CN108900778A (en) | 2018-06-27 | 2018-06-27 | A kind of image pickup method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108900778A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831632A (en) * | 2019-01-21 | 2019-05-31 | 上海晔芯电子科技有限公司 | The imaging method of imaging sensor |
CN110018167A (en) * | 2019-04-04 | 2019-07-16 | 武汉精立电子技术有限公司 | A kind of Curved screen open defect rapid detection method and system |
CN111741214A (en) * | 2020-05-13 | 2020-10-02 | 北京迈格威科技有限公司 | Image processing method and device and electronic equipment |
CN112511749A (en) * | 2020-11-30 | 2021-03-16 | 上海摩象网络科技有限公司 | Automatic exposure control method and device for target object and electronic equipment |
US11095902B2 (en) | 2019-06-28 | 2021-08-17 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for image coding, electronic device and computer-readable storage medium |
US11178324B2 (en) | 2019-06-28 | 2021-11-16 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Focusing method and device, electronic device and computer-readable storage medium |
US11457138B2 (en) | 2019-06-28 | 2022-09-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and device for image processing, method for training object detection model |
US11538175B2 (en) | 2019-09-29 | 2022-12-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for detecting subject, electronic device, and computer readable storage medium |
US11836903B2 (en) | 2019-10-16 | 2023-12-05 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Subject recognition method, electronic device, and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7912285B2 (en) * | 2004-08-16 | 2011-03-22 | Tessera Technologies Ireland Limited | Foreground/background segmentation in digital images with differential exposure calculations |
CN105847694A (en) * | 2016-04-27 | 2016-08-10 | 乐视控股(北京)有限公司 | Multiple exposure shooting method and system based on picture synthesis |
CN106161980A (en) * | 2016-07-29 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | Photographic method and system based on dual camera |
-
2018
- 2018-06-27 CN CN201810682208.4A patent/CN108900778A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7912285B2 (en) * | 2004-08-16 | 2011-03-22 | Tessera Technologies Ireland Limited | Foreground/background segmentation in digital images with differential exposure calculations |
CN105847694A (en) * | 2016-04-27 | 2016-08-10 | 乐视控股(北京)有限公司 | Multiple exposure shooting method and system based on picture synthesis |
CN106161980A (en) * | 2016-07-29 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | Photographic method and system based on dual camera |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831632A (en) * | 2019-01-21 | 2019-05-31 | 上海晔芯电子科技有限公司 | The imaging method of imaging sensor |
CN110018167A (en) * | 2019-04-04 | 2019-07-16 | 武汉精立电子技术有限公司 | A kind of Curved screen open defect rapid detection method and system |
CN110018167B (en) * | 2019-04-04 | 2021-10-29 | 武汉精立电子技术有限公司 | Method and system for rapidly detecting appearance defects of curved screen |
US11095902B2 (en) | 2019-06-28 | 2021-08-17 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for image coding, electronic device and computer-readable storage medium |
US11178324B2 (en) | 2019-06-28 | 2021-11-16 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Focusing method and device, electronic device and computer-readable storage medium |
US11457138B2 (en) | 2019-06-28 | 2022-09-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and device for image processing, method for training object detection model |
US11538175B2 (en) | 2019-09-29 | 2022-12-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for detecting subject, electronic device, and computer readable storage medium |
US11836903B2 (en) | 2019-10-16 | 2023-12-05 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Subject recognition method, electronic device, and computer readable storage medium |
CN111741214A (en) * | 2020-05-13 | 2020-10-02 | 北京迈格威科技有限公司 | Image processing method and device and electronic equipment |
CN112511749A (en) * | 2020-11-30 | 2021-03-16 | 上海摩象网络科技有限公司 | Automatic exposure control method and device for target object and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108900778A (en) | A kind of image pickup method, mobile terminal and computer readable storage medium | |
CN108495056A (en) | Photographic method, mobile terminal and computer readable storage medium | |
CN108897478A (en) | Terminal operation method, mobile terminal and computer readable storage medium | |
CN108289174A (en) | A kind of image pickup method, mobile terminal and computer readable storage medium | |
CN108063901A (en) | A kind of image-pickup method, terminal and computer readable storage medium | |
CN109151169A (en) | Camera right management method, mobile terminal and computer readable storage medium | |
CN108418916A (en) | Image capturing method, mobile terminal based on double-sided screen and readable storage medium storing program for executing | |
CN108322647A (en) | Panoramic picture image pickup method, mobile terminal and computer readable storage medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN109889695A (en) | A kind of image-region determines method, terminal and computer readable storage medium | |
CN108184051A (en) | A kind of main body image pickup method, equipment and computer readable storage medium | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN108848298A (en) | Picture shooting method, flexible terminal and computer readable storage medium | |
CN110177206A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN110064196A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108900765A (en) | A kind of shooting based reminding method, mobile terminal and computer readable storage medium | |
CN109005354A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN108229389A (en) | Facial image processing method, apparatus and computer readable storage medium | |
CN108965695A (en) | A kind of image pickup method, mobile terminal and computer readable storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN109460140A (en) | Unlocking screen method, mobile terminal and computer readable storage medium | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109274897A (en) | Photographic method, mobile terminal and computer readable storage 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181127 |
|
RJ01 | Rejection of invention patent application after publication |