WO2017016029A1 - 一种拍摄方法及装置 - Google Patents

一种拍摄方法及装置 Download PDF

Info

Publication number
WO2017016029A1
WO2017016029A1 PCT/CN2015/088479 CN2015088479W WO2017016029A1 WO 2017016029 A1 WO2017016029 A1 WO 2017016029A1 CN 2015088479 W CN2015088479 W CN 2015088479W WO 2017016029 A1 WO2017016029 A1 WO 2017016029A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
sub
camera
photographed
pixel
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.)
Ceased
Application number
PCT/CN2015/088479
Other languages
English (en)
French (fr)
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017016029A1 publication Critical patent/WO2017016029A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the invention belongs to the technical field of photographing, and more particularly to a photographing method and device.
  • CMOS Complementary Metal Oxide Semiconductor
  • the exposure amount of each pixel is cleared at the start of exposure, and after the exposure is completed, the exposure amount of the pixel is read. Because the current data reading in the CMOS sensor is serial, the three processes of zeroing the exposure amount, exposing the exposure process, and reading the exposure amount are also performed in a row-by-row manner.
  • the exposure process is performed from the top row to the next row.
  • This progressive exposure method increases the exposure time, so that the exposure amount of each pixel located at the top and bottom of the image is greatly different. Therefore, when shooting a high-speed moving object, if the exposure amount of each pixel obtained by the CMOS sensor is used, the resulting image is significantly deformed.
  • an object of the present invention is to provide a photographing method and apparatus for reducing the probability of image deformation.
  • the technical solutions are as follows:
  • the present invention provides a photographing method for use in an electronic device, the electronic device comprising a plurality of cameras, the method comprising:
  • a scanning area is allocated for each camera, wherein the scanning area allocated by each camera is a different sub-area of the area where the object is photographed;
  • An image of the subject is generated based on the exposure amount of each pixel in each of the scanning regions.
  • the electronic device includes a first camera and a second camera;
  • Allocating a scan area for each camera includes: placing the area where the object is photographed Divided into a first sub-area and a second sub-area;
  • the first sub-area is used as a scanning area of the first camera
  • the second sub-area is used as a scanning area of the second camera.
  • the first sub-area is an odd-line area of the area where the object is photographed, and the second sub-area is an even-line area of the area where the object is photographed;
  • the first area is an even line area of the area where the object is photographed
  • the second area is an odd line area of the area where the object is photographed.
  • the first sub-region is a sub-region in a first direction of the region where the object is photographed
  • the second sub-region is a region in which the object is located in a first direction except the first sub-region The remaining sub-areas.
  • the generating an image of the object to be photographed based on an exposure amount of each pixel in each scan area includes:
  • An image of the subject is generated based on an exposure amount of each pixel in the subject.
  • the present invention also provides an imaging device for use in an electronic device, the electronic device comprising a plurality of cameras, the device comprising:
  • a distribution unit configured to allocate a scanning area for each camera, wherein the scanning area allocated by each camera is a different sub-area of the area where the object is photographed;
  • An acquiring unit configured to acquire an exposure amount of each pixel in each scanning area
  • a generating unit configured to generate an image of the object to be photographed based on an exposure amount of each pixel in each of the scanning regions.
  • the electronic device includes a first camera and a second camera;
  • the distribution unit is configured to divide the area where the object is photographed into a first sub-area and a second sub-area, and use the first sub-area as a scan area of the first camera, the second The sub-area serves as a scanning area of the second camera.
  • the first sub-area is an odd-line area of the area where the object is photographed, and the second sub-area is an even-line area of the area where the object is photographed;
  • the first area is an even line area of the area where the object is photographed
  • the second area is an odd line area of the area where the object is photographed.
  • the first sub-region is a sub-region in a first direction of the region where the object is photographed
  • the second sub-region is a region in which the object is located in a first direction except the first sub-region The remaining sub-areas.
  • the generating unit is configured to obtain an exposure amount of each pixel in the object to be photographed based on an exposure amount of each pixel in each scanning region, and generate an image based on an exposure amount of each pixel in the object to be photographed. An image of the subject being photographed.
  • the electronic device when the electronic device includes a plurality of cameras and each of the cameras is assigned a scanning area, the plurality of cameras can be used to acquire the exposure amounts of the respective pixels in the respective scanning areas, and the cameras are used by the cameras.
  • the allocated scanning area is a different sub-area of the area where the object is photographed, so that the exposure time of the area where the object is photographed can be shortened compared with the existing single camera, so that the difference in exposure amount of each pixel located at the top and bottom of the image is reduced. Reduce the chance of the image of the subject being deformed.
  • FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention.
  • Embodiments of the present invention provide a photographing method and apparatus, the core idea of which is to shorten the exposure time between pixels by adding a camera to an electronic device, so that the difference in exposure amount of each pixel located at the top and bottom of the image is reduced. , reducing the chance of the image of the subject being deformed.
  • FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention.
  • the photographing method is applied to an electronic device, and the electronic device includes a plurality of cameras.
  • the shooting method shown in FIG. 1 above may include the following steps:
  • a scanning area is allocated for each camera, wherein the scanning area allocated by each camera is a different sub-area of the area where the object is photographed. That is to say, when the electronic device includes a plurality of cameras, after the electronic device enables the shooting function, each camera participates in the shooting process, so that it is necessary to allocate a scanning area for each camera according to the total number of cameras.
  • the size of the scan area allocated by each camera may be the same, that is, the area where the object is photographed is divided into a plurality of sub-areas according to the total number of cameras, and the scan area allocated by each camera is: the area where the object is photographed/n , where n is the total number of cameras.
  • the scanning area is allocated for each camera, different scanning areas can be assigned to the respective cameras according to the scanning rate of the camera. Specifically, a large scanning area is allocated to a camera with a high scanning rate, and a small scanning area is allocated to a camera with a low scanning rate.
  • the distance between the cameras is required to be within a preset distance range, so that the overlapping positions of adjacent cameras can be ensured.
  • the distance between the center point of the first camera and the center point of the second camera is the first distance
  • the first Two untouched ends of a camera and a second camera and the distance through the center point is taken as the first
  • the distance between the first camera and the second camera on the electronic device may be greater than or equal to the first distance
  • the distance between the first camera and the second camera on the electronic device is less than the second distance.
  • each camera only needs to scan a sub-area of the area where the object is photographed, and multiple cameras in the electronic device scan the self-scanning area at the same time. Therefore, the embodiment of the present invention can shorten the exposure time by scanning by multiple cameras. Correspondingly, it will also shorten the time for obtaining exposure.
  • the exposure amount of each pixel in each scanning area is merged according to the original order of each pixel in the object to be photographed. In the original position of the region where the object is photographed, it is ensured that the exposure amount of each pixel in the combined subject is its actual exposure amount.
  • the electronic device includes two cameras, a first camera and a second camera.
  • the first camera and the second camera are allocated for scanning.
  • the area where the object is photographed may be divided into a first sub-area and a second sub-area, wherein the first sub-area may serve as a scanning area of the first camera, and the second sub-area may serve as a scanning area of the second camera.
  • the first sub-area may be an odd-line area of the area where the object is photographed
  • the second sub-area is an even-line area of the area where the object is photographed
  • the first sub-area is an even-line area of the area where the object is photographed
  • the second The sub-area is an odd-line area of the area where the object is photographed.
  • the misalignment synthesis refers to the intersection of the pixels scanned by the first camera and the second camera.
  • the exposure amount of each pixel obtained by the first camera is: the exposure amount of the pixel 1, the exposure amount of the pixel 3, and the exposure amount of the pixel 5,
  • the exposure amount of each pixel obtained by the two cameras is sequentially: the exposure amount of the pixel 2, the exposure amount of the pixel 4, and the exposure amount of the pixel 6.
  • the exposure amount of the misalignment is: the exposure amount of the pixel 1, the exposure amount of the pixel 2,
  • the first sub-area may be a sub-area in a first direction of the area where the object is photographed, and the second sub-area is the area in which the object is photographed, except for the first sub-area in the first direction.
  • Sub-area That is, the area where the object is photographed is divided into two sub-areas in the first direction, one of which is recorded as the first sub-area, and the other sub-area is recorded as the second sub-area, and the first direction may be the area where the object is photographed.
  • the electronic device when the electronic device includes multiple cameras and one scanning area is allocated to each camera, multiple cameras can be used to simultaneously acquire the exposure amount of each pixel in each scanning area, and is allocated by each camera.
  • the scanning area is a different sub-area of the area where the object is photographed, so that the exposure time of the area where the object is photographed can be shortened relative to the existing single camera, so that the difference in exposure amount of each pixel located at the top and bottom of the image is reduced, and the difference is reduced. The probability that the image of the subject is deformed.
  • the present invention further provides a camera device for use in an electronic device, wherein the electronic device includes a plurality of cameras, and the structure of the camera device is as shown in FIG. 2, and may include: a distribution unit 11 The acquisition unit 12 and the generation unit 13.
  • the distribution unit 11 is configured to allocate scan areas for the respective cameras, wherein the scan areas allocated by the respective cameras are different sub-areas of the area where the object is photographed. That is to say, when the electronic device includes a plurality of cameras, after the electronic device enables the shooting function, each camera participates in the shooting process, so that it is necessary to allocate a scanning area for each camera according to the total number of cameras.
  • the size of the scan area allocated by each camera may be the same, that is, the area where the object is photographed is divided into a plurality of sub-areas according to the total number of cameras, and the scan area allocated by each camera is: the area where the object is photographed/n , where n is the total number of cameras.
  • the scanning area is allocated for each camera, different scanning areas can be assigned to the respective cameras according to the scanning rate of the camera. Specifically, a large scanning area is allocated to a camera with a high scanning rate, and a small scanning area is allocated to a camera with a low scanning rate.
  • the distance between the cameras is required to be within a preset distance range, so that the overlapping positions of adjacent cameras can be ensured.
  • the distance between the center point of the first camera and the center point of the second camera is the first distance
  • the first a distance between the two cameras of the second camera and the second camera, and the distance between the first camera and the second camera on the electronic device may be greater than or equal to the first distance
  • the first camera And the distance of the second camera on the electronic device is less than the second distance.
  • the obtaining unit 12 is configured to acquire an exposure amount of each pixel in each scanning area.
  • each camera only needs to scan a sub-area of the area where the object is photographed, and multiple cameras in the electronic device scan the self-scanning area at the same time. Therefore, the embodiment of the present invention can shorten the exposure time by scanning by multiple cameras. Correspondingly, it will also shorten the time for obtaining exposure.
  • the generating unit 13 is configured to generate an image of the object to be photographed based on the exposure amount of each pixel in each of the scanning regions. Since each camera only needs to scan its own scanning area, after obtaining the exposure amount of each pixel in each scanning area, it is necessary to synthesize the exposure amounts of these pixels to obtain the exposure amount of each pixel in the object to be photographed, and then based on An exposure amount of each pixel in the object to be imaged, and an image of the object to be photographed is generated.
  • the electronic device may include a first camera and a second camera.
  • the area where the object is captured can be divided into a first sub-area and a second sub-area, wherein the first sub-area can be used as the first A scanning area of a camera, the second sub-area serving as a scanning area of the second camera.
  • the first sub-area may be an odd-line area of the area where the object is photographed
  • the second sub-area is an even-line area of the area where the object is photographed
  • the first sub-area is an even-line area of the area where the object is photographed
  • the second The sub-area is an odd-line area of the area where the object is photographed.
  • the misalignment synthesis refers to the intersection of the pixels scanned by the first camera and the second camera. For example, when the first camera scans the odd line area and the second camera scans the even line area, the exposure amount of each pixel obtained by the first camera is: the exposure amount of the pixel 1, the exposure amount of the pixel 3, and the exposure amount of the pixel 5, The exposure amount of each pixel obtained by the two cameras is sequentially: the exposure amount of the pixel 2, the exposure amount of the pixel 4, and the exposure amount of the pixel 6.
  • the exposure amount of the misalignment is: the exposure amount of the pixel 1, the exposure amount of the pixel 2, The exposure amount of the pixel 3, the exposure amount of the pixel 4, the exposure amount of the pixel 5, and the exposure amount of the pixel 6.
  • the first sub-area may be a sub-area in a first direction of the area where the object is photographed, and the second sub-area is the area in which the object is photographed, except for the first sub-area in the first direction.
  • Sub-area That is, the area where the object is photographed is divided into two sub-areas in the first direction, one of which is recorded as the first sub-area, and the other sub-area is recorded as the second sub-area, and the first direction may be the area where the object is photographed.
  • the electronic device when the electronic device includes multiple cameras and one scanning area is allocated to each camera, multiple cameras can be used to simultaneously acquire the exposure amount of each pixel in each scanning area, and is allocated by each camera.
  • the scanning area is a different sub-area of the area where the object is photographed, so that the object to be photographed can be shortened compared to the existing single camera
  • the exposure time of the area reduces the difference in exposure amount of each pixel located at the top and bottom of the image, reducing the probability of the image of the object being deformed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

一种拍摄方法,包括:为各个摄像头分配扫描区域(101),各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域;获取各个扫描区域中各个像素的曝光量(102);基于各个扫描区域中各个像素的曝光量,生成被拍摄物体的图像(103)。该拍摄方法通过用多个摄像头对各个子区域进行扫描,可以缩短曝光时间,缩小图像顶部和底部的各个像素的曝光量差异,降低被拍摄物体的图像发生变形的几率。同时,还提供一种拍摄装置。

Description

一种拍摄方法及装置 技术领域
本发明属于拍摄技术领域,更具体的说,尤其涉及一种拍摄方法及装置。
背景技术
在目前的CMOS(Complementary Metal Oxide Semiconductor,互补金属氧化物半导体)传感器中,在曝光开始时将每个像素的曝光量清零,在曝光结束后,将像素的曝光量读出。因为目前CMOS传感器中,数据读取采用是串行方式,所以在曝光量清零、曝光过程以及曝光量读出这三个过程中也是逐行顺序进行。
从对现有CMOS传感器的工作过程可知,其曝光过程是从上自下一行一行进行,这种逐行曝光方式会增加曝光时间,使得位于图像顶部和底部的各个像素的曝光量差异较大,因此在拍摄高速运动的物体时,若采用CMOS传感器得到的各个像素的曝光量时会使得最终生成的图像产生明显的变形。
发明内容
有鉴于此,本发明的目的在于提供一种拍摄方法及装置,用于降低图像变形几率。技术方案如下:
本发明提供一种拍摄方法,应用于电子设备中,所述电子设备包括多个摄像头,所述方法包括:
为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域;
获取各个扫描区域中各个像素的曝光量;
基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像。
优选的,所述电子设备包括第一摄像头和第二摄像头;
所述为各个摄像头分配扫描区域,包括:将所述被拍摄物体所在区域均 分为第一子区域和第二子区域;
将所述第一子区域作为所述第一摄像头的扫描区域,所述第二子区域作为所述第二摄像头的扫描区域。
优选的,所述第一子区域为所述被拍摄物体所在区域的奇数行区域,所述第二子区域为所述被拍摄物体所在区域的偶数行区域;
或者
所述第一区域为所述被拍摄物体所在区域的偶数行区域,所述第二区域为所述被拍摄物体所在区域的奇数行区域。
优选的,所述第一子区域为所述被拍摄物体所在区域在第一方向的子区域,所述第二子区域为所述被拍摄物体所在区域在第一方向除所述第一子区域之外剩余的子区域。
优选的,所述基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像,包括:
基于各个扫描区域中各个像素的曝光量,得到所述被拍摄物体中各个像素的曝光量;
基于所述被拍摄物体中各个像素的曝光量,生成所述被拍摄物体的图像。
本发明还提供一种拍摄装置,应用于电子设备中,所述电子设备包括多个摄像头,所述装置包括:
分配单元,用于为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域;
获取单元,用于获取各个扫描区域中各个像素的曝光量;
生成单元,用于基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像。
优选的,所述电子设备包括第一摄像头和第二摄像头;
所述分配单元,用于将所述被拍摄物体所在区域均分为第一子区域和第二子区域,并将所述第一子区域作为所述第一摄像头的扫描区域,所述第二子区域作为所述第二摄像头的扫描区域。
优选的,所述第一子区域为所述被拍摄物体所在区域的奇数行区域,所述第二子区域为所述被拍摄物体所在区域的偶数行区域;
或者
所述第一区域为所述被拍摄物体所在区域的偶数行区域,所述第二区域为所述被拍摄物体所在区域的奇数行区域。
优选的,所述第一子区域为所述被拍摄物体所在区域在第一方向的子区域,所述第二子区域为所述被拍摄物体所在区域在第一方向除所述第一子区域之外剩余的子区域。
优选的,所述生成单元,用于基于各个扫描区域中各个像素的曝光量,得到所述被拍摄物体中各个像素的曝光量,并基于所述被拍摄物体中各个像素的曝光量,生成所述被拍摄物体的图像。
与现有技术相比,本发明提供的上述技术方案具有如下优点:
本发明提供的上述技术方案中,当电子设备包括多个摄像头且为各个摄像头分配一个扫描区域时,就可以同时使用多个摄像头分别获取各个扫描区域中各个像素的曝光量,又因为各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域,这样相对于现有单一摄像头来说可以缩短被拍摄物体所在区域的曝光时间,使得位于图像顶部和底部的各个像素的曝光量差异缩小,降低被拍摄物体的图像发生变形的几率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的拍摄方法的流程图;
图2是本发明实施例提供的拍摄装置的结构示意图。
具体实施方式
本发明实施例提供一种拍摄方法及装置,其核心思想是:通过在电子设备中增加摄像头的方法来缩短各个像素之间的曝光时间,使得位于图像顶部和底部的各个像素的曝光量差异缩小,降低被拍摄物体的图像发生变形的几率。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1,其示出了本发明实施例提供的拍摄方法的一种流程图,所述拍摄方法应用于电子设备中,且电子设备包括多个摄像头。上述图1所示拍摄方法可以包括以下步骤:
101:为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域。也就是说当电子设备包括多个摄像头时,在电子设备启用拍摄功能后,各个摄像头都会参与拍摄过程,这样则需要根据摄像头的总数为各个摄像头分配扫描区域。
在本发明实施例中,各个摄像头分配的扫描区域大小可以相同,即将被拍摄物体所在区域按照摄像头的总数均分成多个子区域,每个摄像头所分配的扫描区域为:被拍摄物体所在区域/n,其中n为摄像头的总数。
当然在为各个摄像头分配扫描区域时,还可以根据摄像头的扫描速率为各个摄像头分配不同的扫描区域。具体的,为扫描速率高的摄像头分配较大的扫描区域,而为扫描速率低的摄像头分配较小的扫描区域。
在这里需要说明的一点是:电子设备在安装各个摄像头时,需要各个摄像头之间的距离在预设距离范围内,这样可以保证相邻摄像头重叠拍摄区域较多。以相邻的第一摄像头和第二摄像头为例,第一摄像头和第二摄像头相接触时,第一摄像头的中心点和第二摄像头的中心点之间的距离为第一距离,而将第一摄像头和第二摄像头的两个未接触端,且穿过中心点的距离作为第 二距离,则第一摄像头和第二摄像头在电子设备上的距离可以大于等于第一距离,并且第一摄像头和第二摄像头在电子设备上的距离小于第二距离。
102:获取各个扫描区域中各个像素的曝光量。在本发明实施中,每个摄像头仅需要扫描被拍摄物体所在区域的一个子区域,且电子设备中多个摄像头会同时扫描自身扫描区域,因此本发明实施例通过多个摄像头扫描可以缩短曝光时间,相应的也会缩短获取曝光量的时间。
103:基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像。由于每个摄像头仅需扫描自身扫描区域,所以在得到各个扫描区域中各个像素的曝光量之后,还需要对这些像素的曝光量进行合成来得到被拍摄物体中各个像素的曝光量,然后再基于被拍摄物体中各个像素的曝光量,生成被拍摄物体的图像。
其中在合成各个像素的曝光量时,需要基于各个扫描区域在被拍摄物体所在区域的位置进行合成,即按照被拍摄物体中各个像素的原本顺序,将各个扫描区域中各个像素的曝光量合并到其在被拍摄物体所在区域的原始位置中,保证合并得到的被拍摄物体中各个像素的曝光量为其实际曝光量。
在本发明实施例中,以电子设备包括第一摄像头和第二摄像头这两个摄像头来举例说明,当电子设备包括第一摄像头和第二摄像头时,在为第一摄像头和第二摄像头分配扫描区域时,可以将被拍摄物体所在区域均分为第一子区域和第二子区域,其中第一子区域则可以作为第一摄像头的扫描区域,第二子区域作为第二摄像头的扫描区域。
进一步第一子区域可以为被拍摄物体所在区域的奇数行区域,第二子区域为被拍摄物体所在区域的偶数行区域,或者第一子区域为被拍摄物体所在区域的偶数行区域,第二子区域为被拍摄物体所在区域的奇数行区域。这样第一摄像头和第二摄像头则可以隔行扫描,扫描的像素量相对于单一摄像头来说降低一半,从而缩短曝光时间。
在获取第一摄像头和第二摄像头扫描的各个像素的曝光量之后,需要将第一摄像头和第二摄像头扫描的各个像素的曝光量错位合成来得到被拍摄物 体中各个像素的曝光量。其中错位合成是指第一摄像头和第二摄像头扫描的各个像素交叉合并。例如第一摄像头扫描奇数行区域,第二摄像头扫描偶数行区域时,第一摄像头得到的各个像素的曝光量依次为:像素1的曝光量、像素3的曝光量和像素5的曝光量,第二摄像头得到的各个像素的曝光量依次为:像素2的曝光量、像素4的曝光量和像素6的曝光量,则错位合成的曝光量为:像素1的曝光量、像素2的曝光量、像素3的曝光量、像素4的曝光量、像素5的曝光量和像素6的曝光量。
此外,在本发明实施例中,第一子区域可以是被拍摄物体所在区域在第一方向的子区域,第二子区域为被拍摄物体所在区域在第一方向除第一子区域之外剩余的子区域。也就是被拍摄物体所在区域在第一方向被划分成两个子区域,其中一个子区域记为第一子区域,另一个子区域记为第二子区域,第一方向可以是被拍摄物体所在区域的横向或者被拍摄物体所在区域的纵向。
从上述技术方案可以看出,当电子设备包括多个摄像头且为各个摄像头分配一个扫描区域时,就可以同时使用多个摄像头分别获取各个扫描区域中各个像素的曝光量,又因为各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域,这样相对于现有单一摄像头来说可以缩短被拍摄物体所在区域的曝光时间,使得位于图像顶部和底部的各个像素的曝光量差异缩小,降低被拍摄物体的图像发生变形的几率。
与上述方法实施例相对应,本发明还提供一种应用于电子设备中的拍摄装置,其中电子设备包括多个摄像头,所述拍摄装置的结构示意图如图2所示,可以包括:分配单元11、获取单元12和生成单元13。
分配单元11,用于为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域。也就是说当电子设备包括多个摄像头时,在电子设备启用拍摄功能后,各个摄像头都会参与拍摄过程,这样则需要根据摄像头的总数为各个摄像头分配扫描区域。
在本发明实施例中,各个摄像头分配的扫描区域大小可以相同,即将被拍摄物体所在区域按照摄像头的总数均分成多个子区域,每个摄像头所分配的扫描区域为:被拍摄物体所在区域/n,其中n为摄像头的总数。
当然在为各个摄像头分配扫描区域时,还可以根据摄像头的扫描速率为各个摄像头分配不同的扫描区域。具体的,为扫描速率高的摄像头分配较大的扫描区域,而为扫描速率低的摄像头分配较小的扫描区域。
在这里需要说明的一点是:电子设备在安装各个摄像头时,需要各个摄像头之间的距离在预设距离范围内,这样可以保证相邻摄像头重叠拍摄区域较多。以相邻的第一摄像头和第二摄像头为例,第一摄像头和第二摄像头相接触时,第一摄像头的中心点和第二摄像头的中心点之间的距离为第一距离,而将第一摄像头和第二摄像头的两个未接触端,且穿过中心点的距离作为第二距离,则第一摄像头和第二摄像头在电子设备上的距离可以大于等于第一距离,并且第一摄像头和第二摄像头在电子设备上的距离小于第二距离。
获取单元12,用于获取各个扫描区域中各个像素的曝光量。在本发明实施中,每个摄像头仅需要扫描被拍摄物体所在区域的一个子区域,且电子设备中多个摄像头会同时扫描自身扫描区域,因此本发明实施例通过多个摄像头扫描可以缩短曝光时间,相应的也会缩短获取曝光量的时间。
生成单元13,用于基于各个扫描区域中各个像素的曝光量,生成被拍摄物体的图像。由于每个摄像头仅需扫描自身扫描区域,所以在得到各个扫描区域中各个像素的曝光量之后,还需要对这些像素的曝光量进行合成来得到被拍摄物体中各个像素的曝光量,然后再基于被拍摄物体中各个像素的曝光量,生成被拍摄物体的图像。
其中在合成各个像素的曝光量时,需要基于各个扫描区域在被拍摄物体所在区域的位置进行合成,即将各个扫描区域中各个像素的曝光量合并到其在被拍摄物体所在区域的原始位置中,保证合并得到的被拍摄物体中各个像素的曝光量为其实际曝光量。
在本发明实施例中,以电子设备可以包括第一摄像头和第二摄像头这两 个摄像头为例进行说明,在为第一摄像头和第二摄像头分配扫描区域时,可以将被拍摄物体所在区域均分为第一子区域和第二子区域,其中第一子区域则可以作为第一摄像头的扫描区域,第二子区域作为第二摄像头的扫描区域。
进一步第一子区域可以为被拍摄物体所在区域的奇数行区域,第二子区域为被拍摄物体所在区域的偶数行区域,或者第一子区域为被拍摄物体所在区域的偶数行区域,第二子区域为被拍摄物体所在区域的奇数行区域。这样第一摄像头和第二摄像头则可以隔行扫描,扫描的像素量相对于单一摄像头来说降低一半,从而缩短曝光时间。
在获取第一摄像头和第二摄像头扫描的各个像素的曝光量之后,需要将第一摄像头和第二摄像头扫描的各个像素的曝光量错位合成来得到被拍摄物体中各个像素的曝光量。其中错位合成是指第一摄像头和第二摄像头扫描的各个像素交叉合并。例如第一摄像头扫描奇数行区域,第二摄像头扫描偶数行区域时,第一摄像头得到的各个像素的曝光量依次为:像素1的曝光量、像素3的曝光量和像素5的曝光量,第二摄像头得到的各个像素的曝光量依次为:像素2的曝光量、像素4的曝光量和像素6的曝光量,则错位合成的曝光量为:像素1的曝光量、像素2的曝光量、像素3的曝光量、像素4的曝光量、像素5的曝光量和像素6的曝光量。
此外,在本发明实施例中,第一子区域可以是被拍摄物体所在区域在第一方向的子区域,第二子区域为被拍摄物体所在区域在第一方向除第一子区域之外剩余的子区域。也就是被拍摄物体所在区域在第一方向被划分成两个子区域,其中一个子区域记为第一子区域,另一个子区域记为第二子区域,第一方向可以是被拍摄物体所在区域的横向或者被拍摄物体所在区域的纵向。
从上述技术方案可以看出,当电子设备包括多个摄像头且为各个摄像头分配一个扫描区域时,就可以同时使用多个摄像头分别获取各个扫描区域中各个像素的曝光量,又因为各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域,这样相对于现有单一摄像头来说可以缩短被拍摄物体所 在区域的曝光时间,使得位于图像顶部和底部的各个像素的曝光量差异缩小,降低被拍摄物体的图像发生变形的几率。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (10)

  1. 一种拍摄方法,其特征在于,应用于电子设备中,所述电子设备包括多个摄像头,所述方法包括:
    为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域;
    获取各个扫描区域中各个像素的曝光量;
    基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备包括第一摄像头和第二摄像头;
    所述为各个摄像头分配扫描区域,包括:将所述被拍摄物体所在区域均分为第一子区域和第二子区域;
    将所述第一子区域作为所述第一摄像头的扫描区域,所述第二子区域作为所述第二摄像头的扫描区域。
  3. 根据权利要求2所述的方法,其特征在于,所述第一子区域为所述被拍摄物体所在区域的奇数行区域,所述第二子区域为所述被拍摄物体所在区域的偶数行区域;
    或者
    所述第一区域为所述被拍摄物体所在区域的偶数行区域,所述第二区域为所述被拍摄物体所在区域的奇数行区域。
  4. 根据权利要求2所述的方法,其特征在于,所述第一子区域为所述被拍摄物体所在区域在第一方向的子区域,所述第二子区域为所述被拍摄物体所在区域在第一方向除所述第一子区域之外剩余的子区域。
  5. 根据权利要求1所述的方法,其特征在于,所述基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像,包括:
    基于各个扫描区域中各个像素的曝光量,得到所述被拍摄物体中各个像素的曝光量;
    基于所述被拍摄物体中各个像素的曝光量,生成所述被拍摄物体的图像。
  6. 一种拍摄装置,其特征在于,应用于电子设备中,所述电子设备包括多个摄像头,所述装置包括:
    分配单元,用于为各个摄像头分配扫描区域,其中各个摄像头所分配的扫描区域为被拍摄物体所在区域的不同子区域;
    获取单元,用于获取各个扫描区域中各个像素的曝光量;
    生成单元,用于基于各个扫描区域中各个像素的曝光量,生成所述被拍摄物体的图像。
  7. 根据权利要求6所述的装置,其特征在于,所述电子设备包括第一摄像头和第二摄像头;
    所述分配单元,用于将所述被拍摄物体所在区域均分为第一子区域和第二子区域,并将所述第一子区域作为所述第一摄像头的扫描区域,所述第二子区域作为所述第二摄像头的扫描区域。
  8. 根据权利要求7所述的装置,其特征在于,所述第一子区域为所述被拍摄物体所在区域的奇数行区域,所述第二子区域为所述被拍摄物体所在区域的偶数行区域;
    或者
    所述第一区域为所述被拍摄物体所在区域的偶数行区域,所述第二区域为所述被拍摄物体所在区域的奇数行区域。
  9. 根据权利要求7所述的装置,其特征在于,所述第一子区域为所述被拍摄物体所在区域在第一方向的子区域,所述第二子区域为所述被拍摄物体所在区域在第一方向除所述第一子区域之外剩余的子区域。
  10. 根据权利要求6所述的装置,其特征在于,所述生成单元,用于基于各个扫描区域中各个像素的曝光量,得到所述被拍摄物体中各个像素的曝光量,并基于所述被拍摄物体中各个像素的曝光量,生成所述被拍摄物体的图像。
PCT/CN2015/088479 2015-07-30 2015-08-30 一种拍摄方法及装置 Ceased WO2017016029A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510459225.8A CN105635560B (zh) 2015-07-30 2015-07-30 一种拍摄方法及装置
CN201510459225.8 2015-07-30

Publications (1)

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

Family

ID=56050010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088479 Ceased WO2017016029A1 (zh) 2015-07-30 2015-08-30 一种拍摄方法及装置

Country Status (2)

Country Link
CN (1) CN105635560B (zh)
WO (1) WO2017016029A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257752A (zh) * 2021-12-23 2022-03-29 深圳市先地图像科技有限公司 一种激光直接成像设备曝光图像的方法及相关设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657290A (zh) * 2016-01-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种基于双摄像头的扫描方法及装置
CN114415477B (zh) * 2022-01-26 2024-07-19 深圳市先地图像科技有限公司 一种激光成像设备曝光图像的方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316325A (zh) * 2007-05-30 2008-12-03 三星电子株式会社 图像拍摄设备和方法
CN102523376A (zh) * 2011-12-06 2012-06-27 鸿富锦精密工业(深圳)有限公司 拍摄设备及方法
CN104184935A (zh) * 2013-05-27 2014-12-03 鸿富锦精密工业(深圳)有限公司 影像拍摄设备及方法
CN104243827A (zh) * 2014-09-23 2014-12-24 深圳市中兴移动通信有限公司 拍摄方法和装置
CN104780315A (zh) * 2015-04-08 2015-07-15 广东欧珀移动通信有限公司 摄像装置拍摄的方法和系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DD291848A5 (de) * 1990-01-30 1991-07-11 Wilhelm-Pieck-Universitaet Rostock,De Verfahren zur beruehrungslosen geschwindigkeitsmessung auf der basis flaechenabtastender sensoren
CN201114560Y (zh) * 2007-04-27 2008-09-10 比亚迪股份有限公司 用于生成立体视频的采集系统
EP2442556A1 (en) * 2010-10-15 2012-04-18 ST-Ericsson SA Apparatus and method for capturing images with high dynamic range
CN103400371B (zh) * 2013-07-09 2016-11-02 河海大学 一种多摄像头协同监控设备及方法
CN104731538A (zh) * 2013-12-19 2015-06-24 鸿合科技有限公司 多摄像头显示实现方法及装置
CN104754228A (zh) * 2015-03-27 2015-07-01 广东欧珀移动通信有限公司 一种利用移动终端摄像头拍照的方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316325A (zh) * 2007-05-30 2008-12-03 三星电子株式会社 图像拍摄设备和方法
CN102523376A (zh) * 2011-12-06 2012-06-27 鸿富锦精密工业(深圳)有限公司 拍摄设备及方法
CN104184935A (zh) * 2013-05-27 2014-12-03 鸿富锦精密工业(深圳)有限公司 影像拍摄设备及方法
CN104243827A (zh) * 2014-09-23 2014-12-24 深圳市中兴移动通信有限公司 拍摄方法和装置
CN104780315A (zh) * 2015-04-08 2015-07-15 广东欧珀移动通信有限公司 摄像装置拍摄的方法和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257752A (zh) * 2021-12-23 2022-03-29 深圳市先地图像科技有限公司 一种激光直接成像设备曝光图像的方法及相关设备
CN114257752B (zh) * 2021-12-23 2024-02-02 深圳市先地图像科技有限公司 一种激光直接成像设备曝光图像的方法及相关设备

Also Published As

Publication number Publication date
CN105635560B (zh) 2017-09-08
CN105635560A (zh) 2016-06-01

Similar Documents

Publication Publication Date Title
US12267588B2 (en) Thin multi-aperture imaging system with auto-focus and methods for using same
TWI510086B (zh) 數位重對焦方法
ES2776367T3 (es) Aparato de captación de imágenes que incluye elementos de lente que tienen diferentes diámetros
JP5794705B2 (ja) 撮像装置、その制御方法及びプログラム
US9854195B2 (en) Image capturing apparatus, control method for the same, and storage medium
KR102179261B1 (ko) 고속 촬상 방법 및 고속 촬상 장치
US10284770B2 (en) Dual-camera focusing method and apparatus, and terminal device
US9538074B2 (en) Image processing apparatus, imaging apparatus, and image processing method
EP2709352B1 (en) Image pickup apparatus, image pickup system and method of controlling image pickup apparatus
CN102523376A (zh) 拍摄设备及方法
US10082663B2 (en) Method for simultaneous capture of image data at multiple depths of a sample
CN104519293A (zh) 信息处理装置及信息处理装置的控制方法
JP6666841B2 (ja) 撮像制御装置、撮像装置、および、撮像装置の制御方法
CN104469194A (zh) 图像处理装置及其控制方法
WO2017016029A1 (zh) 一种拍摄方法及装置
JP2016197663A (ja) 撮像素子及び撮像装置
EP3264745A1 (en) Scanning imaging system with a novel imaging sensor with gaps for electronic circuitry
CN107211095B (zh) 处理图像的方法和设备
CN102036010A (zh) 影像处理系统及方法
US10429315B2 (en) Imaging apparatus and imaging method
JP6781589B2 (ja) 像ブレ補正装置及びその制御方法、プログラム、記憶媒体
CN104113711A (zh) 摄像设备及系统
JP6272099B2 (ja) 画像処理装置、制御方法およびプログラム
JP2013192152A (ja) 撮像装置、撮像システムおよび画像処理方法
JP2017011347A5 (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: 15899381

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

Country of ref document: EP

Kind code of ref document: A1