WO2017016258A1 - 一种终端及终端拍摄的方法 - Google Patents

一种终端及终端拍摄的方法 Download PDF

Info

Publication number
WO2017016258A1
WO2017016258A1 PCT/CN2016/080908 CN2016080908W WO2017016258A1 WO 2017016258 A1 WO2017016258 A1 WO 2017016258A1 CN 2016080908 W CN2016080908 W CN 2016080908W WO 2017016258 A1 WO2017016258 A1 WO 2017016258A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
preset
scene state
terminal
light intensity
Prior art date
Application number
PCT/CN2016/080908
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 中兴通讯股份有限公司
Publication of WO2017016258A1 publication Critical patent/WO2017016258A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Definitions

  • This application relates to, but is not limited to, the field of mobile terminal technology.
  • This paper provides a terminal and terminal shooting method, which can increase the amount of light entering a single pixel, so that it is only necessary to increase the sensitivity of the ISO while reducing the exposure time.
  • a method for terminal shooting comprising:
  • the terminal When the shooting scene state meets a preset shooting condition, the terminal performs joint processing on adjacent pixels in the captured image of the terminal according to a preset pixel processing strategy to obtain a processed captured image.
  • the shooting scene state includes a light intensity of a current shooting environment, or a light intensity of a current shooting environment and a moving speed of the photographic subject.
  • the shooting scene state when the shooting scene state includes a light intensity of a current shooting environment, the shooting scene state satisfies a preset shooting condition, including: when the shooting ambient light intensity is lower than a first threshold The shooting scene state satisfies a preset shooting condition.
  • the shooting scene state when the shooting scene state includes a light intensity of a current shooting environment and a moving speed of the shooting object, the shooting scene state satisfies a preset shooting condition, including:
  • the shooting scene state satisfies a preset shooting condition
  • the shooting scene state satisfies a preset shooting condition; wherein the second threshold is greater than the fourth threshold.
  • the terminal performs joint processing on the adjacent pixels in the captured image of the terminal according to a preset pixel processing policy, to obtain the processed captured image, including:
  • the terminal traverses the captured image through a 2 ⁇ 2 pixel template, and adds the captured image pixels in the range of the pixel template to obtain a single pixel;
  • the terminal arranges the individual pixels obtained when the pixel template is traversed in a traversal order to obtain the processed captured image.
  • a terminal comprising: an obtaining unit, a determining unit, and a processing unit;
  • the acquiring unit is configured to: when the terminal enters a shooting mode, acquire a current shooting scene state;
  • the determining unit is configured to: determine whether the captured scene state acquired by the acquiring unit meets a preset shooting condition, and is further configured to: when it is determined that the shooting scene state meets a preset shooting condition, triggering Processing unit
  • the processing unit is configured to jointly process adjacent pixels in the captured image of the terminal according to a preset pixel processing strategy to obtain a processed captured image.
  • the shooting scene state includes a light intensity of a current shooting environment, or a light intensity of a current shooting environment and a moving speed of the photographic subject.
  • the determining unit determines whether the shooting scene state meets a preset shooting condition, and is configured to: when the shooting ambient light intensity is lower than a first threshold, determine the The shooting scene state acquired by the acquiring unit satisfies a preset shooting condition.
  • the determining unit determines whether the shooting scene state meets a preset shooting condition, and includes: setting to be when the shooting ambient light intensity is lower than a second threshold and the shooting object When the motion rate exceeds the third threshold, determining that the shooting scene state acquired by the acquiring unit meets a preset shooting condition; or
  • the shooting ambient light intensity is lower than the fourth threshold, determining that the shooting scene state acquired by the acquiring unit meets a preset shooting condition; wherein the second threshold is greater than the fourth threshold .
  • the processing unit is configured to: traverse the captured image by using a 2 ⁇ 2 pixel template, and add the captured image pixels in the pixel template range to obtain a single pixel. ;as well as,
  • the individual pixels obtained when the pixel template is traversed are arranged in a traversal order to obtain the processed captured image.
  • the embodiment of the invention provides a method for photographing a terminal and a terminal, and jointly processing adjacent pixels in the captured image of the terminal according to a preset pixel policy, thereby realizing combining the pixels and outputting the pixel, thereby improving the output pixel.
  • the amount of light is introduced so that only a small sensitivity ISO is required while reducing the exposure time.
  • FIG. 1 is a schematic flowchart of a method for shooting a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for shooting a terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for shooting a terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for shooting a terminal according to an embodiment of the present invention.
  • the method may include the following steps, namely, S101 to S102:
  • the terminal acquiring the current shooting scene state may include:
  • the terminal acquires the light intensity of the current shooting environment, or the light intensity of the current shooting environment.
  • the terminal When the shooting scene state meets the preset shooting condition, the terminal performs joint processing on the adjacent pixels in the captured image of the terminal according to the preset pixel processing strategy, to obtain the processed captured image.
  • the shooting scene state may include the light intensity of the current shooting environment, or may also include the light intensity of the current shooting environment and the moving speed of the photographic subject.
  • the method may include: when the shooting ambient light intensity is lower than the first threshold, the shooting scene state meets the preset Shooting conditions;
  • the terminal when acquiring the light intensity of the current shooting environment, the terminal may determine whether to perform adjacent processing on the adjacent pixels in the captured image of the terminal according to the preset pixel processing policy only by using the light intensity related threshold.
  • the shooting scene state when the shooting scene state includes the light intensity of the current shooting environment and the moving speed of the shooting object, the shooting scene state satisfies the preset shooting condition, and may include, for example:
  • the shooting scene state satisfies a preset shooting condition
  • the shooting scene state satisfies a preset shooting condition; wherein the second threshold is greater than the fourth threshold.
  • the terminal when acquiring the light intensity of the current shooting environment and the moving rate of the shooting object, the terminal needs to perform comprehensive analysis on the two to determine whether the phase in the captured image of the terminal is according to a preset pixel processing strategy.
  • the adjacent pixels are combined. For example, if the ambient light intensity is relatively weak, but the subject is in a static state, the terminal can also take a clear picture by conventional analysis, so that it is not necessary to follow the preset pixel processing strategy to take the terminal's captured image.
  • the adjacent pixels in the joint processing are performed; if the ambient light intensity is relatively weak, and the photographing object is in a moving state, or the ambient light intensity is rather weak, the terminal can obtain a conventional photographing through comprehensive analysis, which is likely to cause blurring of the photograph, and therefore, it is required
  • the adjacent pixels in the captured image of the terminal are jointly processed according to a preset pixel processing strategy.
  • the terminal performs joint processing on adjacent pixels in the captured image of the terminal according to a preset pixel processing strategy to obtain a processed captured image, and the process may refer to an image readout mode for image readout.
  • (Binning) scheme the basic idea of the Binning mode applied in image reading is that after the charges induced by adjacent pixels are added, they are read in a one-pixel mode. It can be divided into horizontal direction Binning and vertical direction Binning. The horizontal direction Binning is to add the charges of adjacent columns together, and the vertical direction Binning is to add the charges of adjacent rows together, when the row and the column are simultaneously When using Binning, the aspect ratio of the image does not change. When 2:2 Binning is used, the resolution of the image will be reduced by 75%.
  • the terminal performs the joint processing on the adjacent pixels in the captured image of the terminal according to the preset pixel processing strategy to obtain the processed captured image, which may include:
  • the captured image is traversed by a 2 ⁇ 2 pixel template, and the captured image pixels within the pixel template range are added to obtain a single pixel;
  • the individual pixels obtained when the pixel template is traversed are arranged in a traversal order to obtain a processed captured image.
  • the traversal is performed by using a 2 ⁇ 2 pixel template, that is, 2:2 Binning is used as an example.
  • the designer may use other pixel templates to traverse according to the actual application scenario. This example will not be described in detail.
  • the resolution of the captured image obtained by traversing the 2 ⁇ 2 pixel template is reduced by 75% compared with the resolution of the original captured image, and is reduced for a camera of 8 million or higher pixels configured by the related art terminal.
  • the resolution does not affect the sharpness of the image, but since the sum of 2 ⁇ 2 pixels in the captured image is output as a single pixel, the amount of light entering the single pixel is increased, and after the amount of light entering the single pixel is increased,
  • the terminal can use the shorter exposure time and the smaller sensitivity ISO to obtain the same or even better effect of reducing the blurring of the photographs as compared with the related technical solutions.
  • the embodiment provides a method for photographing a terminal, which combines pixels according to a preset pixel template and outputs the same, thereby improving the amount of light entering the output pixel, thereby reducing the exposure time and only needing to improve the sensitivity of the ISO. .
  • FIG. 2 is a schematic flowchart of another method for shooting a terminal according to an embodiment of the present invention.
  • FIG. 2 is a detailed flowchart of a method for shooting a terminal according to an embodiment of the present invention.
  • the process may include the following steps, that is, S201 to S205:
  • the terminal After the camera is turned on, the terminal obtains the light intensity of the current shooting environment and the moving speed of the shooting object by the ambient light sensor and the motion detecting technology, respectively.
  • S202 The terminal compares the light intensity of the shooting environment and the moving speed of the shooting object with a threshold value related to the preset light intensity correlation and the moving speed of the shooting object, respectively, to determine whether the preset shooting condition is satisfied.
  • the preset light intensity correlation and the threshold value of the shooting object motion rate may be considered as adjacent pixels in the captured image of the terminal according to the preset pixel processing strategy proposed in the foregoing embodiment.
  • the main reference condition may be: if the ambient light intensity is relatively weak, but the subject is in a stationary state, the terminal can also take a clear picture by performing a comprehensive analysis after comprehensive analysis, therefore, It is not necessary to jointly process adjacent images in the captured image of the terminal according to a preset pixel processing strategy; if the ambient light intensity is relatively weak, and the photographing object is in motion, or the ambient light intensity is rather weak, the terminal is integrated. After the analysis, it is found that the conventional shooting is easy to cause the photograph to be blurred. Therefore, it is necessary to jointly process the adjacent images in the captured image of the terminal according to the preset pixel processing strategy.
  • step S202 may result in the following results, respectively: when the shooting ambient light intensity is lower than the second threshold and the moving speed of the subject exceeds a third threshold, or when the ambient light intensity is lower than the fourth At the threshold value, the shooting scene state satisfies a preset shooting condition; understandably, the second threshold is greater than the fourth threshold;
  • the shooting scene state does not satisfy the preset shooting condition.
  • step S203 when the shooting scene state meets the preset shooting condition, step S203 may be performed; when the shooting scene state does not satisfy the preset shooting condition, step S205 may be performed.
  • S203 traversing the captured image by using a 2 ⁇ 2 pixel template, and adding the captured image pixels in the pixel template range to obtain a single pixel;
  • S204 Arranging the individual pixels obtained when the pixel template is traversed in a traversal order to obtain a processed captured image.
  • the traversal is performed by using a 2 ⁇ 2 pixel template, that is, 2:2 Binning is used as an example.
  • the designer can traverse other pixel templates according to the actual application scenario. I will not go into details about this.
  • the embodiment provides a detailed flow of a method for capturing a terminal.
  • the pixels are combined and output according to a preset pixel template, thereby improving the amount of light entering the output pixel, thereby reducing the exposure time and only requiring a small increase.
  • Sensitivity ISO is an important component of the image.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 shows a structure of a terminal 30 according to an embodiment of the present invention.
  • the terminal 30 may include an obtaining unit 301, a determining unit 302, and a processing unit 303.
  • the acquiring unit 301 is configured to: when the terminal enters the shooting mode, acquire a current shooting scene state;
  • the determining unit 302 is configured to: determine whether the captured scene state acquired by the acquiring unit 301 satisfies a preset shooting condition; and is further configured to: when it is determined that the shooting scene state meets the preset shooting condition, the trigger processing unit 303;
  • the processing unit 303 is configured to perform joint processing on adjacent pixels in the captured image of the terminal according to a preset pixel processing strategy to obtain a processed captured image.
  • the shooting scene state includes the light intensity of the current shooting environment, or the light intensity of the current shooting environment and the moving speed of the photographic subject.
  • the determining unit 302 determines whether the shooting scene state meets the preset shooting condition, and is configured to: when the shooting ambient light intensity is lower than the first threshold, the shooting scene state meets the preset shooting condition.
  • the determining unit 302 determines whether the shooting scene state meets the preset shooting condition, and is configured to: when the shooting ambient light intensity is lower than the second threshold and the moving speed of the shooting object exceeds a third threshold, the shooting scene state is satisfied. Preset shooting conditions; or,
  • the shooting scene state satisfies a preset shooting condition; wherein the second threshold is greater than the fourth threshold.
  • the processing unit 303 is configured to: traverse the captured image by using the 2 ⁇ 2 pixel template, and add the captured image pixels in the pixel template range to obtain a single pixel;
  • the individual pixels obtained when the pixel template is traversed are arranged in a traversal order to obtain a processed captured image.
  • This embodiment provides a terminal 30 that combines pixels according to a preset pixel template and outputs the same, thereby increasing the amount of light entering the output pixel, thereby reducing the exposure time and only needing to increase the sensitivity ISO.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the device/function module/functional unit in the above embodiments may be implemented by using a general-purpose computing device, which may be concentrated on a single computing device or distributed in multiple computing devices. On the network.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the present invention obtains the current shooting scene state of the terminal, and when the acquired shooting scene state satisfies the preset shooting condition, the adjacent pixels in the captured image of the terminal are jointly processed according to the preset pixel policy.
  • the pixels are combined and output, which improves the amount of light entering the output pixel, so that only a small sensitivity ISO is needed while reducing the exposure time.

Landscapes

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

Abstract

一种终端及终端拍摄的方法,该方法包括:终端进入拍摄模式时,获取当前的拍摄场景状态;当所述拍摄场景状态满足预设的拍摄条件时,所述终端按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。

Description

一种终端及终端拍摄的方法 技术领域
本申请涉及但不限于移动终端技术领域。
背景技术
日常生活中,越来越多的人习惯使用移动终端,例如智能手机、平板电脑等进行拍照,可以随时随地记录生活中的点点滴滴。移动终端在光线充足的情况下进行拍摄都能有出色的表现,但是光线不足的情况下,拍摄出的照片出现模糊的概率较大。
目前市面上的大多数终端生产厂商都会通过适当降低弱光环境下的曝光时间来降低拍照模糊的概率,具体方案是:在普通拍照模式下,为了达到防抖的效果,需要降低曝光时间;而且为了保证拍摄出来的照片的画面亮度,在降低曝光时间的同时还需要提升感光度ISO。提升ISO是指在进光量一定的情况下,提升了光信号的转换倍数,从而在放大了信号的同时也放大了噪声。所以,为了控制拍摄照片的画面噪声,感光度ISO的值也不能提升的太高。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种终端及终端拍摄的方法,能够提升单个像素的进光量,从而能够在减少曝光时间的同时只需要提升较小的感光度ISO。
一种终端拍摄的方法,所述方法包括:
终端进入拍摄模式时,获取当前的拍摄场景状态;
当所述拍摄场景状态满足预设的拍摄条件时,所述终端按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
可选地,在上述方案中,所述拍摄场景状态包括当前拍摄环境的光强度,或者当前拍摄环境的光强度和拍摄对象的运动速率。
可选地,在上述方案中,当所述拍摄场景状态包括当前拍摄环境的光强度时,所述拍摄场景状态满足预设的拍摄条件,包括:当所述拍摄环境光强度低于第一阈值时,所述拍摄场景状态满足预设的拍摄条件。
可选地,在上述方案中,当所述拍摄场景状态包括当前拍摄环境的光强度和拍摄对象的运动速率时,所述拍摄场景状态满足预设的拍摄条件,包括:
当所述拍摄环境光强度低于第二阈值且所述拍摄对象的运动速率超过第三阈值时,所述拍摄场景状态满足预设的拍摄条件;
当所述拍摄环境光强度低于第四阈值时,所述拍摄场景状态满足预设的拍摄条件;其中,所述第二阈值大于所述第四阈值。
可选地,在上述方案中,所述终端按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像,包括:
所述终端通过2×2的像素模板对拍摄图像进行遍历,并将所述像素模板范围内的拍摄图像像素相加,得出单个像素;
所述终端将所述像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到所述处理后的拍摄图像。
一种终端,所述终端包括:获取单元、确定单元和处理单元;
其中,所述获取单元,设置为:当所述终端进入拍摄模式时,获取当前的拍摄场景状态;
所述确定单元,设置为:确定所述获取单元获取的所述拍摄场景状态是否满足预设的拍摄条件;还设置为:当确定出所述拍摄场景状态满足预设的拍摄条件时,触发所述处理单元;
所述处理单元,设置为:按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
可选地,在上述方案中,所述拍摄场景状态包括当前拍摄环境的光强度,或者当前拍摄环境的光强度和拍摄对象的运动速率。
可选地,在上述方案中,所述确定单元确定所述拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当所述拍摄环境光强度低于第一阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件。
可选地,在上述方案中,所述确定单元确定所述拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当所述拍摄环境光强度低于第二阈值且所述拍摄对象的运动速率超过第三阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件;或者,
是设置为当所述拍摄环境光强度低于第四阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件;其中,所述第二阈值大于所述第四阈值。
可选地,在上述方案中,所述处理单元,是设置为:通过2×2的像素模板对拍摄图像进行遍历,并将所述像素模板范围内的拍摄图像像素相加,得出单个像素;以及,
将所述像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到所述处理后的拍摄图像。
本发明实施例提供了一种终端及终端拍摄的方法,按照预设的像素策略将终端的拍摄图像中的相邻像素进行联合处理,实现了将像素进行合并后再输出,提高了输出像素的进光量,从而在减少曝光时间的同时只需要提升较小的感光度ISO。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例提供的一种终端拍摄的方法流程示意图;
图2为本发明实施例提供的另一种终端拍摄的方法流程示意图;
图3为本发明实施例提供的一种终端的结构示意图。
本发明的实施方式
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是, 在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
实施例一
参见图1,为本发明实施例提供的一种终端拍摄的方法流程示意图。图1中示出了本发明实施例提供的一种终端拍摄的方法流程,该方法可以包括以下步骤,即S101~S102:
S101:终端在进入拍摄模式时,获取当前的拍摄场景状态。
可选地,终端获取当前的拍摄场景状态,可以包括:
终端获取当前拍摄环境的光强度,或者当前拍摄环境的光强度拍摄对象的运动速率。
S102:当拍摄场景状态满足预设的拍摄条件时,终端按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
示例性地,由步骤S101可以得知,拍摄场景状态可以包括当前拍摄环境的光强度,或者还可以包括当前拍摄环境的光强度和拍摄对象的运动速率。
可选地,当拍摄场景状态包括当前拍摄环境的光强度时,拍摄场景状态满足预设的拍摄条件,例如可以包括:当拍摄环境光强度低于第一阈值时,拍摄场景状态满足预设的拍摄条件;
在本实施例中,针对当前拍摄环境的光强度进行获取时,终端可以仅通过光强度相关的阈值来确定是否按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理。
可选地,当拍摄场景状态包括当前拍摄环境的光强度和拍摄对象的运动速率时,拍摄场景状态满足预设的拍摄条件,例如可以包括:
当拍摄环境光强度低于第二阈值且拍摄对象的运动速率超过第三阈值时,所述拍摄场景状态满足预设的拍摄条件;
当拍摄环境光强度低于第四阈值时,所述拍摄场景状态满足预设的拍摄条件;其中,第二阈值大于第四阈值。
在本实施例中,针对当前拍摄环境的光强度和拍摄对象的运动速率进行获取时,终端就需要对两者进行综合分析来确定是否按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理。比如:如果环境光强度比较弱,但是拍摄对象处于静止状态,终端通过综合分析后得出常规拍摄也可以拍出清晰的照片,因此,就不需要按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理;如果环境光强度比较弱,并且拍照对象处于运动状态,或者环境光强度相当弱的时候,终端通过综合分析后得出常规拍摄容易导致拍照模糊,因此,就需要按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理。
在本实施例中,终端按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像,这一过程可以参考用于图像读出的图像读出模式(Binning)的方案,Binning模式在图像读出方面应用的基本思想是:将相邻像元感应的电荷进行相加之后,以一个像素的模式读出。可以分为水平方向Binning和垂直方向Binning,水平方向Binning是将相邻的列的电荷加在一起读出,而垂直方向Binning是将相邻的行的电荷加在一起读出,当行和列同时采用Binning时,图像的纵横比并不改变,当采用2:2Binning,图像的解析度将减少75%。
可选地,基于上述Binning模式的基本思想,终端按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理得到处理后的拍摄图像,可以包括:
通过2×2的像素模板对拍摄图像进行遍历,并将像素模板范围内的拍摄图像像素相加,得出单个像素;
将像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到处理后的拍摄图像。
可选地,本实施例以2×2的像素模板进行遍历,也就是采用2:2Binning为例进行说明,在实际应用中,设计人员可以根据实际应用场景采用其他的像素模板进行遍历,本实施例对此不作赘述。
以2×2的像素模板进行遍历处理后得到的拍摄图像解析度比原拍摄图像的解析度减少了75%,对于相关技术的终端所配置的八百万甚至更高像素的摄像头来说,减少的解析度并不会影响图像的清晰度,但是由于将拍摄图像中的2×2的像素之和作为单个像素进行输出,从而提高了单个像素的进光量,在单个像素的进光量提升后,终端就可以采用更短的曝光时间和更小的感光度ISO就能够获得与相关技术方案相同甚至更优的降低拍照模糊的效果。
本实施例提供了一种终端拍摄的方法,按照预设的像素模板将像素进行合并后再输出,提高了输出像素的进光量,从而在减少曝光时间的同时只需要提升较小的感光度ISO。
实施例二
基于前述实施例相同的技术构思,参见图2,为图2为本发明实施例提供的另一种终端拍摄的方法流程示意图。图2示出了本发明实施例提供的一种终端拍摄的方法的详细流程,该流程可以包括以下步骤,即S201~S205:
S201:终端在开启拍照功能之后,通过环境光传感器和运动检测技术分别获取当前拍摄环境的光强度和拍摄对象的运动速率。
S202:终端将拍摄环境的光强度和拍摄对象的运动速率分别与预设的光强度相关和拍摄对象运动速率相关的阈值进行比较,确定是否满足预设的拍摄条件。
在本实施例中,可选地,预设的光强度相关和拍摄对象运动速率相关的阈值可以认为是前述实施例所提出的按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理的预设的拍摄条件,主要的参考条件可以是:如果环境光强度比较弱,但是拍摄对象处于静止状态,终端通过综合分析后得出常规拍摄也可以拍出清晰的照片,因此,就不需要按照预设的像素处理策略将终端的拍摄图像中的相邻像进行联合处理;如果环境光强度比较弱,并且拍照对象处于运动状态,或者环境光强度相当弱的时候,终端通过综合分析后得出常规拍摄容易导致拍照模糊,因此,就需要按照预设的像素处理策略将终端的拍摄图像中的相邻像进行联合处理。
因此,步骤S202的实施就会出现以下几种结果,分别可以为:当拍摄环境光强度低于第二阈值且拍摄对象的运动速率超过第三阈值时,或者当拍摄环境光强度低于第四阈值时,拍摄场景状态满足预设的拍摄条件;可以理解地,第二阈值大于第四阈值;
以及,当拍摄环境光强度和拍摄对象的运动速率没有满足上述条件时,拍摄场景状态不满足预设的拍摄条件。
可选地,当拍摄场景状态满足预设的拍摄条件,可以执行步骤S203;当拍摄场景状态不满足预设的拍摄条件时,可以执行步骤S205。
S203:通过2×2的像素模板对拍摄图像进行遍历,并将像素模板范围内的拍摄图像像素相加,得出单个像素;
S204:将像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到处理后的拍摄图像。
在本实施例中,以2×2的像素模板进行遍历,也就是采用2:2Binning为例进行说明,在实际应用中,设计人员可以根据实际应用场景采用其他的像素模板进行遍历,本实施例对此不作赘述。
S205:按照常规模式进行拍摄。
本实施例提供了一种终端拍摄的方法的详细流程,按照预设的像素模板将像素进行合并后再输出,提高了输出像素的进光量,从而在减少曝光时间的同时只需要提升较小的感光度ISO。
实施例三
基于前述实施例相同的技术构思,参见图3,为本发明实施例提供的一种终端的结构示意图。图3示出了本发明实施例提供的一种终端30的结构,该终端30可以包括:获取单元301、确定单元302和处理单元303。
其中,获取单元301,设置为:当终端进入拍摄模式时,获取当前的拍摄场景状态;
确定单元302,设置为:确定获取单元301获取的拍摄场景状态是否满足预设的拍摄条件;还设置为:当确定出拍摄场景状态满足预设的拍摄条件时,触发处理单元303;
处理单元303,设置为:按照预设的像素处理策略将终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
在上述方案中,拍摄场景状态包括当前拍摄环境的光强度,或者当前拍摄环境的光强度和拍摄对象的运动速率。
可选地,确定单元302确定拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当拍摄环境光强度低于第一阈值时,拍摄场景状态满足预设的拍摄条件。
可选地,确定单元302确定拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当拍摄环境光强度低于第二阈值且拍摄对象的运动速率超过第三阈值时,拍摄场景状态满足预设的拍摄条件;或者,
是设置为当拍摄环境光强度低于第四阈值时,拍摄场景状态满足预设的拍摄条件;其中,第二阈值大于第四阈值。
可选地,处理单元303,是设置为:通过2×2的像素模板对拍摄图像进行遍历,并将像素模板范围内的拍摄图像像素相加,得出单个像素;以及,
将像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到处理后的拍摄图像。
本实施例提供了一种终端30,按照预设的像素模板将像素进行合并后再输出,提高了输出像素的进光量,从而在减少曝光时间的同时只需要提升较小的感光度ISO。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成 的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过获取终端的当前拍摄场景状态,并且在所获取的拍摄场景状态满足预设的拍摄条件时,按照预设的像素策略将终端的拍摄图像中的相邻像素进行联合处理,实现了将像素进行合并后再输出,提高了输出像素的进光量,从而在减少曝光时间的同时只需要提升较小的感光度ISO。

Claims (10)

  1. 一种终端拍摄的方法,包括:
    终端进入拍摄模式时,获取当前的拍摄场景状态;
    当所述拍摄场景状态满足预设的拍摄条件时,所述终端按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
  2. 根据权利要求1所述的方法,其中,所述拍摄场景状态包括当前拍摄环境的光强度,或者当前拍摄环境的光强度和拍摄对象的运动速率。
  3. 根据权利要求2所述的方法,其中,当所述拍摄场景状态包括当前拍摄环境的光强度时,所述拍摄场景状态满足预设的拍摄条件,包括:当所述拍摄环境光强度低于第一阈值时,所述拍摄场景状态满足预设的拍摄条件。
  4. 根据权利要求2所述的方法,其中,当所述拍摄场景状态包括当前拍摄环境的光强度和拍摄对象的运动速率时,所述拍摄场景状态满足预设的拍摄条件,包括:
    当所述拍摄环境光强度低于第二阈值且所述拍摄对象的运动速率超过第三阈值时,所述拍摄场景状态满足预设的拍摄条件;
    当所述拍摄环境光强度低于第四阈值时,所述拍摄场景状态满足预设的拍摄条件;其中,所述第二阈值大于所述第四阈值。
  5. 根据权利要求1所述的方法,其中,所述终端按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像,包括:
    所述终端通过2×2的像素模板对拍摄图像进行遍历,并将所述像素模板范围内的拍摄图像像素相加,得出单个像素;
    所述终端将所述像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到所述处理后的拍摄图像。
  6. 一种终端,包括:获取单元、确定单元和处理单元;
    其中,所述获取单元,设置为:当所述终端进入拍摄模式时,获取当前 的拍摄场景状态;
    所述确定单元,设置为:确定所述获取单元获取的所述拍摄场景状态是否满足预设的拍摄条件;还设置为:当确定出所述拍摄场景状态满足预设的拍摄条件时,触发所述处理单元;
    所述处理单元,设置为:按照预设的像素处理策略将所述终端的拍摄图像中的相邻像素进行联合处理,得到处理后的拍摄图像。
  7. 根据权利要求6所述的终端,其中,所述拍摄场景状态包括当前拍摄环境的光强度,或者当前拍摄环境的光强度和拍摄对象的运动速率。
  8. 根据权利要求7所述的终端,其中,所述确定单元确定所述拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当所述拍摄环境光强度低于第一阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件。
  9. 根据权利要求7所述的终端,其中,所述确定单元确定所述拍摄场景状态是否满足预设的拍摄条件,包括:是设置为当所述拍摄环境光强度低于第二阈值且所述拍摄对象的运动速率超过第三阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件;或者,
    是设置为当所述拍摄环境光强度低于第四阈值时,确定出所述获取单元获取的所述拍摄场景状态满足预设的拍摄条件;其中,所述第二阈值大于所述第四阈值。
  10. 根据权利要求6所述的终端,其中,所述处理单元,是设置为:通过2×2的像素模板对拍摄图像进行遍历,并将所述像素模板范围内的拍摄图像像素相加,得出单个像素;以及,
    将所述像素模板遍历时得到的单个像素按照遍历顺序进行排列,得到所述处理后的拍摄图像。
PCT/CN2016/080908 2015-07-28 2016-05-03 一种终端及终端拍摄的方法 WO2017016258A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510451327.5A CN106412214B (zh) 2015-07-28 2015-07-28 一种终端及终端拍摄的方法
CN201510451327.5 2015-07-28

Publications (1)

Publication Number Publication Date
WO2017016258A1 true WO2017016258A1 (zh) 2017-02-02

Family

ID=57884046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080908 WO2017016258A1 (zh) 2015-07-28 2016-05-03 一种终端及终端拍摄的方法

Country Status (2)

Country Link
CN (1) CN106412214B (zh)
WO (1) WO2017016258A1 (zh)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016252993B2 (en) 2015-04-23 2018-01-04 Apple Inc. Digital viewfinder user interface for multiple cameras
US10009536B2 (en) 2016-06-12 2018-06-26 Apple Inc. Applying a simulated optical effect based on data received from multiple camera sensors
DK180859B1 (en) 2017-06-04 2022-05-23 Apple Inc USER INTERFACE CAMERA EFFECTS
US11112964B2 (en) 2018-02-09 2021-09-07 Apple Inc. Media capture lock affordance for graphical user interface
US10375313B1 (en) 2018-05-07 2019-08-06 Apple Inc. Creative camera
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
CN108810412A (zh) * 2018-06-12 2018-11-13 Oppo(重庆)智能科技有限公司 视频处理方法、视频处理装置及终端设备
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US10645294B1 (en) 2019-05-06 2020-05-05 Apple Inc. User interfaces for capturing and managing visual media
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
CN113518148A (zh) * 2019-05-06 2021-10-19 苹果公司 用于捕获和管理视觉媒体的用户界面
US11054973B1 (en) 2020-06-01 2021-07-06 Apple Inc. User interfaces for managing media
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
CN112822413B (zh) * 2020-12-30 2024-01-26 Oppo(重庆)智能科技有限公司 拍摄预览方法、装置、终端和计算机可读存储介质
US11539876B2 (en) 2021-04-30 2022-12-27 Apple Inc. User interfaces for altering visual media
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285684A (ja) * 2000-03-30 2001-10-12 Minolta Co Ltd 電子カメラ
CN1700745A (zh) * 2004-05-20 2005-11-23 佳能株式会社 固体摄像装置和相机
CN1798275A (zh) * 2004-12-20 2006-07-05 索尼株式会社 固态成像设备及其驱动方法
CN101176338A (zh) * 2005-06-17 2008-05-07 卡西欧计算机株式会社 摄像装置
CN101444084A (zh) * 2006-05-09 2009-05-27 夏普株式会社 摄像装置
CN101547315A (zh) * 2008-03-24 2009-09-30 奥林巴斯映像株式会社 摄像装置
CN103347152A (zh) * 2013-07-08 2013-10-09 华为终端有限公司 一种图像处理方法、装置及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285684A (ja) * 2000-03-30 2001-10-12 Minolta Co Ltd 電子カメラ
CN1700745A (zh) * 2004-05-20 2005-11-23 佳能株式会社 固体摄像装置和相机
CN1798275A (zh) * 2004-12-20 2006-07-05 索尼株式会社 固态成像设备及其驱动方法
CN101176338A (zh) * 2005-06-17 2008-05-07 卡西欧计算机株式会社 摄像装置
CN101444084A (zh) * 2006-05-09 2009-05-27 夏普株式会社 摄像装置
CN101547315A (zh) * 2008-03-24 2009-09-30 奥林巴斯映像株式会社 摄像装置
CN103347152A (zh) * 2013-07-08 2013-10-09 华为终端有限公司 一种图像处理方法、装置及终端

Also Published As

Publication number Publication date
CN106412214B (zh) 2019-12-10
CN106412214A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
WO2017016258A1 (zh) 一种终端及终端拍摄的方法
US8508619B2 (en) High dynamic range image generating apparatus and method
US9118883B2 (en) High dynamic range imaging with multi-storage pixels
CN109068058B (zh) 超级夜景模式下的拍摄控制方法、装置和电子设备
US20210014411A1 (en) Method for image processing, electronic device, and computer readable storage medium
US7825969B2 (en) Image stabilization using multi-exposure pattern
EP3443736B1 (en) Method and apparatus for video content stabilization
US20130021504A1 (en) Multiple image processing
CN108259770B (zh) 图像处理方法、装置、存储介质及电子设备
US20220222830A1 (en) Subject detecting method and device, electronic device, and non-transitory computer-readable storage medium
US10284770B2 (en) Dual-camera focusing method and apparatus, and terminal device
CN110636216B (zh) 图像处理方法和装置、电子设备、计算机可读存储介质
CN110475067B (zh) 图像处理方法和装置、电子设备、计算机可读存储介质
CN107704798B (zh) 图像虚化方法、装置、计算机可读存储介质和计算机设备
US9350920B2 (en) Image generating apparatus and method
CN108401110B (zh) 图像的获取方法、装置、存储介质及电子设备
CN116744120B (zh) 图像处理方法和电子设备
US9986163B2 (en) Digital photographing apparatus and digital photographing method
KR20240024821A (ko) 개선된 장면 무결성을 위한 시간적 필터링 재시작
CN116308992A (zh) 图像处理方法和装置、电子设备、计算机可读存储介质
US10182186B2 (en) Image capturing apparatus and control method thereof
US9253401B2 (en) Imaging device and imaging method where shake adjusted image is divided into regions for parallel processing
CN110276730B (zh) 图像处理方法、装置、电子设备
CN115633262B (zh) 图像处理方法和电子设备
JP2006148550A (ja) 画像処理装置及び撮像装置

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: 16829625

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16829625

Country of ref document: EP

Kind code of ref document: A1