Movatterモバイル変換


[0]ホーム

URL:


CN106060406B - A kind of photographing method and mobile terminal - Google Patents

A kind of photographing method and mobile terminal
Download PDF

Info

Publication number
CN106060406B
CN106060406BCN201610604719.5ACN201610604719ACN106060406BCN 106060406 BCN106060406 BCN 106060406BCN 201610604719 ACN201610604719 ACN 201610604719ACN 106060406 BCN106060406 BCN 106060406B
Authority
CN
China
Prior art keywords
camera
image
mobile terminal
scene
images
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
CN201610604719.5A
Other languages
Chinese (zh)
Other versions
CN106060406A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201610604719.5ApriorityCriticalpatent/CN106060406B/en
Publication of CN106060406ApublicationCriticalpatent/CN106060406A/en
Application grantedgrantedCritical
Publication of CN106060406BpublicationCriticalpatent/CN106060406B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention provides a photographing method and a mobile terminal, and relates to the technical field of communication. The method comprises the following steps: receiving a photographing function starting request input by a mobile terminal user; controlling the first camera to acquire images and display the images on a photographing preview interface, and controlling the second camera to continuously acquire images in a background; carrying out scene detection on a shooting scene where the mobile terminal is located to obtain a target shooting scene; controlling the second camera to continuously cache image data based on the target shooting scene; and when a photographing instruction input by the mobile terminal user is received, selecting a frame of image from the image data cached by the second camera to generate a photo. The problem of current shooting method the real-time nature of shooing not good, reduced user's experience of shooing is solved. The photo shooting method and the photo shooting device can rapidly acquire the photo when a shooting instruction input by a user is received, so that the shooting instantaneity is improved, and further the shooting experience of the user is improved.

Description

Translated fromChinese
一种拍照方法及移动终端A kind of photographing method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种拍照方法及移动终端。The present invention relates to the field of communication technologies, and in particular, to a photographing method and a mobile terminal.

背景技术Background technique

如今,随着手机等移动终端的发展以及普及,越来越多的用户使用移动终端相机进行拍照。而且为了提高拍摄得到的照片的质量,在某些场景下拍照需要采集多帧图像进行合成以得到最终的照片。比如拍摄夜景或超清画质等的时候,则会根据情况采集3到5帧图像以合成一张最终的照片。而且,在某些场景下采集各个图像时对相机参数的要求不一致,例如对相机的曝光程度,曝光时间、增益和对焦等参数的要求不一致。比如在某场景下,需要将相机的拍摄模式调整为HDR(High Dynamic Range,高动态范围)拍摄模式,此时需要采集正常曝光的图像,还需要采集欠曝和过曝的图像。现有的拍照方法是利用移动终端的同一个摄像头在生成预览图片并显示在移动终端的显示界面,而且在拍照时采集上述图像,然后利用采集的多帧图像合成一张照片。Nowadays, with the development and popularization of mobile terminals such as mobile phones, more and more users use mobile terminal cameras to take pictures. Moreover, in order to improve the quality of the captured photos, in some scenarios, it is necessary to collect multiple frames of images for synthesis to obtain the final photos. For example, when shooting night scenes or ultra-clear image quality, etc., 3 to 5 frames of images will be collected according to the situation to synthesize a final photo. Moreover, in some scenarios, the requirements for camera parameters are inconsistent when each image is collected, for example, the requirements for parameters such as exposure degree, exposure time, gain, and focus of the camera are inconsistent. For example, in a certain scene, the shooting mode of the camera needs to be adjusted to the HDR (High Dynamic Range, high dynamic range) shooting mode. At this time, it is necessary to collect images with normal exposure, and images with underexposure and overexposure need to be collected. In the existing photographing method, the same camera of the mobile terminal is used to generate a preview image and display it on the display interface of the mobile terminal, and the above-mentioned images are collected when photographing, and then a photograph is synthesized by using the collected multiple frames of images.

但是,利用多帧图像合成一张照片需要一定的时间,从而导致用户在输入拍照指令后需要等待一定时间才可以得到最终的照片,拍照的实时性不好,进而降低用户的拍照体验。However, it takes a certain amount of time to synthesize a photo by using multiple frames of images, so that the user needs to wait for a certain period of time to obtain a final photo after inputting a photo-taking instruction, and the real-time performance of photo-taking is not good, thereby reducing the user's photo-taking experience.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种拍照方法及移动终端,以解决现有的拍照方法耗时长,影响用户拍照体验的问题。Embodiments of the present invention provide a photographing method and a mobile terminal, so as to solve the problem that the existing photographing method takes a long time and affects the user's photographing experience.

一方面,本发明提供了一种拍照方法,包括:In one aspect, the present invention provides a photographing method, comprising:

接收所述移动终端用户输入的拍照功能启动请求;receiving a photo-taking function activation request input by the user of the mobile terminal;

控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;Controlling the first camera to capture images and displaying them on the camera preview interface, and controlling the second camera to continuously capture images in the background;

对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;Perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene;

基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;Based on the target shooting scene, controlling the second camera to continuously cache image data;

当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。When receiving a photographing instruction input by the user of the mobile terminal, a frame of image is selected from the image data buffered by the second camera to generate a photograph.

另一方面,本发明还提供了一种移动终端,包括第一摄像头和第二摄像头,其特征在于,所述移动终端还包括:In another aspect, the present invention also provides a mobile terminal, comprising a first camera and a second camera, wherein the mobile terminal further includes:

相机启动模块,用于接收所述移动终端用户输入的拍照功能启动请求;a camera activation module, configured to receive a photo-taking function activation request input by a user of the mobile terminal;

图像采集模块,用于控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;an image acquisition module, configured to control the first camera to collect images and display them on the camera preview interface, and to control the second camera to continuously collect images in the background;

拍摄场景检测模块,用于对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;a shooting scene detection module, configured to perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene;

图像数据缓存模块,用于基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;an image data cache module, configured to control the second camera to continuously cache image data based on the target shooting scene;

照片生成模块,用于当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。The photo generating module is configured to select a frame of image from the image data buffered by the second camera to generate a photo when receiving the photographing instruction input by the user of the mobile terminal.

这样,本发明实施例中,通过在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。In this way, in this embodiment of the present invention, after receiving the photo-taking function activation request input by the mobile terminal user, the first camera is controlled to capture images and displayed on the photo-taking preview interface, and the second camera is controlled to continuously capture images in the background. image, and perform scene detection on the shooting scene where the mobile terminal is located to obtain the target shooting scene, and control the second camera to continuously cache the image data based on the target shooting scene. During the photographing instruction, a frame of image is selected from the image data buffered by the second camera to generate a photograph. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the drawings that are used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. , for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1是本发明实施例一中的一种拍照方法的流程图;1 is a flowchart of a method for photographing in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种拍照方法的流程图;Fig. 2 is a flow chart of a photographing method in Embodiment 2 of the present invention;

图3是本发明实施例三中的一种移动终端的结构示意图;3 is a schematic structural diagram of a mobile terminal in Embodiment 3 of the present invention;

图4是本发明实施例三中的一种移动终端的图像数据缓存模块的结构示意图;4 is a schematic structural diagram of an image data cache module of a mobile terminal in Embodiment 3 of the present invention;

图5是本发明实施例三中的一种移动终端的图像数据缓存单元的结构示意图;5 is a schematic structural diagram of an image data cache unit of a mobile terminal in Embodiment 3 of the present invention;

图6是本发明实施例三中的一种移动终端的照片生成模块的结构示意图;6 is a schematic structural diagram of a photo generation module of a mobile terminal in Embodiment 3 of the present invention;

图7是本发明实施例三中的一种移动终端的另一种照片生成模块的结构示意图;7 is a schematic structural diagram of another photo generation module of a mobile terminal in Embodiment 3 of the present invention;

图8是本发明实施例四中的一种移动终端的框图;8 is a block diagram of a mobile terminal according to Embodiment 4 of the present invention;

图9是本发明实施例五中的一种移动终端的结构示意图。FIG. 9 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

下面通过列举几个具体的实施例详细介绍本发明提供的一种拍照方法及移动终端。The following describes in detail a photographing method and a mobile terminal provided by the present invention by listing several specific embodiments.

实施例一Example 1

详细介绍本发明实施例提供的一种拍照方法。A photographing method provided by an embodiment of the present invention is described in detail.

参照图1,示出了本发明实施例中一种拍照方法的流程图。Referring to FIG. 1 , a flowchart of a photographing method in an embodiment of the present invention is shown.

步骤101,接收所述移动终端用户输入的拍照功能启动请求。Step 101: Receive a photo-taking function activation request input by a user of the mobile terminal.

在本发明实施例中,相机是移动终端中具有拍摄功能的部件。移动终端可以包括但不限于智能手机、平板电脑(Tablet Personal Computer,简称Tablet PC、Flat Pc、Tablet、Slates、PAD等)、个人数字助理(Personal Digital Assistant,PDA)、数码相机等具有拍摄功能的装置。In this embodiment of the present invention, the camera is a component with a photographing function in the mobile terminal. Mobile terminals may include, but are not limited to, smart phones, tablet computers (Tablet Personal Computer, Tablet PC, Flat Pc, Tablet, Slates, PAD, etc.), personal digital assistants (Personal Digital Assistant, PDA), digital cameras, etc. device.

在实际应用中,用户可以通过点击移动终端显示界面中的相机图标以输入拍照功能启动请求,或者是通过对移动终端中用以输入拍照功能启动请求的快捷键进行操作以输入拍照功能启动请求,或者是通过对移动终端的外接设备进行操作以输入拍照功能启动请求,或者是其他可用方式,对此本发明实施例不加以限定。In practical applications, the user can click the camera icon in the display interface of the mobile terminal to input the photo-taking function activation request, or input the photo-taking function activation request by operating the shortcut key in the mobile terminal for inputting the photo-taking function activation request, Alternatively, an external device of the mobile terminal is operated to input a request for starting the photographing function, or other available manners, which are not limited in this embodiment of the present invention.

步骤102,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像。Step 102: Control the first camera to collect images and display them on a photo preview interface, and control the second camera to continuously collect images in the background.

在实际应用中,如果单独利用同一摄像头在拍照的同时预览,那么在夜景拍摄模式等多帧图像合成拍摄模式下可能会影响用户的预览体验。因此,在本发明实施例中,可以控制移动终端的第一摄像头采集图像并显示在拍照预览界面,并控制移动终端的第二摄像头在后台持续采集图像。其中,第二摄像头独立于第一摄像头,那么在多帧图像合成拍摄模式下,如果在利用第二摄像头在后台持续采集图像的过程中,需要对第二摄像头的焦距、曝光度等参数进行调整,并不会影响到第一摄像头的焦距、曝光度等参数。利用移动终端的第一摄像头采集的图像并不受第二摄像头的影响,而且利用第一摄像头采集的图像也不受第二摄像头的影响。In practical applications, if the same camera is used alone to preview while taking pictures, the user's preview experience may be affected in a multi-frame image composite shooting mode such as a night scene shooting mode. Therefore, in this embodiment of the present invention, the first camera of the mobile terminal may be controlled to collect images and displayed on the camera preview interface, and the second camera of the mobile terminal may be controlled to continuously collect images in the background. The second camera is independent of the first camera, then in the multi-frame image composite shooting mode, if the second camera is used to continuously capture images in the background, it is necessary to adjust the focal length, exposure and other parameters of the second camera , and will not affect the focal length, exposure and other parameters of the first camera. The image captured by the first camera of the mobile terminal is not affected by the second camera, and the image captured by the first camera is also not affected by the second camera.

另外,为了保证在多帧图像合成拍摄模式下,第一摄像头采集图像对应的取景范围与第二摄像头在后台持续采集图像时所对应的取景范围差距不大,从而可以便于用户根据预览界面显示的图像调整移动终端第二摄像头的取景范围,在本发明实施例中,可以设定同一移动终端的第二摄像头与第一摄像头的取景范围的偏差在预设偏差阈值范围内。其中,预设偏差阈值范围可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。In addition, in order to ensure that in the multi-frame image composite shooting mode, the framing range corresponding to the image captured by the first camera is not much different from the framing range corresponding to when the second camera continuously captures images in the background. The image adjusts the viewing range of the second camera of the mobile terminal. In the embodiment of the present invention, the deviation of the viewing range of the second camera of the same mobile terminal and the first camera may be set within a preset deviation threshold range. The preset deviation threshold range may be set before this step, or before any step before this step, according to requirements, which is not limited in this embodiment of the present invention.

步骤103,对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景。Step 103: Perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene.

在本发明实施例中,可以利用第一摄像头或第二摄像头,或者是第一摄像头和第二摄像头检测移动终端所处的拍摄场景,具体的可以检测移动终端所处场景的亮度、实物等等,对此本发明实施例不加以限定。当然,也可以利用其他设备对移动终端所处的拍摄场景进行场景检测,对此本发明实施例不加以限定。In this embodiment of the present invention, the first camera or the second camera, or the first camera and the second camera may be used to detect the shooting scene where the mobile terminal is located, and specifically, the brightness, physical objects, etc. of the scene where the mobile terminal is located may be detected. , this embodiment of the present invention is not limited. Of course, other devices may also be used to perform scene detection on the shooting scene where the mobile terminal is located, which is not limited in this embodiment of the present invention.

在本发明实施例中,还可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前设定目标拍摄场景具体可以包括的场景类别,例如设置目标拍摄场景包括夜景拍摄场景、高清拍摄场景、背景虚化拍摄场景、普通拍摄场景、室内拍摄场景、室外拍摄场景等等,对此本发明实施例不加以限定。那么,在对所述移动终端所处的拍摄场景进行场景检测,进而确定移动终端所处的目标拍摄场景的具体类型。另外,还可以设置对应不同目标拍摄场景类别的场景条件。例如,可以设定如果检测到移动终端所处场景的光照亮度低于预设光照亮度阈值时则确定移动终端所处对的目标拍摄场景为夜景拍摄场景。In the embodiment of the present invention, it is also possible to set specific scene categories that the target shooting scene can include before this step or any step before this step according to requirements, for example, setting the target shooting scene to include night scene shooting scene, high-definition shooting scene Scenes, background blur shooting scenes, common shooting scenes, indoor shooting scenes, outdoor shooting scenes, etc., are not limited in this embodiment of the present invention. Then, scene detection is performed on the shooting scene where the mobile terminal is located, and then the specific type of the target shooting scene where the mobile terminal is located is determined. In addition, scene conditions corresponding to different target shooting scene categories can also be set. For example, if it is detected that the illumination brightness of the scene where the mobile terminal is located is lower than the preset illumination brightness threshold, it may be determined that the target shooting scene where the mobile terminal is located is a night scene shooting scene.

步骤104,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据。Step 104 , controlling the second camera to continuously cache image data based on the target shooting scene.

在本发明实施例中,在确认了移动终端所处的目标拍摄场景之后,则可以基于目标拍摄场景,控制移动终端的第二摄像头持续缓存图像数据。在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前,根据需求设定对应不同目标拍摄场景,第二摄像头缓存图像数据的具体过程和规则等,对此本发明实施例不加以限定。In this embodiment of the present invention, after the target shooting scene where the mobile terminal is located is confirmed, the second camera of the mobile terminal may be controlled to continuously cache image data based on the target shooting scene. In this embodiment of the present invention, before this step or any step before this step, different target shooting scenes, the specific process and rules for caching image data of the second camera, etc. may be set according to requirements. The embodiments of the invention are not limited.

例如,如果移动终端所处的目标拍摄场景为光线正常的普通拍摄场景,那么可以控制移动终端的第二摄像头基于当前视景以一定时间间隔为周期循环生成图像数据并缓存;而如果移动终端所处的目标拍摄场景为光线较暗的夜景拍摄场景,那么需要控制第二摄像头分别采集多帧在正常曝光条件下的图像,然后利用图像按照对应夜景拍摄场景的规则合成得到当前目标拍摄场景的缓存图像数据。而且,同样可以以一定时间间隔为周期重复上述操作,从而可以基于夜景拍摄场景,控制移动终端的第二摄像头持续缓存图像数据。For example, if the target shooting scene where the mobile terminal is located is an ordinary shooting scene with normal light, then the second camera of the mobile terminal can be controlled to generate image data periodically at certain time intervals based on the current scene and cache it; The target shooting scene is a dark night scene shooting scene, then it is necessary to control the second camera to collect multiple frames of images under normal exposure conditions, and then use the images to synthesize the current target shooting scene according to the rules corresponding to the night scene shooting scene. image data. Moreover, the above operations can also be repeated periodically at certain time intervals, so that the second camera of the mobile terminal can be controlled to continuously cache image data based on the night scene shooting scene.

步骤105,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。Step 105, when receiving the photographing instruction input by the user of the mobile terminal, select a frame of image from the image data buffered by the second camera to generate a photograph.

具体的,用于可以通过移动终端显示界面中的拍摄控件输入拍照指令,或者是通过移动终端外表面的拍摄按键输入拍照指令,或者是通过外接设备输入拍照指令,或者是通过其他可用方式输入拍照指令,对此本发明实施例不加以限定。Specifically, it is used to input the photographing instruction through the photographing controls in the display interface of the mobile terminal, or input the photographing instruction through the photographing button on the outer surface of the mobile terminal, or input the photographing instruction through an external device, or input the photographing instruction through other available methods. instruction, which is not limited in this embodiment of the present invention.

当移动终端接收到用户输入的拍照指令时,则可以第二摄像头所缓存的图像数据中选取一帧图像生成照片。其中,如果在接收到用户输入的拍照指令时,第二摄像头所缓存的图像数据中只有一帧图像,那么则直接以该图像作为生成照片。而如果第二摄像头所缓存的图像数据中包括多帧图像,则可以在接收到用户输入的拍照指令时,按照一定的预设规则从多帧图像中选取一帧图像以生成照片,其中预设规则可以对应于不同的目标拍摄场景,目标拍摄场景不同预设规则也可以不同,当然也可以相同,在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定预设规则的具体情况,对此本发明实施例不加以限定。例如,可以设定从当前时刻以及当前时刻之前所缓存的图像数据中获取最新生成的一帧图像生成照片;也可以设定通过比较图像数据中各帧图像的亮度、清晰度等参数,从中挑选出性能更优或者是更符合用户需求的一帧图像生成照片,例如挑选出清晰度最高的一帧图像生成照片。When the mobile terminal receives the photographing instruction input by the user, it can select one frame of image from the image data buffered by the second camera to generate a photograph. Wherein, if there is only one frame of image in the image data buffered by the second camera when receiving the photographing instruction input by the user, the image is directly used as the generated photo. However, if the image data cached by the second camera includes multiple frames of images, when receiving a photographing instruction input by the user, one frame of images can be selected from the multiple frames of images according to certain preset rules to generate a photo, wherein the preset The rules may correspond to different target shooting scenes, and the preset rules may also be different for different target shooting scenes, and of course they can be the same. The specific situation in which the preset rule needs to be set is not limited in this embodiment of the present invention. For example, it can be set to obtain the latest generated frame of image from the image data buffered at the current moment and before the current moment to generate a photo; it can also be set to compare the brightness, clarity and other parameters of each frame of the image data to select A frame of image with better performance or more in line with user needs is generated to generate a photo, for example, a frame of image with the highest definition is selected to generate a photo.

另外,在生成针对本次拍照指令的照片后,为了避免占用存储空间,对于缓存的其他图像数据则可以清除或删除,当然也可以不清除,对此本发明实施例不加以限定。In addition, after generating the photo for this photographing instruction, in order to avoid occupying storage space, other cached image data may be cleared or deleted, of course, may not be cleared, which is not limited in this embodiment of the present invention.

在本发明实施例中,在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。In the embodiment of the present invention, after receiving the photo-taking function activation request input by the mobile terminal user, the first camera is controlled to capture images and displayed on the photo-taking preview interface, and the second camera is controlled to continuously capture images in the background, And perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene, and control the second camera to continuously cache image data based on the target shooting scene, and when receiving a photographing instruction input by the user of the mobile terminal When the image data is stored in the second camera, a frame of image is selected to generate a photo. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

实施例二Embodiment 2

详细介绍本发明实施例提供的一种拍照方法。A photographing method provided by an embodiment of the present invention is described in detail.

参照图2,示出了本发明实施例中一种拍照方法的流程图。Referring to FIG. 2, a flowchart of a photographing method in an embodiment of the present invention is shown.

步骤201,接收所述移动终端用户输入的拍照功能启动请求。Step 201: Receive a photo-taking function activation request input by the user of the mobile terminal.

步骤202,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像。Step 202: Control the first camera to collect images and display them on a photo preview interface, and control the second camera to continuously collect images in the background.

步骤203,对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景。Step 203: Perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene.

步骤204,基于所述目标拍摄场景,确定目标拍摄模式。Step 204: Determine a target shooting mode based on the target shooting scene.

在本发明实施例中,可以根据移动终端所处的目标拍摄场景,确定移动终端的目标拍摄模式,具体的目标拍摄模式与目标拍摄场景之间的对应关系,可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。例如,可以在移动终端内构建对应不同目标拍摄场景的目标拍摄模式,例如在夜晚或是光线较暗的夜间拍摄场景下,则会相应的启动移动终端的夜景拍摄模式,或者是将移动终端的拍摄模式切换至夜景拍摄模式。而且,在实际应用,在不同的拍摄场景中,为了使移动终端拍摄的照片的效果都达到用户的需求,需要针对不同的拍摄场景相应的对用于拍摄照片的第二摄像头的各种参数进行调整,例如焦距、曝光等参数,同时调整利用第二摄像头进行拍照的具体过程,例如是直接采集一张图片以生成照片还是采集多张图片以生成照片等。那么,在本发明实施例中,可以设置对应不同目标拍摄场景的目标拍摄模式,各拍目标摄模式包含了对第二摄像头的各种参数要求以及利用第二摄像头拍照的具体过程,那么在确定移动终端的目标拍摄模式,就可以相应的确定第二摄像头的参数以及利用第二摄像头进行拍照的具体过程。In this embodiment of the present invention, the target shooting mode of the mobile terminal may be determined according to the target shooting scene where the mobile terminal is located, and the specific correspondence between the target shooting mode and the target shooting scene may be before this step, or in this Any step before the step is set according to requirements, which is not limited in this embodiment of the present invention. For example, target shooting modes corresponding to different target shooting scenes can be constructed in the mobile terminal. For example, in the night or night shooting scenes with low light, the night scene shooting mode of the mobile terminal will be activated accordingly, or the mobile terminal's night scene shooting mode will be activated accordingly. The shooting mode switches to night scene shooting mode. Moreover, in practical applications, in different shooting scenarios, in order to make the effects of the photos captured by the mobile terminal meet the needs of users, various parameters of the second camera used for capturing photos need to be adjusted according to different shooting scenarios. Adjust parameters such as focal length and exposure, and at the same time adjust the specific process of using the second camera to take pictures, such as whether to directly capture a picture to generate a photo or to capture multiple pictures to generate a photo, etc. Then, in this embodiment of the present invention, target shooting modes corresponding to different target shooting scenes can be set, and each shooting target shooting mode includes various parameter requirements for the second camera and the specific process of using the second camera to take pictures, then after determining The target shooting mode of the mobile terminal can correspondingly determine the parameters of the second camera and the specific process of using the second camera to take pictures.

而且,移动终端的拍照功能开启时,一般是以默认的拍摄模式开启,在本发明实施例中,可以设定默认的拍摄模式下第一摄像头和第二摄像头的各项参数都一致,而且此时各项参数为正常取值。当然,在默认的拍摄模式下第一摄像头和第二摄像头的各项参数也可以不一致,那么此时可以以第一摄像头的各项参数作为正常取值,或者是以第二摄像头的各项参数作为正常取值,对此可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前设定,对此本发明实施例不加以限定。Moreover, when the camera function of the mobile terminal is turned on, it is generally turned on in the default shooting mode. In the embodiment of the present invention, the parameters of the first camera and the second camera in the default shooting mode can be set to be the same, and this All parameters are normal values. Of course, in the default shooting mode, the parameters of the first camera and the second camera can also be inconsistent, then at this time, the parameters of the first camera can be used as normal values, or the parameters of the second camera can be used as the normal values. As a normal value, this can be set before this step or any step before this step according to requirements, which is not limited in this embodiment of the present invention.

另外,在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定目标拍摄模式具体包含的拍摄模式类型,同时还可以设定对应不同目标拍摄模式的目标拍摄场景,对此本发明实施例不加以限定。In addition, in this embodiment of the present invention, the types of shooting modes specifically included in the target shooting mode may be set according to requirements before this step or any step before this step, and at the same time, the types of shooting modes corresponding to different target shooting modes may also be set. The target shooting scene is not limited in this embodiment of the present invention.

步骤205,基于所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。Step 205 , controlling the second camera to continuously cache image data based on the target shooting mode.

如前述,在确定了移动终端的目标拍摄模式之后,即可以相应地利用第二摄像头拍摄照片。而在生成照片之前,需要先控制第二摄像头持续缓存图像数据。As mentioned above, after the target shooting mode of the mobile terminal is determined, the second camera can be used to shoot a photo accordingly. Before generating a photo, the second camera needs to be controlled to continuously cache image data.

具体地,对应于不同的目标拍摄模式,第二摄像头持续缓存图像数据的规则可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前设定,对此本发明实施例不加以限定。Specifically, corresponding to different target shooting modes, the rule for the second camera to continuously cache image data may be set before this step or any step before this step as required, which is not limited in this embodiment of the present invention .

可选地,在本发明实施例中,步骤205进一步可以包括:若所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。Optionally, in this embodiment of the present invention, step 205 may further include: if the target shooting mode is a multi-frame image composite shooting mode, in the process of collecting images by the second camera, each time a preset number of frames is collected image, perform image synthesis on the collected images of the preset number of frames, generate at least one frame of composite image, and cache it.

多帧图像合成拍摄模式是指在拍照时,需要利用摄像头采集多帧图像以生成照片的拍摄模式。例如HDR拍摄模式即为一种多帧图像合成拍摄模式,那么在HDR拍摄模式时,可以分别采集正常曝光的图像,欠曝光的图像和过曝光的图像,然后利用三张图像合成本次拍照的照片。其中,对于不同的多帧图像合成拍摄模式,生成一帧合成图像所依据的图像数量和类别可能各不相同,在本发明实施例中,若移动终端的目标拍摄模式为多帧图像合成拍摄模式,则在利用移动终端的第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。其中,对应不同多帧图像合成拍摄模式的预设数量以及采集的图像类别可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前设定,对此本发明实施例不加以限定。The multi-frame image composite shooting mode refers to a shooting mode in which a camera needs to be used to collect multiple frames of images to generate a photo when taking a photo. For example, the HDR shooting mode is a multi-frame image composite shooting mode. In the HDR shooting mode, the normal exposure image, the underexposed image and the overexposed image can be collected separately, and then the three images can be used to synthesize the image of this photo. photo. Wherein, for different multi-frame image composite shooting modes, the number and type of images on which one frame of composite image is generated may be different. In this embodiment of the present invention, if the target shooting mode of the mobile terminal is the multi-frame image composite shooting mode , in the process of using the second camera of the mobile terminal to collect images, every time an image of a preset number of frames is collected, the collected images of the preset number of frames are image-combined, and at least one frame of a composite image is generated and cached. Wherein, the preset number corresponding to different multi-frame image composite shooting modes and the collected image categories can be set before this step or any step before this step according to requirements, which is not limited in this embodiment of the present invention.

在本发明实施例中,第二摄像头采集的图像是第二摄像头根据当前视景生成的图像,例如正常曝光的图像是第一摄像头在正常曝光条件下根据其视景生成的图像,欠曝光的图像是第一摄像头在欠曝光条件下根据其视景生成的图像,过曝光的图像是第一摄像头在过曝光条件下根据其视景生成的图像。具体的,正常曝光、欠曝光和过曝光可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。In this embodiment of the present invention, the image collected by the second camera is an image generated by the second camera according to the current scene. For example, a normally exposed image is an image generated by the first camera according to its scene under normal exposure conditions. The image is an image generated by the first camera under the condition of underexposure according to its view, and the overexposed image is an image generated by the first camera under the condition of overexposure according to its view. Specifically, normal exposure, underexposure, and overexposure may be set as required before this step, or before any step before this step, which is not limited in this embodiment of the present invention.

在本发明实施例中,如果相机处于多帧图像合成拍摄模式,为了避免在接收到用户输入的拍照指令时,才开始采集图像并生成合成图像,可以直接根据移动终端的第二摄像头生成对应多帧图像合成拍摄模式的至少一帧合成图像。而且,在本发明实施例中,如果相机处于多帧图像合成拍摄模式,根据移动终端的第二摄像头生成对应该多帧图像合成拍摄模式的至少一帧合成图像,具体地生成合成图像的数量可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。而且,可以设定在当前时刻之前一定时间阈值内,生成合成图像片,并以缓存形式保存在移动终端,当然也可以直接保存在移动终端本地,或者是保存至云端服务器等,对此本发明实施例不加以限定,而对于已保存的在当前时刻之前一定时间阈值之外的合成图像,可以自动清除。具体的,生成合成图像的时间,以及是否保存合成图像和保存合成图像的存储位置可以根据需求在本步骤之前,或者是本步骤之前的任一步骤之前设定,对此本发明实施例不加以限定。In this embodiment of the present invention, if the camera is in a multi-frame image composite shooting mode, in order to avoid starting to capture images and generate a composite image after receiving a photo-taking instruction input by the user, the corresponding multi-frame images can be generated directly according to the second camera of the mobile terminal. The frame image is synthesized with at least one frame of the synthesized image in the shooting mode. Moreover, in this embodiment of the present invention, if the camera is in a multi-frame image composite shooting mode, at least one frame of composite image corresponding to the multi-frame image composite shooting mode is generated according to the second camera of the mobile terminal. Specifically, the number of composite images generated may be Before this step, or before any step before this step, it is set according to requirements, which is not limited in this embodiment of the present invention. Moreover, it can be set within a certain time threshold before the current time to generate a composite image, and save it in the mobile terminal in the form of a cache, of course, it can also be directly saved locally in the mobile terminal, or saved in a cloud server, etc. For this, the present invention The embodiment is not limited, and the saved composite images beyond a certain time threshold before the current moment can be automatically cleared. Specifically, the time for generating the composite image, whether to save the composite image, and the storage location for saving the composite image can be set before this step or any step before this step according to requirements, which is not added to this embodiment of the present invention. limited.

例如,如果设定始终缓存两张合成图像,那么则需要循环采集生成一张合成图像所需要的图像并生成合成图像,如果当前已经生成两张合成图像,那么在后续每生成一张合成图像时,则将之前生成的两张合成图像中的较早生成的一张清除,当然也可以将之前生成的两张合成图像中的较晚生成的一张清除,对此本发明实施例不加以限定。例如,对于HDR拍摄模式,需要采集正常曝光的图像,欠曝光的图像和过曝光的图像,以合成一张合成图像。如果设定生成两张合成图像,那么可以循环采集正常曝光的图像,欠曝光的图像和过曝光的图像,循环合成一帧合成图像。并且如果已经合成两个或两个以上的合成图像,那么在合成一个新的合成图像时,那么可以只保留一张之前合成的合成图像,而将其他的合成图像清除,从而保证始终只缓存两张合成图像。For example, if it is set to always cache two composite images, then you need to cyclically collect the images required to generate one composite image and generate the composite image. If two composite images have been generated, then each subsequent composite image is generated when a composite image is generated. , the earlier generated one of the two previously generated composite images is cleared, and of course the later generated one of the two previously generated composite images can also be cleared, which is not limited in this embodiment of the present invention . For example, for the HDR shooting mode, normally exposed images, underexposed images and overexposed images need to be captured to combine a composite image. If it is set to generate two composite images, the normal exposure image, the underexposed image and the overexposed image can be collected cyclically, and one frame of composite image can be composited cyclically. And if two or more composite images have been synthesized, when synthesizing a new composite image, only one previously synthesized composite image can be kept, and the other composite images can be cleared, so as to ensure that only two composite images are always cached. composite image.

可选地,在本发明实施例中,多帧图像合成拍摄模式包括高动态范围拍摄模式、电子稳像(EIS,Electronic Image Stabilization)拍摄模式、夜景拍摄模式、背景虚化拍摄模式、超清画质拍摄模式中的至少一种。Optionally, in the embodiment of the present invention, the multi-frame image composite shooting mode includes a high dynamic range shooting mode, an electronic image stabilization (EIS, Electronic Image Stabilization) shooting mode, a night scene shooting mode, a background blur shooting mode, and an ultra-clear picture. at least one of the quality shooting modes.

其中,在EIS拍摄模式下,可以利用第二摄像头分别采集曝光正常的图像,3帧曝光时间为四分之一初始曝光时间的图像,四倍增益的图像,然后利用采集的上述图像生成一张合成图像,如果循环获取上述的图像,则可以合成得到多帧合成图像。在夜景拍摄模式和超清画质拍摄模式下,可以利用第二摄像头分别采集多帧在正常曝光条件下的图像,然后合成得到当前拍摄模式下的合成图像。在背景虚化拍摄模式下,则可以利用第二摄像头分别采集正常对焦的图像和焦距在无穷远的图像,进而合成得到合成图像。当然,在本发明实施例中,各个多帧图像合成拍摄模式具体需要采集的图像,以及采集各帧图像的时间间隔可以在本步骤之前,或者是本步骤之前的任一步骤之前根据需求设定,对此本发明实施例不加以限定。而且,多帧图像合成拍摄模式可以包括任何需要利用多帧图像合成得到照片的拍摄模式,并不限于上述的几种拍摄模式,对此本发明实施例也不加以限定。Among them, in the EIS shooting mode, the second camera can be used to collect images with normal exposure, three images with exposure time of one quarter of the initial exposure time, and images with four times the gain, and then use the collected images to generate an image Synthesized images, if the above-mentioned images are acquired in a loop, multiple frames of synthetic images can be synthesized. In the night scene shooting mode and the ultra-clear image quality shooting mode, the second camera can be used to collect multiple frames of images under normal exposure conditions, and then combine to obtain a combined image in the current shooting mode. In the background blur shooting mode, the second camera can be used to collect a normally focused image and an image with an infinite focal length, respectively, and then synthesize a synthetic image. Of course, in the embodiment of the present invention, the images to be collected in each multi-frame image composite shooting mode, and the time interval for collecting each frame of images can be set before this step or before any step before this step according to requirements. , this embodiment of the present invention is not limited. Moreover, the multi-frame image synthesis shooting mode may include any shooting mode that needs to use multiple frame images to synthesize a photo, and is not limited to the above-mentioned shooting modes, and is not limited in this embodiment of the present invention.

另外,将多帧图像合成一张合成图像的方法,可以采用现有的任何一种图像合成算法,而且不同多帧图像合成拍摄模式的图像合成算法可能相同,也可能不同。在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前,根据需求设定各个多帧图像合成拍摄模式所用的图像合成算法,对此本发明实施例不加以限定。当移动终端处于某一多帧图像合成拍摄模式时,则可以按照预设需求循环采集图像,并按照对应该多帧图像合成拍摄模式的图片合成算法,循环合成一帧合成图像。In addition, the method for synthesizing multiple frames of images into one composite image may use any existing image synthesizing algorithm, and the image synthesizing algorithms for different multi-frame image synthesizing shooting modes may be the same or different. In this embodiment of the present invention, the image synthesis algorithm used in each multi-frame image synthesis shooting mode may be set according to requirements before this step or any step before this step, which is not limited in this embodiment of the present invention . When the mobile terminal is in a certain multi-frame image composite shooting mode, images can be collected cyclically according to preset requirements, and a frame of composite image can be composited cyclically according to a picture synthesis algorithm corresponding to the multi-frame image composite shooting mode.

步骤206,当接收到所述移动终端用户输入的拍照指令时,基于预设的图像参数条件,从所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。Step 206 , when receiving the photographing instruction input by the user of the mobile terminal, based on preset image parameter conditions, select a first image that satisfies the image parameter conditions from the at least one frame of composite images to generate the photograph.

其中,预设的图像参数条件可以包括对图像的清晰度、亮度、色调等参数的条件。在本发明实施例中,可以在本步骤之前,或者是本步骤之前的任一步骤之前,根据需求设定图像参数条件所包含的具体参数以及各个参数的条件,对此本发明实施例不加以限定。The preset image parameter conditions may include conditions for parameters such as image clarity, brightness, and hue. In the embodiment of the present invention, the specific parameters included in the image parameter conditions and the conditions of each parameter may be set according to requirements before this step or any step before this step, and this embodiment of the present invention does not add any limited.

那么,在本发明实施例中,则可以基于预设的图像参数条件,从经步骤206生成的合成图像中选取满足图像参数条件的第一图像生成照片。Then, in this embodiment of the present invention, based on preset image parameter conditions, a first image that satisfies the image parameter conditions may be selected from the composite images generated instep 206 to generate a photo.

另外,利用第一图像生成照片,可以对第一图像进行一些优化处理以生成照片,例如去噪、边缘增强等等,当然也可以不对第一图像进行任何处理,而可以直接以第一图像作为照片,具体的利用第一图像生成照片的具体过程可以根据需求在本步骤之前,或者是本步骤之前设定,对此本发明实施例不加以限定。In addition, using the first image to generate a photo, you can perform some optimization processing on the first image to generate a photo, such as denoising, edge enhancement, etc. Of course, you can also directly use the first image as the first image without any processing. A photo, a specific process of generating a photo by using the first image may be set before or before this step according to requirements, which is not limited in this embodiment of the present invention.

可选地,在本发明实施例中,步骤206进一步可以包括:基于所述至少一帧合成图像的存储时间顺序,从所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照片。Optionally, in this embodiment of the present invention, step 206 may further include: based on the storage time sequence of the at least one frame of composite images, selecting a second image whose storage time is a preset time from the at least one frame of composite images The photo is generated.

在本发明实施例中,还可以基于各个合成图像的存储时间顺序,从合成图像中选取存储时间为预设时间的第二图像生成所述照片。其中,可以在本步骤之前,或者是本步骤之前的任一步骤之前,根据需求设定预设时间的具体取值,对此本发明实施例不加以限定。In this embodiment of the present invention, the photo may also be generated by selecting a second image whose storage time is a preset time from the composite images based on the storage time sequence of each composite image. Wherein, a specific value of the preset time may be set according to requirements before this step or before any step before this step, which is not limited in this embodiment of the present invention.

同样,利用第二图像生成照片,可以对第二图像进行一些优化处理以生成照片,例如去噪、边缘增强等等,当然也可以不对第二图像进行任何处理,而可以直接以第二图像作为照片,具体的利用第二图像生成照片的具体过程可以根据需求在本步骤之前,或者是本步骤之前设定,对此本发明实施例不加以限定。Similarly, using the second image to generate a photo, you can perform some optimization processing on the second image to generate a photo, such as denoising, edge enhancement, etc. Of course, you can also directly use the second image as the second image without any processing. The photo, the specific process of generating the photo by using the second image may be set before this step or before this step according to requirements, which is not limited in this embodiment of the present invention.

在本发明实施例中,在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。In the embodiment of the present invention, after receiving the photo-taking function activation request input by the mobile terminal user, the first camera is controlled to capture images and displayed on the photo-taking preview interface, and the second camera is controlled to continuously capture images in the background, And perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene, and control the second camera to continuously cache image data based on the target shooting scene, and when receiving a photographing instruction input by the user of the mobile terminal When the image data is stored in the second camera, a frame of image is selected to generate a photo. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

而且,在本发明实施例中,可以根据移动终端的目标拍摄场景,确定目标拍摄模式,进而基于目标拍摄模式,控制移动终端的第二摄像头持续缓存图像数据。另外,还可以基于预设的图像参数条件,从合成图像中选取满足图像参数条件的第一图像生成照片。从而可以进一步提高用户的拍照体验。Moreover, in this embodiment of the present invention, a target shooting mode may be determined according to a target shooting scene of the mobile terminal, and based on the target shooting mode, the second camera of the mobile terminal is controlled to continuously cache image data. In addition, based on preset image parameter conditions, a first image that satisfies the image parameter conditions can be selected from the composite images to generate a photo. Thus, the user's photographing experience can be further improved.

实施例三Embodiment 3

详细介绍本发明实施例提供的一种移动终端。A mobile terminal provided by an embodiment of the present invention is introduced in detail.

参照图3,示出了本发明实施例中一种移动终端的结构示意图。Referring to FIG. 3 , a schematic structural diagram of a mobile terminal in an embodiment of the present invention is shown.

本发明实施例的移动终端30包括:相机启动模块301,用于接收所述移动终端用户输入的拍照功能启动请求。图像采集模块302,用于控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像。拍摄场景检测模块303,用于对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景。图像数据缓存模块304,用于基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据。照片生成模块305,用于当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。Themobile terminal 30 in the embodiment of the present invention includes: acamera activation module 301, configured to receive a photo-taking function activation request input by a user of the mobile terminal. Theimage acquisition module 302 is configured to control the first camera to collect images and display them on the camera preview interface, and to control the second camera to continuously collect images in the background. The shootingscene detection module 303 is configured to perform scene detection on the shooting scene where the mobile terminal is located to obtain the target shooting scene. The imagedata cache module 304 is configured to control the second camera to continuously cache image data based on the target shooting scene. Thephoto generating module 305 is configured to select a frame of image from the image data buffered by the second camera to generate a photo when receiving the photographing instruction input by the user of the mobile terminal.

优选地,所述图像数据缓存模块304的结构框图如图4所示,图像数据缓存模块304包括如下模块:目标拍摄模式确定单元3041,用于基于所述目标拍摄场景,确定目标拍摄模式。图像数据缓存单元3042,用于基于所述目标拍摄模式确定单元确定的所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。Preferably, the structural block diagram of the imagedata cache module 304 is shown in FIG. 4 , the imagedata cache module 304 includes the following modules: a target shootingmode determination unit 3041 for determining a target shooting mode based on the target shooting scene. An imagedata cache unit 3042, configured to control the second camera to continuously cache image data based on the target shooting mode determined by the target shooting mode determination unit.

优选地,所述图像数据缓存单元3042的结构框图如图5所示,图像数据缓存单元3042包括如下模块:合成图像生成子单元30421,用于若所述目标拍摄模式确定单元获取的所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。Preferably, the structural block diagram of the imagedata cache unit 3042 is shown in FIG. 5 , the imagedata cache unit 3042 includes the following modules: a compositeimage generation sub-unit 30421, which is used for if the target shooting mode determination unit obtains the target The shooting mode is a multi-frame image composite shooting mode, then in the process of collecting images by the second camera, each time an image of a preset number of frames is collected, the collected images of the preset number of frames are subjected to image synthesis to generate at least one image. A frame is composited and cached.

优选地,所述照片生成模块305的结构框图如图6所示,照片生成模块305包括如下模块:Preferably, the structural block diagram of thephoto generation module 305 is shown in FIG. 6 , and thephoto generation module 305 includes the following modules:

第一照片生成模块单元3051,用于基于预设的图像参数条件,从由所述合成图像生成子单元生成的所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。The first photogeneration module unit 3051 is configured to, based on preset image parameter conditions, select a first image that satisfies the image parameter conditions from the at least one frame of composite image generated by the composite image generation subunit to generate the image. mentioned photos.

优选地,所述照片生成模块305的结构框图如图7所示,照片生成模块305包括如下模块:Preferably, the structural block diagram of thephoto generation module 305 is shown in FIG. 7 , and thephoto generation module 305 includes the following modules:

第二照片生成模块单元3052,用于基于所述至少一帧合成图像的存储时间顺序,从由所述合成图像生成子单元生成的所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照片。The second photogeneration module unit 3052 is configured to select, from the at least one frame of composite images generated by the composite image generation subunit, those whose storage time is a preset time based on the storage time sequence of the at least one frame of composite images. The second image generates the photograph.

在本发明实施例中,在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。In the embodiment of the present invention, after receiving the photo-taking function activation request input by the mobile terminal user, the first camera is controlled to capture images and displayed on the photo-taking preview interface, and the second camera is controlled to continuously capture images in the background, And perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene, and control the second camera to continuously cache image data based on the target shooting scene, and when receiving a photographing instruction input by the user of the mobile terminal When the image data is stored in the second camera, a frame of image is selected to generate a photo. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

而且,在本发明实施例中,可以根据移动终端的目标拍摄场景,确定目标拍摄模式,进而基于目标拍摄模式,控制移动终端的第二摄像头持续缓存图像数据。另外,还可以基于预设的图像参数条件,从合成图像中选取满足图像参数条件的第一图像生成照片。从而可以进一步提高用户的拍照体验。Moreover, in this embodiment of the present invention, a target shooting mode may be determined according to a target shooting scene of the mobile terminal, and based on the target shooting mode, the second camera of the mobile terminal is controlled to continuously cache image data. In addition, based on preset image parameter conditions, a first image that satisfies the image parameter conditions can be selected from the composite images to generate a photo. Thus, the user's photographing experience can be further improved.

实施例四Embodiment 4

详细介绍本发明实施例提供的一种移动终端。A mobile terminal provided by an embodiment of the present invention is introduced in detail.

参照图8,示出了本发明实施例中一种移动终端的框图。Referring to FIG. 8, a block diagram of a mobile terminal in an embodiment of the present invention is shown.

图8所示的移动终端800包括:至少一个处理器801、存储器802、至少一个网络接口804和用户接口803。移动终端800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805,移动终端800还包括拍摄组件806,拍摄组件806包括第一摄像头和第二摄像头。Themobile terminal 800 shown in FIG. 8 includes: at least oneprocessor 801 ,memory 802 , at least onenetwork interface 804 anduser interface 803 . The various components in themobile terminal 800 are coupled together by abus system 805 . It can be understood that thebus system 805 is used to implement the connection communication between these components. In addition to the data bus, thebus system 805 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked asbus system 805 in FIG. 8 , themobile terminal 800 further includes a photographingcomponent 806 , and the photographingcomponent 806 includes a first camera and a second camera.

其中,用户接口803可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Theuser interface 803 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen, etc.).

可以理解,本发明实施例中的存储器802可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本发明实施例描述的系统和方法的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that thememory 802 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (ErasablePROM, EPROM), Electrically Erasable Program read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (DirectRambusRAM, DRRAM). Thememory 802 of the systems and methods described in embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.

在一些实施方式中,存储器802存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统8021和应用程序8022。In some embodiments,memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set of them: anoperating system 8021 andapplications 8022.

其中,操作系统8021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序8022中。Theoperating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. Theapplication program 8022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The program for implementing the method of the embodiment of the present invention may be included in theapplication program 8022 .

在本发明实施例中,通过调用存储器802存储的程序或指令,具体的,可以是应用程序8022中存储的程序或指令,处理器801用于接收所述移动终端用户输入的拍照功能启动请求;控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。In this embodiment of the present invention, by calling the program or instruction stored in thememory 802, specifically, the program or instruction stored in theapplication program 8022, theprocessor 801 is configured to receive a photo-taking function activation request input by the mobile terminal user; Control the first camera to collect images and display them on the photo preview interface, and control the second camera to continuously collect images in the background; perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene; For the target shooting scene, control the second camera to continuously cache image data; when receiving a photographing instruction input by the user of the mobile terminal, select a frame of image from the image data cached by the second camera to generate a photo.

上述本发明实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to theprocessor 801 or implemented by theprocessor 801 . Theprocessor 801 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in theprocessor 801 or an instruction in the form of software. The above-mentionedprocessor 801 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other possible Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in thememory 802, and theprocessor 801 reads the information in thememory 802, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSP Device, DSPD), programmable logic Devices (ProgrammableLogic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present invention. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

可选地,作为另一个实施例,处理器801还用于:基于所述目标拍摄场景,确定目标拍摄模式;基于所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。Optionally, as another embodiment, theprocessor 801 is further configured to: determine a target shooting mode based on the target shooting scene; and control the second camera to continuously cache image data based on the target shooting mode.

可选地,作为另一个实施例,处理器801还用于:若所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。Optionally, as another embodiment, theprocessor 801 is further configured to: if the target shooting mode is a multi-frame image composite shooting mode, in the process of collecting images by the second camera, each time a preset number of frames is collected. image, perform image synthesis on the collected images of the preset number of frames, generate at least one frame of composite image, and cache it.

可选地,处理器801还用于:基于预设的图像参数条件,从所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。Optionally, theprocessor 801 is further configured to: based on a preset image parameter condition, select a first image that satisfies the image parameter condition from the at least one frame of composite images to generate the photo.

可选地,处理器801还用于:基于所述至少一帧合成图像的存储时间顺序,从所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照。Optionally, theprocessor 801 is further configured to: based on the storage time sequence of the at least one frame of the composite image, select a second image whose storage time is a preset time from the at least one frame of the composite image to generate the photo.

所述多帧图像合成拍摄模式包括高动态范围拍摄模式、电子稳像拍摄模式、夜景拍摄模式、背景虚化拍摄模式、超清画质拍摄模式中的至少一种。The multi-frame image composite shooting mode includes at least one of a high dynamic range shooting mode, an electronic image stabilization shooting mode, a night scene shooting mode, a background blur shooting mode, and an ultra-clear image quality shooting mode.

实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。In order to avoid repetition, the various processes implemented by the mobile terminal in the embodiment will not be repeated here.

本发明实施例的一种拍照方法及移动终端,通过在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。A photographing method and a mobile terminal according to the embodiments of the present invention control the first camera to collect an image and display it on a photographing preview interface, and control the second camera after receiving a photographing function activation request input by the mobile terminal user. The camera continuously collects images in the background, and performs scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene, and controls the second camera to continuously cache image data based on the target shooting scene. When a photographing instruction is input by the user of the mobile terminal, a frame of image is selected from the image data buffered by the second camera to generate a photograph. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

实施例五Embodiment 5

图9是本发明另一个实施例的移动终端的结构示意图。具体地,图9中的移动终端900可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。FIG. 9 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 900 in FIG. 9 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图9中的移动终端900包括射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、处理器960、音频电路970、WiFi(Wireless Fidelity)模块980、电源990、移动终端900还包括拍摄组件950,拍摄组件950包括第一摄像头和第二摄像头。The mobile terminal 900 in FIG. 9 includes a radio frequency (RF)circuit 910, amemory 920, aninput unit 930, adisplay unit 940, aprocessor 960, anaudio circuit 970, a WiFi (Wireless Fidelity)module 980, apower supply 990, and a mobile terminal. 900 also includes a photographingcomponent 950, and the photographingcomponent 950 includes a first camera and a second camera.

其中,输入单元930可用于接收用户输入的数字或字符信息,以及产生与移动终端900的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元930可以包括触控面板931。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器960,并能接收处理器960发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, theinput unit 930 may be used to receive numerical or character information input by the user, and generate signal input related to user settings and function control of the mobile terminal 900 . Specifically, in this embodiment of the present invention, theinput unit 930 may include a touch panel 931 . The touch panel 931, also called a touch screen, can collect the user's touch operations on or near it (such as the user's operations on the touch panel 931 using any suitable objects or accessories such as a finger, a stylus, etc.) The specified program drives the corresponding connection device. Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 960, and can receive commands sent by theprocessor 960 and execute them. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 931, theinput unit 930 may also include other input devices 932, and the other input devices 932 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元940可用于显示由用户输入的信息或提供给用户的信息以及移动终端900的各种菜单界面。显示单元940可包括显示面板941,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。Thedisplay unit 940 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 900 . Thedisplay unit 940 may include a display panel 941. Alternatively, the display panel 941 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板931可以覆盖显示面板941,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器960以确定触摸事件的类型,随后处理器960根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 931 can cover the display panel 941 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is transmitted to theprocessor 960 to determine the type of touch event, and then the processor The 960 provides corresponding visual output on the touch display depending on the type of touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch screen includes the application program interface display area and the commonly used controls display area. The arrangement of the application program interface display area and the common control display area is not limited, and may be an arrangement that can distinguish the two display areas, such as up-down arrangement, left-right arrangement, or the like. The application program interface display area can be used to display the interface of the application program. Each interface may contain at least one application icon and/or interface elements such as widget desktop controls. The application program interface display area can also be an empty interface that does not contain any content. The commonly used control display area is used to display controls with high usage rate, such as setting buttons, interface numbers, scroll bars, phonebook icons and other application icons.

其中,处理器960是移动终端900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器921内的软件程序和/或模块,以及调用存储在第二存储器922内的数据,执行移动终端900的各种功能和处理数据,从而对移动终端900进行整体监控。可选的,处理器960可包括一个或多个处理单元。Theprocessor 960 is the control center of the mobile terminal 900, uses various interfaces and lines to connect various parts of the entire mobile phone, runs or executes the software programs and/or modules stored in the first memory 921, and calls the software programs and/or modules stored in the first memory 921. The data in the second memory 922 executes various functions of the mobile terminal 900 and processes data, so as to monitor the mobile terminal 900 as a whole. Optionally,processor 960 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器921内的软件程序和/或模块和/或该第二存储器922内的数据,处理器960用于接收所述移动终端用户输入的拍照功能启动请求;控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。In this embodiment of the present invention, theprocessor 960 is configured to receive the camera function input by the user of the mobile terminal by invoking and storing the software program and/or module in the first memory 921 and/or the data in the second memory 922 Start a request; control the first camera to collect images and display them on the photo preview interface, and control the second camera to continuously collect images in the background; perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene; Based on the target shooting scene, control the second camera to continuously cache image data; when receiving a photographing instruction input by the user of the mobile terminal, select a frame of image from the image data cached by the second camera to generate a photo .

可选地,作为另一个实施例,处理器960还用于:基于所述目标拍摄场景,确定目标拍摄模式;基于所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。Optionally, as another embodiment, theprocessor 960 is further configured to: determine a target shooting mode based on the target shooting scene; and control the second camera to continuously cache image data based on the target shooting mode.

可选地,作为另一个实施例,处理器960还用于:若所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。Optionally, as another embodiment, theprocessor 960 is further configured to: if the target shooting mode is a multi-frame image composite shooting mode, in the process of collecting images by the second camera, each time a preset number of frames is collected. image, perform image synthesis on the collected images of the preset number of frames, generate at least one frame of composite image, and cache it.

可选地,处理器960还用于:基于预设的图像参数条件,从所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。Optionally, theprocessor 960 is further configured to: based on a preset image parameter condition, select a first image that satisfies the image parameter condition from the at least one frame of composite images to generate the photo.

可选地,处理器960还用于:基于所述至少一帧合成图像的存储时间顺序,从所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照片。Optionally, theprocessor 960 is further configured to: based on the storage time sequence of the at least one frame of the composite image, select a second image whose storage time is a preset time from the at least one frame of the composite image to generate the photo.

所述多帧图像合成拍摄模式包括高动态范围拍摄模式、电子稳像拍摄模式、夜景拍摄模式、背景虚化拍摄模式、超清画质拍摄模式中的至少一种。The multi-frame image composite shooting mode includes at least one of a high dynamic range shooting mode, an electronic image stabilization shooting mode, a night scene shooting mode, a background blur shooting mode, and an ultra-clear image quality shooting mode.

可见,在本发明实施例中,通过在接收所述移动终端用户输入的拍照功能启动请求后,控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像,并且对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景,基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片。从而可以在接收到用户输入的拍照指令时迅速获取拍摄图片,提高了拍照的实时性,进而提高了用户的拍照体验。It can be seen that, in this embodiment of the present invention, after receiving the photo-taking function activation request input by the user of the mobile terminal, the first camera is controlled to capture images and displayed on the photo preview interface, and the second camera is controlled to continue in the background. Collect images, and perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene, and based on the target shooting scene, control the second camera to continuously cache image data, and when receiving user input from the mobile terminal When the photographing instruction is given, a frame of image is selected from the image data buffered by the second camera to generate a photograph. Therefore, a photographed picture can be quickly acquired when a photographing instruction input by the user is received, the real-time nature of photographing is improved, and the photographing experience of the user is further improved.

而且,在本发明实施例中,可以根据移动终端的目标拍摄场景,确定目标拍摄模式,进而基于目标拍摄模式,控制移动终端的第二摄像头持续缓存图像数据。另外,还可以基于预设的图像参数条件,从合成图像中选取满足图像参数条件的第一图像生成照片。从而可以进一步提高用户的拍照体验。Moreover, in this embodiment of the present invention, a target shooting mode may be determined according to a target shooting scene of the mobile terminal, and based on the target shooting mode, the second camera of the mobile terminal is controlled to continuously cache image data. In addition, based on preset image parameter conditions, a first image that satisfies the image parameter conditions can be selected from the composite images to generate a photo. Thus, the user's photographing experience can be further improved.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (12)

Translated fromChinese
1.一种拍照方法,应用于具有第一摄像头和第二摄像头的移动终端,其特征在于,所述方法包括:1. A photographing method, applied to a mobile terminal with a first camera and a second camera, wherein the method comprises:接收所述移动终端用户输入的拍照功能启动请求;receiving a photo-taking function activation request input by the user of the mobile terminal;控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;Controlling the first camera to capture images and displaying them on the camera preview interface, and controlling the second camera to continuously capture images in the background;对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;Perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene;基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;Based on the target shooting scene, controlling the second camera to continuously cache image data;当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片;When receiving the photographing instruction input by the user of the mobile terminal, select a frame of image from the image data buffered by the second camera to generate a photograph;其中,所述基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,包括:在所述移动终端的所述目标拍摄场景为普通拍摄场景的情况下,控制所述第二摄像头基于当前视景以预设时间间隔为周期循环生成图像数据并缓存;Wherein, the controlling the second camera to continuously cache the image data based on the target shooting scene includes: in the case that the target shooting scene of the mobile terminal is a common shooting scene, controlling the second camera based on the The current scene periodically generates image data at preset time intervals and caches it;在所述目标拍摄场景为夜景拍摄场景的情况下,控制所述第二摄像头分别采集正常曝光条件下的多帧图像,将所述多帧图像进行合成,得到所述目标拍摄场景的缓存图像数据;When the target shooting scene is a night scene shooting scene, the second camera is controlled to collect multiple frames of images under normal exposure conditions, and the multiple frames of images are synthesized to obtain cached image data of the target shooting scene ;其中,所述基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据,包括:Wherein, controlling the second camera to continuously cache image data based on the target shooting scene includes:在所述目标拍摄场景为普通拍摄场景的情况下,控制所述第二摄像头基于当前视景以预设时间间隔为周期循环生成图像数据并缓存;In the case that the target shooting scene is a common shooting scene, controlling the second camera to periodically generate image data at a preset time interval based on the current scene and cache it;在所述目标拍摄场景为夜景拍摄场景的情况下,控制所述第二摄像头分别采集正常曝光条件下的多帧图像,将所述多帧图像进行合成,得到所述目标拍摄场景的缓存图像数据;When the target shooting scene is a night scene shooting scene, the second camera is controlled to collect multiple frames of images under normal exposure conditions, and the multiple frames of images are synthesized to obtain cached image data of the target shooting scene ;其中,所述第一摄像头采集图像对应的取景范围与所述第二摄像头在后台持续采集图像时所对应的取景范围的偏差在预设偏差阈值范围内。Wherein, the deviation between the viewfinder range corresponding to the image captured by the first camera and the viewfinder range corresponding to the second camera continuously capturing images in the background is within a preset deviation threshold range.2.根据权利要求1所述的方法,其特征在于,所述基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据的步骤,包括:2. The method according to claim 1, wherein the step of controlling the second camera to continuously cache image data based on the target shooting scene comprises:基于所述目标拍摄场景,确定目标拍摄模式;Based on the target shooting scene, determining a target shooting mode;基于所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。Based on the target shooting mode, the second camera is controlled to continuously buffer image data.3.根据权利要求2所述的方法,其特征在于,所述基于所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据的步骤,包括:3. The method according to claim 2, wherein the step of controlling the second camera to continuously cache image data based on the target shooting mode comprises:若所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。If the target shooting mode is a multi-frame image composite shooting mode, in the process of capturing images by the second camera, every time an image of a preset number of frames is collected, the collected images of the preset number of frames are imaged. Composite, generate at least one frame of composite image and cache it.4.根据权利要求3所述的方法,其特征在于,所述从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片的步骤,包括:4. The method according to claim 3, wherein the step of selecting a frame of image to generate a photo from the image data buffered by the second camera comprises:基于预设的图像参数条件,从所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。Based on a preset image parameter condition, a first image that satisfies the image parameter condition is selected from the at least one frame of composite images to generate the photo.5.根据权利要求3所述的方法,其特征在于,所述从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片的步骤,包括:5. The method according to claim 3, wherein the step of selecting a frame of image to generate a photo from the image data buffered by the second camera comprises:基于所述至少一帧合成图像的存储时间顺序,从所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照片。Based on the storage time sequence of the at least one frame of the composite image, a second image whose storage time is a preset time is selected from the at least one frame of the composite image to generate the photo.6.根据权利要求3所述的方法,其特征在于,所述多帧图像合成拍摄模式包括高动态范围拍摄模式、电子稳像拍摄模式、夜景拍摄模式、背景虚化拍摄模式、超清画质拍摄模式中的至少一种。6 . The method according to claim 3 , wherein the multi-frame image composite shooting mode comprises a high dynamic range shooting mode, an electronic image stabilization shooting mode, a night scene shooting mode, a background blur shooting mode, an ultra-clear image quality At least one of the shooting modes.7.一种移动终端,包括第一摄像头和第二摄像头,其特征在于,所述移动终端还包括:7. A mobile terminal comprising a first camera and a second camera, wherein the mobile terminal further comprises:相机启动模块,用于接收所述移动终端用户输入的拍照功能启动请求;a camera activation module, configured to receive a photo-taking function activation request input by a user of the mobile terminal;图像采集模块,用于控制所述第一摄像头采集图像并显示在拍照预览界面,并控制所述第二摄像头在后台持续采集图像;an image acquisition module, configured to control the first camera to collect images and display them on the camera preview interface, and to control the second camera to continuously collect images in the background;拍摄场景检测模块,用于对所述移动终端所处的拍摄场景进行场景检测,得到目标拍摄场景;a shooting scene detection module, configured to perform scene detection on the shooting scene where the mobile terminal is located to obtain a target shooting scene;图像数据缓存模块,用于基于所述目标拍摄场景,控制所述第二摄像头持续缓存图像数据;an image data cache module, configured to control the second camera to continuously cache image data based on the target shooting scene;照片生成模块,用于当接收到所述移动终端用户输入的拍照指令时,从所述第二摄像头所缓存的图像数据中选取一帧图像生成照片;The photo generation module is configured to select a frame of image to generate a photo from the image data buffered by the second camera when receiving the photographing instruction input by the user of the mobile terminal;其中,所述图像数据缓存模块还用于:在所述目标拍摄场景为普通拍摄场景的情况下,控制所述第二摄像头基于当前视景以预设时间间隔为周期循环生成图像数据并缓存;Wherein, the image data cache module is further configured to: in the case that the target shooting scene is an ordinary shooting scene, control the second camera to periodically generate image data and cache at a preset time interval based on the current scene;在所述目标拍摄场景为夜景拍摄场景的情况下,控制所述第二摄像头分别采集正常曝光条件下的多帧图像,将所述多帧图像进行合成,得到所述目标拍摄场景的缓存图像数据;其中,所述第一摄像头采集图像对应的取景范围与所述第二摄像头在后台持续采集图像时所对应的取景范围的偏差在预设偏差阈值范围内。When the target shooting scene is a night scene shooting scene, the second camera is controlled to collect multiple frames of images under normal exposure conditions, and the multiple frames of images are synthesized to obtain cached image data of the target shooting scene ; wherein, the deviation of the viewing range corresponding to the image captured by the first camera and the viewing range corresponding to the second camera when the image is continuously captured in the background is within a preset deviation threshold range.8.根据权利要求7所述的移动终端,其特征在于,所述图像数据缓存模块包括:8. The mobile terminal according to claim 7, wherein the image data cache module comprises:目标拍摄模式确定单元,用于基于所述目标拍摄场景,确定目标拍摄模式;a target shooting mode determination unit, configured to determine a target shooting mode based on the target shooting scene;图像数据缓存单元,用于基于所述目标拍摄模式确定单元确定的所述目标拍摄模式,控制所述第二摄像头持续缓存图像数据。An image data cache unit, configured to control the second camera to continuously cache image data based on the target shooting mode determined by the target shooting mode determination unit.9.根据权利要求8所述的移动终端,其特征在于,所述图像数据缓存单元包括:9. The mobile terminal according to claim 8, wherein the image data buffering unit comprises:合成图像生成子单元,用于若所述目标拍摄模式确定单元获取的所述目标拍摄模式为多帧图像合成拍摄模式,则在所述第二摄像头采集图像的过程中,每采集预设帧数的图像,将所采集的所述预设帧数的图像进行图像合成,生成至少一帧合成图像并进行缓存。A composite image generating subunit, configured to: if the target shooting mode acquired by the target shooting mode determining unit is a multi-frame image composite shooting mode, in the process of collecting images by the second camera, each time a preset number of frames is collected image, perform image synthesis on the collected images of the preset number of frames, generate at least one frame of composite image, and cache it.10.根据权利要求9所述的移动终端,其特征在于,所述照片生成模块包括:10. The mobile terminal according to claim 9, wherein the photo generating module comprises:第一照片生成模块单元,用于基于预设的图像参数条件,从由所述合成图像生成子单元生成的所述至少一帧合成图像中选取满足所述图像参数条件的第一图像生成所述照片。The first photo generation module unit is configured to, based on preset image parameter conditions, select a first image that satisfies the image parameter conditions from the at least one frame of composite images generated by the composite image generation subunit to generate the photo.11.根据权利要求9所述的移动终端,其特征在于,所述照片生成模块包括:11. The mobile terminal according to claim 9, wherein the photo generating module comprises:第二照片生成模块单元,用于基于所述至少一帧合成图像的存储时间顺序,从由所述合成图像生成子单元生成的所述至少一帧合成图像中选取存储时间为预设时间的第二图像生成所述照片。a second photo generation module unit, configured to select, based on the storage time sequence of the at least one frame of the composite image, a first frame of composite image whose storage time is a preset time from the at least one frame of composite image generated by the composite image generation subunit Two images generate the photo.12.根据权利要求7所述的移动终端,其特征在于,所述多帧图像合成拍摄模式包括高动态范围拍摄模式、电子稳像拍摄模式、夜景拍摄模式、背景虚化拍摄模式、超清画质拍摄模式中的至少一种。12 . The mobile terminal according to claim 7 , wherein the multi-frame image composite shooting mode comprises a high dynamic range shooting mode, an electronic image stabilization shooting mode, a night scene shooting mode, a background blur shooting mode, and an ultra-clear picture. 13 . at least one of the quality shooting modes.
CN201610604719.5A2016-07-272016-07-27 A kind of photographing method and mobile terminalActiveCN106060406B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610604719.5ACN106060406B (en)2016-07-272016-07-27 A kind of photographing method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610604719.5ACN106060406B (en)2016-07-272016-07-27 A kind of photographing method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN106060406A CN106060406A (en)2016-10-26
CN106060406Btrue CN106060406B (en)2020-03-06

Family

ID=57195690

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610604719.5AActiveCN106060406B (en)2016-07-272016-07-27 A kind of photographing method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106060406B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018112764A1 (en)*2016-12-202018-06-28广东欧珀移动通信有限公司Image processing method and apparatus, control method and apparatus, imaging apparatus, and electronic apparatus
CN107222669B (en)*2017-06-302019-01-25维沃移动通信有限公司 A shooting method and mobile terminal
CN107360369B (en)*2017-07-182021-06-08深圳天珑无线科技有限公司Image pickup apparatus, photographing method of image pickup apparatus, and computer-readable storage medium
CN107592453B (en)*2017-09-082019-11-05维沃移动通信有限公司A kind of image pickup method and mobile terminal
CN107613218A (en)*2017-09-152018-01-19维沃移动通信有限公司 A high dynamic range image shooting method and mobile terminal
CN107635095A (en)*2017-09-202018-01-26广东欧珀移动通信有限公司 Method, device, storage medium and shooting equipment for taking pictures
US11070743B2 (en)*2018-03-272021-07-20Huawei Technologies Co., Ltd.Photographing using night shot mode processing and user interface
CN108337446B (en)*2018-04-122020-07-31Oppo广东移动通信有限公司High dynamic range image acquisition method, device and equipment based on double cameras
CN108495041B (en)*2018-04-182020-09-29国之云(山东)信息科技有限公司Image processing and displaying method and device for electronic terminal
CN110557573A (en)*2018-06-012019-12-10苹果公司Unified bracketing method for imaging
CN108777765B (en)*2018-08-072021-04-30成都西纬科技有限公司Method and device for acquiring full-definition image and electronic equipment
CN109167918A (en)*2018-09-302019-01-08联想(北京)有限公司Information processing method and its device
CN109167930A (en)*2018-10-112019-01-08Oppo广东移动通信有限公司Image display method, image display device, electronic equipment and computer readable storage medium
CN109672819B (en)*2018-12-102021-04-20Oppo广东移动通信有限公司 Image processing method, apparatus, electronic device, and computer-readable storage medium
CN109922322B (en)*2019-04-102021-06-11Oppo广东移动通信有限公司Photographing method, image processor, photographing device and electronic equipment
CN110177215A (en)*2019-06-282019-08-27Oppo广东移动通信有限公司Image processing method, image processor, photographing device and electronic equipment
CN111083353B (en)*2019-11-252022-05-06北京城市网邻信息技术有限公司Multimedia information acquisition method and device
CN118042262A (en)2019-12-182024-05-14荣耀终端有限公司Control method, electronic equipment, computer readable storage medium and chip
CN111383224B (en)*2020-03-192024-04-16Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic device
CN115134584A (en)*2021-03-292022-09-30北京小米移动软件有限公司 Camera module test method, camera module test device and storage medium
WO2022266907A1 (en)*2021-06-232022-12-29深圳传音控股股份有限公司Processing method, terminal device and storage medium
CN113473009B (en)*2021-06-292022-11-08广州极飞科技股份有限公司Photographing method and device based on dual systems and camera equipment
CN115499579B (en)*2022-08-082023-12-01荣耀终端有限公司 Processing method and device based on zero-second delay ZSL
CN117692792B (en)*2023-07-282025-04-18荣耀终端股份有限公司 Image capture method, terminal, storage medium and program product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20110002630A (en)*2009-07-022011-01-10삼성전자주식회사 Camera operation method and device of mobile terminal
CN103841328B (en)*2014-02-272015-03-11深圳市中兴移动通信有限公司Low-speed shutter shooting method and device
CN104333704B (en)*2014-11-282018-01-16广东欧珀移动通信有限公司A kind of method for previewing, device and the terminal of scene of taking pictures
CN105578061A (en)*2016-02-252016-05-11广东欧珀移动通信有限公司 A method, device and mobile terminal for anti-shake taking pictures
CN105681600B (en)*2016-04-052019-03-08Oppo广东移动通信有限公司 A photographing method, device and intelligent terminal

Also Published As

Publication numberPublication date
CN106060406A (en)2016-10-26

Similar Documents

PublicationPublication DateTitle
CN106060406B (en) A kind of photographing method and mobile terminal
CN107302664B (en)Shooting method and mobile terminal
JP7169383B2 (en) Capture and user interface using night mode processing
CN106161967B (en)Backlight scene panoramic shooting method and mobile terminal
CN106254682B (en) A kind of photographing method and mobile terminal
CN107231530B (en)A kind of photographic method and mobile terminal
CN107395976B (en) A shooting parameter setting method and mobile terminal
CN106534685A (en)Panoramic image generation method and mobile terminal
CN107395998A (en)A kind of image capturing method and mobile terminal
CN107172346B (en)Virtualization method and mobile terminal
CN105872148A (en)Method and mobile terminal for generating high dynamic range images
CN105847674A (en)Preview image processing method based on mobile terminal, and mobile terminal therein
CN106331484B (en)Focusing method and mobile terminal
CN106454086B (en) An image processing method and mobile terminal
CN112770059B (en)Photographing method and device and electronic equipment
CN106506962A (en) Image processing method and mobile terminal
CN107172347B (en) A kind of photographing method and terminal
EP3525446A1 (en)Photographing method and terminal
CN105979155A (en)Photographing method and mobile terminal
CN106412443A (en)Shooting method and mobile terminal
CN105959574A (en)Photographing method and mobile terminal
CN106993139B (en)A kind of image pickup method and mobile terminal
CN106506958B (en)Method for shooting by adopting mobile terminal and mobile terminal
CN106412432A (en)Photographing method and mobile terminal
CN107026982A (en)The photographic method and mobile terminal of a kind of mobile terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp