CN107454343B - Photographic method, camera arrangement and terminal - Google Patents

Photographic method, camera arrangement and terminal Download PDF

Info

Publication number
CN107454343B
CN107454343B CN201710816220.5A CN201710816220A CN107454343B CN 107454343 B CN107454343 B CN 107454343B CN 201710816220 A CN201710816220 A CN 201710816220A CN 107454343 B CN107454343 B CN 107454343B
Authority
CN
China
Prior art keywords
camera
exposure
time
photo
overexposure
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.)
Expired - Fee Related
Application number
CN201710816220.5A
Other languages
Chinese (zh)
Other versions
CN107454343A (en
Inventor
张学勇
韦怡
张弓
孙剑波
蓝和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710816220.5A priority Critical patent/CN107454343B/en
Publication of CN107454343A publication Critical patent/CN107454343A/en
Application granted granted Critical
Publication of CN107454343B publication Critical patent/CN107454343B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry 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 suitable for mobile communication field, provides a kind of photographic method, camera arrangement and terminal.The described method includes: carrying out survey light by the scene that the first camera shoots needs;The time for exposure of brightest area overexposure is determined according to photometry result;Determine that the time for exposure of the time for exposure and second camera of the first camera, the time for exposure of first camera are not equal to the time for exposure of second camera according to the time for exposure of determining brightest area overexposure;According to the time for exposure of the first determining camera, and the time for exposure of determining second camera, passes through the scene that the first camera and second camera simultaneously shoot needs and take pictures;Synthesize the photo that the scene that the first camera shoots the photo and second camera that need the scene shot to be taken pictures to needs is taken pictures.The embodiment of the present invention can export the photo of high dynamic.

Description

Photographic method, camera arrangement and terminal
Technical field
The invention belongs to mobile communication field more particularly to a kind of photographic methods, camera arrangement and terminal.
Background technique
Currently, terminal (smart phone or tablet computer) it is integrated function it is more and more, such as other than function of surfing the Net, pass through Setting camera can also be achieved camera function at the terminal.
But through the existing camera that terminal is arranged in the biggish scene of shooting brightness diversity ratio, in high brightness Region be easy overexposure, the region of low-light level be easy owe expose, due to shoot come photo dynamic range it is too small, lead Cause the photo effect of shooting bad.
Summary of the invention
The embodiment of the invention provides a kind of photographic method, camera arrangement and terminals, it is intended to solve existing method and be difficult to obtain The problem of taking luminance dynamic range big photo.
On the one hand, a kind of photographic method is provided, the method includes the following steps:
Survey light is carried out by the scene that the first camera shoots needs;
The time for exposure of brightest area overexposure is determined according to photometry result;
Time for exposure and the second camera shooting of the first camera are determined according to the time for exposure of determining brightest area overexposure The time for exposure of head, the time for exposure of first camera are not equal to the time for exposure of second camera;
According to the time for exposure of the first determining camera, and the time for exposure of second camera determined, by the The scene that one camera and second camera simultaneously shoot needs is taken pictures;
Photo that the first camera takes pictures to the scene that shoots of needs and second camera are synthesized to needing to clap The photo that the scene taken the photograph is taken pictures.
With reference to first aspect, in the first possible implementation of the first aspect, described to pass through the first camera pair The step that the scene for needing to shoot survey light specifically includes:
The corresponding photo of scene for needing to shoot is obtained by the first camera;
The photo that will acquire is divided into N*N region, and N is natural number;
The brightness value of the pixel in the region divided is counted, where determining highest brightness value and highest brightness value Region.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the step of time for exposure that brightest area overexposure is determined according to photometry result, specifically includes:
Obtain the brightness degree of the sensor of the first camera;
According to determining highest brightness value, 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 to first aspect or second of the first possible implementation of first aspect or first aspect may Implementation, in a third possible implementation of the first aspect, the exposure according to determining brightest area overexposure Between light time determine the first camera time for exposure and second camera time for exposure the step of specifically include:
Time for exposure T using the time for exposure T of brightest area overexposure as the first camera, the T are greater than 0;
Time for exposure using T/M as second camera, the M are the nature more than or equal to 2, less than or equal to 10 Number.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect In, photo and second camera that the first camera of the synthesis takes pictures to the scene that shoots of needs are to needing to shoot Scene taken pictures photo the step of specifically include:
Determine the overexposure region in photo that the first camera is taken pictures;
Reduce the overexposure region of the determination;
Region corresponding with the overexposure region of reduction in the photo that second camera is taken pictures, and has reduced overexposure area The photo in domain is synthesized, the photo after being synthesized.
Second aspect, provides a kind of camera arrangement, and described device includes:
Scene surveys light unit, and the scene for being shot by the first camera to needs carries out survey light;
The time for exposure determination unit of overexposure, for determining the time for exposure of brightest area overexposure according to photometry result;
The time for exposure determination unit of camera, for determining first according to the time for exposure of determining brightest area overexposure The time for exposure of the time for exposure of camera and the time for exposure of second camera, first camera take the photograph not equal to second As the time for exposure of head;
Photographing unit, for the time for exposure according to the first determining camera, and the exposure of determining second camera Between light time, taken pictures by the scene that the first camera and second camera simultaneously shoot needs;
Photo synthesis unit, the photo taken pictures to the scene that shoots of needs for synthesizing the first camera and the The photo that the scene that two cameras shoot needs is taken pictures.
In conjunction with second aspect, in the first possible implementation of the second aspect, the scene surveys light unit and includes:
Photo obtains module, for obtaining the corresponding photo of scene for needing to shoot by the first camera;
Photo division module, the photo for will acquire are divided into N*N region, and N is natural number;
Highest brightness value determining module, it is most highlighted with determination for counting the brightness value of the pixel in the region divided Region where angle value and highest brightness value.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the time for exposure determination unit of the overexposure includes:
Brightness degree obtains module, the brightness degree of the sensor for obtaining the first camera;
The time for exposure determining module of brightest area overexposure, for according to determining highest brightness value, 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.
Second in conjunction with the possible implementation of the first of second aspect or second aspect or second aspect may Implementation, in the third possible implementation of the second aspect, the time for exposure determination unit packet of the camera It includes:
The time for exposure determining module of first camera, for the time for exposure T using brightest area overexposure as first The time for exposure T of camera, the T are greater than 0;
The time for exposure determining module of second camera, it is described for the time for exposure using T/M as second camera M is the natural number more than or equal to 2, less than or equal to 10.
In conjunction with 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 determining module, for determining the overexposure region in photo that the first camera is taken pictures;
Overexposure region reduces module, for reducing the overexposure region of the determination;
Image synthesis module, area corresponding with the overexposure region of reduction in the photo for second camera to be taken pictures Domain is synthesized, the photo after being synthesized with the photo for having reduced overexposure region.
The third aspect, provides a kind of terminal, and the terminal includes above-mentioned camera arrangement.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the terminal be smart phone or Tablet computer.
In embodiments of the present invention, survey light is carried out by the scene that the first camera shoots needs, according to photometry result The time for exposure for determining brightest area overexposure determines the exposure of the first camera according to the time for exposure of determining brightest area overexposure Between light time and the time for exposure of second camera, according to the time for exposure of the first determining camera, and determine second The time for exposure of camera, while the scene shot to needs is taken pictures, the scene that the first camera of synthesis shoots needs The photo that the scene that the photo and second camera taken pictures shoot needs is taken pictures.Due to needing to clap The scene taken the photograph carries out survey light, therefore can determine the time for exposure of brightest area overexposure in scene that needs are shot, 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 determining exposure Same Scene is shot simultaneously between light time, and due to the time for exposure of the time for exposure of the first camera and second camera Therefore difference after being synthesized the photo of the photo of the first camera shooting and second camera shooting, can obtain higher Dynamic photo, so as to which the biggish scene of brightness diversity ratio is clearly presented.
Detailed description of the invention
Fig. 1 is a kind of flow chart for photographic method that first embodiment of the invention provides;
Fig. 2 is a kind of structure chart for camera arrangement that second embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right 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, survey light is carried out by the scene that the first camera shoots needs, it is true according to photometry result The time for exposure for determining brightest area overexposure determines the exposure of the first camera according to the time for exposure of determining brightest area overexposure Time and the time for exposure of second camera, according to the time for exposure of the first determining camera, and what is determined second take the photograph Take pictures as the time for exposure of head, while to the scene that shoots of needs, the scene that the first camera of synthesis shoots needs into The photo that the scene that the photo and second camera that row is taken pictures shoot needs is taken pictures.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
Fig. 1 shows a kind of flow chart of photographic method of first embodiment of the invention offer, in embodiments of the present invention, There are two cameras for setting on the same face of terminal: the first camera and second camera.It is taken the photograph by the first camera and second As head while Same Scene is shot, 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 carries out survey light by the scene that the first camera shoots needs.
The first camera survey light before, can first adjust the parameter of the first camera and second camera, guarantee this first Camera is identical with the field angle of second camera, so that first camera and second camera can take identical field Scape, to be conducive to subsequent photo synthesis.
Wherein, the step S11 is specifically wrapped by the step that the scene that the first camera shoots needs survey light It includes:
A1, the corresponding photo of scene for needing to shoot is obtained by the first camera.Specifically, it is clapped by the first camera Scene is taken the photograph, and then obtains the corresponding photo of the scene.
A2, the photo that will acquire are divided into N*N region, and N is natural number.The photo that will acquire is divided into multiple regions, Be conducive to analyze the coordinate where the bright part of the photo and dark part.Wherein, N is natural number, can work as N with value for 4 When=4, the photo that will acquire is divided into 16 regions, and certainly, N can also be taken as other values, is not construed as limiting herein.
The brightness value for the pixel in region that A3, statistics divide, to determine highest brightness value and highest brightness value institute Region.Specifically, the brightness value of pixel can directly be read from the photo that exposure is completed.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 includes Brightness value.When highest brightness value is the highest brightness value of pixel, can be determined by the brightness value of the point of compared pixels one by one;When When highest brightness value is the highest brightness value of the average brightness for the pixel that the region divided includes, each region can be first determined The average value of the brightness value for the pixel for including, then the average value of the brightness value of each region obtained by comparing determine.
Step S12 determines the time for exposure of brightest area overexposure according to photometry result.
The brightest area of the step is also the brightest area in the scene for needing to shoot.
Wherein, the step S12, the step of determining the time for exposure of brightest area overexposure according to photometry result, specifically wrap It includes:
B1, obtain the first camera sensor 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 of the photo of first camera shooting is 0~1024.
B2, according to determining highest brightness value, the brightness etc. that obtains the time for exposure of the highest brightness value and obtain Grade, 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 time for exposure of the corresponding maximum brightness value of the brightness degree of acquisition and brightest area overexposure is right It answers 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 be 500 (should " 500 " may refer to the pixel value of pixel, can also To refer to the average value of the pixel value in 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 pixel region corresponding to the highest brightness value " 500 " Time are as follows: X=102.4ms.When " 500 " refer to the average value of the pixel value in region, the highest brightness value " 500 " is corresponding Region overexposure time for exposure are as follows: X=102.4ms.
Step S13, according to the time for exposure of determining brightest area overexposure determine the first camera time for exposure and The time for exposure of second camera, the time for exposure of first camera are not equal to the time for exposure of second camera.
In this step, in order to obtain the photo of high dynamic, usually make time for exposure and the second camera shooting of the first camera The difference of the time for exposure of head.
Optionally, the time for exposure of the first camera can be made to be greater than the time for exposure of second camera, at this moment, the step S13 determines time for exposure and the second camera of the first camera according to time for exposure of determining brightest area overexposure The step of time for exposure, specifically includes:
C1, the time for exposure T using the time for exposure T of brightest area overexposure as the first camera, the T are greater 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, the time for exposure using T/M as second camera, the M are 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 determining camera, and the second camera that determines exposure when Between, it is taken pictures by the scene that the first camera and second camera simultaneously shoot needs.
In this step, when the time for exposure of the first camera is the time for exposure of determining brightest area overexposure, 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 White, unsharp brightness).When second camera time for exposure less than the first camera time for exposure (declining at multiple) When, which can clap brightest area clearly bright and not overexposure.
Step S15, the photo and second camera that the scene that the first camera of synthesis shoots needs is taken pictures The photo taken pictures to the scene that needs are shot.
In this step, the non-brightest area that the first camera is shot is synthesized with the brightest area that second camera is shot For a new photo.
Optionally, the step S15, photo that the first camera of synthesis takes pictures to the scene that shoots of needs and The step of photo that the scene that second camera shoots needs is taken pictures, specifically includes:
D1, overexposure region in photo that the first camera is taken pictures is determined.It is greater than or connects in the brightness value of pixel When being bordering on the highest brightness value that pixel is set (such as when brightness degree is 10, highest brightness value that pixel is set as 1024), show the pixel overexposure.In this step, the brightness value of pixel taken 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 the difference of the two in a threshold range, determines The pixel overexposure determines 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, determination is reduced according to the boundary in the region divided step A2 Overexposure region.
Region corresponding with the overexposure region of reduction in D3, the photo that second camera is taken pictures, and has reduced mistake The photo for exposing region is synthesized, the photo after being synthesized.Specifically, it is determined that in the photo that second camera is taken pictures, Region corresponding with the region for needing to reduce in the photo that the first camera is taken pictures, then determining region is imaged with first The photo for having reduced overexposure region that head is taken pictures is synthesized, and obtains final photo, and export.For example, it is assumed that first The photo of camera shooting is divided into Y1~Y16 region, and the photo of second camera shooting is divided into Z1~Z16 region, And first camera shooting photo in two regions Y1, Y2 be overexposure region, then will second camera shooting photo in 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, survey light is carried out by the scene that the first camera shoots needs, according to survey light As a result the time for exposure for determining brightest area overexposure, the first camera is determined according to the time for exposure of determining brightest area overexposure Time for exposure and second camera time for exposure, according to the time for exposure of the first determining camera, and determine The time for exposure of second camera, while the scene shot to needs is taken pictures, the first camera of synthesis shoots needs The photo that the scene that the photo and second camera that scene is taken pictures shoot needs is taken pictures.Due to need The scene to be shot carries out survey light, therefore can determine the time for exposure of brightest area overexposure in scene that needs are shot, thus 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 due to the exposure of the time for exposure of the first camera and second camera Time is different, therefore, after the photo of the photo of the first camera shooting and second camera shooting is synthesized, can obtain The photo of more high dynamic, so as to which the biggish scene of brightness diversity ratio is clearly presented.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
Embodiment two:
Fig. 2 shows a kind of structure chart for camera arrangement that second embodiment of the invention provides, which can be answered For in terminal, which may include the user equipment communicated through wireless access network RAN with one or more core nets, The user equipment can be mobile phone (or being " 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 exchange voice and/or data.In another example the terminal may include smart phone, tablet computer, personal digital assistant PDA, pin Sell terminal POS or vehicle-mounted computer etc..
The camera arrangement include: scene survey light unit 21, the time for exposure determination unit 22 of overexposure, camera exposure when Between determination unit 23, photographing unit 24, photo synthesis unit 25.Wherein:
Scene surveys light unit 21, and the scene for being shot by the first camera to needs carries out survey light.
Wherein, the scene survey light unit 21 includes:
Photo obtains 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, the photo for will acquire are divided into N*N region, and N is natural number.Wherein, N is nature Number, can be with value for 4, and as N=4, the photo that will acquire is divided into 16 regions, and certainly, N can also be taken as other values, It is not construed as limiting herein.
Highest brightness value determining module, it is most highlighted with determination for counting the brightness value of the pixel in the region divided 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 includes.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 includes When spending the highest brightness value of average value, the average value of the brightness value for the pixel that each region includes can be first determined, then pass through ratio The average value of the brightness value of each region relatively obtained determines.
The time for exposure determination unit 22 of overexposure, for determining the time for exposure of brightest area overexposure according to photometry result.
Wherein, brightest area is the brightest area in the scene for needing to shoot.
Wherein, the time for exposure determination unit 22 of the overexposure includes:
Brightness degree obtains 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 according to determining highest brightness value, 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 The ratio of high luminance values and the time for exposure for obtaining the highest brightness value, with the corresponding maximum brightness value of the brightness degree of acquisition It is corresponding proportional with the ratio of the time for exposure of brightest area overexposure.
The time for exposure determination unit 23 of camera, for determining according to the time for exposure of determining brightest area overexposure The time for exposure of the time for exposure of one camera and the time for exposure of second camera, first camera are not equal to second The time for exposure of camera.
Wherein, when the time for exposure of the first camera being greater than the time for exposure of second camera, the exposure of the camera Determination unit 23 includes: between light time
The time for exposure determining module of first camera, for the time for exposure T using brightest area overexposure as first The time for exposure T of camera, the T are greater than 0.
The time for exposure determining module of second camera, it is described for the time for exposure using T/M as second camera M is the natural number more than or equal to 2, less than or equal to 10.
Photographing unit 24, for the time for exposure according to the first determining camera, and the second camera that determines Time for exposure is taken pictures by the scene that the first camera and second camera simultaneously shoot needs.
It, can be by dark region when the time for exposure of the first camera is the time for exposure of determining brightest area overexposure Take highest brightness, but brightest area taken into overexposure, or close to overexposure brightness (clap at whiten, it is unsharp Brightness).When time for exposure (at multiple decline) of the time for exposure of second camera less than the first camera, second camera shooting Head can clap brightest area clearly bright and not overexposure.
Photo synthesis unit 25, the photo taken pictures to the scene that shoots of needs for synthesizing the first camera and The photo that the scene that second camera shoots needs is taken pictures.
Wherein, the photo synthesis unit 25 includes:
Overexposure region determining module, for determining the overexposure region in photo that the first camera is taken pictures.Specifically, The brightness value for the pixel taken pictures, then the maximum brightness that the brightness value of the pixel and the pixel are set are obtained first Value compares, if the difference of the two in a threshold range, determines the pixel overexposure, that is, determines the area where the pixel Domain overexposure.Wherein, the region where pixel refers to some region in the region of step A2 division.
Overexposure region reduces module, for reducing the overexposure region of the determination.
Image synthesis module, area corresponding with the overexposure region of reduction in the photo for second camera to be taken pictures Domain is synthesized, the photo after being synthesized with the photo for having reduced overexposure region.Specifically, it is determined that second camera is taken pictures In obtained photo, region corresponding with the region for needing to reduce in the photo that the first camera is taken pictures, then will be determining Region is synthesized with the photo for having reduced overexposure region that the first camera is taken pictures, and obtains final photo, and export.
In second embodiment of the invention, since the scene shot to needs carries out survey light, it can determine and 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 determining time for exposure, and due to The time for exposure of the time for exposure of first camera and second camera is different, therefore, by the photo of the first camera shooting with After the photo of second camera shooting is synthesized, the photo of more high dynamic can be obtained, so as to which brightness is clearly presented The biggish scene of diversity ratio.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of photographic method, which is characterized in that the described method includes:
Survey light is carried out by the scene that the first camera shoots needs;
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 determining brightest area overexposure Time for exposure, the time for exposure of first camera are not equal to the time for exposure of second camera, the second camera The time for exposure of time for exposure and first camera be the relationship declined at multiple, the field angle of first camera with The field angle of the second camera is identical;
According to the time for exposure of the first determining camera, and the time for exposure of determining second camera, taken the photograph by first As the scene that head and second camera simultaneously shoot needs is taken pictures;
Synthesize what the first camera shot the photo and second camera that need the scene shot to be taken pictures to needs The photo that scene is taken pictures;
The scene shot by the first camera to needs carries out survey light, specifically includes:
The corresponding photo of scene for needing to shoot is obtained by the first camera;
The photo that will acquire is divided into N*N region, and 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.
2. the method according to claim 1, wherein the exposure for determining brightest area overexposure according to photometry result Between light time, specifically include:
The brightness degree for obtaining the sensor of the first camera finds out the corresponding maximum brightness value of the brightness degree;
According to determining highest brightness value, obtain the highest brightness value time for exposure and the brightness degree it is corresponding most Big brightness value determines the time for exposure of brightest area overexposure.
3. method according to claim 1 or 2, which is characterized in that the exposure according to determining brightest area overexposure Time determines the time for exposure of the first camera and the time for exposure of second camera, specifically includes:
Time for exposure T using the time for exposure T of brightest area overexposure as the first camera, the T are greater than 0;
Time for exposure using T/M as second camera, the M are the natural number more than or equal to 2, less than or equal to 10.
4. according to the method described in claim 3, it is characterized in that, the first camera of the synthesis to the scene that shoots of needs into The photo that the scene that the photo and second camera that row is taken pictures shoot needs is taken pictures, specifically includes:
Determine the overexposure region in photo that the first camera is taken pictures;
Reduce the overexposure region of the determination;
Region corresponding with the overexposure region of reduction in the photo that second camera is taken pictures, and has reduced overexposure region Photo is synthesized, the photo after being synthesized.
5. a kind of camera arrangement, which is characterized in that described device includes:
Scene surveys light unit, and the scene for being shot by the first camera to needs carries out survey light;
The time for exposure determination unit of overexposure, for determining the time for exposure of brightest area overexposure according to photometry result;
The time for exposure determination unit of camera, for determining the first camera shooting according to the time for exposure of determining brightest area overexposure The time for exposure of the time for exposure of head and the time for exposure of second camera, first camera are not equal to second camera Time for exposure, the time for exposure of the time for exposure of the second camera and first camera is the pass declined at multiple System, the field angle of first camera are identical with the field angle of the second camera;
Photographing unit, for the time for exposure according to the first determining camera, and the second camera that determines exposure when Between, it is taken pictures by the scene that the first camera and second camera simultaneously shoot needs;
Photo synthesis unit is taken the photograph for synthesizing the photo and second that the scene that the first camera shoots needs is taken pictures The photo taken pictures as the scene that head shoots needs;
The scene surveys light unit
Photo obtains module, for obtaining the corresponding photo of scene for needing to shoot by the first camera;
Photo division module, the photo for will acquire are divided into N*N region, and N is natural number;
Highest brightness value determining module, for counting the brightness value of the pixel in the region divided, to determine highest brightness value And the region where highest brightness value.
6. device according to claim 5, which is characterized in that the time for exposure determination unit of the overexposure includes:
Brightness degree obtains module, and the brightness degree of the sensor for obtaining the first camera finds out the brightness degree Corresponding maximum brightness value;
The time for exposure determining module of brightest area overexposure, for according to determining highest brightness value, obtain the highest brightness value Time for exposure and the corresponding maximum brightness value of the brightness degree, determine the time for exposure of brightest area overexposure.
7. device according to claim 5 or 6, which is characterized in that the time for exposure determination unit of the camera includes:
The time for exposure determining module of first camera, for the time for exposure T using brightest area overexposure as the first camera shooting The time for exposure T of head, the T are greater than 0;
The time for exposure determining module of second camera, for the time for exposure using T/M as second camera, the M is Natural number more than or equal to 2, less than or equal to 10.
8. device according to claim 7, which is characterized in that the photo synthesis unit includes:
Overexposure region determining module, for determining the overexposure region in photo that the first camera is taken pictures;
Overexposure region reduces module, for reducing the overexposure region of the determination;
Image synthesis module, region corresponding with the overexposure region of reduction in the photo for second camera to be taken pictures, It is synthesized with the photo for having reduced overexposure region, the photo after being synthesized.
9. a kind of terminal, which is characterized in that the terminal includes the described in any item camera arrangements of claim 5 to 8.
10. terminal according to claim 9, which is characterized in that the terminal is smart phone or tablet computer.
CN201710816220.5A 2014-11-28 2014-11-28 Photographic method, camera arrangement and terminal Expired - Fee Related CN107454343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710816220.5A CN107454343B (en) 2014-11-28 2014-11-28 Photographic method, camera arrangement and terminal

Applications Claiming Priority (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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410715297.XA Division CN104333708B (en) 2014-11-28 2014-11-28 Photographic method, camera arrangement and terminal

Publications (2)

Publication Number Publication Date
CN107454343A CN107454343A (en) 2017-12-08
CN107454343B true CN107454343B (en) 2019-08-02

Family

ID=52408350

Family Applications (2)

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
CN201410715297.XA Active CN104333708B (en) 2014-11-28 2014-11-28 Photographic method, camera arrangement and terminal

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201410715297.XA Active CN104333708B (en) 2014-11-28 2014-11-28 Photographic method, camera arrangement and terminal

Country Status (1)

Country Link
CN (2) CN107454343B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
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
CN105611186B (en) * 2015-12-22 2019-02-12 北京奇虎科技有限公司 Exposal control method and system based on dual camera
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399919A (en) * 2007-09-25 2009-04-01 展讯通信(上海)有限公司 Method for automatic exposure and automatic gain regulation and method thereof
CN101997981A (en) * 2010-11-01 2011-03-30 惠州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
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof
CN104052933A (en) * 2013-03-15 2014-09-17 聚晶半导体股份有限公司 Method for determining dynamic range mode, and image obtaining apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3822393B2 (en) * 1999-08-10 2006-09-20 富士写真フイルム株式会社 Imaging apparatus and imaging control method
JP2002369074A (en) * 2001-06-11 2002-12-20 Ricoh Co Ltd Exposure controller for optical equipment and its program and its 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
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
CN102131051B (en) * 2010-12-28 2012-11-28 惠州Tcl移动通信有限公司 Image pick-up equipment and image acquisition method and device thereof
CN102984355A (en) * 2012-11-08 2013-03-20 深圳桑菲消费通信有限公司 Cell phone and dual-camera achieving method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399919A (en) * 2007-09-25 2009-04-01 展讯通信(上海)有限公司 Method for automatic exposure and automatic gain regulation and method thereof
CN101997981A (en) * 2010-11-01 2011-03-30 惠州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
CN104052933A (en) * 2013-03-15 2014-09-17 聚晶半导体股份有限公司 Method for determining dynamic range mode, and image obtaining apparatus
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof

Also Published As

Publication number Publication date
CN104333708B (en) 2017-10-20
CN104333708A (en) 2015-02-04
CN107454343A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107454343B (en) Photographic method, camera arrangement and terminal
CN107509037B (en) The method and terminal taken pictures using different field angle cameras
KR102149187B1 (en) Electronic device and control method of the same
CN104363379B (en) The method and terminal taken pictures using different focal camera
CN108322646A (en) Image processing method, device, storage medium and electronic equipment
CN104580922B (en) A kind of control method and device for shooting light filling
CN111028190A (en) Image processing method, image processing device, storage medium and electronic equipment
EP3200446A1 (en) Method and apparatus for generating high dynamic range image
CN107948500A (en) Image processing method and device
CN106664363B (en) Glisten collision detection and compensation system, method, equipment and computer-readable media
CN106233329A (en) 3D draws generation and the use of east image
CN109040603A (en) High-dynamic-range image acquisition method, device and mobile terminal
WO2015162605A2 (en) System and method for controlling a camera based on processing an image captured by other camera
CN102957871A (en) Field depth processing method for shot image of mobile terminal
CN108234879A (en) It is a kind of to obtain the method and apparatus for sliding zoom video
CN108520493A (en) Processing method, device, storage medium and the electronic equipment that image is replaced
CN110198418A (en) Image processing method, device, storage medium and electronic equipment
CN107704798A (en) Image weakening method, device, computer-readable recording medium and computer equipment
CN110198419A (en) Image processing method, device, storage medium and electronic equipment
CN108513069A (en) Image processing method, device, storage medium and electronic equipment
CN110290325A (en) Image processing method, device, storage medium and electronic equipment
CN105556957B (en) A kind of image processing method, computer storage media, device and terminal
CN115601274A (en) Image processing method and device and electronic equipment
CN104092954B (en) Flash control method and control device, image-pickup method and harvester
CN109257540B (en) Photographing correction method of multi-photographing lens group and photographing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190802