CN104333708B - Photographic method, camera arrangement and terminal - Google Patents
Photographic method, camera arrangement and terminal Download PDFInfo
- Publication number
- CN104333708B CN104333708B CN201410715297.XA CN201410715297A CN104333708B CN 104333708 B CN104333708 B CN 104333708B CN 201410715297 A CN201410715297 A CN 201410715297A CN 104333708 B CN104333708 B CN 104333708B
- Authority
- CN
- China
- Prior art keywords
- camera
- exposure
- time
- photo
- brightness value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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/71—Circuitry for evaluating the brightness variation
-
- 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)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
The present invention is applied to moving communicating field, and there is provided a kind of photographic method, camera arrangement and terminal.Methods described includes:Light-metering is carried out to the scene for needing to shoot by the first camera;The time for exposure of brightest area overexposure is determined according to photometry result;The time for exposure of first camera and the time for exposure of second camera are determined according to the time for exposure of the brightest area overexposure of determination, the time for exposure of first camera is not equal to the time for exposure of second camera;According to the time for exposure of the time for exposure of the first camera of determination, and the second camera of determination, the scene for needing to shoot is taken pictures simultaneously by the first camera and second camera;The first camera to the scene for needing to shoot take pictures obtained photo and second camera is synthesized the scene for needing to shoot take pictures obtained photo.The embodiment of the present invention can export the photo of high dynamic.
Description
Technical field
The invention belongs to moving communicating field, more particularly to a kind of photographic method, camera arrangement and terminal.
Background technology
At present, the integrated function of terminal (smart mobile phone or tablet personal computer) is more and more, such as in addition to function of surfing the Net, passes through
Camera is set also to realize camera function in terminal.
But by the existing camera for being arranged on terminal in the larger scene of shooting lightness diversity ratio, in high brightness
The easy overexposure in region, easily owe to expose in the region of low-light level, because the dynamic range for shooting the photo come is too small, therefore lead
Cause the photo effect shot bad.
The content of the invention
The embodiments of the invention provide a kind of photographic method, camera arrangement and terminal, it is intended to solves existing method and is difficult to obtain
The problem of photo for taking luminance dynamic range big.
On the one hand there is provided a kind of photographic method, methods described comprises the steps:
Light-metering is carried out to the scene for needing to shoot by the first camera;
The time for exposure of brightest area overexposure is determined according to photometry result;
Time for exposure and the second shooting of the first camera are determined according to the time for exposure of the brightest area overexposure of determination
The time for exposure of head, the time for exposure of first camera is not equal to the time for exposure of second camera;
According to the time for exposure of the first camera of determination, and the second camera determined time for exposure, by the
One camera and second camera are taken pictures to the scene for needing to shoot simultaneously;
Synthesize the first camera and to the scene for needing to shoot take pictures obtained photo and second camera to needing to clap
The scene taken the photograph take pictures obtained photo.
It is described to pass through the first camera pair with reference in a first aspect, in the first possible implementation of first aspect
The step of needing the scene shot to carry out light-metering specifically includes:
The corresponding photo of scene for needing to shoot is obtained by the first camera;
The photo of acquisition is divided into N*N region, N is natural number;
The brightness value of the pixel in the region divided is counted, with where determining highest brightness value and highest brightness value
Region.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect
In, it is described brightest area overexposure is determined according to photometry result time for exposure the step of specifically include:
Obtain the brightness degree of the sensor of the first camera;
According to the highest brightness value of determination, the time for exposure of the highest brightness value and the brightness degree of acquisition are obtained, really
Determine the time for exposure of brightest area overexposure.
With reference in a first aspect, or first aspect the first possible implementation, or second of first aspect may
Implementation, in the third possible implementation of first aspect, the exposure of the brightest area overexposure according to determination
Determined between light time the first camera time for exposure and second camera time for exposure the step of specifically include:
Using the time for exposure T of brightest area overexposure as the time for exposure T of the first camera, the T is more than 0;
Using time for exposure of the T/M as second camera, the M is the nature less than or equal to 10 more than or equal to 2
Number.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect
In, the first camera of the synthesis to the scene for needing to shoot take pictures obtained photo and second camera to needing to shoot
Scene carry out take pictures obtained photo the step of specifically include:
Determine the overexposure region that the first camera is taken pictures in obtained photo;
Reduce the overexposure region of the determination;
Second camera is taken pictures region corresponding with the overexposure region of reduction in obtained photo, with having reduced overexposure area
The photo in domain is synthesized, the photo after being synthesized.
Second aspect includes there is provided a kind of camera arrangement, described device:
Scene light-metering unit, for carrying out light-metering to the scene for needing to shoot by the first camera;
The time for exposure determining unit of overexposure, the time for exposure for determining brightest area overexposure according to photometry result;
The time for exposure determining unit of camera, the time for exposure for the brightest area overexposure according to determination determines first
The time for exposure of camera and the time for exposure of second camera, the time for exposure of first camera are not equal to second and taken the photograph
As the time for exposure of head;
Photographing unit, the exposure for the time for exposure of the first camera according to determination, and the second camera of determination
Between light time, the scene for needing to shoot is taken pictures simultaneously by the first camera and second camera;
Photo synthesis unit, to the scene for needing to shoot take pictures obtained photo and for synthesizing the first camera
The photo that two cameras are obtained to needing the scene of shooting take pictures.
With reference to second aspect, in the first possible implementation of second aspect, the scene light-metering unit includes:
Photo acquisition module, for obtaining the corresponding photo of scene for needing to shoot by the first camera;
Photo division module, for the photo of acquisition to be divided into N*N region, N is natural number;
Highest brightness value determining module, the brightness value for counting the pixel in the region divided is most highlighted to determine
Region where angle value and highest brightness value.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the time for exposure determining unit of the overexposure includes:
Brightness degree acquisition module, the brightness degree of the sensor for obtaining the first camera;
The time for exposure determining module of brightest area overexposure, for the highest brightness value according to determination, to obtain this most highlighted
The time for exposure of angle value and the brightness degree obtained, determine the time for exposure of brightest area overexposure.
It is possible with reference to the first possible implementation of second aspect, or second aspect, or second of second aspect
Implementation, in the third possible implementation of second aspect, the time for exposure determining unit bag of the camera
Include:
The time for exposure determining module of first camera, for being used as first using the time for exposure T of brightest area overexposure
The time for exposure T of camera, the T are more than 0;
The time for exposure determining module of second camera, it is described for using time for exposure of the T/M as second camera
M is the natural number less than or equal to 10 more than or equal to 2.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect
In, the photo synthesis unit includes:
Overexposure region in overexposure area determination module, the photo obtained for determining the first camera to take pictures;
Overexposure region reduces module, the overexposure region for reducing the determination;
Area corresponding with the overexposure region of reduction in image synthesis unit, the photo obtained for second camera to be taken pictures
Domain, is synthesized, the photo after being synthesized with the photo of having reduced overexposure region.
The third aspect includes above-mentioned camera arrangement there is provided a kind of terminal, the terminal.
With reference to the third aspect, in the first possible implementation of the third aspect, the terminal be smart mobile phone or
Tablet personal computer.
In embodiments of the present invention, light-metering is carried out to the scene for needing to shoot by the first camera, according to photometry result
The time for exposure of brightest area overexposure is determined, the exposure of the first camera is determined according to the time for exposure of the brightest area overexposure of determination
Between light time and second camera time for exposure, according to the time for exposure of the first camera of determination, and second determined
The time for exposure of camera, while being taken pictures to the scene for needing to shoot, the first camera of synthesis is to needing the scene of shooting
Take pictures obtained photo and second camera to the scene for needing to shoot take pictures obtained photo.Due to needing to clap
The scene taken the photograph carries out light-metering, the time for exposure of brightest area overexposure in the scene therefore, it is possible to determine to need shooting, so as to
The time for exposure of the first camera and second camera is determined according to the time for exposure of brightest area overexposure, and according to the exposure of determination
Same Scene is shot simultaneously between light time, and time for exposure and the time for exposure of second camera due to the first camera
Difference, therefore, after the photo that the photo that the first camera is shot is shot with second camera is synthesized, can be obtained higher
Dynamic photo, the larger scene of lightness diversity ratio is presented so as to clear.
Brief description of the drawings
Fig. 1 is a kind of flow chart for photographic method that first embodiment of the invention is provided;
Fig. 2 is a kind of structure chart for camera arrangement that second embodiment of the invention is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In the embodiment of the present invention, light-metering is carried out to the scene for needing to shoot by the first camera, it is true according to photometry result
Determine the time for exposure of brightest area overexposure, the exposure of the first camera is determined according to the time for exposure of the brightest area overexposure of determination
Time and the time for exposure of second camera, according to the time for exposure of the first camera of determination, and second determined is taken the photograph
As the time for exposure of head, while being taken pictures to the scene for needing to shoot, the first camera of synthesis enters to the scene for needing to shoot
The photo that capable take pictures obtained photo and second camera are obtained to needing the scene of shooting take pictures.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow chart for photographic method that first embodiment of the invention is provided, in embodiments of the present invention,
Two cameras are provided with the same face of terminal:First camera and second camera.Taken the photograph by the first camera and second
As head shoots Same Scene simultaneously, two different photos of depth of exposure are obtained, further according to two obtained depth of exposure differences
Two photos synthesize final photo, details are as follows:
Step S11, light-metering is carried out by the first camera to the scene for needing to shoot.
Before the first camera light-metering, the parameter of the first camera and second camera can be first adjusted, it is ensured that this first
Camera is identical with the angle of visual field of second camera, so that first camera and second camera can photograph identical
Scape, so as to be conducive to follow-up photo to synthesize.
Wherein, the step S11, the step of carrying out light-metering to the scene for needing to shoot by the first camera is specifically wrapped
Include:
A1, the corresponding photo of scene for needing to shoot by the acquisition of the first camera.Specifically, clapped by the first camera
Scene is taken the photograph, and then obtains the corresponding photo of the scene.
A2, the photo of acquisition is divided into N*N region, N is natural number.The photo of acquisition is divided into multiple regions,
Be conducive to analyzing the coordinate where the bright part of the photo and dark part.Wherein, N is natural number, and it can work as N using value as 4
When=4, the photo of acquisition is divided into 16 regions, certainly, N can also be taken as other values, be not construed as limiting herein.
The brightness value of pixel in the region that A3, statistics are divided, to determine highest brightness value and highest brightness value institute
Region.Specifically, read in the photo that the brightness value of pixel can be completed directly from exposure.Wherein, the highest of the step
Brightness value can be the highest brightness value of pixel, or the highest of the average brightness for the pixel that the region of division is included
Brightness value.When highest brightness value is the highest brightness value of pixel, it can be determined by the brightness value of the point of compared pixels one by one;When
During the highest brightness value of the average brightness for the pixel that highest brightness value includes for the region of division, regional can be first determined
Comprising pixel brightness value average value, then the regional obtained by comparing brightness value average value determine.
Step S12, the time for exposure of brightest area overexposure is determined according to photometry result.
Brightest area in the scene of the brightest area of the step also to need shooting.
Wherein, the step S12, the step of determining the time for exposure of brightest area overexposure according to photometry result is specifically wrapped
Include:
B1, the sensor of the first camera of acquisition brightness degree.The sensor of each camera has its corresponding bright
Grade is spent, brightness degree is higher, and corresponding highest brightness value is also bigger.For example, it is assumed that the brightness of the sensor of the first camera
Grade is 10, then the range of luminance values for the photo that first camera is shot is 0~1024.
B2, the highest brightness value according to determination, the time for exposure for obtaining the highest brightness value and brightness of acquisition etc.
Level, determines the time for exposure of brightest area overexposure.Specifically, it is determined that highest brightness value and obtain the exposure of the highest brightness value
The ratio of time, and the ratio of the corresponding maximum brightness value of brightness degree of acquisition and the time for exposure of brightest area overexposure are right
Should be proportional.For example, it is assumed that the brightness degree of the sensor of the first camera is 10, then it is corresponding when brightness degree is 10
Highest brightness value is 1024.Assuming that the highest brightness value determined (is somebody's turn to do the pixel value that " 500 " may refer to pixel, also may be used for 500
With the average value for the pixel value for referring to region), the time for exposure for obtaining " 500 " is 50ms, then 500/50=1024X, at this
When " 500 " refer to the pixel value of pixel, the exposure of the overexposure of the pixel region corresponding to the highest brightness value " 500 "
Time is:X=102.4ms.During the average value for the pixel value that region is referred in " 500 ", the highest brightness value " 500 " is corresponding
Time for exposure of overexposure in region be:X=102.4ms.
Step S13, according to the time for exposure of the brightest area overexposure of determination determine the first camera time for exposure and
The time for exposure of second camera, the time for exposure of first camera is not equal to the time for exposure of second camera.
In this step, in order to obtain the photo of high dynamic, time for exposure and the second shooting of the first camera are generally made
The difference of the time for exposure of head.
Alternatively, the time for exposure of the first camera can be made to be more than the time for exposure of second camera, at this moment, the step
S13, time for exposure and the second camera of the first camera are determined according to time for exposure of the brightest area overexposure of determination
The step of time for exposure, specifically includes:
C1, using brightest area overexposure time for exposure T as the first camera time for exposure T, the T be more than 0.Example
Such as, it is assumed that the time for exposure of brightest area overexposure is 100ms, then the time for exposure for setting the first camera is also 100ms.
C2, using time for exposure of the T/M as second camera, the M is more than or equal to 2, less than or equal to 10
Natural number.
Step S14, according to the time for exposure of the first camera of determination, and the second camera determined exposure when
Between, the scene for needing to shoot is taken pictures simultaneously by the first camera and second camera.
In this step, when the time for exposure of the first camera is the time for exposure of the brightest area overexposure determined, energy
It is enough that highest brightness is taken into dark region, but brightest area is taken into overexposure, or (clap into hair close to the brightness of overexposure
In vain, unsharp brightness).It is less than the time for exposure (declining into multiple) of the first camera when the time for exposure of second camera
When, the second camera can clap brightest area clearly bright and not overexposure.
Step S15, photo and second camera that the first camera of synthesis is obtained to needing the scene of shooting take pictures
To the scene for needing to shoot take pictures obtained photo.
In this step, the non-brightest area the first camera shot is synthesized with the brightest area that second camera is shot
For a new photo.
Alternatively, the step S15, the first camera of synthesis the scene for needing to shoot take pictures obtained photo and
Second camera to need shoot scene carry out take pictures obtained photo the step of specifically include:
D1, determine the overexposure region that the first camera is taken pictures in obtained photo.It is more than or connects in the brightness value of pixel
When being bordering on the highest brightness value that pixel sets (such as when brightness degree is 10, the highest brightness value that pixel is set as
1024) the pixel overexposure, is shown.In this step, the brightness value of obtained pixel of taking pictures is obtained first, then by the pixel
The brightness value of point is compared with the highest brightness value that the pixel is set, if both differences judge in a threshold range
The pixel overexposure, that is, judge the region overexposure where the pixel.Wherein, the region where pixel refers to that step A2 is divided
Region in some region.
D2, the overexposure region for reducing the determination.Specifically, reduce what is determined according to the border in the step A2 regions divided
Overexposure region.
Region corresponding with the overexposure region of reduction in D3, obtained photo that second camera is taken pictures, with having reduced mistake
The photo for exposing region is synthesized, the photo after being synthesized.Specifically, it is determined that second camera is taken pictures in obtained photo,
Being taken pictures with the first camera needs the corresponding region in the region reduced in obtained photo, then by the region of determination and the first shooting
The head obtained photo for having reduced overexposure region of taking pictures is synthesized, and obtains final photo, and export.For example, it is assumed that first
The photo that camera is shot is divided into Y1~Y16 region, and the photo that second camera is shot is divided into Z1~Z16 region,
And first two regions of Y1, Y2 in the photo that shoots of camera are overexposure region, then in the photo shot second camera
The photo that is shot with the first camera of Z1, Z2 (corresponding with Y1, Y2 respectively) in Y3~Y16 carry out picture and synthesize, obtain most
Whole photo.
In the first embodiment of the invention, light-metering is carried out to the scene for needing to shoot by the first camera, according to light-metering
As a result the time for exposure of brightest area overexposure is determined, the first camera is determined according to the time for exposure of the brightest area overexposure of determination
Time for exposure and second camera time for exposure, according to the time for exposure of the first camera of determination, and determine
The time for exposure of second camera, while being taken pictures to the scene for needing to shoot, the first camera of synthesis is to needing what is shot
Take pictures obtained photo and second camera of scene to the scene for needing to shoot take pictures obtained photo.Due to needing
The scene to be shot carries out light-metering, the time for exposure of brightest area overexposure in the scene therefore, it is possible to determine to need shooting, so that
The time for exposure of the first camera and second camera can be determined according to the time for exposure of brightest area overexposure, and according to determination
Time for exposure Same Scene is shot simultaneously, and the time for exposure due to the first camera and the exposure of second camera
Time is different, therefore, after the photo that the photo that the first camera is shot is shot with second camera is synthesized, can obtain
The photo of more high dynamic, the larger scene of lightness diversity ratio is presented so as to clear.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Limited into any.
Embodiment two:
Fig. 2 shows a kind of structure chart for camera arrangement that second embodiment of the invention is provided, and the camera arrangement can be answered
For in terminal, the terminal can include the user equipment communicated through wireless access network RAN with one or more core nets,
The user equipment can be mobile phone (or for " honeycomb " phone), computer with mobile device etc., for example, user sets
It is standby can also be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device, they and wireless access
Net exchanges voice and/or data.In another example, the terminal can include smart mobile phone, tablet personal computer, personal digital assistant PDA, pin
Sell terminal POS or vehicle-mounted computer etc..
The camera arrangement includes:When scene light-metering unit 21, the time for exposure determining unit 22 of overexposure, the exposure of camera
Between determining unit 23, photographing unit 24, photo synthesis unit 25.Wherein:
Scene light-metering unit 21, for carrying out light-metering to the scene for needing to shoot by the first camera.
Wherein, the scene light-metering unit 21 includes:
Photo acquisition module, for obtaining the corresponding photo of scene for needing to shoot by the first camera.Specifically, lead to
The first camera photographed scene is crossed, and then obtains the corresponding photo of the scene.
Photo division module, for the photo of acquisition to be divided into N*N region, N is natural number.Wherein, N is nature
Number, the photo of acquisition can be divided into 16 regions by it using value as 4, as N=4, and certainly, N can also be taken as other values,
It is not construed as limiting herein.
Highest brightness value determining module, the brightness value for counting the pixel in the region divided is most highlighted to determine
Region where angle value and highest brightness value.Wherein, highest brightness value can be the highest brightness value of pixel, or draw
The highest brightness value of the average brightness for the pixel that the region divided is included.When the highest brightness value that highest brightness value is pixel
When, it can be determined by the brightness value of the point of compared pixels one by one;When highest brightness value is the bright of the pixel that the region divided is included
When spending the highest brightness value of average value, can first determine the average value of the brightness value for the pixel that regional is included, then by than
The average value of the brightness value of the regional relatively obtained is determined.
The time for exposure determining unit 22 of overexposure, the time for exposure for determining brightest area overexposure according to photometry result.
Wherein, the brightest area in scene of the brightest area to need shooting.
Wherein, the time for exposure determining unit 22 of the overexposure includes:
Brightness degree acquisition module, the brightness degree of the sensor for obtaining the first camera.The biography of each camera
Sensor has its corresponding brightness degree, and brightness degree is higher, and corresponding highest brightness value is also bigger.
The time for exposure determining module of brightest area overexposure, for the highest brightness value according to determination, to obtain this most highlighted
The time for exposure of angle value and the brightness degree obtained, determine the time for exposure of brightest area overexposure.Specifically, it is determined that most
High luminance values and the ratio for the time for exposure for obtaining the highest brightness value, with the corresponding maximum brightness value of brightness degree of acquisition
With the ratio of the time for exposure of brightest area overexposure, correspond to proportional.
The time for exposure determining unit 23 of camera, the time for exposure for the brightest area overexposure according to determination determines
The time for exposure of one camera and the time for exposure of second camera, the time for exposure of first camera are not equal to second
The time for exposure of camera.
Wherein, when the time for exposure of the first camera being more than the time for exposure of second camera, the exposure of the camera
Determining unit 23 includes between light time:
The time for exposure determining module of first camera, for being used as first using the time for exposure T of brightest area overexposure
The time for exposure T of camera, the T are more than 0.
The time for exposure determining module of second camera, it is described for using time for exposure of the T/M as second camera
M is the natural number less than or equal to 10 more than or equal to 2.
Photographing unit 24, for the time for exposure of the first camera according to determination, and the second camera determined
Time for exposure, the scene for needing to shoot is taken pictures simultaneously by the first camera and second camera.
, can be by dark region when the time for exposure of the first camera is the time for exposure of the brightest area overexposure determined
Take highest brightness, but brightest area taken into overexposure, or close to overexposure brightness (clap into turn white, it is unsharp
Brightness).When the time for exposure of second camera being less than time for exposure (the declining into multiple) of the first camera, second shooting
Head can clap brightest area clearly bright and not overexposure.
Photo synthesis unit 25, for synthesize the first camera the scene for needing to shoot take pictures obtained photo and
The photo that second camera is obtained to needing the scene of shooting take pictures.
Wherein, the photo synthesis unit 25 includes:
Overexposure region in overexposure area determination module, the photo obtained for determining the first camera to take pictures.Specifically,
The brightness value for obtained pixel of taking pictures, then the maximum brightness that the brightness value of the pixel and the pixel are set are obtained first
Value compares, if both differences judge the pixel overexposure, that is, judge the area where the pixel in a threshold range
Domain overexposure.Wherein, the region where pixel refers to some region in the region that step A2 is divided.
Overexposure region reduces module, the overexposure region for reducing the determination.
Area corresponding with the overexposure region of reduction in image synthesis unit, the photo obtained for second camera to be taken pictures
Domain, is synthesized, the photo after being synthesized with the photo of having reduced overexposure region.Specifically, it is determined that second camera is taken pictures
In obtained photo, the corresponding region in region reduced is needed in obtained photo of being taken pictures with the first camera, then by determination
The region obtained photo for having reduced overexposure region of being taken pictures with the first camera is synthesized, and obtains final photo, and export.
In second embodiment of the invention, due to carrying out light-metering to the scene for needing to shoot, therefore, it is possible to determine to need to clap
The time for exposure of brightest area overexposure in the scene taken the photograph, so as to determine that first takes the photograph according to the time for exposure of brightest area overexposure
Same Scene is shot simultaneously as the time for exposure of head and second camera, and according to the time for exposure of determination, and due to
The time for exposure of first camera is different with the time for exposure of second camera, therefore, by the first camera shoot photo with
After the photo that second camera is shot is synthesized, the photo of more high dynamic can be obtained, lightness is presented so as to clear
The larger scene of diversity ratio.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of photographic method, it is characterised in that methods described includes:
Light-metering is carried out to the scene for needing to shoot by the first camera;
The time for exposure of brightest area overexposure is determined according to photometry result;
Time for exposure and the second camera of the first camera are determined according to time for exposure of the brightest area overexposure of determination
Time for exposure, the time for exposure of first camera is not equal to the time for exposure of second camera;
According to the time for exposure of the time for exposure of the first camera of determination, and the second camera of determination, taken the photograph by first
As simultaneously head and second camera are taken pictures to the scene for needing to shoot;
Synthesize the first camera and to the scene for needing to shoot take pictures obtained photo and second camera to needing what is shot
Scene carries out the obtained photo of taking pictures;
It is described that light-metering is carried out to the scene for needing to shoot by the first camera, specifically include:
The corresponding photo of scene for needing to shoot is obtained by the first camera;
The photo of acquisition is divided into N*N region, N is natural number;
The brightness value of the pixel in the region divided is counted, to determine the area where highest brightness value and highest brightness value
Domain;Wherein, highest brightness value is the highest brightness value of pixel, or, put down for the brightness of pixel that includes of region of division
The highest brightness value of average;When highest brightness value is the highest brightness value of pixel, pass through the brightness of the point of compared pixels one by one
Value is determined;During the highest brightness value of the average brightness of the pixel included when highest brightness value for the region divided, first determine
The average value of the brightness value for the pixel that regional is included, then the brightness value of the regional obtained by comparing average value
It is determined that.
2. according to the method described in claim 1, it is characterised in that the exposure that brightest area overexposure is determined according to photometry result
Between light time, specifically include:
Obtain the brightness degree of the sensor of the first camera;
According to the highest brightness value of determination, the time for exposure of the highest brightness value and the brightness degree of acquisition are obtained, it is determined that most
The time for exposure of bright area overexposure.
3. the method according to any one of claim 1 to 2, it is characterised in that the brightest area overexposure according to determination
Time for exposure determine the time for exposure of the first camera and the time for exposure of second camera, specifically include:
Using the time for exposure T of brightest area overexposure as the time for exposure T of the first camera, the T is more than 0;
Using time for exposure of the T/M as second camera, the M is the natural number less than or equal to 10 more than or equal to 2.
4. method according to claim 3, it is characterised in that the camera of synthesis first enters to the scene for needing to shoot
The photo that capable take pictures obtained photo and second camera are obtained to needing the scene of shooting take pictures, is specifically included:
Determine the overexposure region that the first camera is taken pictures in obtained photo;
Reduce the overexposure region of the determination;
Second camera is taken pictures region corresponding with the overexposure region of reduction in obtained photo, with having reduced overexposure region
Photo is synthesized, the photo after being synthesized.
5. a kind of camera arrangement, it is characterised in that described device includes:
Scene light-metering unit, for carrying out light-metering to the scene for needing to shoot by the first camera;
The time for exposure determining unit of overexposure, the time for exposure for determining brightest area overexposure according to photometry result;
The time for exposure determining unit of camera, the time for exposure for the brightest area overexposure according to determination determines the first shooting
The time for exposure of head and the time for exposure of second camera, the time for exposure of first camera is not equal to second camera
Time for exposure;
Photographing unit, for the time for exposure of the first camera according to determination, and the second camera determined exposure when
Between, the scene for needing to shoot is taken pictures simultaneously by the first camera and second camera;
Photo synthesis unit, carries out obtained photo and second of taking pictures to the scene for needing to shoot for synthesizing the first camera and takes the photograph
The photo obtained as head to needing the scene of shooting take pictures;
The scene light-metering unit includes:
Photo acquisition module, for obtaining the corresponding photo of scene for needing to shoot by the first camera;
Photo division module, for the photo of acquisition to be divided into N*N region, N is natural number;
Highest brightness value determining module, the brightness value for counting the pixel in the region divided, to determine highest brightness value
And the region where highest brightness value;Wherein, highest brightness value is the highest brightness value of pixel, or, for the area of division
The highest brightness value of the average brightness for the pixel that domain is included;When highest brightness value is the highest brightness value of pixel, lead to
The brightness value for crossing compared pixels point one by one is determined;The average brightness of the pixel included when highest brightness value for the region divided
Highest brightness value when, first determine the average value for the brightness value of pixel that regional is included, then obtained by comparing it is each
The average value of the brightness value in individual region is determined.
6. device according to claim 5, it is characterised in that the time for exposure determining unit of the overexposure includes:
Brightness degree acquisition module, the brightness degree of the sensor for obtaining the first camera;
The time for exposure determining module of brightest area overexposure, for the highest brightness value according to determination, obtains the highest brightness value
Time for exposure and obtain brightness degree, determine the time for exposure of brightest area overexposure.
7. the device according to any one of claim 5 to 6, it is characterised in that the time for exposure of the camera determines single
Member includes:
The time for exposure determining module of first camera, the first shooting is used as the time for exposure T using brightest area overexposure
The time for exposure T of head, the T are more than 0;
The time for exposure determining module of second camera, for using T/M as the time for exposure of second camera, the M is
More than or equal to 2, the natural number less than or equal to 10.
8. device according to claim 7, it is characterised in that the photo synthesis unit includes:
Overexposure region in overexposure area determination module, the photo obtained for determining the first camera to take pictures;
Overexposure region reduces module, the overexposure region for reducing the determination;
Region corresponding with the overexposure region of reduction in image synthesis unit, the photo obtained for second camera to be taken pictures,
Synthesized with the photo of having reduced overexposure region, the photo after being synthesized.
9. a kind of terminal, it is characterised in that the terminal includes the camera arrangement described in any one of claim 5 to 8.
10. terminal according to claim 9, it is characterised in that the terminal is smart mobile phone or tablet personal computer.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410715297.XA CN104333708B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
CN201710816220.5A CN107454343B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410715297.XA CN104333708B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710816220.5A Division CN107454343B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104333708A CN104333708A (en) | 2015-02-04 |
CN104333708B true CN104333708B (en) | 2017-10-20 |
Family
ID=52408350
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410715297.XA Active CN104333708B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
CN201710816220.5A Expired - Fee Related CN107454343B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710816220.5A Expired - Fee Related CN107454343B (en) | 2014-11-28 | 2014-11-28 | Photographic method, camera arrangement and terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104333708B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105282428B (en) * | 2015-05-28 | 2019-03-01 | 维沃移动通信有限公司 | A kind of method and mobile terminal of mobile terminal shooting |
CN105991939A (en) * | 2015-06-19 | 2016-10-05 | 乐视移动智能信息技术(北京)有限公司 | Image processing method and device |
CN105100637A (en) * | 2015-08-31 | 2015-11-25 | 联想(北京)有限公司 | Image processing method and electronic equipment |
CN105227837A (en) * | 2015-09-24 | 2016-01-06 | 努比亚技术有限公司 | A kind of image combining method and device |
CN109660738B (en) * | 2015-12-22 | 2021-01-12 | 北京奇虎科技有限公司 | Exposure control method and system based on double cameras |
CN105812677B (en) * | 2016-04-29 | 2019-07-30 | 宇龙计算机通信科技(深圳)有限公司 | A kind of image generating method and system |
CN106060412A (en) * | 2016-08-02 | 2016-10-26 | 乐视控股(北京)有限公司 | Photographic processing method and device |
CN106254790A (en) * | 2016-08-02 | 2016-12-21 | 乐视控股(北京)有限公司 | Take pictures processing method and processing device |
CN106534814B (en) * | 2016-10-12 | 2019-01-18 | 成都西纬科技有限公司 | A kind of method and apparatus that dual camera picture quality is synchronous |
CN106572311A (en) * | 2016-11-11 | 2017-04-19 | 努比亚技术有限公司 | Shooting apparatus and method thereof |
CN106791377B (en) * | 2016-11-29 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method, control device and electronic device |
CN106791376B (en) * | 2016-11-29 | 2019-09-13 | Oppo广东移动通信有限公司 | Imaging device, control method, control device and electronic device |
TWI626620B (en) * | 2016-12-20 | 2018-06-11 | 廣東歐珀移動通訊有限公司 | Image processing method and device, electronic device, and computer readable storage medium |
CN107071291B (en) * | 2016-12-28 | 2020-08-18 | 南昌黑鲨科技有限公司 | Image processing method and device and electronic equipment |
CN107040726B (en) * | 2017-04-19 | 2020-04-07 | 宇龙计算机通信科技(深圳)有限公司 | Double-camera synchronous exposure method and system |
CN107809582A (en) * | 2017-10-12 | 2018-03-16 | 广东欧珀移动通信有限公司 | Image processing method, electronic installation and computer-readable recording medium |
CN108337445B (en) * | 2018-03-26 | 2020-06-26 | 华为技术有限公司 | Photographing method, related device and computer storage medium |
CN108924436A (en) * | 2018-08-01 | 2018-11-30 | 湖南拓视觉信息技术有限公司 | The generation method and device of high quality graphic |
CN108683862B (en) * | 2018-08-13 | 2020-01-10 | Oppo广东移动通信有限公司 | Imaging control method, imaging control device, electronic equipment and computer-readable storage medium |
CN111182093A (en) * | 2018-11-12 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | HDR photographing method based on three cameras, mobile terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002369074A (en) * | 2001-06-11 | 2002-12-20 | Ricoh Co Ltd | Exposure controller for optical equipment and its program and its method |
CN102131051A (en) * | 2010-12-28 | 2011-07-20 | 惠州Tcl移动通信有限公司 | Image pick-up equipment and image acquisition method and device thereof |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3822393B2 (en) * | 1999-08-10 | 2006-09-20 | 富士写真フイルム株式会社 | Imaging apparatus and imaging control method |
JP4136464B2 (en) * | 2002-06-03 | 2008-08-20 | オリンパス株式会社 | Imaging apparatus and imaging method |
KR100809345B1 (en) * | 2006-06-16 | 2008-03-05 | 삼성전자주식회사 | Apparatus and method for generating image |
CN101399919B (en) * | 2007-09-25 | 2010-05-19 | 展讯通信(上海)有限公司 | Method for automatic exposure and automatic gain regulation and method thereof |
JP4561912B2 (en) * | 2008-09-12 | 2010-10-13 | ソニー株式会社 | Imaging apparatus, imaging method, and program |
CN101394487B (en) * | 2008-10-27 | 2011-09-14 | 华为技术有限公司 | Image synthesizing method and system |
CN101997981B (en) * | 2010-11-01 | 2013-08-14 | 惠州Tcl移动通信有限公司 | Mobile phone camera-based latitude realization method and mobile phone |
CN202424857U (en) * | 2011-12-22 | 2012-09-05 | 鼎创电子股份有限公司 | Double-lens camera shooting module capable of obtaining high-resolution image |
CN102984355A (en) * | 2012-11-08 | 2013-03-20 | 深圳桑菲消费通信有限公司 | Cell phone and dual-camera achieving method thereof |
CN104052933A (en) * | 2013-03-15 | 2014-09-17 | 聚晶半导体股份有限公司 | Method for determining dynamic range mode, and image obtaining apparatus |
CN103780840B (en) * | 2014-01-21 | 2016-06-08 | 上海果壳电子有限公司 | Two camera shooting image forming apparatus of a kind of high-quality imaging and method thereof |
-
2014
- 2014-11-28 CN CN201410715297.XA patent/CN104333708B/en active Active
- 2014-11-28 CN CN201710816220.5A patent/CN107454343B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002369074A (en) * | 2001-06-11 | 2002-12-20 | Ricoh Co Ltd | Exposure controller for optical equipment and its program and its method |
CN102131051A (en) * | 2010-12-28 | 2011-07-20 | 惠州Tcl移动通信有限公司 | Image pick-up equipment and image acquisition method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107454343B (en) | 2019-08-02 |
CN107454343A (en) | 2017-12-08 |
CN104333708A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333708B (en) | Photographic method, camera arrangement and terminal | |
CN107509037B (en) | The method and terminal taken pictures using different field angle cameras | |
CN104363379B (en) | The method and terminal taken pictures using different focal camera | |
US9451173B2 (en) | Electronic device and control method of the same | |
WO2020088290A1 (en) | Method for obtaining depth information and electronic device | |
WO2021036715A1 (en) | Image-text fusion method and apparatus, and electronic device | |
CN108322646A (en) | Image processing method, device, storage medium and electronic equipment | |
CN106233329A (en) | 3D draws generation and the use of east image | |
CN104580922B (en) | A kind of control method and device for shooting light filling | |
CN109040603A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN104683702B (en) | A kind of method, apparatus of light filling when taking pictures and a kind of mobile terminal | |
CN107409166A (en) | Panning lens automatically generate | |
CN105227847B (en) | A kind of the camera photographic method and system of mobile phone | |
CN108200351A (en) | Image pickup method, terminal and computer-readable medium | |
CN108234879A (en) | It is a kind of to obtain the method and apparatus for sliding zoom video | |
CN103533228B (en) | Method and system for generating a perfect shot image from multiple images | |
CN109120862A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN108564612A (en) | Model display methods, device, storage medium and electronic equipment | |
CN113170037B (en) | Method for shooting long exposure image and electronic equipment | |
CN110324532A (en) | A kind of image weakening method, device, storage medium and electronic equipment | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN107426490A (en) | A kind of photographic method and terminal | |
CN112700377A (en) | Image floodlight processing method and device and storage medium | |
CN105556957B (en) | A kind of image processing method, computer storage media, device and terminal | |
CN103079016A (en) | Photographed face transformation method and intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CP03 | Change of name, title or address |