CN106791341A - Image pickup method and device based on dual camera - Google Patents

Image pickup method and device based on dual camera Download PDF

Info

Publication number
CN106791341A
CN106791341A CN201710186876.3A CN201710186876A CN106791341A CN 106791341 A CN106791341 A CN 106791341A CN 201710186876 A CN201710186876 A CN 201710186876A CN 106791341 A CN106791341 A CN 106791341A
Authority
CN
China
Prior art keywords
camera
main
main camera
auxiliary
light intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710186876.3A
Other languages
Chinese (zh)
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.)
Shanghai Yude Technology Co Ltd
Original Assignee
Shanghai Yude Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201710186876.3A priority Critical patent/CN106791341A/en
Publication of CN106791341A publication Critical patent/CN106791341A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • 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/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of image pickup method and device based on dual camera.The method includes:The light intensity information of external environment condition is obtained, and determines main camera and auxiliary camera;If light intensity information light intensity threshold value corresponding less than the main camera, in gathering the light of environment nowadays and add to the imaging picture of main camera by auxiliary camera, to increase light intensity when the main camera shoots;Open the main camera and treat photographed and shot.The embodiment of the present invention is by using above-mentioned technical proposal, when light intensity is weaker by imaging picture light filling that auxiliary camera is main camera, the light intensity and light filling effect of main camera imaging picture can be improved, improve the imaging effect of scenery captured by main camera, reduce the amount of calculation needed for shooting process, the requirement to central processing unit performance is reduced, the cost of terminal device is reduced, the utilization rate of dual camera is improved.

Description

Image pickup method and device based on dual camera
Technical field
The present embodiments relate to shooting technology field, more particularly to a kind of image pickup method and dress based on dual camera Put.
Background technology
In recent years, the raising with the development and people of shooting technology to quality requirement of taking pictures, increasing exploitation Business starts to be equipped with take pictures quality of the rearmounted dual camera to improve user in its mobile terminal.
Dual camera in mobile terminal generally comprises a wide-angle camera and a focal length camera, wherein, wide-angle Camera is a kind of photographing device of wide viewing angle, and more scenery can be accommodated in limited distance;Focal length camera is one The photographing device of long-focus is planted, is typically used for shooting the scenery with distance of mobile terminal farther out.It is existing to be provided in movement eventually Dual camera in end is generally used for while shot to scenery, by shooting obtained by two pictures synthesize a bat Take the photograph the preferable picture of effect.
But, inventor realize it is of the invention during find prior art there is following technological deficiency:Existing movement Dual camera function in terminal is more single, and higher to the status requirement of two cameras in shooting process, it is necessary to match somebody with somebody The central processing unit of standby higher-end, it is relatively costly.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of image pickup method and device based on dual camera, existing to solve Dual camera unitary function in technology, it is configured with the mobile terminal cost of dual camera technical problem higher.
In a first aspect, a kind of image pickup method based on dual camera is the embodiment of the invention provides, including:
The light intensity information of external environment condition is obtained, and determines main camera and auxiliary camera;
If the light intensity information is less than the corresponding light intensity threshold value of the main camera, by auxiliary camera In gathering the light of environment nowadays and adding to the imaging picture of main camera, to increase when the main camera shoots Light intensity;
Open the main camera and treat photographed and shot.
Second aspect, the embodiment of the present invention additionally provides a kind of filming apparatus based on dual camera, including:
Light intensity acquisition module, for obtaining the light intensity information of external environment condition, and determines main camera and auxiliary takes the photograph As head;
Light complementary module, if being less than the corresponding light intensity threshold of the main camera for the light intensity information Value, then in gathering the light of environment nowadays and add to the imaging picture of main camera by auxiliary camera, to increase State light intensity when main camera shoots;
Scene shot module, treats photographed for opening the main camera and is shot.
The technical method shot based on dual camera provided in an embodiment of the present invention, obtains the light intensity letter of external environment condition The main camera and auxiliary camera for shooting are ceased and determine, if the light intensity information of external environment condition is less than main camera pair The light intensity threshold value answered, the then light that gathered the light of environment nowadays and will be gathered by auxiliary camera adds to master To increase light intensity when main camera shoots in the imaging picture of camera, the main camera of unlatching treats photographed to be carried out Shoot.By using above-mentioned technical proposal, it is main camera that auxiliary camera is passed through when light intensity is weaker to the embodiment of the present invention Imaging picture light filling, can improve the light intensity and light filling effect of main camera imaging picture, improve main camera and clapped The imaging effect of scenery is taken the photograph, the amount of calculation needed for shooting process is reduced, the requirement to central processing unit performance is reduced, reduced eventually The cost of end equipment, improves the utilization rate of dual camera.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, it is of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of schematic flow sheet of image pickup method based on dual camera that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of image pickup method based on dual camera that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet of image pickup method based on dual camera that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structured flowchart of filming apparatus based on dual camera that the embodiment of the present invention four is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part rather than full content related to the present invention is illustrate only in description, accompanying drawing.
Embodiment one
The embodiment of the present invention one provides a kind of image pickup method based on dual camera.The method can be by based on dual camera Filming apparatus perform, wherein, the device can be realized by software and/or hardware, typically can it is integrated in the terminal.Fig. 1 is The schematic flow sheet of the image pickup method based on dual camera that the embodiment of the present invention one is provided, as shown in figure 1, the method includes:
The light intensity information of S101, acquisition external environment condition, and determine main camera and auxiliary camera.
Specifically, the light that external environment condition can be only obtained when the corresponding photographing program of dual camera or software are opened is strong Degree information, or real-time or interval predetermined period obtains the light intensity letter of external environment condition after the camera function of equipment is opened Breath.The method for obtaining the light intensity information of external environment condition can be selected flexibly, for example, can be by dual camera corresponding device In sensor obtain external environment condition light intensity information, it is also possible to by device display screen in cooling water of units of measurement time or equipment The light-inletting quantity of corresponding region in frame is shot to determine the light intensity information of external environment condition.Wherein, dual camera corresponding device It is the control device of dual camera, it can be mobile terminal or the other-end equipment such as mobile phone, panel computer.
In the present embodiment, main camera and auxiliary camera can be simultaneously the front camera or rear camera of equipment, The type of main camera and auxiliary camera can be with identical or different, for example, main camera and auxiliary camera can be simultaneously wide-angle Camera, focal length camera or other kinds of camera, or one is wide-angle camera, another is focal length camera, Etc..The shooting effect of range of application and image in view of dual camera, it is preferred that the main camera is wide-angle imaging Head, the auxiliary camera is focal length camera;Or, the main camera is focal length camera, and the auxiliary camera is wide-angle Camera.Wherein, the shooting visual angle of wide-angle camera is more than the shooting visual angle of focal length camera, and the focal length of focal length camera is longer than The focal length of wide-angle camera.The model (such as shooting visual angle, focal length or pixel parameter) of wide-angle camera and focal length camera can It is exemplary to be selected as needed, can from the camera that shooting visual angle is 80 ° as equipment wide-angle imaging Head, from the camera that shooting visual angle is 47 ° as equipment focal length camera.
In actual applications, the main camera and auxiliary camera during this shooting can be determined according to default determination rule. Wherein, preset and determine that rule can set as needed, for example, equipment can as needed be pre-set by user or developer The main camera of acquiescence and the auxiliary camera of acquiescence during shooting, if being not detected by user when shooting triggers more change owner camera Operation, then the main camera of set acquiescence is determined to be main camera, the set auxiliary camera of acquiescence is determined supplemented by Camera;The main camera and auxiliary camera of equipment when can also automatically record last time shooting, and when shooting by equipment last time Main camera acquiescence during shooting is defined as the main camera of this shooting, and auxiliary camera acquiescence when equipment last time is shot is true It is set to the auxiliary camera of this shooting;Can be using two cameras in self recording apparatus as the use of main camera time Number, the more camera of access times is defined as the main camera of this shooting, and the less camera of access times is true It is set to auxiliary camera of this shooting, etc., is not restricted herein.
If S102, the light intensity information are less than the corresponding light intensity threshold value of the main camera, by auxiliary The light of camera collection environment nowadays simultaneously adds to the imaging picture of main camera, is clapped with increasing the main camera Light intensity when taking the photograph.
Accordingly, if the light intensity information is more than or equal to the corresponding light intensity threshold value of main camera, no The light of environment nowadays is gathered by auxiliary camera.
Wherein, the minimum light intensity, most that the corresponding light intensity threshold value of main camera can be when camera shoots based on Good light intensity or other light intensities.The corresponding light intensity threshold value of main camera can be by developer or user according to need Set, corresponding light intensity threshold value can be with identical or different, same camera when two cameras are as main camera Light intensity threshold value during as main camera can be one or more, not be restricted herein.When the corresponding light of main shooting Intensity threshold for it is multiple when, the corresponding light intensity threshold value of main camera is the corresponding maximum light intensity threshold value of main camera, That is, if the light intensity information of external environment condition is less than the corresponding maximum light intensity threshold value of main camera, by auxiliary shooting The light of head collection environment nowadays is the imaging picture light filling of main camera.
In the present embodiment, when the light intensity information of external environment condition is different value, its corresponding auxiliary camera is taken the photograph to master As the light filling amount of the imaging picture of head can be with identical or different.In order to improve the shooting effect of main camera, it is preferred that can be with root The light filling amount of auxiliary camera is flexibly controlled according to the difference of the light intensity information of external environment condition.Exemplary, when main camera pair The light intensity threshold value answered for it is multiple when, can in advance supplemented by the different light filling grades of camera setting, each light filling grade with it is each Light intensity threshold value is corresponded, and when being shot, can be first according to default determination rule and be determined and external environment condition The corresponding light intensity threshold value of light intensity information, auxiliary camera when then determining current shooting according to the light intensity threshold value Light filling grade, wherein, different light filling grades can be obtained by adjusting the opening degree of auxiliary camera;When main camera correspondence Light intensity threshold value when being, can first according to the difference of light intensity threshold value and the light intensity information of external environment condition It is determined that light filling amount when shooting needed for main camera, then determines the opening degree of auxiliary camera according to the light filling amount.
Herein, it should be pointed out that to ensure by and photographed is only treated by main camera shot, for During the imaging picture light filling of main camera, the maximum opening degree of auxiliary camera should less than auxiliary camera shooting image when it is corresponding Minimum opening degree, i.e. during regulation, should control the opening degree of auxiliary camera not carry out scenery in auxiliary camera Within the scope of shooting.Wherein, the light of the environment nowadays for auxiliary camera being collected add to main camera into As the method in picture can be set as needed, it is for instance possible to use the processing mode such as reflection, refraction is to auxiliary camera The light of collection is processed, in the light that auxiliary camera is gathered added into the imaging picture of main camera.
S103, the unlatching main camera are treated photographed and are shot.
Wherein, scenery to be captured can be the scenery in main camera focusing range in external environment condition, or according to Setting is established rules really, the scenery for determining, for example, the personage in coverage, animal etc. can be defined as scenery to be captured, It is not restricted herein.
In the present embodiment, if the correspondence position of dual camera is equipped with flash lamp (such as dual camera and sudden strain of a muscle in a device Light lamp is located at the homonymy or heteropleural of device screen simultaneously), then when treating photographed and being shot, flash lamp whether open with And brightness during flash lamp unlatching can be configured as needed.Exemplary, if the light in main camera imaging picture Line strength is more than or equal to the corresponding light intensity threshold value of main camera, then the flash lamp of equipment can be not turned on when shooting; If light intensity in main camera imaging picture is less than the corresponding light intensity threshold value of main camera, can be with when shooting The flash lamp of unlatching equipment, it is possible to according to the light in the corresponding light intensity threshold value of main camera and main camera imaging picture Brightness when the difference control flash lamp of line strength is opened, now, the light intensity in main camera imaging picture is to be taken the photograph through auxiliary As the light intensity in the imaging picture after head light filling.
Exemplary, after the completion of photographed shooting is treated, the image obtained by shooting can be passed through screen shows To user, and/or, the image after shooting is stored automatically or is determined whether to store image by user, it is not restricted herein.
The image pickup method based on dual camera that the embodiment of the present invention one is provided, obtains the light intensity information of external environment condition And main camera and auxiliary camera when determining to shoot, if the light intensity information of external environment condition is corresponding less than main camera Light intensity threshold value, the then light that gathered the light of environment nowadays and will be gathered by auxiliary camera adds to main shooting To increase light intensity when main camera shoots in the imaging picture of head, the main camera of unlatching is treated photographed and is clapped Take the photograph.The present embodiment by using above-mentioned technical proposal, when light intensity is weaker by imaging that auxiliary camera is main camera Picture light filling, can improve the light intensity and light filling effect of main camera imaging picture, improve scenery captured by main camera Imaging effect, reduce the amount of calculation needed for shooting process, reduce requirement to central processing unit performance, reduce terminal device Cost, improve dual camera utilization rate.
Embodiment two
Fig. 2 is a kind of schematic flow sheet of image pickup method based on dual camera that the embodiment of the present invention two is provided.This reality Apply example to be optimized on the basis of above-described embodiment, further, in the light intensity information of acquisition external environment condition, and determine Before main camera and auxiliary camera, also include:The camera switch mode of acquisition equipment;If the camera switch mode It is automatic switchover mode, then main camera and auxiliary camera is determined according to current device and the range information of scenery to be captured;Such as Really described camera switch mode is manual switching pattern, then the handover operation according to user determines main camera and auxiliary shooting Head.
Accordingly, as shown in Fig. 2 the image pickup method based on dual camera that the present embodiment is provided includes:
S201, the camera switch mode for obtaining equipment, perform S202 or S203.
Exemplary, before the camera switch mode of the equipment of acquisition, the acquiescence that can set equipment by developer is taken the photograph As head switch mode, in use, user can change the default camera head switching of equipment according to the use demand of itself Pattern.For example, it is assumed that equipment is present automatically switching and two kinds of switch modes of manual switching, the default camera head that developer is set is cut Mold changing formula is automatic switchover mode, then the default camera head switch mode of equipment can be changed to manual switching pattern by user, Now, accordingly, in the equipment of opening, the corresponding camera switch mode of current time equipment is defined as manual switching by acquiescence Pattern.
In the present embodiment, the camera switch mode of acquired equipment can be the default camera head switching mould of equipment Formula, or corresponding switch mode etc. when equipment last time closes camera, is not restricted herein, wherein, the acquiescence of equipment Camera switch mode can be automatic switchover mode, manual switching pattern or other switch modes.Exemplary, can be advance Corresponding shift mode information storage when the default camera head shift mode information of equipment and/or equipment last time are closed into camera Equipment setting or non-setting storage location, now, obtain equipment camera switch mode when, it is directly corresponding from its Corresponding shift mode information when storage location calls the acquiescence shift mode information of equipment or last time to close camera.
If S202, the camera switch mode are automatic switchover mode, according to current device and scenery to be captured Range information determine main camera and auxiliary camera, perform S204.
When the camera switch mode of equipment is automatic switchover mode, switches over main camera without user and auxiliary take the photograph As the operation of head, equipment i.e. can be according to the main camera and auxiliary camera of the switching law automatic switching apparatus of setting.Wherein, The switching law of setting can be set as needed, for example, can according to current time equipment and scenery to be captured away from Determine main camera and auxiliary camera from information.At this point it is possible to the scenery to be captured in the range of current shooting is determined first, then The range information of acquisition equipment and scenery to be captured, and main camera when determining to shoot according to the range information and auxiliary shooting Head.Exemplary, it is assumed that two cameras of equipment are wide-angle camera and focal length camera, if equipment and scenery to be captured The distance between farther out, then focal length camera can be treated photographed as main camera and be shot, and simultaneously will be wide Angle camera is used as auxiliary camera when shooting;If equipment is relatively near with the distance between scenery to be captured, can be by wide-angle Camera is treated photographed and is shot as main camera, and simultaneously using focal length camera as auxiliary shooting during shooting Head.
If S203, the camera switch mode are manual switching pattern, the handover operation according to user determines master Camera and auxiliary camera, perform S204.
When the camera switch mode of equipment is manual switching pattern, user can manually switch the bat of change equipment Main camera and auxiliary camera when taking the photograph.Exemplary, can every time open camera corresponding photographing program or soft in user During part, this main camera and auxiliary camera for shooting is determined by user;The corresponding bat of camera can also be opened in user When taking the photograph program or software, the main camera and auxiliary camera of equipment were defined as when automatically user being closed into the program or software last time This main camera and auxiliary camera for shooting, is not restricted herein.Additionally, in shooting process, can also in real time or according to Setting cycle monitors the handover operation of user, if user triggers handover operation, the operation change equipment according to user Main camera and auxiliary camera.
S204, the light intensity information for obtaining external environment condition.
If S205, the light intensity information are less than the corresponding light intensity threshold value of the main camera, by auxiliary The light of camera collection environment nowadays simultaneously adds to the imaging picture of main camera, is clapped with increasing the main camera Light intensity when taking the photograph.
S206, the unlatching main camera are treated photographed and are shot.
The image pickup method based on dual camera that the embodiment of the present invention two is provided, is that the dual camera setting of equipment is cut automatically Mold changing formula and manual switching pattern, if the camera switch mode of equipment is manual switching pattern, according to the switching of user Operation determines main camera and auxiliary camera, if the camera switch mode of equipment is automatic switchover mode, according to current Equipment determines main camera and auxiliary camera with the range information of scenery to be captured, and low in the light intensity information of external environment condition When the light intensity threshold value of main camera, the light for gathering external environment condition by auxiliary camera adds to the imaging of main camera In picture, to increase light intensity when main camera shoots.The present embodiment can not only be carried by using above-mentioned technical proposal The light intensity and light filling effect of main camera imaging picture high, improve the imaging effect of scenery captured by main camera, reduce Amount of calculation needed for shooting process, reduces the requirement to central processing unit performance, reduces the cost of terminal device, improves double taking the photograph As the utilization rate of head;More camera switch modes can also be provided the user, the experience of user is improved.
On the basis of above-described embodiment, when the main camera is wide-angle camera, carried out photographed is treated Before shooting, also include:After opening the main camera, if detect the presence of shelter on the shooting frame of equipment, will The main camera switches to focal length camera by wide-angle camera.It is exemplary, can be by detecting each scape in shooting picture Thing judges to whether there is shelter on shooting frame with the range information of equipment, if being almost 0 in the presence of the range information with equipment Scenery or presence cannot obtain the scenery of its range information, then can be determined that on the shooting frame of equipment there is shelter; Whether each scenery frees change to judge to image frame in the shooting picture of main camera when can be moved by testing equipment It is upper to whether there is shelter, if there is the scene image not changed during equipment is moved, in shooting picture, then may be used There is shelter on the shooting frame for judging equipment.In the present embodiment, because the shooting angle of focal length camera is typically smaller than The shooting angle of wide-angle camera, therefore, it can switch to focal length camera to disappear by wide-angle camera by by main camera Except or reduce the corresponding imaging region of shelter in shooting picture, so as to further improve the quality of image for shooting and obtaining, carry The shooting experience of user high.
Embodiment three
Fig. 3 is a kind of schematic flow sheet of image pickup method based on dual camera that the embodiment of the present invention three is provided.This reality Example is applied to be optimized on the basis of above-described embodiment, in the present embodiment, will be " if the camera switch mode be automatic Switch mode, then determine main camera and auxiliary camera according to the range information apart from scenery to be captured " it is optimized for:If described Camera switch mode is automatic switchover mode, then obtain the range information of current device and scenery to be captured;If it is described away from Setpoint distance threshold value is less than or equal to from information, is then main camera by wide-angle camera mark, and the focal length is taken the photograph Camera supplemented by picture labeling head;If the range information is more than the setpoint distance threshold value, the focal length is imaged into leader Be designated as main camera, and by the wide-angle camera mark supplemented by camera.
Accordingly, as shown in figure 3, the image pickup method based on dual camera that the present embodiment is provided includes:
S301, the camera switch mode for obtaining mobile terminal, perform S302 or S305.
If S302, the camera switch mode are automatic switchover mode, current device and scenery to be captured are obtained Range information, perform S303 or S304.
In the present embodiment, equipment is preferably the main camera and scenery to be captured of equipment with the range information of scenery to be captured Range information.Due in actual applications, the distance of camera and equipment relative to scenery to be captured and equipment distance and Speech generally can be ignored, therefore, in order to reduce acquisition range information difficulty, optionally, can by equipment with it is to be captured After the range information of scenery is carried out as range information when shooting (object distance) that is, of main camera and the scenery to be captured of equipment Continuous camera switching.
It is exemplary, can by the modes such as laser ranging, tellurometer survey obtain between equipment and scenery to be captured away from From information, it is not restricted herein.In view of the complexity of range finding, it is preferred that can determine equipment and treat by laser ranging Shooting distance information, i.e. install laser beam emitting device and laser receiver in a device, it is determined that after scenery to be captured, leading to Cross laser beam emitting device and launch laser to scenery to be captured, and swashing for scene reflections to be captured time is received by laser receiver Light, by laser beam emitting device launch laser and laser receiver receive laser time difference and laser it is aerial Spread speed determines the range information of equipment and scenery to be captured.
If S303, the range information are less than or equal to setpoint distance threshold value, the wide-angle camera is labeled as Main camera, and by the focal length camera mark supplemented by camera, perform S306.
In the present embodiment, setpoint distance threshold value can be as needed configured by developer or user, not limited herein System.It is exemplary, it is assumed that setpoint distance threshold value is 2m, when the distance between acquired equipment and scenery to be captured information is less than Or during equal to 2m, then the main camera that can the wide-angle camera of equipment is defined as during to the scene shot to be captured, and will The focal length camera of equipment is defined as treating auxiliary camera when photographed shoots.It is determined that main camera and auxiliary camera Afterwards, main shooting labeling head can be added in the relevant information of wide-angle camera, and is added in the relevant information of focal length camera Plus auxiliary shooting labeling head;Or, the relevant information of wide-angle camera is stored in the corresponding storage location of main camera, and will The relevant information of focal length camera stores in the corresponding storage location of auxiliary camera to realize to main camera and auxiliary camera Mark;Or, it would however also be possible to employ other mark modes are marked to wide-angle camera and focal length camera, so that will be wide Angle camera mark for main camera and by focal length camera mark supplemented by camera.
If S304, the range information are more than the setpoint distance threshold value, based on focal length camera mark Camera, and by the wide-angle camera mark supplemented by camera, perform S306.
Exemplary, it is assumed that setpoint distance threshold value is 2m, when the distance between acquired equipment and scenery to be captured When information is more than 2m, then the focal length camera of equipment is defined as main camera during to the scene shot to be captured, and will set Standby wide-angle camera is defined as treating auxiliary camera when photographed shoots.It is determined that after main camera and auxiliary camera, Main shooting labeling head can be added in the relevant information of focal length camera, and adds auxiliary in the relevant information of wide-angle camera Shooting labeling head;Or, by the relevant information of focal length camera storage to the corresponding storage location of main camera, and by wide-angle The relevant information of camera stores in the corresponding storage location of auxiliary camera to realize the mark to main camera and auxiliary camera Note;Or, it would however also be possible to employ other mark modes are marked to wide-angle camera and focal length camera, so as to focal length be taken the photograph As labeling head be main camera and by wide-angle camera mark supplemented by camera.
If S305, the camera switch mode are manual switching pattern, the handover operation according to user determines master Camera and auxiliary camera, perform S306.
S306, the light intensity information for obtaining external environment condition.
If S307, the light intensity information are less than the corresponding light intensity threshold value of the main camera, by auxiliary The light of camera collection environment nowadays simultaneously adds to the imaging picture of main camera, is clapped with increasing the main camera Light intensity when taking the photograph.
S308, the unlatching main camera are treated photographed and are shot.
The embodiment of the present invention three provide the image pickup method based on dual camera, according to user operation or equipment with it is to be captured The distance between scenery information determines to treat the main camera and auxiliary camera when photographed shoots, and in the light of external environment condition When line strength information is less than main camera corresponding light intensity threshold value, the light of external environment condition is gathered by auxiliary camera and is mended It is charged in the imaging picture of main camera, the light intensity and light filling effect of main camera imaging picture can be improved, improves master The imaging effect of scenery captured by camera, reduces the amount of calculation needed for shooting process, reduces to central processing unit performance It is required that, the cost of terminal device is reduced, the utilization rate of dual camera is improved, improve the experience of user.
Example IV
The embodiment of the present invention four provides a kind of filming apparatus based on dual camera.The device can be by software and/or hardware Realize, typically can with it is integrated in the terminal, can be realized by performing the image pickup method based on dual camera based on pair taking the photograph As the shooting of head.Fig. 4 is the structured flowchart of the filming apparatus based on dual camera that the embodiment of the present invention four is provided, such as Fig. 4 institutes Show, the device includes:
Light intensity acquisition module 401, for obtaining the light intensity information of external environment condition, and determines main camera and auxiliary Camera;
Light complementary module 402, if it is strong to be less than the corresponding light of the main camera for the light intensity information Degree threshold value, then in gathering the light of environment nowadays and add to the imaging picture of main camera by auxiliary camera, to increase Plus light intensity during the main camera shooting;
Scene shot module 403, treats photographed for opening the main camera and is shot.
The image pickup method based on dual camera that the embodiment of the present invention four is provided, obtains outer by light intensity acquisition module The light intensity information of portion's environment and determine for shoot main camera and auxiliary camera, if the light intensity of external environment condition Information is less than the corresponding light intensity threshold value of main camera, then call auxiliary camera to gather current external by light complementary module The light of environment and the light that will be gathered are added in the imaging picture of main camera to increase light when main camera shoots Line strength, treats photographed and is shot by the scene shot module main camera of unlatching.The present embodiment is by using above-mentioned Technical scheme, when light intensity is weaker by the imaging picture light filling that auxiliary camera is main camera, can improve main shooting The light intensity and light filling effect of head imaging picture, improve the imaging effect of scenery captured by main camera, reduce shooting process Needed for amount of calculation, reduce requirement to central processing unit performance, reduce the cost of terminal device, improve the profit of dual camera With rate.
In such scheme, the main camera is wide-angle camera, and the auxiliary camera can be focal length camera;Or Person, the main camera is focal length camera, and the auxiliary camera can be wide-angle camera.
Further, the filming apparatus based on dual camera that the present embodiment is provided can also include:Switch mode is obtained Module, for before obtaining the light intensity information of external environment condition, and determine main camera and auxiliary camera, obtaining equipment Camera switch mode;Self-adjustment module, if being automatic switchover mode for the camera switch mode, basis is worked as Preceding equipment determines main camera and auxiliary camera with the range information of scenery to be captured;Manual adjustment module, if for described Camera switch mode is manual switching pattern, then the handover operation according to user determines main camera and auxiliary camera.
In such scheme, the self-adjustment module can include:Range information acquiring unit, if taken the photograph for described As head switch mode is automatic switchover mode, then the range information of current device and scenery to be captured is obtained;First camera is true Order unit, if being less than or equal to setpoint distance threshold value for the range information, based on wide-angle camera mark Camera, and by the focal length camera mark supplemented by camera;Second camera determining unit, if for the distance letter Breath is more than the setpoint distance threshold value, then be main camera by focal length camera mark, and by the wide-angle imaging leader It is designated as auxiliary camera.
Further, the filming apparatus based on dual camera that the present embodiment is provided can also include:Camera adjusts mould Block, for when the main camera is wide-angle camera, is treating before photographed shot, and opens the main shooting After head, if detect on the shooting frame of equipment the presence of shelter, the main camera is switched to by wide-angle camera Focal length camera.
The executable any embodiment of the present invention of the filming apparatus based on dual camera that the embodiment of the present invention four is provided is provided The image pickup method based on dual camera, possess perform based on dual camera the corresponding functional module of image pickup method and beneficial effect Really.Not ins and outs of detailed description in the present embodiment, reference can be made to any embodiment of the present invention provided based on double shootings The image pickup method of head.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of image pickup method based on dual camera, it is characterised in that including:
The light intensity information of external environment condition is obtained, and determines main camera and auxiliary camera;
If the light intensity information is less than the corresponding light intensity threshold value of the main camera, gathered by auxiliary camera The light of environment nowadays simultaneously adds to the imaging picture of main camera, to increase light when the main camera shoots Intensity;
Open the main camera and treat photographed and shot.
2. method according to claim 1, it is characterised in that the main camera is wide-angle camera, the auxiliary shooting Head is focal length camera;Or, the main camera is focal length camera, and the auxiliary camera is wide-angle camera.
3. method according to claim 2, it is characterised in that obtaining the light intensity information of external environment condition, and determine Before main camera and auxiliary camera, also include:
The camera switch mode of acquisition equipment;
If the camera switch mode is automatic switchover mode, according to the range information of current device and scenery to be captured Determine main camera and auxiliary camera;
If the camera switch mode is manual switching pattern, the handover operation according to user determines main camera and auxiliary Camera.
4. method according to claim 3, it is characterised in that if the camera switch mode is to automatically switch Pattern, then determine main camera and auxiliary camera according to the range information apart from scenery to be captured, including:
If the camera switch mode is automatic switchover mode, obtains current device and believe with the distance of scenery to be captured Breath;
It is main camera by wide-angle camera mark if the range information is less than or equal to setpoint distance threshold value, And by the focal length camera mark supplemented by camera;
It is main camera by focal length camera mark if the range information is more than the setpoint distance threshold value, and By the wide-angle camera mark supplemented by camera.
5. the method according to claim any one of 2-4, it is characterised in that when the main camera is wide-angle camera When, treating before photographed shot, also include:
After opening the main camera, if detect on the shooting frame of equipment the presence of shelter, by the main camera Focal length camera is switched to by wide-angle camera.
6. a kind of filming apparatus based on dual camera, it is characterised in that including:
Light intensity acquisition module, for obtaining the light intensity information of external environment condition, and determines main camera and auxiliary camera;
Light complementary module, if being less than the corresponding light intensity threshold value of the main camera for the light intensity information, In then gathering the light of environment nowadays and add to the imaging picture of main camera by auxiliary camera, to increase the master Light intensity when camera shoots;
Scene shot module, treats photographed for opening the main camera and is shot.
7. device according to claim 6, it is characterised in that the main camera is wide-angle camera, the auxiliary shooting Head is focal length camera;Or, the main camera is focal length camera, and the auxiliary camera is wide-angle camera.
8. device according to claim 7, it is characterised in that also include:
Switch mode acquisition module, for the light intensity information in acquisition external environment condition, and determines main camera and auxiliary shooting Before head, the camera switch mode of equipment is obtained;
Self-adjustment module, if for the camera switch mode be automatic switchover mode, according to current device with treat The range information of photographed determines main camera and auxiliary camera;
Manual adjustment module, if being manual switching pattern for the camera switch mode, the switching behaviour according to user Make to determine main camera and auxiliary camera.
9. device according to claim 8, it is characterised in that the self-adjustment module includes:
Range information acquiring unit, if being automatic switchover mode for the camera switch mode, obtains current device With the range information of scenery to be captured;
First camera determining unit, if being less than or equal to setpoint distance threshold value for the range information, will be described wide Camera mark in angle is main camera, and by the focal length camera mark supplemented by camera;
Second camera determining unit, if being more than the setpoint distance threshold value for the range information, by the focal length Camera mark be main camera, and by the wide-angle camera mark supplemented by camera.
10. the device according to claim any one of 7-9, it is characterised in that also include:
Camera adjustment module, for when the main camera is wide-angle camera, shooting being carried out photographed is treated Before, after opening the main camera, if detect on the shooting frame of equipment the presence of shelter, by the main camera by Wide-angle camera switches to focal length camera.
CN201710186876.3A 2017-03-27 2017-03-27 Image pickup method and device based on dual camera Pending CN106791341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710186876.3A CN106791341A (en) 2017-03-27 2017-03-27 Image pickup method and device based on dual camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710186876.3A CN106791341A (en) 2017-03-27 2017-03-27 Image pickup method and device based on dual camera

Publications (1)

Publication Number Publication Date
CN106791341A true CN106791341A (en) 2017-05-31

Family

ID=58967413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710186876.3A Pending CN106791341A (en) 2017-03-27 2017-03-27 Image pickup method and device based on dual camera

Country Status (1)

Country Link
CN (1) CN106791341A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
CN107959778A (en) * 2017-11-30 2018-04-24 广东欧珀移动通信有限公司 Imaging method and device based on dual camera
WO2019105206A1 (en) * 2017-11-30 2019-06-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for image processing
WO2019105209A1 (en) * 2017-11-30 2019-06-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for double-camera-based imaging
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
WO2021013009A1 (en) * 2019-07-19 2021-01-28 维沃移动通信有限公司 Photographing method and terminal device
CN112590782A (en) * 2020-12-28 2021-04-02 东风越野车有限公司 All-weather collision early warning method and device based on multiple sensors
US11206382B2 (en) 2017-07-10 2021-12-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. White balance synchronization method and apparatus, and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88207254U (en) * 1988-06-23 1988-12-28 王以兴 Zoom lens
CN2703267Y (en) * 2004-02-15 2005-06-01 林永全 Camera apparatus utilizing multiple photoreceptors
KR101109181B1 (en) * 2010-12-01 2012-02-17 주식회사 네드텍 Photographing device of 6-color distinction
CN105049687A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Double-camera mobile terminal
CN205610819U (en) * 2016-04-19 2016-09-28 吉林工商学院 Monitoring device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88207254U (en) * 1988-06-23 1988-12-28 王以兴 Zoom lens
CN2703267Y (en) * 2004-02-15 2005-06-01 林永全 Camera apparatus utilizing multiple photoreceptors
KR101109181B1 (en) * 2010-12-01 2012-02-17 주식회사 네드텍 Photographing device of 6-color distinction
CN105049687A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Double-camera mobile terminal
CN205610819U (en) * 2016-04-19 2016-09-28 吉林工商学院 Monitoring device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
US11206382B2 (en) 2017-07-10 2021-12-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. White balance synchronization method and apparatus, and terminal device
EP3429187A1 (en) * 2017-07-10 2019-01-16 Guangdong OPPO Mobile Telecommunications Corp., Ltd. Method and device for switching between cameras, and terminal
US10951833B2 (en) 2017-07-10 2021-03-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for switching between cameras, and terminal
US10742860B2 (en) 2017-11-30 2020-08-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for double-camera-based imaging
WO2019105209A1 (en) * 2017-11-30 2019-06-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for double-camera-based imaging
US10616459B2 (en) 2017-11-30 2020-04-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for dual-camera-based imaging and storage medium
WO2019105207A1 (en) * 2017-11-30 2019-06-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for dual-camera-based imaging and storage medium
US10825146B2 (en) 2017-11-30 2020-11-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and device for image processing
WO2019105206A1 (en) * 2017-11-30 2019-06-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for image processing
CN107959778A (en) * 2017-11-30 2018-04-24 广东欧珀移动通信有限公司 Imaging method and device based on dual camera
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
WO2021013009A1 (en) * 2019-07-19 2021-01-28 维沃移动通信有限公司 Photographing method and terminal device
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
CN112590782A (en) * 2020-12-28 2021-04-02 东风越野车有限公司 All-weather collision early warning method and device based on multiple sensors

Similar Documents

Publication Publication Date Title
CN106791341A (en) Image pickup method and device based on dual camera
CN108419023B (en) Method for generating high dynamic range image and related equipment
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
US8139136B2 (en) Image pickup apparatus, control method of image pickup apparatus and image pickup apparatus having function to detect specific subject
CN108933899B (en) Panorama shooting method, device, terminal and computer readable storage medium
JP5108093B2 (en) Imaging apparatus and imaging method
CN1926851B (en) Method and apparatus for optimizing capture device settings through depth information
JP4236433B2 (en) System and method for simulating fill flash in photography
CN101237530B (en) Photographing apparatus, method for controlling photographing apparatus
CN100565319C (en) Exposure-control device and image-pickup device
KR100890949B1 (en) Electronic device and method in an electronic device for processing image data
EP3103254B1 (en) Using inertial sensors to provide smoothed exposure and white balance adjustments for video and photographic applications
CN110445988A (en) Image processing method, device, storage medium and electronic equipment
CN104618661A (en) Camera light supplementing control method and device
CN107465856B (en) Image pickup method and device and terminal equipment
CN105516611A (en) An imaging device and a shooting method
EP2757771A2 (en) Image pickup apparatus, remote control apparatus, and methods of controlling image pickup apparatus and remote control apparatus
CN111246114B (en) Photographing processing method and device, terminal equipment and storage medium
CN107645628B (en) Information processing method and device
CN105493493A (en) Imaging device, imaging method, and image processing device
CN110708463B (en) Focusing method, focusing device, storage medium and electronic equipment
KR102708591B1 (en) System and method for obtaining smart panoramic images
US20200221005A1 (en) Method and device for tracking photographing
CN106027876A (en) Imaging apparatus and imaging method
CN110868547A (en) Photographing control method, photographing control device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication