[go: up one dir, main page]

CN106226976B - A dual-camera shooting method, system and terminal - Google Patents

A dual-camera shooting method, system and terminal Download PDF

Info

Publication number
CN106226976B
CN106226976B CN201610842186.4A CN201610842186A CN106226976B CN 106226976 B CN106226976 B CN 106226976B CN 201610842186 A CN201610842186 A CN 201610842186A CN 106226976 B CN106226976 B CN 106226976B
Authority
CN
China
Prior art keywords
black
camera
focusing
focusing position
focus position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610842186.4A
Other languages
Chinese (zh)
Other versions
CN106226976A (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.)
Xi'an Haochen Electronic Technology Co.,Ltd.
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610842186.4A priority Critical patent/CN106226976B/en
Priority to PCT/CN2016/104087 priority patent/WO2018053908A1/en
Publication of CN106226976A publication Critical patent/CN106226976A/en
Application granted granted Critical
Publication of CN106226976B publication Critical patent/CN106226976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B33/00Colour photography, other than mere exposure or projection of a colour film
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

本发明公开了一种双摄像头拍摄方法、系统及终端。所述方法包括:获取拍摄目标;分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。本发明实施例提供的一种双摄像头拍摄方法,实现了在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,从而提高了对焦效果,进而提高了最终的拍摄效果。

The invention discloses a dual-camera shooting method, system and terminal. The method includes: acquiring a shooting target; respectively controlling the black-and-white camera and the color camera to focus simultaneously to obtain the focus position of the black-and-white camera and the first focus position of the color camera; based on the focus position of the black-and-white camera, the The first focus position of the color camera is adjusted to obtain the second focus position of the color camera; the shooting target is photographed according to the focus position of the black-and-white camera and the second focus position of the color camera. The dual-camera shooting method provided by the embodiment of the present invention achieves faster and more accurate focusing in low-light environments, and makes up for the defect of insufficient light input by the color sensor in low-light environments, thereby improving the focusing effect. This improves the final shooting effect.

Description

一种双摄像头拍摄方法、系统及终端A dual-camera shooting method, system and terminal

技术领域technical field

本发明实施例涉及终端拍照技术领域,尤其涉及一种双摄像头拍摄方法、系统及终端。Embodiments of the present invention relate to the technical field of terminal photographing, and in particular, to a dual-camera photographing method, system, and terminal.

背景技术Background technique

随着电子设备的发展,具有照相功能的终端在人们的生活中已经得到了普及。功能越来越丰富的终端极大地方便了人们的生活。近年来,图像处理技术飞速发展,终端的照相功能也日益强大,加上终端携带方便的优点,越来越多的用户青睐通过终端进行拍照。With the development of electronic equipment, terminals with a camera function have been popularized in people's lives. Terminals with more and more functions have greatly facilitated people's lives. In recent years, with the rapid development of image processing technology, the camera function of the terminal has become increasingly powerful, coupled with the advantages of the terminal being easy to carry, more and more users prefer to take pictures through the terminal.

为了提高终端的拍照效果,越来越多的终端采用彩色加黑白双摄像头。目前利用彩色加黑白双摄像头进行拍摄时采用的对焦方法有两种,一种是基于彩色摄像头与黑白摄像头的视角差别进行距离检测,再根据距离进行对焦;但是这种方法在光线特别强的场景下,容易出现焦点位置不准的问题,而在光线特别差的环境下,又容易出现对焦失败的问题;另一种对焦方法是双摄像头异步对焦,彩色摄像头先进行对焦,黑白摄像头根据彩色摄像头的焦点位置进行跟随对焦;但是,这种方法由于彩色摄像头的彩色传感器在低光环境下的进光量不如黑白摄像头的黑白传感器,因此,在低光环境下很容易出现对焦不准确且对焦速度慢的问题。In order to improve the camera effect of terminals, more and more terminals adopt dual cameras of color and black and white. At present, there are two focusing methods used when shooting with a color plus black and white dual camera. One is to detect the distance based on the angle of view difference between the color camera and the black and white camera, and then focus according to the distance; Under the environment, the problem of inaccurate focus position is prone to occur, and in the environment with particularly poor light, the problem of focus failure is prone to occur; another focusing method is dual-camera asynchronous focusing, the color camera focuses first, and the black-and-white camera focuses according to the color camera. However, in this method, because the color sensor of the color camera does not receive as much light as the black and white sensor of the black and white camera in low light environments, in this method, inaccurate focus and slow focus are likely to occur in low light environments The problem.

发明内容Contents of the invention

本发明实施例提供了一种双摄像头拍摄方法、系统及终端,以实现在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,提高了最终的拍摄效果。Embodiments of the present invention provide a dual-camera shooting method, system, and terminal to achieve faster and more accurate focusing in low-light environments, make up for the defect of insufficient light input by color sensors in low-light environments, and improve The final shot.

第一方面,本发明实施例提供了一种双摄像头拍摄方法,该方法包括:In a first aspect, an embodiment of the present invention provides a dual-camera shooting method, the method comprising:

获取拍摄目标;Get shooting target;

分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;Respectively control the black and white camera and the color camera to focus simultaneously, obtain the focus position of the black and white camera and the first focus position of the color camera;

基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;adjusting the first focus position of the color camera based on the focus position of the black and white camera to obtain a second focus position of the color camera;

根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。The shooting target is photographed according to the focus position of the black-and-white camera and the second focus position of the color camera.

进一步地,所述根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄之前,还包括:Further, before shooting the subject according to the focus position of the black-and-white camera and the second focus position of the color camera, the method further includes:

接收拍摄指令。Receive shooting instructions.

进一步地,所述进行对焦所采用的对焦方法包括:相位对焦和/或反差对焦。Further, the focusing method adopted for focusing includes: phase focusing and/or contrast focusing.

进一步地,所述基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置,包括:Further, the adjusting the first focus position of the color camera based on the focus position of the black-and-white camera to obtain the second focus position of the color camera includes:

判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;Judging whether the focus position of the black-and-white camera is a position satisfying a preset condition;

若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;If the focus position of the black and white camera satisfies the preset condition, then determine the focus position of the black and white camera as the second focus position of the color camera;

若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置。If the focus position of the black-and-white camera is a position that does not meet the preset condition, then control the color camera to continue focusing with the focus position of the black-and-white camera and the first focus position of the color camera as reference points, The second focus position of the color camera is obtained.

进一步地,所述获取拍摄目标之前,还包括:Further, before acquiring the shooting target, it also includes:

接收相机的启动指令。Receive the start command of the camera.

第二方面,本发明实施例还提供了一种双摄像头拍摄系统,该系统包括:In the second aspect, the embodiment of the present invention also provides a dual-camera shooting system, the system comprising:

获取模块,用于获取拍摄目标;an acquisition module, configured to acquire a shooting target;

控制模块,用于分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;The control module is used to separately control the black-and-white camera and the color camera to focus simultaneously, so as to obtain the focus position of the black-and-white camera and the first focus position of the color camera;

调整模块,用于基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;An adjustment module, configured to adjust the first focus position of the color camera based on the focus position of the black and white camera, to obtain a second focus position of the color camera;

拍摄模块,用于根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。The photographing module is configured to photograph the subject according to the focus position of the black-and-white camera and the second focus position of the color camera.

进一步地,所述系统还包括:拍摄指令接收模块,用于在所述根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄之前,接收拍摄指令;Further, the system further includes: a shooting instruction receiving module, configured to receive a shooting instruction before shooting the shooting target according to the focus position of the black-and-white camera and the second focus position of the color camera;

启动指令接收模块,用于在所述获取拍摄目标之前,接收相机的启动指令。The starting instruction receiving module is used to receive the starting instruction of the camera before the acquisition of the shooting target.

示例性地,所述进行对焦所采用的对焦方法包括:相位对焦和/或反差对焦。Exemplarily, the focusing method adopted for focusing includes: phase focusing and/or contrast focusing.

进一步地,所述调整模块包括:Further, the adjustment module includes:

判断单元,用于判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;A judging unit, configured to judge whether the focus position of the black-and-white camera satisfies a preset condition;

确定单元,用于若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;A determination unit, configured to determine the focus position of the black-and-white camera as the second focus position of the color camera if the focus position of the black-and-white camera satisfies the preset condition;

对焦单元,用于若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置。A focus unit, configured to control the color camera to use the focus position of the black-and-white camera and the first focus position of the color camera as a reference if the focus position of the black-and-white camera does not satisfy the preset condition point to continue focusing to obtain the second focus position of the color camera.

第三方面,本发明实施例还提供了一种终端,包括第二方面所述的系统。In a third aspect, an embodiment of the present invention further provides a terminal, including the system described in the second aspect.

本发明实施例提供的一种双摄像头拍摄方法,在获取拍摄目标之后,通过分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄的技术手段,实现了在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,从而提高了对焦效果,进而提高了最终的拍摄效果。In the dual-camera shooting method provided by the embodiment of the present invention, after acquiring the shooting target, the focus position of the black-and-white camera and the first focus position of the color camera are obtained by separately controlling the black-and-white camera and the color camera to focus simultaneously; Adjust the first focus position of the color camera based on the focus position of the black-and-white camera to obtain a second focus position of the color camera; according to the focus position of the black-and-white camera and the second focus position of the color camera The technical means of shooting the shooting target achieves faster and more accurate focusing in low-light environments, and makes up for the defect of insufficient light input by color sensors in low-light environments, thereby improving the focusing effect and further improving the final shooting effect.

附图说明Description of drawings

图1是本发明实施例一提供的一种双摄像头拍摄方法流程示意图;FIG. 1 is a schematic flowchart of a dual-camera shooting method provided in Embodiment 1 of the present invention;

图2是本发明实施例二提供的一种双摄像头拍摄方法流程示意图;FIG. 2 is a schematic flowchart of a dual-camera shooting method provided in Embodiment 2 of the present invention;

图3是本发明实施例三提供的一种双摄像头拍摄系统结构示意图;FIG. 3 is a schematic structural diagram of a dual-camera shooting system provided by Embodiment 3 of the present invention;

图4是本发明实施例四提供的一种双摄像头拍摄系统结构示意图。FIG. 4 is a schematic structural diagram of a dual-camera shooting system provided by Embodiment 4 of the present invention.

图5是本发明实施例五提供的一种终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal provided by Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各项步骤的顺序可以被重新安排。当其步骤完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of the various steps can be rearranged. The process may be terminated when its steps are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

实施例一Embodiment one

图1为本发明实施例一提供的一种双摄像头拍摄方法流程图,该方法尤其适用于通过终端在低光环境下进行拍摄的情况,可以由双摄像头拍摄系统来执行。该系统可通过硬件和/或软件的方式实现,典型地,所述系统一般可集成于终端中。该方法具体包括如下步骤:FIG. 1 is a flow chart of a dual-camera shooting method provided in Embodiment 1 of the present invention. This method is especially suitable for shooting in a low-light environment through a terminal, and can be executed by a dual-camera shooting system. The system can be realized by means of hardware and/or software, and typically, the system can be generally integrated into a terminal. The method specifically includes the following steps:

步骤110、获取拍摄目标。Step 110, acquiring a shooting target.

其中,所述获取拍摄目标具体可以是用户将终端的摄像头对准要拍摄的物体的过程。Wherein, the acquisition of the shooting target may specifically be a process in which the user points the camera of the terminal at the object to be shot.

进一步地,所述获取拍摄目标之前,还包括:Further, before acquiring the shooting target, it also includes:

接收相机的启动指令;Receive the start command of the camera;

具体的,用户点击终端上相机的应用图标的动作即触发了所述相机的启动指令,系统端便可以接收到相机的启动指令。Specifically, the action of clicking the application icon of the camera on the terminal by the user triggers the start command of the camera, and the system end can receive the start command of the camera.

步骤120、分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置。Step 120 : Control the black and white camera and the color camera to focus simultaneously, and obtain the focus position of the black and white camera and the first focus position of the color camera.

优选地,所述进行对焦所采用的对焦方法包括:相位对焦和/或反差对焦。Preferably, the focusing method adopted for focusing includes: phase focusing and/or contrast focusing.

其中,相位对焦,拍摄目标通过分离镜头分离出两个图像,然后通过线性传感器检测出两个图像之间的距离;相位对焦只是检测偏移量,只提供信号——“焦点准确”或者“焦点不准确”,对焦系统根据信号波峰位置就可以知道偏移的方向。反差对焦,根据焦点处画面的对比度变化,寻找对比度最大时的镜头位置,作为最清楚的焦点位置,对焦过程中,随着对焦镜片开始移动,画面逐渐清晰,对比度开始上升,当画面最清晰,对比度最高时,其实已经处于合焦状态,但是相机并不知道,所以会继续移动镜头,当发现对比度开始下降,进一步移动镜片,发现对比度进一步下降,相机知道已经错过焦点,镜片回退至对比度最高的位置,完成对焦。Among them, phase focusing, the shooting target separates two images through the separation lens, and then detects the distance between the two images through the linear sensor; phase focusing only detects the offset and only provides a signal - "accurate focus" or "focus Inaccurate", the focusing system can know the direction of the offset according to the position of the signal peak. Contrast focusing, according to the contrast change of the image at the focal point, find the lens position when the contrast is the largest, as the clearest focus position. During the focusing process, as the focusing lens starts to move, the image becomes clearer and the contrast begins to rise. When the image is clearest, When the contrast is the highest, it is already in focus, but the camera doesn’t know it, so it will continue to move the lens. When the contrast starts to drop, move the lens further, and find that the contrast drops further. The camera knows that it has missed the focus, and the lens rolls back to the highest contrast. position to complete the focus.

需要简单说明的是,摄像头的结构一般由镜头、传感器和外围电路组成,传感器不能独立工作,需要外围电路的支持才能将光信号转换成电信号;光线经拍摄目标反射通过镜头到达传感器的感光元件上,从而实现光信号转换成电信号,转换后的电信号被传送至图像信号处理器进行分析处理,并调整对焦镜片,寻找图像最清晰的点,此过程即为自动对焦的过程。对应双摄像头,黑白摄像头配置有黑白传感器,彩色摄像头配置有彩色传感器,用于完成光信号的采集以及转换,黑白传感器的进光量远远大于彩色传感器的进光量,因此在低光环境下,黑白传感器的对焦速度和效果都明显优于彩色传感器。通过配置黑白摄像头和彩色摄像头两个摄像头,黑白摄像头负责勾勒拍摄目标的轮廓,彩色摄像头负责还原拍摄目标的色彩,同时,通过基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,实现了在低光环境下,更快、更准地完成对焦,使得最终的拍摄效果更优。It needs to be briefly explained that the structure of the camera is generally composed of a lens, a sensor and a peripheral circuit. The sensor cannot work independently and needs the support of the peripheral circuit to convert the optical signal into an electrical signal; the light is reflected by the shooting target and reaches the photosensitive element of the sensor through the lens. In this way, the optical signal is converted into an electrical signal, and the converted electrical signal is sent to the image signal processor for analysis and processing, and the focusing lens is adjusted to find the clearest point of the image. This process is the process of autofocus. Corresponding to dual cameras, the black and white camera is equipped with a black and white sensor, and the color camera is equipped with a color sensor to complete the collection and conversion of optical signals. The light input of the black and white sensor is much larger than that of the color sensor. The sensor's focusing speed and effect are significantly better than color sensors. By configuring two cameras, a black-and-white camera and a color camera, the black-and-white camera is responsible for outlining the outline of the shooting target, and the color camera is responsible for restoring the color of the shooting target. Adjustments are made to achieve faster and more accurate focusing in low-light environments, making the final shooting effect better.

步骤130、基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置。Step 130: Adjust the first focus position of the color camera based on the focus position of the black-and-white camera to obtain a second focus position of the color camera.

由于在低光环境下,黑白摄像头的黑白传感器的进光量远远大于彩色摄像头的彩色传感器的进光量,因此,黑白摄像头能够更快地找到使拍摄目标最清晰的对焦位置,且该对焦位置的准确度更高,为了提高整体的对焦速度和准确度,可以基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,以使所述彩色摄像头的对焦位置以最快的速度达到最佳,所述最佳具体是指使拍摄目标最清晰。Because in a low-light environment, the amount of light entering the monochrome sensor of the monochrome camera is much greater than that of the color sensor of the color camera, therefore, the monochrome camera can find the focus position that makes the shooting target clearest, and the focus position of the focus position The accuracy is higher. In order to improve the overall focusing speed and accuracy, the first focus position of the color camera can be adjusted based on the focus position of the black and white camera, so that the focus position of the color camera can be adjusted at the fastest The speed reaches the best, and the best specifically refers to making the shooting target clearest.

步骤140、根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。Step 140: Shoot the subject according to the focus position of the black-and-white camera and the second focus position of the color camera.

进一步地,所述根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄之前,还包括:Further, before shooting the subject according to the focus position of the black-and-white camera and the second focus position of the color camera, the method further includes:

接收拍摄指令。Receive shooting instructions.

本实施例提供的一种双摄像头拍摄方法,在获取拍摄目标之后,通过分别控制黑白摄像头和彩色摄像同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄的技术手段,实现了在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,从而提高了对焦效果,进而提高了最终的拍摄效果。In the dual-camera shooting method provided in this embodiment, after obtaining the shooting target, the focus position of the black-and-white camera and the first focus position of the color camera are obtained by separately controlling the black-and-white camera and the color camera to simultaneously focus; The focus position of the black and white camera is adjusted to the first focus position of the color camera to obtain the second focus position of the color camera; according to the focus position of the black and white camera and the second focus position of the color camera The technical means for shooting the shooting target achieves faster and more accurate focusing in low-light environments, and makes up for the defect of insufficient light input by color sensors in low-light environments, thereby improving the focusing effect and further improving the The final shot.

实施例二Embodiment two

图2为本发明实施例二提供的一种双摄像头拍摄方法流程示意图,在实施例一的基础上,本实施例对“基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置”的操作进行了进一步优化,优化的好处是进一步提高对焦的准确度以及速度,提高拍摄效果。具体参见图2所示,该方法具体包括如下:Fig. 2 is a schematic flow chart of a dual-camera shooting method provided by Embodiment 2 of the present invention. On the basis of Embodiment 1, this embodiment is based on the first focus position of the color camera based on the focus position of the black and white camera. The operation of making adjustments to obtain the second focus position of the color camera has been further optimized. The benefit of optimization is to further improve the accuracy and speed of focusing and improve the shooting effect. Specifically referring to shown in Figure 2, the method specifically includes as follows:

步骤210、获取拍摄目标。Step 210, acquiring a shooting target.

步骤220、分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置。Step 220 : Control the black and white camera and the color camera to focus simultaneously, and obtain the focus position of the black and white camera and the first focus position of the color camera.

步骤230、判断所述黑白摄像头的对焦位置是否为满足预设条件的位置,若是,则执行步骤240,否则,执行步骤250。Step 230 , judging whether the focus position of the black and white camera satisfies the preset condition, if yes, execute step 240 , otherwise, execute step 250 .

其中,所述满足预设条件的位置具体是指使拍摄目标最清楚的位置;例如,如果采用反差对焦,则所述满足预设条件的位置即为对比度最高的位置。Wherein, the position satisfying the preset condition specifically refers to the position where the shooting target is clearest; for example, if contrast focusing is adopted, the position satisfying the preset condition is the position with the highest contrast.

步骤240、将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置。Step 240: Determine the focus position of the black and white camera as the second focus position of the color camera.

步骤250、控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置。Step 250: Control the color camera to continue focusing with the focus position of the black-and-white camera and the first focus position of the color camera as reference points to obtain a second focus position of the color camera.

其中,所述彩色摄像头的第二对焦位置具体为使拍摄目标最清楚的位置。Wherein, the second focus position of the color camera is specifically the position where the shooting target is clearest.

步骤260、根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。Step 260: Shoot the subject according to the focus position of the black-and-white camera and the second focus position of the color camera.

本实施例提供的一种双摄像头拍摄方法,在实施例一技术方案的基础上,通过进一步判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置实现了进一步提高对焦的准确度以及速度,提高了最终的拍摄效果。In the dual-camera shooting method provided in this embodiment, on the basis of the technical solution of Embodiment 1, by further judging whether the focus position of the black-and-white camera satisfies the preset condition; if the focus position of the black-and-white camera is If the position of the preset condition is satisfied, the focus position of the black and white camera is determined as the second focus position of the color camera; if the focus position of the black and white camera is not satisfied with the preset condition, then Controlling the color camera to continue focusing with the focus position of the black-and-white camera and the first focus position of the color camera as reference points, obtaining the second focus position of the color camera further improves the accuracy and speed of focusing , which improves the final shooting effect.

实施例三Embodiment three

图3为本发明实施例三提供的一种双摄像头拍摄系统的结构框图,具体参见图3所示,该系统具体包括如下:FIG. 3 is a structural block diagram of a dual-camera shooting system provided in Embodiment 3 of the present invention. Refer to FIG. 3 for details. The system specifically includes the following:

获取模块310、控制模块320、调整模块330和拍摄模块340。An acquisition module 310 , a control module 320 , an adjustment module 330 and a photographing module 340 .

其中,获取模块310,用于获取拍摄目标;控制模块320,用于分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;调整模块330,用于基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置拍摄模块340,用于根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。Wherein, the obtaining module 310 is used to obtain the shooting target; the control module 320 is used to respectively control the black-and-white camera and the color camera to focus at the same time, so as to obtain the focus position of the black-and-white camera and the first focus position of the color camera; the adjustment module 330, for adjusting the first focus position of the color camera based on the focus position of the black-and-white camera to obtain a second focus position of the color camera 340, for adjusting the focus position of the black-and-white camera and The second focus position of the color camera shoots the shooting target.

示例性地,所述进行对焦所采用的对焦方法包括:相位对焦和/或反差对焦。Exemplarily, the focusing method adopted for focusing includes: phase focusing and/or contrast focusing.

调整模块330可以包括:Adjustment module 330 may include:

判断单元,用于判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;A judging unit, configured to judge whether the focus position of the black-and-white camera satisfies a preset condition;

确定单元,用于若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;A determination unit, configured to determine the focus position of the black-and-white camera as the second focus position of the color camera if the focus position of the black-and-white camera satisfies the preset condition;

对焦单元,用于若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点进行对焦,得到所述彩色摄像头的第二对焦位置。A focus unit, configured to control the color camera to use the focus position of the black-and-white camera and the first focus position of the color camera as a reference if the focus position of the black-and-white camera does not satisfy the preset condition point to focus to obtain the second focus position of the color camera.

本发明实施例提供的一种双摄像头拍摄系统,在获取拍摄目标之后,通过分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄的技术手段实现了在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,从而提高了对焦效果,进而提高了最终的拍摄效果。In the dual-camera shooting system provided by the embodiment of the present invention, after obtaining the shooting target, the focus position of the black-and-white camera and the first focus position of the color camera are obtained by separately controlling the black-and-white camera and the color camera to focus simultaneously; Adjust the first focus position of the color camera based on the focus position of the black-and-white camera to obtain a second focus position of the color camera; according to the focus position of the black-and-white camera and the second focus position of the color camera The technical means of shooting the shooting target achieves faster and more accurate focusing in low-light environments, and makes up for the defect of insufficient light input by color sensors in low-light environments, thereby improving the focusing effect and further improving the The final shot.

实施例四Embodiment four

图4为本发明实施例四提供的一种双摄像头拍摄系统的结构框图,在实施例三的基础上,本实施例提供的双摄像头拍摄系统进行了进一步优化,具体参见图4所示,该系统具体包括如下:Fig. 4 is a structural block diagram of a dual-camera shooting system provided in Embodiment 4 of the present invention. On the basis of Embodiment 3, the dual-camera shooting system provided in this embodiment has been further optimized, as shown in Fig. 4 for details. The system specifically includes the following:

获取模块310、控制模块320、调整模块330、拍摄模块340和拍摄指令接收模块350和启动指令接收模块360。An acquisition module 310 , a control module 320 , an adjustment module 330 , a photographing module 340 , a photographing instruction receiving module 350 and a starting instruction receiving module 360 .

其中,获取模块310,用于获取拍摄目标;控制模块320,用于分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;调整模块330,用于基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;拍摄模块340,用于根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄;拍摄指令接收模块350,用于在所述对所述拍摄目标进行拍摄之前,接收拍摄指令;启动指令接收模块360,用于在所述获取拍摄目标之前,接收相机的启动指令。Wherein, the obtaining module 310 is used to obtain the shooting target; the control module 320 is used to respectively control the black-and-white camera and the color camera to focus at the same time, so as to obtain the focus position of the black-and-white camera and the first focus position of the color camera; the adjustment module 330, configured to adjust the first focus position of the color camera based on the focus position of the black-and-white camera, to obtain a second focus position of the color camera; the photographing module 340, configured to adjust the focus position of the black-and-white camera according to and the second focus position of the color camera to shoot the shooting target; the shooting instruction receiving module 350 is used to receive a shooting instruction before the shooting of the shooting target; the start instruction receiving module 360 is used to Before the acquisition of the shooting target, a start instruction of the camera is received.

本实施例提供的一种双摄像头拍摄系统,在实施例三技术方案的基础上,通过进一步判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置实现了进一步提高对焦的准确度以及速度,提高了最终的拍摄效果。In the dual-camera shooting system provided in this embodiment, on the basis of the technical solution of Embodiment 3, by further judging whether the focus position of the black-and-white camera satisfies the preset condition; if the focus position of the black-and-white camera is If the position of the preset condition is satisfied, the focus position of the black and white camera is determined as the second focus position of the color camera; if the focus position of the black and white camera is not satisfied with the preset condition, then Controlling the color camera to continue focusing with the focus position of the black-and-white camera and the first focus position of the color camera as reference points, obtaining the second focus position of the color camera further improves the accuracy and speed of focusing , which improves the final shooting effect.

实施例五Embodiment five

图5为本发明实施例五提供的一种终端的结构示意图,本发明实施例中的终端可以是平板电脑、手机、相机等。如图5所示,本发明实施例中的终端包括:至少一个处理器501,例如CPU,至少一个接收器503,至少一个存储器504,至少一个发送器505,至少一个通信总线502。其中,通信总线502用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器503和发送器505可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器504可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器504可选的还可以是至少一个位于远离前述处理器501的存储装置。存储器504中存储一组程序代码,且所述处理器501可通过通信总线502,调用存储器504中存储的代码以执行相关的功能。FIG. 5 is a schematic structural diagram of a terminal provided in Embodiment 5 of the present invention. The terminal in the embodiment of the present invention may be a tablet computer, a mobile phone, a camera, and the like. As shown in FIG. 5 , the terminal in this embodiment of the present invention includes: at least one processor 501 , such as a CPU, at least one receiver 503 , at least one memory 504 , at least one transmitter 505 , and at least one communication bus 502 . Wherein, the communication bus 502 is used to realize connection and communication between these components. Wherein, the receiver 503 and the transmitter 505 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, such as including an antenna device, for signaling or data communication with other node devices. The memory 504 may be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory. Optionally, the memory 504 may also be at least one storage device located away from the aforementioned processor 501 . A set of program codes are stored in the memory 504 , and the processor 501 can call the codes stored in the memory 504 through the communication bus 502 to execute related functions.

所述处理器501,用于获取拍摄目标;分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄。The processor 501 is configured to obtain a shooting target; separately control the black and white camera and the color camera to focus simultaneously, and obtain the focus position of the black and white camera and the first focus position of the color camera; based on the focus position of the black and white camera Adjusting the first focus position of the color camera to obtain a second focus position of the color camera; shooting the subject according to the focus position of the black-and-white camera and the second focus position of the color camera.

所述处理器501,在用于所述根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄之前,还用于接收拍摄指令。The processor 501 is further configured to receive a shooting instruction before shooting the shooting target according to the focus position of the black-and-white camera and the second focus position of the color camera.

所述处理器501,在用于所述基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置时,还用于判断所述黑白摄像头的对焦位置是否为满足预设条件的位置;若所述黑白摄像头的对焦位置为满足所述预设条件的位置,则将所述黑白摄像头的对焦位置确定为所述彩色摄像头的第二对焦位置;若所述黑白摄像头的对焦位置为不满足所述预设条件的位置,则控制所述彩色摄像头以所述黑白摄像头的对焦位置以及所述彩色摄像头的第一对焦位置为参考点继续进行对焦,得到所述彩色摄像头的第二对焦位置。The processor 501 is further configured to determine the Whether the focus position of the black-and-white camera is a position that meets the preset condition; if the focus position of the black-and-white camera is a position that meets the preset condition, then the focus position of the black-and-white camera is determined as the second position of the color camera focus position; if the focus position of the black-and-white camera is a position that does not meet the preset condition, then control the color camera to continue using the focus position of the black-and-white camera and the first focus position of the color camera as reference points Focusing is carried out to obtain the second focus position of the color camera.

所述处理器501,在用于所述获取拍摄目标之前,还用于接收相机的启动指令。The processor 501 is further configured to receive a camera startup instruction before being used for acquiring the shooting target.

可选的,所述进行对焦所采用的对焦方法包括:相位对焦和/或反差对焦。Optionally, the focusing method adopted for focusing includes: phase focusing and/or contrast focusing.

具体的,上述各个方案的具体实现可参考图1至图2对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation of each of the above solutions, reference may be made to the description of relevant steps in the embodiments corresponding to FIG. 1 to FIG. 2 , and details are not repeated here.

可以看出,本发明实施例技术方案中,在获取拍摄目标之后,通过分别控制黑白摄像头和彩色摄像头同时进行对焦,得到所述黑白摄像头的对焦位置和所述彩色摄像头的第一对焦位置;基于所述黑白摄像头的对焦位置对所述彩色摄像头的第一对焦位置进行调整,得到所述彩色摄像头的第二对焦位置;根据所述黑白摄像头的对焦位置和所述彩色摄像头的第二对焦位置对所述拍摄目标进行拍摄的技术手段,实现了在低光环境下更快、更准确地完成对焦,弥补了彩色传感器在低光环境下进光量不足的缺陷,从而提高了对焦效果,进而提高了最终的拍摄效果。It can be seen that in the technical solution of the embodiment of the present invention, after acquiring the shooting target, the focus position of the black and white camera and the first focus position of the color camera are obtained by separately controlling the black and white camera and the color camera to focus at the same time; The focus position of the black and white camera is adjusted to the first focus position of the color camera to obtain the second focus position of the color camera; according to the focus position of the black and white camera and the second focus position of the color camera The technical means for shooting the shooting target achieves faster and more accurate focusing in low-light environments, and makes up for the defect of insufficient light input by color sensors in low-light environments, thereby improving the focusing effect and further improving the The final shot.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种双摄像头拍摄方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, some or all steps of any dual-camera shooting method described in the above method embodiments are included.

本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of software products, the computer software products are stored in a storage medium, including several instructions for So that a computer device (which may be a personal computer, a server or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器、随机存取器、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash drive, ROM, RAM, magnetic or optical disk, etc.

本领域技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program. The program is stored in a storage medium and includes several instructions to make a device (which can be a single-chip , chip, etc.) or a processor (processor) executes all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (10)

1. a kind of dual camera image pickup method characterized by comprising
Obtain photographic subjects;
Black and white camera and colour imagery shot is controlled respectively to focus simultaneously, obtain the black and white camera focusing position and First focusing position of the colour imagery shot;
Focusing position based on the black and white camera is adjusted the first focusing position of the colour imagery shot, obtains institute State the second focusing position of colour imagery shot;
According to the second focusing position of the focusing position of the black and white camera and the colour imagery shot to the photographic subjects It is shot.
2. the method according to claim 1, wherein the focusing position and institute according to the black and white camera State colour imagery shot the second focusing position the photographic subjects are shot before, further includes:
Receive shooting instruction.
3. the method according to claim 1, wherein it is described focused used by focusing method include: phase Position focusing and/or contrast focusing.
4. the method according to claim 1, wherein the focusing position based on the black and white camera is to institute The first focusing position for stating colour imagery shot is adjusted, and obtains the second focusing position of the colour imagery shot, comprising:
Whether the focusing position for judging the black and white camera is the position for meeting preset condition;
If the focusing position of the black and white camera is the position for meeting the preset condition, by pair of the black and white camera Burnt position is determined as the second focusing position of the colour imagery shot;
If the focusing position of the black and white camera is the position for being unsatisfactory for the preset condition, the colour imagery shot is controlled Continue pair using the first focusing position of the focusing position of the black and white camera and the colour imagery shot as reference point Coke obtains the second focusing position of the colour imagery shot.
5. method according to claim 1 to 4, which is characterized in that before the acquisition photographic subjects, further includes:
Receive the enabled instruction of camera.
6. a kind of dual camera camera system characterized by comprising
Module is obtained, for obtaining photographic subjects;
Control module obtains the black and white camera shooting for controlling black and white camera and colour imagery shot respectively while focusing The focusing position of head and the first focusing position of the colour imagery shot;
Adjust module, for the focusing position based on the black and white camera to the first focusing position of the colour imagery shot into Row adjustment, obtains the second focusing position of the colour imagery shot;
Shooting module, for according to the focusing position of the black and white camera and the second focusing position pair of the colour imagery shot The photographic subjects are shot.
7. system according to claim 6, which is characterized in that further include:
Shooting instruction receiving module, in the focusing position according to the black and white camera and the colour imagery shot Before second focusing position shoots the photographic subjects, shooting instruction is received;
Enabled instruction receiving module, for receiving the enabled instruction of camera before the acquisition photographic subjects.
8. system according to claim 6, which is characterized in that it is described focused used by focusing method include: phase Position focusing and/or contrast focusing.
9. according to system as claimed in claim 6 to 8, which is characterized in that the adjustment module includes:
Judging unit, for judging whether the focusing position of the black and white camera is the position for meeting preset condition;
Determination unit will be described if the focusing position for the black and white camera is the position for meeting the preset condition The focusing position of black and white camera is determined as the second focusing position of the colour imagery shot;
Focusing unit controls if the focusing position for the black and white camera is the position for being unsatisfactory for the preset condition The colour imagery shot is ginseng with the first focusing position of the focusing position of the black and white camera and the colour imagery shot Examination point continues to focus, and obtains the second focusing position of the colour imagery shot.
10. a kind of terminal, which is characterized in that including any system of claim 6-9.
CN201610842186.4A 2016-09-22 2016-09-22 A dual-camera shooting method, system and terminal Active CN106226976B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610842186.4A CN106226976B (en) 2016-09-22 2016-09-22 A dual-camera shooting method, system and terminal
PCT/CN2016/104087 WO2018053908A1 (en) 2016-09-22 2016-10-31 Dual-camera photographic method, system, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610842186.4A CN106226976B (en) 2016-09-22 2016-09-22 A dual-camera shooting method, system and terminal

Publications (2)

Publication Number Publication Date
CN106226976A CN106226976A (en) 2016-12-14
CN106226976B true CN106226976B (en) 2019-09-03

Family

ID=58076495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610842186.4A Active CN106226976B (en) 2016-09-22 2016-09-22 A dual-camera shooting method, system and terminal

Country Status (2)

Country Link
CN (1) CN106226976B (en)
WO (1) WO2018053908A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071243B (en) * 2017-03-09 2019-12-27 成都西纬科技有限公司 Camera focusing calibration system and focusing calibration method
CN107018326B (en) * 2017-03-31 2020-10-16 努比亚技术有限公司 Shooting method and device
CN107026979B (en) * 2017-04-19 2020-09-11 宇龙计算机通信科技(深圳)有限公司 Double-camera shooting method and device
CN106973231A (en) * 2017-04-19 2017-07-21 宇龙计算机通信科技(深圳)有限公司 Picture synthetic method and system
CN106878621B (en) * 2017-04-19 2020-12-18 宇龙计算机通信科技(深圳)有限公司 Dual camera photographing method and device
CN107124535B (en) * 2017-04-19 2020-11-10 宇龙计算机通信科技(深圳)有限公司 Double-camera shooting method and device
CN107124547B (en) * 2017-04-19 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Dual camera photographing method and device
CN107395990A (en) * 2017-08-31 2017-11-24 珠海市魅族科技有限公司 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
CN109975948A (en) * 2017-12-28 2019-07-05 格科微电子(上海)有限公司 Control focusing mould group moves to obtain the method for depth of view information
CN114928688B (en) * 2018-05-08 2024-06-11 宁波舜宇光电信息有限公司 Array camera module, electronic equipment with array camera module and image processing method
CN108810410A (en) * 2018-06-08 2018-11-13 广州视源电子科技股份有限公司 Image acquisition method and device, terminal equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060419A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102007004349A1 (en) * 2007-01-29 2008-07-31 Robert Bosch Gmbh Night vision system, especially for a vehicle, and method of creating a night vision image
CN102480593B (en) * 2010-11-25 2014-04-16 杭州华三通信技术有限公司 Double-lens video camera switching method and device
US20130057655A1 (en) * 2011-09-02 2013-03-07 Wen-Yueh Su Image processing system and automatic focusing method
CN103019001B (en) * 2011-09-22 2016-06-29 晨星软件研发(深圳)有限公司 Atomatic focusing method and device
CN103986876B (en) * 2014-05-29 2017-06-06 宇龙计算机通信科技(深圳)有限公司 A kind of image obtains terminal and image acquiring method
CN104410783B (en) * 2014-11-07 2018-02-02 广东欧珀移动通信有限公司 A kind of focusing method and terminal
CN104333703A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Method and terminal for taking pictures with dual cameras
CN105827970B (en) * 2016-03-31 2019-03-05 维沃移动通信有限公司 An image processing method and mobile terminal
CN105847693A (en) * 2016-04-27 2016-08-10 乐视控股(北京)有限公司 Shooting method and system based on two-camera focusing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060419A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal

Also Published As

Publication number Publication date
WO2018053908A1 (en) 2018-03-29
CN106226976A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN106226976B (en) A dual-camera shooting method, system and terminal
KR102310430B1 (en) Filming method, apparatus and device
CN112840634B (en) Electronic device and method for obtaining image
CN105578026B (en) A kind of image pickup method and user terminal
KR100806690B1 (en) Auto focusing method and auto focus adjusting device using the same
CN107205109B (en) Electronic device with multiple camera modules and control method thereof
US9584713B2 (en) Image capturing apparatus capable of specifying an object in image data based on object detection, motion detection and/or object recognition, communication apparatus communicating with image capturing apparatus, and control method therefor
US9300858B2 (en) Control device and storage medium for controlling capture of images
US8648961B2 (en) Image capturing apparatus and image capturing method
US20180007292A1 (en) Imaging device, imaging method, and image processing device
KR20190101706A (en) Electronic device for photographing image using camera according to a plurality of frame rate and method for operating thereof
US20130322862A1 (en) Method and digital camera having improved autofocus
JP2008288975A (en) Imaging apparatus, imaging method, and imaging program
EP2670127B1 (en) Method and digital camera having improved autofocus
CN106878605A (en) Method and electronic device for image generation based on electronic device
CN104079837B (en) A kind of focusing method and device based on imaging sensor
CN106716244A (en) Photographing control device, photographing device, photographing control method, and program
WO2014155812A1 (en) Image processing device, image capturing apparatus, image processing method, and image processing program
WO2015024367A1 (en) Shot image processing method and apparatus
CN106231189A (en) Take pictures treating method and apparatus
CN114422665B (en) Shooting method based on multiple cameras and related device
US8189055B2 (en) Digital photographing apparatus and method of controlling the same
WO2017054475A1 (en) Image capturing method, device, and terminal
JP2014103643A (en) Imaging device and subject recognition method
CN104601883B (en) A kind of method and device of image taking

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20251010

Address after: 710000 Shaanxi Province, Xi'an City, Gaoxin District, Keji 5th Road, No. 20, Hefa Intelligent Building, B Building, 5th Floor, Room 511-2-17

Patentee after: Xi'an Haochen Electronic Technology Co.,Ltd.

Country or region after: China

Address before: No. 2 Mengxi Road, North Science Park, Nanshan District, Shenzhen City, Guangdong Province 518057

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right