WO2018161568A1 - 基于双摄像头的拍照方法及装置 - Google Patents

基于双摄像头的拍照方法及装置 Download PDF

Info

Publication number
WO2018161568A1
WO2018161568A1 PCT/CN2017/106269 CN2017106269W WO2018161568A1 WO 2018161568 A1 WO2018161568 A1 WO 2018161568A1 CN 2017106269 W CN2017106269 W CN 2017106269W WO 2018161568 A1 WO2018161568 A1 WO 2018161568A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
ambient brightness
brightness
determining
preset
Prior art date
Application number
PCT/CN2017/106269
Other languages
English (en)
French (fr)
Inventor
李晶
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US16/490,970 priority Critical patent/US20200029026A1/en
Priority to EP17900053.4A priority patent/EP3595276A4/en
Publication of WO2018161568A1 publication Critical patent/WO2018161568A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/72Combination of two or more compensation controls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the present disclosure relates to the field of camera technologies, and in particular, to a camera and method based on a dual camera.
  • the smart terminal with camera function has become an indispensable device in people's daily life and work.
  • the thickness of the body of the smart terminal is getting thinner and thinner, and the camera sensor as the main component of the terminal (
  • the size of the Camera Sensor is also getting smaller and smaller, and the resolution of the camera is getting higher and higher.
  • the resolution is getting higher and higher, which results in the smaller the photosensitive area of each pixel and the poor performance of the camera in the dark.
  • the effect may be unsatisfactory in an individual scene, and it is impossible to balance all the scenes.
  • the rear dual camera has become the trend of the development of smart terminal cameras.
  • the rear dual camera solution there are rear dual cameras using the same pixels, and rear dual cameras using different pixels.
  • the effect is the same as the case of using a single camera, can not use different cameras according to different environmental scenarios, and thus can not guarantee that the various scenes are very good.
  • the embodiments of the present disclosure provide a camera and method based on a dual camera, which can automatically select an appropriate camera according to the actual brightness of the external environment to ensure a good camera effect in different scenarios. .
  • an embodiment of the present disclosure provides a camera method based on a dual camera, the dual camera includes a first camera and a second camera, and the method includes: determining attribute information of the first camera that has been activated; The attribute information determines a first ambient brightness value; determining, according to the first ambient brightness value, whether to switch the first camera to a second camera for taking a picture.
  • an embodiment of the present disclosure provides a camera apparatus based on a dual camera, the dual camera includes a first camera and a second camera, and the camera device includes: a first determining module, configured to determine that the activated first The second determining module is configured to determine a first ambient brightness value according to the attribute information, and the third determining module is configured to determine, according to the first ambient brightness value, whether to switch the first camera to the first Two cameras take pictures.
  • An embodiment of the present disclosure provides a method and apparatus for photographing based on a dual camera, wherein the method includes: determining attribute information of the activated first camera; determining a first ambient brightness value according to the attribute information; An ambient brightness value determines whether to switch the first camera to the second camera for taking a picture.
  • the appropriate camera can be automatically selected according to the actual brightness of the external environment, so as to ensure a good photographing effect in different scenes.
  • FIG. 1 is a schematic flowchart of an implementation process of a camera method based on a dual camera according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart showing an implementation method of generating a correspondence table between ambient luminance values and luminance average values according to Embodiment 2 of the present disclosure
  • FIG. 3 is a schematic flowchart of an implementation process of a camera method based on dual cameras according to Embodiment 3 of the present disclosure
  • FIG. 4 is a schematic structural diagram of a camera device based on a dual camera according to Embodiment 4 of the present disclosure.
  • Embodiment 1 is a schematic diagram of an implementation process of a camera method based on a dual camera. As shown in FIG. 1 , the method includes:
  • step S101 the image processor in the terminal determines the attribute information of the first camera that has been activated.
  • the terminal may be an electronic device having at least a dual camera, such as a mobile phone, a camera, a tablet computer, or the like.
  • a default camera is activated, and the default enabled camera is determined as the first camera.
  • the attribute information includes, but is not limited to, a gain, an exposure duration, and a luminance average.
  • the average value of the brightness may be a value obtained by statistically outputting Bayer data output by the camera in the embodiments of the present disclosure and other embodiments of the present disclosure, that is, the camera collects the gain and the exposure time. The average brightness of the image.
  • Step S102 the image processor determines a first ambient brightness value according to the attribute information; the step S102 includes:
  • Step S1021 the image processor determines, according to the attribute information of the first camera, a first brightness average value corresponding to the preset brightness and the preset exposure time of the first camera;
  • the attribute information of the first camera includes a current gain of the first camera, a current exposure duration, and a second luminance average, where the second luminance average is a current gain of the first camera.
  • the average brightness of the image acquired under the current exposure time is a current gain of the first camera.
  • the corresponding first brightness average value of the first camera at a preset gain and a preset exposure time length may be determined according to formula (1-1);
  • lum 1 is the first brightness average value
  • lum 2 is the second brightness average value
  • gain_cur is the current gain of the first camera
  • exp_cur is the current exposure time of the first camera.
  • gain_default is the preset gain
  • exp_default is the preset exposure time.
  • Step S1022 The image processor determines an ambient brightness value corresponding to the first brightness average value as a first ambient brightness value.
  • the ambient brightness value refers to the brightness value of the external environment.
  • the step S1002 may be implemented by: querying, according to the first brightness average value, a correspondence table between a preset ambient brightness value and a brightness value, and determining an environment corresponding to the first brightness average value. a brightness value; determining an ambient brightness value corresponding to the first brightness average value as the first ambient brightness value.
  • step S103 the image processor determines whether to switch the first camera to the second camera according to the first ambient brightness value.
  • the step S103 includes:
  • the first ambient brightness value is smaller than the preset ambient brightness threshold, and the pixel of the first camera is higher than the pixel of the second camera, switch the first camera to the second camera to take a photo ;
  • the first ambient brightness value is less than the preset ambient brightness threshold, and the pixel of the first camera is lower than or equal to the pixel of the second camera, the first camera is not switched to the second The camera takes a picture;
  • the first ambient brightness value is greater than or equal to the preset ambient brightness threshold, and the pixel of the first camera is lower than or equal to the pixel of the second camera, switching the first camera to the first Two cameras take pictures;
  • the first ambient brightness value is greater than or equal to the preset ambient brightness threshold, and the pixel of the first camera is higher than the pixel of the second camera, the first camera is not switched to the second The camera takes a photo.
  • the camera with lower pixel is activated to take a photo.
  • the camera with higher pixel is activated to take a photo, and the photographing details are better. In this way, the appropriate camera can be automatically selected according to different ambient brightness to ensure a good photo effect.
  • the dual camera-based photographing method provided by the embodiment of the present disclosure, first, determining attribute information of the activated first camera; determining a first ambient brightness value according to the attribute information; and finally determining, according to the first ambient brightness value. Whether to switch the first camera to the second camera. In this way, the appropriate camera can be automatically selected according to the actual brightness of the external environment, so as to ensure a good photographing effect in different scenes.
  • an embodiment of the present disclosure provides generation of a correspondence table between ambient luminance values and luminance values.
  • the method is applied to a terminal, wherein the terminal includes at least a first camera, a second camera, and an image processor.
  • 2 is a schematic flowchart of implementing a method for generating a correspondence table between ambient luminance values and luminance average values according to Embodiment 2 of the present disclosure. As shown in FIG. 2, the method includes:
  • Step S201 the image processor of the terminal sets a current gain of the first camera of the first camera to a preset gain, and sets a current exposure duration of the first camera to a preset exposure duration;
  • the terminal when the camera application of the terminal is activated, the terminal starts a first camera, and sets a current gain of the first camera of the first camera to a preset gain, and the first camera is The current exposure duration is set to the preset exposure duration.
  • Step S202 the image processor determines a first brightness average value of the first camera under different ambient brightness values
  • the first camera is started to be tested under different ambient brightness conditions, and the Bayer data output by the first camera is used to determine a first brightness of an image captured by the first camera under different ambient brightness. average value.
  • Step S203 the image processor generates a correspondence table between the ambient brightness value and the brightness average value according to different ambient brightness values and first brightness average values under different ambient brightness values.
  • the first brightness average value of the first camera obtained in step 202 is correspondingly matched in a different ambient brightness, and a correspondence table between the ambient brightness value and the brightness value is generated.
  • the first camera adjusts the exposure duration and the gain according to the current scene to achieve the desired brightness, and the first camera outputs the first data.
  • the average brightness value varies depending on the brightness of the scene, the length of exposure, and the gain.
  • the exposure time and the gain of the first camera are fixed, and the camera output data is tested under different ambient brightness values.
  • determining a second luminance average according to the data output by the first camera according to a certain calculation method, according to a method Determining the first brightness of the first camera, the current exposure time, and the second brightness average to determine a first brightness average of the first camera at a preset gain and a preset exposure time.
  • the comparison table between the ambient brightness value and the brightness value generated in the determination determines the current ambient brightness value, and then determines the camera for photographing according to the current ambient brightness value.
  • the embodiment of the present disclosure first provides a camera method based on dual cameras, which is applied to a dual camera device, wherein a camera 1 with a higher pixel is used for shooting when the light is better, the photo details are better, and the pixels are relatively lower, and the pixel size is The relatively large camera 2 can be used for dark light shooting.
  • the dual camera based photographing method provided by the embodiment of the present disclosure first activates the default camera to obtain the average brightness of the output data, and starts different cameras according to the average brightness value. Take a photo.
  • the exemplary steps are as follows:
  • the camera will adjust the exposure duration and gain according to the current scene to achieve the desired brightness.
  • the average brightness value of the camera output data will be due to the brightness of the scene.
  • the duration of exposure and the difference in gain vary.
  • the exposure time and gain of the camera are fixed, and the brightness value and actual brightness of the camera output data are tested under different scenarios. Relationship between people.
  • the brightness value can be counted using the Auto Exposure (AE) algorithm.
  • AE Auto Exposure
  • the third step is to start the camera application, first start the default camera, get the current camera's current gain (gain_cur), the current exposure time (exp_cur) and the current brightness value (lum_cur).
  • the corresponding first brightness value (lum_default) at the preset gain and the preset exposure time length is determined according to the formula (3-1) according to the current parameter of the default camera.
  • lum_default is the first brightness value
  • lum_cur is the current brightness value
  • gain_cur is the current gain
  • exp_cur is the current exposure time
  • gain_default is the preset gain
  • exp_default is the preset exposure time.
  • Table 1 can be used to query the ambient brightness value corresponding to the current parameter.
  • the camera for taking a photo is determined according to the current ambient brightness value. If the current ambient brightness value is less than the preset threshold, turn off the camera 1 and start the camera 2; otherwise, use the camera 1 directly.
  • FIG. 3 is a schematic flowchart of an implementation process of a camera method based on a dual camera according to Embodiment 3 of the present disclosure. As shown in FIG. 3, the method includes:
  • Step S301 starting a camera application
  • Step S302 starting the camera 1, and acquiring data output by the camera 1;
  • the camera 1 is a camera with a higher pixel and the camera 2 is a camera with a lower pixel.
  • the camera 1 is a preset default camera.
  • Step S303 determining a current ambient brightness value according to the data output by the camera 1;
  • Step S304 determining whether the current ambient brightness value is greater than a preset ambient brightness threshold
  • step S305 if the current ambient brightness value is greater than the preset ambient brightness threshold, the camera 1 should be activated because the camera 1 is already activated, so no additional work is required.
  • Step S306 if the current ambient brightness value is not greater than the preset ambient brightness threshold, the camera 1 is turned off;
  • step S307 the camera 2 is activated.
  • the dual camera-based photographing method provided by the embodiment of the present disclosure, by starting the camera application; starting the preset default camera 1; determining the current ambient brightness value according to the data output by the camera 1; determining whether the current ambient brightness value is greater than The preset ambient brightness threshold; if the current ambient brightness value is greater than the preset ambient brightness threshold, the camera 1 is activated, otherwise the camera 1 is turned off and the camera 2 is activated.
  • the appropriate camera can be automatically selected according to the actual brightness of the external environment, so as to ensure a good photographing effect in different scenes.
  • FIG. 4 is a schematic structural diagram of a camera device based on a dual camera according to Embodiment 4 of the present disclosure.
  • the camera device 400 includes: a first determining module. 401.
  • the first determining module 401 is configured to determine attribute information of the activated first camera
  • the second determining module 402 is configured to determine a first ambient brightness value according to the attribute information
  • the second determining module includes:
  • the first determining unit 4021 is configured to determine, according to the attribute information of the first camera, a first brightness average value corresponding to the first camera at a preset gain and a preset exposure time length;
  • the attribute information of the first camera includes a current gain of the first camera, a current exposure duration, and a second luminance average.
  • the first determining unit 4021 includes: a first determining subunit. And determining to determine a ratio of a current gain of the first camera and the preset gain as a first ratio; and a second determining subunit configured to set the current exposure duration and the preset exposure duration The ratio is determined to be a second ratio; the third determining subunit is configured to determine a product of the second luminance average, the first ratio, and the second ratio as the first luminance average.
  • the first determining unit 4022 is configured to generate a correspondence table between the ambient brightness value and the brightness average value according to different ambient brightness values and first brightness average values under different ambient brightness values.
  • the second determining unit 4022 includes: a fourth determining subunit, configured to query a correspondence table between a preset ambient brightness value and a brightness average value according to the first brightness average value, and determine the first An ambient brightness value corresponding to a brightness average value; and a fifth determining subunit configured to determine an ambient brightness value corresponding to the first brightness average value as the first ambient brightness value.
  • the third determining module 403 is configured to determine whether to switch the first camera to the second camera to perform photographing according to the first ambient brightness value.
  • the third determining module 403 includes:
  • the third determining unit 4031 is configured to determine that the first ambient brightness value is less than the preset ambient brightness threshold, and the pixel of the first camera is higher than the pixel of the second camera A camera is switched to the second camera to take a photo;
  • the fourth determining unit 4032 is configured to determine that if the first ambient brightness value is less than the preset ambient brightness threshold, and the pixel of the first camera is lower than or equal to the pixel of the second camera, The first camera is switched to the second camera to take a photo;
  • the fifth determining unit 4033 is configured to determine, if the first ambient brightness value is greater than or equal to the preset ambient brightness threshold, and the pixel of the first camera is lower than or equal to the pixel of the second camera, Switching the first camera to a second camera for taking a photo;
  • the sixth determining unit 4034 is configured to determine that if the first ambient brightness value is greater than or equal to the preset ambient brightness threshold, and the pixel of the first camera is higher than the pixel of the second camera, The first camera switches to the second camera to take a picture.
  • the photographing device further includes: a setting module configured to set a current gain of the first camera of the first camera to a preset gain, and set a current exposure duration of the first camera to a preset a fourth determining module, configured to determine a first brightness average value of the first camera under different ambient brightness values; and a generating module configured to set the first brightness according to different ambient brightness values and different brightness values The average value is generated as a correspondence table between the ambient brightness value and the brightness value.
  • the determining unit 4032, the fifth determining unit 4033, and the sixth determining unit 4034 may be an image processor, a central processing unit (CPU), a microprocessor (MCU, Micro Control Unit) in the device. , digital signal processor (DSP, Digital Signal Processor) or programmable logic array (FPGA, Field Programmable Gate Array) implementation.
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the interaction process between the units and the modules in this embodiment can be referred to the interaction process in the dual camera-based photographing method provided in the first embodiment of the present disclosure, and details are not described herein again.
  • the description of the above embodiment of the camera device based on the dual camera is similar to the description of the above method embodiment, and has the same method embodiment.
  • the details of the technical solutions that are not disclosed in the embodiment of the present invention based on the dual camera please refer to the description of the method embodiments of the present disclosure, and the details are not described herein.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the dual camera-based photographing method and device can automatically select an appropriate camera according to the actual brightness of the external environment, so as to ensure a good photographing effect in different scenes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

一种基于双摄像头的拍照方法及装置,所述双摄像头包括第一摄像头和第二摄像头,其中,所述方法包括:确定已启动的所述第一摄像头的属性信息;根据所述属性信息确定第一环境亮度值;根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。

Description

基于双摄像头的拍照方法及装置 技术领域
本公开涉及摄像技术领域,尤其涉及一种基于双摄像头的拍照方法及装置。
背景技术
目前,具备拍照功能的智能终端成为人们日常生活、工作中不可确少的设备,而随着制作工艺的发展,智能终端的机身的厚度越来越薄,作为终端上主要部件的摄像传感器(Camera Sensor)的大小也变得越来越小,而摄像头的分辨率却越来越高。在有限的Camera Sensor的感光面积上,分辨率越来越高,这就导致每个像素的感光面积越来越小,摄像头在暗光处的表现不佳。
目前已有的技术方案中,对于单摄像头的终端,在个别场景下会出现效果不理想,无法兼顾所有场景。后置双摄像头已经成为智能终端摄像头发展的趋势,后置双摄像头的方案中,有后置的双摄像头使用同像素的,也有后置的双摄像头使用不同像素的。对于双摄像头的终端,使用固定的摄像头进行拍照,效果同使用单摄像头的情况一样,无法根据不同的环境场景使用不同的摄像头,进而不能保证各种场景拍照效果都很好。
发明内容
为解决现有存在的技术问题,本公开实施例提供一种基于双摄像头的拍照方法及装置,能够根据外界环境的实际亮度自动选择合适的摄像头,以保证不同场景下都有很好的拍照效果。
为达到上述目的,本公开实施例的技术方案是这样实现的:
第一方面,本公开实施例提供一种基于双摄像头的拍照方法,所述双摄像头包括第一摄像头和第二摄像头,所述方法包括:确定已启动的所述第一摄像头的属性信息;根据所述属性信息确定第一环境亮度值;根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。
第二方面,本公开实施例提供一种基于双摄像头的拍照装置,所述双摄像头包括第一摄像头和第二摄像头,所述拍照装置包括:第一确定模块,设置为确定已启动的第一摄像头的属性信息;第二确定模块,设置为根据所述属性信息确定第一环境亮度值;第三确定模块,设置为根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。
本公开实施例提供一种基于双摄像头的拍照方法及装置,其中,所述方法包括:确定已启动的第一摄像头的属性信息;根据所述属性信息确定第一环境亮度值;根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。如此,能够根据外界环境的实际亮度自动选择合适的摄像头,以保证不同场景下都有很好的拍照效果。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为本公开实施例一基于双摄像头的拍照方法的实现流程示意图;
图2为本公开实施例二环境亮度值与亮度平均值的对应关系表的生成方法的实现流程示意图;
图3为本公开实施例三基于双摄像头的拍照方法的实现流程示意图;
图4为本公开实施例四基于双摄像头的拍照装置的组成结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对发明的示例性技术方案做详细描述。以下实施例用于说明本公开,但不用来限制本公开的范围。
实施例一
为了解决背景技术中存在的技术问题,本公开实施例提供一种基于双摄像头的拍照方法,应用于终端,所述终端至少包括第一摄像头、第二摄像头和图像处理器,图1为本公开实施例一基于双摄像头的拍照方法的实现流程示意图,如图1所示,所述方法包括:
步骤S101,终端中的图像处理器确定已启动的第一摄像头的属性信息;可选的,所述终端在实现的过程中可以是手机、相机、平板电脑等至少具有双摄像头的电子设备。
可选的,当相机应用启动时,会有一个默认的摄像头启动,将默认启动的摄像头确定为第一摄像头。所述属性信息包括但不限于是:增益、曝光时长和亮度平均值。其中,所述亮度平均值在本公开实施例及本公开其他实施例中可以是通过统计摄像头输出的拜耳(Bayer)数据得到的数值,也即该摄像头在所述增益和所述曝光时长下采集到的图像的亮度平均值。
步骤S102,所述图像处理器根据所述属性信息确定第一环境亮度值;所述步骤S102包括:
步骤S1021,所述图像处理器根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值;
可选的,所述第一摄像头的属性信息包括所述第一摄像头当前的增益、当前的曝光时长和第二亮度平均值,所述第二亮度平均值为所述第一摄像头在当前的增益、当前的曝光时长下采集到的图像的亮度平均值。相应地,所述根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值,包括:
将所述第一摄像头当前的增益和所述预设增益的比值确定为第一比值;将所述第一摄 像头当前的曝光时长和所述预设的曝光时长的比值确定为第二比值;将所述第二亮度平均值、所述第一比值和所述第二比值的乘积确定为第一亮度平均值。
在实际应用中,可以按照公式(1-1)确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值;
Figure PCTCN2017106269-appb-000001
其中,在公式(1-1)中lum1为第一亮度平均值,lum2为第二亮度平均值,gain_cur为所述第一摄像头当前的增益,exp_cur为所述第一摄像头当前的曝光时长,gain_default为预设的增益,exp_default为预设的曝光时长。
步骤S1022,所述图像处理器将所述第一亮度平均值对应的环境亮度值确定为第一环境亮度值。
可选的,环境亮度值是指外界环境的亮度值。
在实际应用中,所述步骤S1002可以通过以下步骤实现:根据所述第一亮度平均值,查询预设的环境亮度值与亮度值的对应关系表,确定所述第一亮度平均值对应的环境亮度值;将所述第一亮度平均值对应的环境亮度值确定为所述第一环境亮度值。
步骤S103,所述图像处理器根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头;可选的,所述步骤S103包括:
如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则将所述第一摄像头切换为第二摄像头进行拍照;
如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则不将所述第一摄像头切换为第二摄像头进行拍照;
如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则将所述第一摄像头切换为第二摄像头进行拍照;
如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则不将所述第一摄像头切换为第二摄像头进行拍照。
也就是说,当拍照时周围的环境较暗时,则启动像素较低的摄像头进行拍照,当周围的环境较亮时,则启动像素较高的摄像头进行拍照,拍照细节更好。这样,可以根据不同的环境亮度自动选择合适的摄像头,以保证良好的拍照效果。
在本公开实施例提供的基于双摄像头的拍照方法中,首先确定已启动的第一摄像头的属性信息;再根据所述属性信息确定第一环境亮度值;最后根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头。如此,能够根据外界环境的实际亮度自动选择合适的摄像头,以保证不同场景下都有很好的拍照效果。
实施例二
基于前述的实施例,本公开实施例提供一种环境亮度值与亮度值的对应关系表的生成 方法,应用于一种终端,其中,所述终端至少包括第一摄像头、第二摄像头和图像处理器。图2为本公开实施例二环境亮度值与亮度平均值的对应关系表的生成方法的实现流程示意图,如图2所示,所示方法包括:
步骤S201,终端的图像处理器将所述第一摄像头的所述第一摄像头当前的增益设置为预设的增益,将所述第一摄像头的当前的曝光时长设置为预设的曝光时长;
可选的,当所述终端的相机应用启动时,所述终端启动第一摄像头,将所述第一摄像头的所述第一摄像头当前的增益设置为预设的增益,将所述第一摄像头的当前的曝光时长设置为预设的曝光时长。
步骤S202,所述图像处理器确定不同的环境亮度值下所述第一摄像头的第一亮度平均值;
可选的,在不同的环境亮度条件下启动所述第一摄像头进行测试,使用所述第一摄像头输出的Bayer数据确定在不同的环境亮度下所述第一摄像头采集到的图像的第一亮度平均值。
步骤S203,所述图像处理器根据不同的环境亮度值与在不同的环境亮度值下的第一亮度平均值,生成环境亮度值与亮度平均值的对应关系表。
可选的,将步骤202得到的在不同的环境亮度下所述第一摄像头的第一亮度平均值一一对应,生成环境亮度值与亮度值的对应关系表。
在本公开实施例中,在各种不同亮度的场景下,为了达到较好的效果,第一摄像头会根据当前场景来调整曝光时长以及增益以达到理想的亮度,第一摄像头输出数据的第一亮度平均值会由于场景的亮度、曝光时长以及增益的不同而变化。为了得到所述第一摄像头输出数据统计的第一亮度平均值与场景实际环境亮度值的关系,把所述第一摄像头的曝光时长和增益固定,在不同的环境亮度值下测试摄像头输出数据统计的第一亮度平均值,得到不同的环境亮度值下所述第一摄像头的第一亮度平均值,并根据不同的环境亮度值与在不同亮度值下的第一亮度平均值,生成环境亮度值与亮度值的对应关系表。
当所述第一摄像头的当前的增益和当前的曝光时长不是预设的增益和曝光时长时,根据所述第一摄像头输出的数据确定出第二亮度平均值,按照一定的计算方法,根据所述第一摄像头的当前的增益、当前的曝光时长和第二亮度平均值确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值,通过查询本实施例中生成的环境亮度值与亮度值的对比关系表,确定当前的环境亮度值,进而根据当前的环境亮度值确定用于拍照的摄像头。
实施例三
本公开实施例先提供一种基于双摄像头的拍照方法,应用于双摄像头装置,其中像素较高的摄像头1用于光线较好的时候拍摄,拍照细节更好,而像素相对较低,像素尺寸比较大的摄像头2则可用于暗光拍摄,本公开实施例提供的基于双摄像头的拍照方法,首先启动默认摄像头来获取到其输出数据的平均亮度,根据平均亮度值来启动不同的摄像头进 行拍照。示例性步骤如下:
第一步,将摄像头1或者摄像头2设置为默认摄像头。
第二步,在各种不同亮度的场景下,为了达到较好的效果,摄像头会根据当前场景来调整曝光时长以及增益以达到理想的亮度,摄像头输出数据的平均亮度值会由于场景的亮度,曝光时长以及增益的不同而变化。为了得到摄像头输出数据统计的亮度值(亮度平均值)与场景实际亮度的关系,把摄像头的曝光时长和增益固定,在不同的场景下测试摄像头输出数据统计的亮度值与实际亮度,得到这两者之间的关系。
在不同的场景下测试摄像头输出数据统计的亮度值与实际亮度,得到这两者之间的关系的示例性过程如下:
将摄像头1或者摄像头2设置为预设的增益(gain_default)和预设的曝光时长(exp_default),在不同的环境亮度条件下启动摄像头进行测试,使用摄像头输出的数据统计亮度值,在实际应用中可以使用自动曝光(Auto Exposure,AE)算法统计亮度值。
通过上述测试数据得到亮度值和环境亮度值的对应关系,如表1所示,其中,luma_1至luma_n为从摄像头数据统计出的亮度值,勒克斯(Lux)为照度单位。
表1、摄像头数据确定的亮度值和环境亮度值的对应关系表
Figure PCTCN2017106269-appb-000002
第三步,启动相机应用,首先启动默认摄像头,获取默认摄像头当前的增益(gain_cur)、当前的曝光时长(exp_cur)以及当前的亮度值(lum_cur)。按照公式(3-1)根据默认摄像头当前的参数确定在预设的增益和预设的曝光时长下对应的第一亮度值(lum_default)。
Figure PCTCN2017106269-appb-000003
其中,lum_default为第一亮度值,lum_cur为当前的亮度值,gain_cur为当前的增益,exp_cur为当前的曝光时长,gain_default为预设的增益,exp_default为预设的曝光时长。
通过表1可以查询到当前参数对应的环境亮度值。
第四步,根据当前的环境亮度值,确定用于拍照的摄像头。如果当前的环境亮度值小于预设的阈值,关闭摄像头1,启动摄像头2,否则,则直接使用摄像头1。
图3为本公开实施例三基于双摄像头的拍照方法的实现流程示意图,如图3所示,所述方法包括:
步骤S301,启动相机应用;
步骤S302,启动摄像头1,并获取所述摄像头1输出的数据;
可选的,摄像头1为像素较高的摄像头,摄像头2为像素较低的摄像头。所述摄像头1为预设的默认摄像头。
步骤S303,根据所述摄像头1输出的数据,确定当前的环境亮度值;
可选的,根据摄像头1输出的数据,确定所述摄像头1当前的增益gain,曝光时长以及亮度值,通过上述公式(3-1)得到所述摄像头1在默认增益和默认曝光时长下对应的亮度值,查询表1得到当前的环境亮度值。
步骤S304,判断当前的环境亮度值是否大于预设的环境亮度阈值;
步骤S305,如果当前的环境亮度值大于预设的环境亮度阈值,则应该启动摄像头1,因为此时摄像头1已经启动,所以不需要进行额外工作。
步骤S306,如果当前的环境亮度值不大于预设的环境亮度阈值,则关闭摄像头1;
步骤S307,启动摄像头2。
在本公开实施例提供的基于双摄像头的拍照方法中,通过启动相机应用;启动预设的默认摄像头1;根据摄像头1输出的数据,确定当前的环境亮度值;判断当前的环境亮度值是否大于预设的环境亮度阈值;如果当前的环境亮度值大于预设的环境亮度阈值,则启动摄像头1,否则关闭摄像头1,启动摄像头2。这样,能够根据外界环境的实际亮度自动选择合适的摄像头,以保证不同场景下都有很好的拍照效果。
实施例四
本公开实施例提供一种基于双摄像头的拍照装置,图4为本公开实施例四基于双摄像头的拍照装置的组成结构示意图,如图4所示,所述拍照装置400包括:第一确定模块401、第二确定模块402和第三确定模块403,其中:
所述第一确定模块401,设置为确定已启动的第一摄像头的属性信息;
所述第二确定模块402,设置为根据所述属性信息确定第一环境亮度值;
可选的,所述第二确定模块包括:
第一确定单元4021,设置为根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值;
可选的,所述第一摄像头的属性信息包括所述第一摄像头当前的增益、当前的曝光时长和第二亮度平均值,相应地,所述第一确定单元4021包括:第一确定子单元,设置为将所述第一摄像头当前的增益和所述预设增益的比值确定为第一比值;第二确定子单元,设置为将所述当前的曝光时长和所述预设的曝光时长的比值确定为第二比值;第三确定子单元,设置为将所述第二亮度平均值、所述第一比值和所述第二比值三者的乘积确定为第一亮度平均值。
第一确定单元4022,设置为根据不同的环境亮度值与在不同环境亮度值下的第一亮度平均值,生成环境亮度值与亮度平均值的对应关系表。
可选的,所述第二确定单元4022包括:第四确定子单元,设置为根据所述第一亮度平均值,查询预设的环境亮度值与亮度平均值的对应关系表,确定所述第一亮度平均值对应的环境亮度值;第五确定子单元,设置为将所述第一亮度平均值对应的环境亮度值确定为所述第一环境亮度值。
所述第三确定模块403,设置为根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。
可选的,所述第三确定模块403包括:
第三确定单元4031,设置为如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则确定将所述第一摄像头切换为第二摄像头进行拍照;
第四确定单元4032,设置为如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则确定不将所述第一摄像头切换为第二摄像头进行拍照;
第五确定单元4033,设置为如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则确定将所述第一摄像头切换为第二摄像头进行拍照;
第六确定单元4034,设置为如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则确定不将所述第一摄像头切换为第二摄像头进行拍照。
所述拍照装置还包括:设置模块,设置为将所述第一摄像头的所述第一摄像头当前的增益设置为预设的增益,将所述第一摄像头的当前的曝光时长设置为预设的曝光时长;第四确定模块,设置为确定不同的环境亮度值下所述第一摄像头的第一亮度平均值;生成模块,设置为根据不同的环境亮度值与在不同亮度值下的第一亮度平均值,生成环境亮度值与亮度值的对应关系表。
在实际应用中,第一确定模块401、第二确定模块402、第三确定模块403所述第一确定单元4021、所述第二确定单元4022、所述第三确定单元4031、所述第四确定单元4032、所述第五确定单元4033和所述第六确定单元4034、可以由装置中的图像处理器、中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Control Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field Programmable Gate Array)实现。
这里需要指出的是:本实施例中各个单元和模块之间的交互过程,可以参照本公开实施例一提供的一种基于双摄像头的拍照方法中交互过程,此处不再赘述。以上基于双摄像头的拍照装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似 的有益效果,因此不做赘述。对于本公开基于双摄像头的拍照装置实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解,为节约篇幅,因此不再赘述。
本领域内的技术人员应明白,本公开的实施例可提供为方法、***、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。
工业实用性
本公开涉及的基于双摄像头的拍照方法及装置,能够根据外界环境的实际亮度自动选择合适的摄像头,以保证不同场景下都有很好的拍照效果。

Claims (11)

  1. 一种基于双摄像头的拍照方法,所述双摄像头包括第一摄像头和第二摄像头,其中,所述方法包括:
    确定已启动的所述第一摄像头的属性信息;
    根据所述属性信息确定第一环境亮度值;
    根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。
  2. 根据权利要求1中所述的方法,其中,所述根据所述属性信息确定第一环境亮度值,包括:
    根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值;其中,所述第一亮度平均值为所述第一摄像头在预设的增益和预设的曝光时长下采集到的图像的亮度平均值;
    将所述第一亮度平均值对应的环境亮度值确定为第一环境亮度值。
  3. 根据权利要求2中所述的方法,其中,所述第一摄像头的属性信息包括所述第一摄像头当前的增益、当前的曝光时长和第二亮度平均值,相应地,所述根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值,包括:
    将所述第一摄像头当前的增益和所述预设增益的比值确定为第一比值;
    将所述当前的曝光时长和所述预设的曝光时长的比值确定为第二比值;
    将所述第二亮度平均值、所述第一比值和所述第二比值三者的乘积确定为第一亮度平均值。
  4. 根据权利要求3中所述的方法,其中,所述将所述第一亮度平均值对应的环境亮度值确定为第一环境亮度值,包括:
    根据所述第一亮度平均值,查询预设的环境亮度值与亮度平均值的对应关系表,确定所述第一亮度平均值对应的环境亮度值;
    将所述第一亮度平均值对应的环境亮度值确定为所述第一环境亮度值。
  5. 根据权利要求4中所述的方法,其中,所述方法还包括:
    将所述第一摄像头的所述第一摄像头当前的增益设置为预设的增益,将所述第一摄像头的当前的曝光时长设置为预设的曝光时长;
    确定不同的环境亮度值下所述第一摄像头的第一亮度平均值;
    根据不同的环境亮度值与在不同环境亮度值下的第一亮度平均值,生成环境亮度值与亮度平均值的对应关系表。
  6. 根据权利要求1至5中任一所述的方法,其中,所述根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照,包括:
    如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则将所述第一摄像头切换为第二摄像头进行拍照;
    如果所述第一环境亮度值小于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则不将所述第一摄像头切换为第二摄像头进行拍照;
    如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素低于或者等于所述第二摄像头的像素,则将所述第一摄像头切换为第二摄像头进行拍照;
    如果所述第一环境亮度值大于或者等于所述预设的环境亮度阈值,且所述第一摄像头的像素高于所述第二摄像头的像素,则不将所述第一摄像头切换为第二摄像头进行拍照。
  7. 一种基于双摄像头的拍照装置,所述双摄像头包括第一摄像头和第二摄像头,其中,所述拍照装置包括:
    第一确定模块,设置为确定已启动的所述第一摄像头的属性信息;
    第二确定模块,设置为根据所述属性信息确定第一环境亮度值;
    第三确定模块,设置为根据所述第一环境亮度值确定是否将所述第一摄像头切换为第二摄像头进行拍照。
  8. 根据权利要求7中所述的拍照装置,其中,所述第二确定模块包括:
    第一确定单元,设置为根据所述第一摄像头的属性信息确定所述第一摄像头在预设的增益和预设的曝光时长下对应的第一亮度平均值;
    第二确定单元,设置为将所述第一亮度平均值对应的环境亮度值确定为第一环境亮度值。
  9. 根据权利要求8中所述的拍照装置,其中,所述第一摄像头的属性信息包括所述第一摄像头当前的增益、当前的曝光时长和第二亮度平均值,相应地,所述第一确定单元,包括:
    第一确定子单元,设置为将所述第一摄像头当前的增益和所述预设增益的比值确定为第一比值;
    第二确定子单元,设置为将所述当前的曝光时长和所述预设的曝光时长的比值确定为第二比值;
    第三确定子单元,设置为将所述第二亮度平均值、所述第一比值和所述第二比值三者的乘积确定为第一亮度平均值。
  10. 根据权利要求9中所述的拍照装置,其中,所述第二确定单元包括:
    第四确定子单元,设置为根据所述第一亮度平均值,查询预设的环境亮度值与亮度平均值的对应关系表,确定所述第一亮度平均值对应的环境亮度值;
    第五确定子单元,设置为将所述第一亮度平均值对应的环境亮度值确定为所述第一环境亮度值。
  11. 一种存储介质,设置为存储程序代码,所述程序代码设置为执行权利要求1至6中任一项所述方法。
PCT/CN2017/106269 2017-03-06 2017-10-16 基于双摄像头的拍照方法及装置 WO2018161568A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/490,970 US20200029026A1 (en) 2017-03-06 2017-10-16 Photographing method and device based on two cameras
EP17900053.4A EP3595276A4 (en) 2017-03-06 2017-10-16 PHOTOGRAPHY PROCESS AND DEVICE BASED ON TWO CAMERAS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710127372.4A CN108540636A (zh) 2017-03-06 2017-03-06 一种基于双摄像头的拍照方法及装置
CN201710127372.4 2017-03-06

Publications (1)

Publication Number Publication Date
WO2018161568A1 true WO2018161568A1 (zh) 2018-09-13

Family

ID=63447197

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106269 WO2018161568A1 (zh) 2017-03-06 2017-10-16 基于双摄像头的拍照方法及装置

Country Status (4)

Country Link
US (1) US20200029026A1 (zh)
EP (1) EP3595276A4 (zh)
CN (1) CN108540636A (zh)
WO (1) WO2018161568A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948520A (zh) * 2017-11-30 2018-04-20 广东欧珀移动通信有限公司 图像处理方法和装置
CN110070684A (zh) * 2019-04-16 2019-07-30 北京意锐新创科技有限公司 一种用于户外的扫码支付设备
CN110868547A (zh) * 2019-12-02 2020-03-06 RealMe重庆移动通信有限公司 拍照控制方法、拍照控制装置、电子设备及存储介质
JP7504387B2 (ja) * 2020-03-31 2024-06-24 パナソニックオートモーティブシステムズ株式会社 撮像表示システム
CN113206960A (zh) * 2021-03-24 2021-08-03 上海闻泰电子科技有限公司 拍摄方法、装置、计算机设备和计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638646A (zh) * 2011-02-10 2012-08-15 国基电子(上海)有限公司 具镜头切换功能的电子装置及方法
CN103531603A (zh) * 2013-10-30 2014-01-22 上海集成电路研发中心有限公司 一种cmos图像传感器
CN103856707A (zh) * 2012-12-03 2014-06-11 联想(北京)有限公司 一种摄像头切换方法、装置及电子设备
EP2833618A2 (en) * 2013-08-01 2015-02-04 Connaught Electronics Ltd. Method for activating and deactivating an image correction function, camera system and motor vehicle
CN105812677A (zh) * 2016-04-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 一种图像生成方法及***

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7711257B2 (en) * 2006-04-24 2010-05-04 Nokia Corporation Image quality in cameras using flash
KR20080067516A (ko) * 2007-01-16 2008-07-21 삼성전자주식회사 디스플레이장치 및 그 영상조정방법
KR100992367B1 (ko) * 2008-12-01 2010-11-04 삼성전기주식회사 자동 노출 제어 방법
CN102012602B (zh) * 2010-10-22 2012-07-18 广东欧珀移动通信有限公司 一种基于摄像头模组的环境光监测方法
CN103347152A (zh) * 2013-07-08 2013-10-09 华为终端有限公司 一种图像处理方法、装置及终端
CN104601874A (zh) * 2013-10-31 2015-05-06 索尼公司 工作模式的控制方法、装置以及电子设备
CN105095117B (zh) * 2014-04-29 2018-06-01 国基电子(上海)有限公司 电子装置及其切换摄像模块的方法
CN105245775B (zh) * 2015-09-25 2018-04-24 小米科技有限责任公司 摄像头成像方法、移动终端及装置
CN105530437A (zh) * 2016-01-29 2016-04-27 生迪智慧科技有限公司 环境亮度的测算方法及拍摄装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638646A (zh) * 2011-02-10 2012-08-15 国基电子(上海)有限公司 具镜头切换功能的电子装置及方法
CN103856707A (zh) * 2012-12-03 2014-06-11 联想(北京)有限公司 一种摄像头切换方法、装置及电子设备
EP2833618A2 (en) * 2013-08-01 2015-02-04 Connaught Electronics Ltd. Method for activating and deactivating an image correction function, camera system and motor vehicle
CN103531603A (zh) * 2013-10-30 2014-01-22 上海集成电路研发中心有限公司 一种cmos图像传感器
CN105812677A (zh) * 2016-04-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 一种图像生成方法及***

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3595276A4 *

Also Published As

Publication number Publication date
CN108540636A (zh) 2018-09-14
EP3595276A4 (en) 2020-12-09
US20200029026A1 (en) 2020-01-23
EP3595276A1 (en) 2020-01-15

Similar Documents

Publication Publication Date Title
WO2018161568A1 (zh) 基于双摄像头的拍照方法及装置
US10958850B2 (en) Electronic device and method for capturing image by using display
KR102149187B1 (ko) 전자 장치와, 그의 제어 방법
CN107197169B (zh) 一种高动态范围图像拍摄方法及移动终端
KR101916355B1 (ko) 듀얼-렌즈 장치의 촬영 방법, 및 듀얼-렌즈 장치
US9813635B2 (en) Method and apparatus for auto exposure value detection for high dynamic range imaging
WO2017215501A1 (zh) 图像降噪处理方法、装置及计算机存储介质
WO2018121185A1 (zh) 红外灯功率的调整方法及摄像设备
CN104539864B (zh) 记录图像的方法和装置
US20210021750A1 (en) Method and Device for Balancing Foreground-Background Luminosity
US10769416B2 (en) Image processing method, electronic device and storage medium
US20160019681A1 (en) Image processing method and electronic device using the same
US20150187056A1 (en) Electronic apparatus and image processing method
CN111182208B (zh) 拍照方法、装置、存储介质及电子设备
US9800793B2 (en) Method for generating target gain value of wide dynamic range operation
US10225482B2 (en) Method of controlling photographing device including flash, and the photographing device
KR20210101009A (ko) 복수의 카메라를 이용한 동영상 촬영 방법 및 그 장치
US20170280041A1 (en) Method and apparatus for processing image obtained by camera
WO2016074414A1 (zh) 一种图像的处理方法和装置
WO2019061050A1 (zh) 一种滤镜效果显示方法、装置和移动终端
US10212357B2 (en) Imaging apparatus and control method to realize accurate exposure
CN111630839B (zh) 一种图像处理方法及装置
WO2023093101A1 (zh) 终端设备的模式切换方法、设备及存储介质
WO2023131028A1 (zh) 图像处理方法及其相关设备
WO2024113162A1 (zh) 亮度补偿方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900053

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017900053

Country of ref document: EP

Effective date: 20191007