CN110266966A - Image generation method and device, electronic equipment and computer readable storage medium - Google Patents
Image generation method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110266966A CN110266966A CN201910578445.0A CN201910578445A CN110266966A CN 110266966 A CN110266966 A CN 110266966A CN 201910578445 A CN201910578445 A CN 201910578445A CN 110266966 A CN110266966 A CN 110266966A
- Authority
- CN
- China
- Prior art keywords
- photographing device
- exposure time
- shaking
- image
- cameras
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 22
- 238000004590 computer program Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 9
- 230000006641 stabilisation Effects 0.000 claims description 4
- 238000011105 stabilization Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 2
- 230000003287 optical effect Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 8
- 230000002265 prevention Effects 0.000 abstract 4
- 238000012545 processing Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 7
- 230000015572 biosynthetic process Effects 0.000 description 7
- 238000003786 synthesis reaction Methods 0.000 description 7
- 238000003384 imaging method Methods 0.000 description 3
- 101000961042 Pseudopleuronectes americanus Ice-structuring protein A Proteins 0.000 description 2
- 238000003705 background correction Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000000872 buffer Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种图像生成方法和装置、电子设备、计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an image generation method and apparatus, an electronic device, and a computer-readable storage medium.
背景技术Background technique
随着摄像技术的不断发展,人们对电子设备摄像头的拍照要求日益提高。传统的电子设备从单摄像头发展到后来的双摄像头,拍照质量有了显著的提高。但是人们对电子设备的拍照要求也随之日益提高,如何进一步提高电子设备的拍照质量、满足用户更高的拍照需求,就是一个亟待解决的问题。With the continuous development of camera technology, people's requirements for taking pictures with cameras of electronic devices are increasing day by day. Traditional electronic devices have developed from a single camera to a dual camera later, and the quality of photos has been significantly improved. However, people's requirements for taking pictures of electronic devices are also increasing. How to further improve the quality of taking pictures of electronic devices and meet the higher requirements of users for taking pictures is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种图像生成方法、装置、电子设备、计算机可读存储介质,可以提高电子设备的拍照质量、满足更高的拍照需求。Embodiments of the present application provide an image generation method, apparatus, electronic device, and computer-readable storage medium, which can improve the photographing quality of the electronic device and meet higher photographing requirements.
一种图像生成方法,包括:An image generation method, comprising:
当拍摄设备的抖动强度超出了预设范围时,则获取所述拍摄设备的抖动强度;When the shaking intensity of the photographing device exceeds the preset range, obtain the shaking intensity of the photographing device;
根据所述拍摄设备的抖动强度为所述拍摄设备的至少两个摄像头配置曝光时间,所述曝光时间小于所述拍摄设备的抖动时长;Configure an exposure time for at least two cameras of the photographing device according to the shaking intensity of the photographing device, where the exposure time is less than the shaking duration of the photographing device;
由所述拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像;At least two original images are generated by at least two cameras of the shooting device using the correspondingly configured exposure time to shoot;
将所述至少两张原始图像进行拼接合成得到目标图像。The target image is obtained by splicing and synthesizing the at least two original images.
一种图像生成装置,包括:An image generation device, comprising:
拍摄设备的抖动强度获取模块,用于当拍摄设备的抖动强度超出了预设范围时,则获取所述拍摄设备的抖动强度;a shaking intensity acquisition module of the photographing device, configured to acquire the shaking intensity of the photographing device when the shaking intensity of the photographing device exceeds a preset range;
曝光时间配置模块,用于根据所述拍摄设备的抖动强度为所述拍摄设备的至少两个摄像头配置曝光时间,所述曝光时间小于所述拍摄设备的抖动时长;an exposure time configuration module, configured to configure an exposure time for at least two cameras of the photographing device according to the shaking intensity of the photographing device, where the exposure time is less than the shaking duration of the photographing device;
原始图像生成模块,用于由所述拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像;an original image generation module, configured to generate at least two original images by shooting at least two cameras of the shooting device using correspondingly configured exposure times;
拼接合成模块,用于将所述至少两张原始图像进行拼接合成得到目标图像。The splicing and synthesizing module is used for splicing and synthesizing the at least two original images to obtain a target image.
一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上方法的步骤。An electronic device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the above method.
一种计算机可读存储介质,其上存储有计算机程序,其特征在于,计算机程序被处理器执行时实现如上方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the above method are implemented.
上述图像生成方法、装置、电子设备、计算机可读存储介质,当拍摄设备的抖动强度超出了OIS防抖的预设范围时,即使采用OIS防抖也不能达到较好的防抖效果,因此舍弃OIS防抖而获取拍摄设备的抖动强度,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长,就可以实现对拍摄场景进行抓拍出清晰的图像。再由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像,将至少两张原始图像进行拼接合成得到目标图像。将多张原始图像进行合成,就进一步提高了图像的清晰度。The above-mentioned image generation method, device, electronic device, and computer-readable storage medium, when the shaking intensity of the photographing device exceeds the preset range of OIS anti-shake, even if OIS anti-shake is used, a better anti-shake effect cannot be achieved, so it is discarded. OIS anti-shake is used to obtain the shaking intensity of the shooting device. According to the shaking intensity of the shooting device, configure the exposure time for at least two cameras of the shooting device. . Then, at least two cameras of the shooting device use the correspondingly configured exposure time to shoot to generate at least two original images, and the at least two original images are spliced and synthesized to obtain a target image. Combining multiple original images further improves the clarity of the image.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个实施例中图像生成方法的应用环境图;Fig. 1 is the application environment diagram of the image generation method in one embodiment;
图2为一个实施例中图像生成方法的流程图;2 is a flowchart of an image generation method in one embodiment;
图3为图2中根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间的方法的流程图;3 is a flowchart of a method for configuring exposure times for at least two cameras of a photographing device according to the shaking intensity of the photographing device in FIG. 2;
图4为另一个实施例中图像生成方法的流程图;4 is a flowchart of an image generation method in another embodiment;
图5为一个具体的实施例中图像生成方法的流程图;5 is a flowchart of an image generation method in a specific embodiment;
图6为一个实施例中图像生成装置的结构框图;6 is a structural block diagram of an image generating apparatus in one embodiment;
图7为另一个实施例中图像生成装置的结构框图;7 is a structural block diagram of an image generating apparatus in another embodiment;
图8为一个实施例中电子设备的内部结构示意图;8 is a schematic diagram of the internal structure of an electronic device in one embodiment;
图9为一个实施例中图像处理电路的示意图。FIG. 9 is a schematic diagram of an image processing circuit in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一摄像头称为第二摄像头,且类似地,可将第二摄像头称为第一摄像头。第一摄像头和第二摄像头两者都是摄像头,但其不是同一摄像头。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first camera may be referred to as a second camera, and similarly, a second camera may be referred to as a first camera, without departing from the scope of this application. Both the first camera and the second camera are cameras, but they are not the same camera.
图1为一个实施例中图像生成方法的应用环境示意图。如图1所示,该应用环境包括电子设备100。电子设备100包含有至少一个第一摄像头110和至少两个第二摄像头120,其中,第一摄像头110的视场角大于第二摄像头120的视场角。当拍摄设备的抖动强度超出了预设范围时,则电子设备获取拍摄设备的抖动强度;根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长;由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像;将至少两张原始图像进行拼接合成得到目标图像。可以理解的是,上述电子设备100即为拍摄设备,可以不限于是各种手机、电脑、可携带设备、相机等。FIG. 1 is a schematic diagram of an application environment of an image generation method in one embodiment. As shown in FIG. 1 , the application environment includes an electronic device 100 . The electronic device 100 includes at least one first camera 110 and at least two second cameras 120 , wherein the field of view of the first camera 110 is larger than the field of view of the second camera 120 . When the shaking intensity of the photographing device exceeds the preset range, the electronic device obtains the shaking intensity of the photographing device; configure the exposure time for at least two cameras of the photographing device according to the shaking intensity of the photographing device, and the exposure time is less than the shaking duration of the photographing device; At least two original images are generated by at least two cameras of the photographing device using correspondingly configured exposure times; and the target image is obtained by splicing and synthesizing the at least two original images. It can be understood that the above-mentioned electronic device 100 is a photographing device, and may not be limited to various mobile phones, computers, portable devices, cameras, and the like.
图2为一个实施例中图像生成方法的流程图,如图2所示,图像生成方法包括步骤220至步骤280。FIG. 2 is a flowchart of an image generation method in one embodiment. As shown in FIG. 2 , the image generation method includes steps 220 to 280 .
步骤220,当拍摄设备的抖动强度超出了预设范围时,则获取拍摄设备的抖动强度。Step 220, when the shaking intensity of the photographing device exceeds the preset range, obtain the shaking intensity of the photographing device.
具体的,抖动强度是指拍摄设备在进行拍摄时,拍摄设备在预设时间段内发生抖动幅度的大小。拍摄设备在预设时间段内发生抖动幅度的大小可以用角速度来表示,也可以用加速度来表示。可以采用拍摄设备中的加速度传感器来采集镜头的加速度,所采集到的加速度就可以体现出拍摄设备的抖动强度,加速度越大则拍摄设备的抖动强度就越大。也可以采用拍摄设备中的陀螺仪进行采集镜头的角速度,所采集到的角速度就可以体现出拍摄设备的抖动强度,角速度越大则拍摄设备的抖动强度就越大。一般情况下,拍摄设备都采用OIS防抖来进行拍摄,但是OIS防抖的补偿范围有限,一般可以对拍摄设备角速度在0-2°的抖动进行补偿,可以获取较好的防抖效果。Specifically, the shaking intensity refers to the magnitude of the shaking amplitude of the photographing device within a preset time period when the photographing device is photographing. The magnitude of the shaking amplitude of the photographing device within a preset time period can be represented by an angular velocity or an acceleration. The acceleration sensor in the photographing device can be used to collect the acceleration of the lens, and the collected acceleration can reflect the shaking intensity of the photographing device. The greater the acceleration, the greater the shaking intensity of the photographing device. The angular velocity of the lens can also be collected by using a gyroscope in the photographing device, and the collected angular velocity can reflect the shaking intensity of the photographing device. The greater the angular velocity, the greater the shaking intensity of the photographing device. Under normal circumstances, the shooting equipment adopts OIS for shooting, but the compensation range of OIS anti-shake is limited. Generally, it can compensate the shaking of the angular velocity of the shooting equipment at 0-2°, and a better anti-shake effect can be obtained.
但是,当拍摄设备角速度超过2°时,则采用OIS防抖所获取的防抖效果较差,所拍摄出的图像比较模糊。因此,当检测到拍摄设备的抖动强度超出了预设范围(OIS防抖的补偿范围),则获取拍摄设备的抖动强度,即通过陀螺仪来获取拍摄设备的镜头的角速度。当然,还存在一种情况,就是拍摄设备并未发生移动,而是拍摄物发生了较快的移动,也同时适用。However, when the angular velocity of the photographing device exceeds 2°, the anti-shake effect obtained by using the OIS anti-shake is poor, and the captured image is relatively blurred. Therefore, when it is detected that the shaking intensity of the photographing device exceeds the preset range (the compensation range of OIS anti-shake), the shaking intensity of the photographing device is obtained, that is, the angular velocity of the lens of the photographing device is obtained through the gyroscope. Of course, there is also a situation where the photographing equipment does not move, but the photographed object moves relatively quickly, which is also applicable.
步骤240,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长。Step 240: Configure an exposure time for at least two cameras of the photographing device according to the shaking intensity of the photographing device, where the exposure time is less than the shaking duration of the photographing device.
当检测到拍摄设备的抖动强度超出了预设范围(OIS防抖的补偿范围),则获取拍摄设备的抖动强度之后,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间。一般情况下,拍摄设备的抖动强度包括陀螺仪所获取的拍摄设备的镜头的角速度,当然还可以是不通过陀螺仪而所获取的镜头的移动信息,如通过加速度传感器所采集到的镜头的加速度。当拍摄设备的抖动强度包括陀螺仪所获取的拍摄设备的镜头的角速度时,即通过陀螺仪所获取的拍摄设备的镜头的角速度越大,则为拍摄设备的至少两个摄像头所配置的曝光时间越短。短曝光时间即对应于高速快门,采用高速快门就可以实现即使拍摄设备的抖动强度超出了OIS防抖的补偿范围,也能够拍摄出清晰的图像。例如,当拍摄设备的镜头的角速度为3°时,则超出了OIS防抖的补偿范围,则就可以根据拍摄设备的镜头的角速度为拍摄设备的至少两个摄像头配置短曝光时间(如1/100s、1/500s、1/1000s等),当然,这些短曝光时间是根据镜头的角速度对应设置的,可以是经过大量实验所得到的可以拍摄出清晰图像的曝光时间。When it is detected that the shaking intensity of the photographing device exceeds the preset range (the compensation range of OIS anti-shake), after obtaining the shaking intensity of the photographing device, configure the exposure time for at least two cameras of the photographing device according to the shaking intensity of the photographing device. In general, the shaking intensity of the photographing device includes the angular velocity of the lens of the photographing device obtained by the gyroscope. Of course, it can also be the movement information of the lens obtained without the gyroscope, such as the acceleration of the lens collected by the acceleration sensor. . When the shaking intensity of the photographing device includes the angular velocity of the lens of the photographing device obtained by the gyroscope, that is, the greater the angular velocity of the lens of the photographing device obtained by the gyroscope, the exposure time configured for at least two cameras of the photographing device is shorter. A short exposure time corresponds to a high-speed shutter. With a high-speed shutter, even if the shaking intensity of the shooting device exceeds the compensation range of OIS anti-shake, it can still capture a clear image. For example, when the angular velocity of the lens of the shooting device is 3°, the compensation range of OIS anti-shake is beyond the compensation range, so at least two cameras of the shooting device can be configured with a short exposure time (such as 1/ 100s, 1/500s, 1/1000s, etc.), of course, these short exposure times are set according to the angular velocity of the lens, which can be obtained after a lot of experiments and can take clear images.
抖动时长是指拍摄设备发生单次抖动的持续时长,一般情况下,要保证单次的曝光时间小于拍摄设备的单次抖动时长,例如,若拍摄设备的单次抖动持续时长为1/100s,那么要保证单次的曝光时间小于拍摄设备的单次抖动持续时长,单次的曝光时间就可以是小于1/100s的任何数值,如1/500s、1/1000s等。The shaking duration refers to the duration of a single shaking of the photographing equipment. Generally, it is necessary to ensure that the single exposure time is less than the single shaking duration of the photographing equipment. For example, if the single shaking duration of the photographing equipment is 1/100s, Then, to ensure that the single exposure time is less than the single shaking duration of the shooting device, the single exposure time can be any value less than 1/100s, such as 1/500s, 1/1000s, etc.
根据拍摄设备的镜头的角速度为拍摄设备的至少两个摄像头配置短曝光时间,其中,可以是为拍摄设备的至少两个摄像头分别配置不尽相同的短曝光时间。但是这些短曝光时间都要拍摄设备的单次抖动时长,或者在拍摄设备的单次抖动时长上进行较小的范围浮动。即可以是为拍摄设备的至少两个摄像头配置相同的短曝光时间,也可以是不同的曝光时间。当拍摄设备包含两个摄像头时,则可以是分别配置了两个不同的曝光时间;当拍摄设备包含三个摄像头时,则可以是分别配置了三个不同的曝光时间,也可以是为其中二个摄像头配置相同的曝光时间,而为另一个摄像头配置不同的曝光时间;当拍摄设备包含四个以上摄像头时,则可以是分别配置了四个不同的曝光时间,也可以是为其中任意二个或三个摄像头配置相同的曝光时间,而为另外两个或一个摄像头配置不同的曝光时间。Short exposure times are configured for at least two cameras of the photographing device according to the angular velocity of the lens of the photographing device, wherein the at least two cameras of the photographing device may be respectively configured with different short exposure times. However, these short exposure times require the single shaking duration of the shooting device, or a small range of fluctuations on the single shaking duration of the shooting device. That is, the same short exposure time may be configured for at least two cameras of the photographing device, or different exposure times may be configured. When the shooting device includes two cameras, two different exposure times can be configured respectively; when the shooting device includes three cameras, three different exposure times can be configured respectively, or two different exposure times can be configured respectively. Each camera is configured with the same exposure time, and the other camera is configured with different exposure times; when the shooting device contains more than four cameras, four different exposure times can be configured respectively, or any two of them can be configured with different exposure times. Or configure the same exposure time for three cameras and different exposure times for the other two or one camera.
步骤260,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像。Step 260, at least two original images are generated by at least two cameras of the photographing device using the correspondingly configured exposure time to photograph.
在对拍摄设备的至少两个摄像头配置了曝光时间之后,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像。即可以是由每一个摄像头拍摄一张原始图像,也可以由每一个摄像头拍摄多张原始图像。After the exposure times are configured for the at least two cameras of the photographing device, at least two cameras of the photographing device perform photography using the correspondingly configured exposure times to generate at least two original images. That is, one original image may be captured by each camera, or multiple original images may be captured by each camera.
步骤280,将至少两张原始图像进行拼接合成得到目标图像。Step 280, splicing and synthesizing at least two original images to obtain a target image.
将拍摄设备的至少两个摄像头拍摄得到的至少两张原始图像进行拼接合成,得到目标图像。此处的拼接合成过程与HDR(High-Dynamic Range,高动态范围图像)图像的合成过程类似,在此处就不在赘述。相比普通的图像,HDR图像可以提供更多的动态范围和图像细节。The target image is obtained by splicing and synthesizing at least two original images captured by at least two cameras of the shooting device. The stitching synthesis process here is similar to the synthesis process of an HDR (High-Dynamic Range, high dynamic range image) image, and will not be repeated here. Compared to normal images, HDR images can provide more dynamic range and image detail.
本实施例中的图像生成方法,当拍摄设备的抖动强度超出了OIS防抖的预设范围时,即使采用OIS防抖也不能达到较好的防抖效果,因此舍弃OIS防抖而获取拍摄设备的抖动强度,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长,就可以实现对拍摄场景进行抓拍出清晰的图像。再由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像,将至少两张原始图像进行拼接合成得到目标图像。将多张原始图像进行合成,就进一步提高了图像的清晰度。In the image generation method in this embodiment, when the shaking intensity of the shooting device exceeds the preset range of OIS anti-shake, even if OIS anti-shake is adopted, it cannot achieve a good anti-shake effect. Therefore, the OIS anti-shake is discarded and the shooting device is obtained. According to the shaking intensity of the shooting device, configure the exposure time for at least two cameras of the shooting device. If the exposure time is less than the shaking time of the shooting device, a clear image of the shooting scene can be captured. Then, at least two cameras of the shooting device use the correspondingly configured exposure time to shoot to generate at least two original images, and the at least two original images are spliced and synthesized to obtain a target image. Combining multiple original images further improves the clarity of the image.
在一个实施例中,如图3所示,步骤240,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长,包括:In one embodiment, as shown in FIG. 3 , in step 240, exposure times are configured for at least two cameras of the photographing equipment according to the shaking intensity of the photographing equipment, and the exposure time is less than the shaking duration of the photographing equipment, including:
步骤242,获取拍摄设备的镜头的角速度;Step 242, obtaining the angular velocity of the lens of the photographing device;
步骤244,根据角速度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长。Step 244: Configure an exposure time for at least two cameras of the photographing device according to the angular velocity, where the exposure time is less than the shaking duration of the photographing device.
具体的,当拍摄设备的抖动强度包括陀螺仪所获取的拍摄设备的镜头的角速度时,即通过陀螺仪所获取的拍摄设备的镜头的角速度越大,则为拍摄设备的至少两个摄像头所配置的曝光时间越短。短曝光时间即对应于高速快门,采用高速快门就可以实现即使拍摄设备的抖动强度超出了OIS防抖的补偿范围,也能够拍摄出清晰的图像。例如,当拍摄设备的镜头的角速度为3°时,则超出了OIS防抖的补偿范围,则就可以根据拍摄设备的镜头的角速度为拍摄设备的至少两个摄像头配置短曝光时间(如1/100s、1/500s、1/1000s等),当然,这些短曝光时间是根据镜头的角速度对应设置的,可以是经过大量实验所得到的可以拍摄出清晰图像的曝光时间。一般情况下,要保证单次的曝光时间小于拍摄设备的单次抖动时长。Specifically, when the shaking intensity of the photographing device includes the angular velocity of the lens of the photographing device obtained by the gyroscope, that is, the greater the angular velocity of the lens of the photographing device obtained by the gyroscope, the higher the angular velocity of the lens of the photographing device, the higher the angular velocity of the lens of the photographing device, the higher the angular velocity of the lens of the photographing device. the shorter the exposure time. A short exposure time corresponds to a high-speed shutter. With a high-speed shutter, even if the shaking intensity of the shooting device exceeds the compensation range of OIS anti-shake, it can still capture a clear image. For example, when the angular velocity of the lens of the shooting device is 3°, the compensation range of OIS anti-shake is beyond the compensation range, so at least two cameras of the shooting device can be configured with a short exposure time (such as 1/ 100s, 1/500s, 1/1000s, etc.), of course, these short exposure times are set according to the angular velocity of the lens, which can be obtained after a lot of experiments and can take clear images. Under normal circumstances, it is necessary to ensure that the single exposure time is less than the single shaking time of the shooting device.
本申请实施例中,通过陀螺仪所检测到的镜头的角速度来确定拍摄设备的抖动强度,然后根据角速度为拍摄设备的至少两个摄像头配置曝光时间。由陀螺仪所检测出的镜头的角速度一般比较准确,因此进一步确定的曝光时间就会比较准确,从而由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄所生成的原始图像的清晰度较高。In the embodiment of the present application, the shaking intensity of the photographing device is determined by the angular velocity of the lens detected by the gyroscope, and then the exposure time is configured for at least two cameras of the photographing device according to the angular velocity. The angular velocity of the lens detected by the gyroscope is generally more accurate, so the further determined exposure time will be more accurate, so that the sharpness of the original image generated by at least two cameras of the shooting device using the correspondingly configured exposure time to shoot higher.
在一个实施例中,拍摄设备包括第一摄像头及第二摄像头,第一摄像头的光圈大于第二摄像头的光圈;In one embodiment, the photographing device includes a first camera and a second camera, and the aperture of the first camera is larger than the aperture of the second camera;
步骤240,根据角速度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长,包括:Step 240, configure exposure time for at least two cameras of the photographing device according to the angular velocity, where the exposure time is less than the shaking duration of the photographing device, including:
获取拍摄设备的第一摄像头,根据角速度为第一摄像头配置第一曝光时间,第一曝光时间小于拍摄设备的抖动时长;acquiring the first camera of the shooting device, and configuring a first exposure time for the first camera according to the angular velocity, where the first exposure time is less than the shaking duration of the shooting device;
获取拍摄设备的第二摄像头,根据角速度为第二摄像头配置第二曝光时间,第二曝光时间小于拍摄设备的抖动时长,且第一曝光时间小于第二曝光时间。The second camera of the photographing device is acquired, and a second exposure time is configured for the second camera according to the angular velocity, the second exposure time is less than the shaking duration of the photographing device, and the first exposure time is less than the second exposure time.
具体的,拍摄设备包括第一摄像头及第二摄像头,第一摄像头的光圈大于第二摄像头的光圈。第一摄像头的数量为至少一个以上,同样,第二摄像头的数量也为至少一个以上。在保证进光量的情况下,当摄像头的光圈较大时,则曝光时间就可以相应地减小一点,当摄像头的光圈较小时,则曝光时间就可以相应地增加一点。Specifically, the photographing device includes a first camera and a second camera, and the aperture of the first camera is larger than the aperture of the second camera. The number of the first cameras is at least one or more, and similarly, the number of the second cameras is also at least one or more. In the case of ensuring the amount of incoming light, when the aperture of the camera is large, the exposure time can be reduced a little, and when the aperture of the camera is small, the exposure time can be increased accordingly.
因此,获取拍摄设备的第一摄像头,根据角速度为第一摄像头配置第一曝光时间,第一曝光时间小于拍摄设备的抖动时长。获取拍摄设备的第二摄像头,根据角速度为第二摄像头配置第二曝光时间,第二曝光时间小于拍摄设备的抖动时长,且第一曝光时间小于第二曝光时间。Therefore, the first camera of the photographing device is acquired, and the first exposure time is configured for the first camera according to the angular velocity, and the first exposure time is less than the shaking duration of the photographing device. The second camera of the photographing device is acquired, and a second exposure time is configured for the second camera according to the angular velocity, the second exposure time is less than the shaking duration of the photographing device, and the first exposure time is less than the second exposure time.
当然,还需要考虑摄像头的其他参数来综合评估,例如,感光度ISO。感光度,又称为ISO值,是衡量底片对于光的灵敏程度。对于较不敏感的底片,需要曝光更长的时间以达到跟较敏感底片相同的成像,因此通常被称为慢速底片。高度敏感的底片因而称为快速底片。当其他拍摄参数都相同的情况下,高ISO的摄像模组则就可以稍微降低曝光时间。Of course, other parameters of the camera also need to be considered for comprehensive evaluation, such as sensitivity ISO. Sensitivity, also known as ISO value, is a measure of how sensitive a film is to light. For less sensitive film, a longer exposure time is required to achieve the same imaging as the more sensitive film, so it is often referred to as a slow film. Highly sensitive film is therefore called fast film. When other shooting parameters are the same, the high ISO camera module can slightly reduce the exposure time.
本申请实施例中,根据摄像头不同的拍摄参数去为不同的摄像头对应配置不同的曝光时间,这样在保证曝光时间小于拍摄设备的抖动时长的同时,就可以获得尽量大的进光量。进光量可以保证图像的亮度,进而提高图像的清晰度。In the embodiment of the present application, different exposure times are correspondingly configured for different cameras according to different shooting parameters of the cameras, so that the maximum amount of incoming light can be obtained while ensuring that the exposure time is less than the shaking duration of the shooting device. The amount of incoming light can ensure the brightness of the image, thereby improving the clarity of the image.
一个实施例中,预设范围为拍摄设备OIS防抖的最大调整范围。In one embodiment, the preset range is the maximum adjustment range of the OIS anti-shake of the photographing device.
本申请实施例中,具体的,由拍摄设备中的陀螺仪进行采集镜头的角速度,所采集到的角速度就可以体现出拍摄设备的抖动强度,角速度越大则拍摄设备的抖动就越强。一般情况下,拍摄设备都采用OIS防抖来进行拍摄,但是OIS防抖的补偿范围有限,一般可以对拍摄设备角速度在0-2°的抖动进行补偿,可以获取较好的防抖效果。则拍摄设备OIS防抖的最大调整范围就是2°,当然,这个数值还可以是其他合理的数值。In the embodiment of the present application, specifically, the angular velocity of the lens is collected by the gyroscope in the photographing device, and the collected angular velocity can reflect the shaking intensity of the photographing device. The greater the angular velocity, the stronger the shaking of the photographing device. Under normal circumstances, the shooting equipment adopts OIS for shooting, but the compensation range of OIS anti-shake is limited. Generally, it can compensate the shaking of the angular velocity of the shooting equipment at 0-2°, and a better anti-shake effect can be obtained. Then the maximum adjustment range of the OIS image stabilization of the shooting device is 2°. Of course, this value can also be other reasonable values.
在一个实施例中,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像,包括:In one embodiment, at least two cameras of the photographing device use correspondingly configured exposure times to photograph to generate at least two original images, including:
由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行至少两次拍摄生成至少四张原始图像。At least four original images are generated by at least two shootings performed by at least two cameras of the shooting device using correspondingly configured exposure times.
具体的,在对拍摄设备的至少两个摄像头配置了曝光时间之后,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行至少两次拍摄生成至少四张原始图像。即可以是由每一个摄像头进行至少两次拍摄得到至少两张原始图像。例如,第一摄像头进行两次拍摄得到两张原始图像,第二摄像头进行三次拍摄得到三张原始图像。可以是由第一摄像头采用对应配置的曝光时间进行第一次拍摄,判断拍摄所得到的原始图像的清晰度是否符合预设标准,若符合则在该曝光时间下再次拍摄一张原始图像。若判断出第一次拍摄所得到的原始图像的清晰度不符合预设标准,则就在该曝光时间的左右进行微小浮动,进行重新多次拍摄得到原始图像,直到拍摄得到清晰度符合预设标准的原始图像或拍摄出了清晰度比之前拍摄的图像的清晰度高的图像为止。Specifically, after the exposure times are configured for the at least two cameras of the photographing device, at least two cameras of the photographing device use the correspondingly configured exposure times to perform at least two shots to generate at least four original images. That is, at least two original images may be obtained by capturing at least two times by each camera. For example, the first camera performs two shots to obtain two original images, and the second camera performs three shots to obtain three original images. The first camera may use a correspondingly configured exposure time to shoot for the first time, and determine whether the clarity of the original image obtained by shooting meets a preset standard, and if so, shoot another original image at the exposure time. If it is judged that the sharpness of the original image obtained by the first shooting does not meet the preset standard, then slightly float around the exposure time, and re-shoot several times to obtain the original image until the sharpness obtained by shooting meets the preset standard. A standard original image or an image with a higher definition than the previously captured image is captured.
本申请实施例中,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行至少两次拍摄生成至少四张原始图像,或在配置的曝光时间的左右进行微小浮动,进行重新多次拍摄得到原始图像,直到拍摄得到清晰度符合预设标准的原始图像。最终所得的原始图像时清晰度符合预设标准的图像,从而提高后续进行图像拼接合成所得到的图像的清晰度。In this embodiment of the present application, at least two cameras of the photographing device perform at least two shots at a correspondingly configured exposure time to generate at least four original images, or make slight fluctuations on the left and right of the configured exposure time, and re-shoot multiple times. The original image is obtained until the original image whose sharpness meets the preset standard is obtained. The final obtained original image is an image whose definition meets a preset standard, thereby improving the clarity of an image obtained by subsequent image stitching and synthesis.
在一个实施例中,将至少两张原始图像进行拼接合成得到目标图像,包括:In one embodiment, the target image is obtained by splicing at least two original images, including:
从至少两张原始图像中筛选出清晰度超过预设阈值的原始图像;Screen out the original images whose sharpness exceeds the preset threshold from at least two original images;
将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。The target image is obtained by stitching and synthesizing the original images whose sharpness exceeds the preset threshold.
具体的,在经过前述由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像之后,从至少两张原始图像中筛查出清晰度超过预设阈值的原始图像,将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。例如,假设拍摄设备具有两个摄像头,则通过这两个摄像头分别进行一次拍摄得到两张原始图像。从这两张原始图像中筛选出清晰度超过预设阈值的原始图像,将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。如果这两张原始图像的清晰度都超过预设阈值,则就将这两张原始图像进行拼接合成,如果仅有一张原始图像的清晰度超过预设阈值,则可以直接将该原始图像进行输出作为目标图像,当然还可以采用拍摄出清晰度不符合预设阈值的摄像头重新配置曝光参数进行重新拍摄,再进行拼接合成得到目标图像。Specifically, after at least two original images are generated by the at least two cameras of the shooting device using the correspondingly configured exposure time to generate, an original image whose definition exceeds a preset threshold is screened out from the at least two original images, The target image is obtained by stitching and synthesizing the original images whose sharpness exceeds the preset threshold. For example, it is assumed that the photographing device has two cameras, and two original images are obtained by taking one photograph respectively through the two cameras. The original images whose sharpness exceeds the preset threshold are screened out from the two original images, and the target image is obtained by splicing and synthesizing the original images whose sharpness exceeds the preset threshold. If the sharpness of the two original images exceeds the preset threshold, the two original images are spliced and synthesized. If the sharpness of only one original image exceeds the preset threshold, the original image can be output directly As the target image, of course, a camera whose resolution does not meet the preset threshold can be used to reconfigure the exposure parameters for re-shooting, and then stitch and synthesize to obtain the target image.
例如,假设拍摄设备具有两个摄像头,则通过这两个摄像头分别进行两次拍摄得到四张原始图像。从这四张原始图像中筛选出清晰度超过预设阈值的原始图像,将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。如果这四张原始图像的清晰度都超过预设阈值,则就将这四张原始图像进行拼接合成,如果仅有一张原始图像的清晰度超过预设阈值,则可以直接将该原始图像进行输出作为目标图像,当然还可以采用拍摄出清晰度不符合预设阈值的摄像头重新配置曝光参数进行重新拍摄,再进行拼接合成得到目标图像。For example, assuming that the photographing device has two cameras, four original images are obtained by shooting twice through the two cameras respectively. The original images whose sharpness exceeds the preset threshold are screened out from the four original images, and the original images whose sharpness exceeds the preset threshold are spliced and synthesized to obtain the target image. If the sharpness of the four original images exceeds the preset threshold, the four original images are spliced and synthesized. If the sharpness of only one original image exceeds the preset threshold, the original image can be output directly As the target image, of course, a camera whose resolution does not meet the preset threshold can be used to reconfigure the exposure parameters for re-shooting, and then stitch and synthesize to obtain the target image.
本申请实施例中,对摄像头所拍摄出的所有原始图像进行筛选出清晰度超过预设阈值的原始图像,再进行拼接合成得到目标图像。能够对合成目标图像的原始图像进行筛选,避免清晰度太低的原始图像对最终合成的目标图像的清晰度造成影响。且也可以对拍摄出不符合预设阈值的摄像头重新配置曝光参数进行重新拍摄,再进行拼接合成得到目标图像,其一避免浪费摄像头资源,其二增加原始图像的数目,有利于提高最终合成的目标图像的清晰度。In the embodiment of the present application, all original images captured by the camera are screened to select original images whose definition exceeds a preset threshold, and then spliced and synthesized to obtain a target image. The original image of the synthesized target image can be screened, so as to prevent the original image with too low definition from affecting the definition of the final synthesized target image. And it is also possible to reconfigure the exposure parameters of the camera that does not meet the preset threshold for re-shooting, and then stitch and synthesize to obtain the target image. One is to avoid wasting camera resources, and the other is to increase the number of original images, which is conducive to improving the final synthesis. The clarity of the target image.
在一个实施例中,还提供了一种图像生成方法,所述方法还包括:当拍摄设备的抖动强度超出了预设范围时,则对拍摄设备进行OIS防抖补偿,将OIS防抖补偿参数调整至所述最大调整范围。In one embodiment, an image generation method is also provided, the method further comprising: when the shaking intensity of the photographing device exceeds a preset range, performing OIS anti-shake compensation on the photographing device, and using the OIS anti-shake compensation parameter Adjust to the maximum adjustment range.
如图4所示,该图像生成方法的步骤包括:As shown in Figure 4, the steps of the image generation method include:
步骤420,当拍摄设备的抖动强度超出了预设范围时,则对拍摄设备进行OIS防抖补偿,将OIS防抖补偿参数调整至所述最大调整范围。Step 420, when the shaking intensity of the photographing device exceeds the preset range, perform OIS anti-shake compensation on the photographing device, and adjust the OIS anti-shake compensation parameter to the maximum adjustment range.
步骤440,获取拍摄设备的抖动强度,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长。Step 440: Obtain the shaking intensity of the photographing device, and configure exposure times for at least two cameras of the photographing device according to the shaking intensity of the photographing device, where the exposure time is less than the shaking duration of the photographing device.
具体的,由拍摄设备中的陀螺仪进行采集镜头的角速度,所采集到的角速度就可以体现出拍摄设备的抖动强度,角速度越大则拍摄设备的抖动就越强。一般情况下,拍摄设备都采用OIS防抖来进行拍摄,但是OIS防抖的补偿范围有限,一般可以对拍摄设备角速度在0-2°的抖动进行补偿,可以获取较好的防抖效果。但是,当拍摄设备角速度超过2°时,则采用OIS防抖所获取的防抖效果较差,所拍摄出的图像比较模糊。因此,当检测到拍摄设备的抖动强度超出了预设范围(OIS防抖的最大补偿范围),首先对拍摄设备进行OIS防抖调整至预设范围即OIS防抖的最大补偿范围,然后再获取拍摄设备的抖动强度,根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间。当然,也可以对拍摄设备进行OIS防抖调整至接近OIS防抖的最大补偿范围。其中,曝光时间小于拍摄设备的抖动时长。且因为对拍摄设备采用OIS防抖补偿了一部分抖动,所以就相当于降低了拍摄设备的抖动强度,所以所配置的曝光时间就可以稍微长一点,长一点的曝光时间能够保证一定的进光量,从而提高图像的清晰度。Specifically, the angular velocity of the lens is collected by the gyroscope in the photographing device, and the collected angular velocity can reflect the shaking intensity of the photographing device. The greater the angular velocity, the stronger the shaking of the photographing device. Under normal circumstances, the shooting equipment adopts OIS for shooting, but the compensation range of OIS anti-shake is limited. Generally, it can compensate the shaking of the angular velocity of the shooting equipment at 0-2°, and a better anti-shake effect can be obtained. However, when the angular velocity of the photographing device exceeds 2°, the anti-shake effect obtained by using the OIS anti-shake is poor, and the captured image is relatively blurred. Therefore, when it is detected that the shaking intensity of the shooting device exceeds the preset range (the maximum compensation range of OIS anti-shake), firstly adjust the OIS anti-shake of the shooting device to the preset range, that is, the maximum compensation range of OIS anti-shake, and then obtain The shaking intensity of the photographing device, and the exposure time is configured for at least two cameras of the photographing device according to the shaking intensity of the photographing device. Of course, it is also possible to adjust the OIS image stabilization to the shooting device to be close to the maximum compensation range of OIS image stabilization. Wherein, the exposure time is less than the shaking time of the photographing device. And because the use of OIS anti-shake to compensate for part of the shaking of the shooting equipment, it is equivalent to reducing the shaking intensity of the shooting equipment, so the configured exposure time can be slightly longer, and a longer exposure time can ensure a certain amount of light. Thereby improving the clarity of the image.
步骤460,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像。In step 460, at least two cameras of the photographing device perform photographing at a correspondingly configured exposure time to generate at least two original images.
在对拍摄设备的至少两个摄像头配置了曝光时间之后,由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像。即可以是由每一个摄像头拍摄一张原始图像,也可以由每一个摄像头拍摄多张原始图像。After the exposure times are configured for the at least two cameras of the photographing device, at least two cameras of the photographing device perform photography using the correspondingly configured exposure times to generate at least two original images. That is, one original image may be captured by each camera, or multiple original images may be captured by each camera.
步骤480,将至少两张原始图像进行拼接合成得到目标图像。Step 480, splicing and synthesizing at least two original images to obtain a target image.
将拍摄设备的至少两个摄像头拍摄得到的至少两张原始图像进行拼接合成,得到目标图像。此处的拼接合成过程与HDR(High-Dynamic Range,高动态范围图像)图像的合成过程类似,在此处就不在赘述。相比普通的图像,HDR图像可以提供更多的动态范围和图像细节。The target image is obtained by splicing and synthesizing at least two original images captured by at least two cameras of the shooting device. The stitching synthesis process here is similar to the synthesis process of an HDR (High-Dynamic Range, high dynamic range image) image, and will not be repeated here. Compared to normal images, HDR images can provide more dynamic range and image detail.
本实施例中的图像生成方法,当拍摄设备的抖动强度超出了OIS防抖的预设范围时,首先对拍摄设备采用OIS防抖进行调整至OIS防抖的最大补偿范围,然后根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长。因为对拍摄设备采用OIS防抖补偿了一部分抖动,所以就相当于降低了拍摄设备的抖动强度,所以所配置的曝光时间就可以稍微长一点,长一点的曝光时间能够保证一定的进光量,从而提高图像的清晰度。再由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像,将至少两张原始图像进行拼接合成得到目标图像。将多张原始图像进行合成,就进一步提高了图像的清晰度。In the image generation method in this embodiment, when the shaking intensity of the photographing device exceeds the preset range of OIS anti-shake, the photographing device is first adjusted to the maximum compensation range of OIS anti-shake by adopting OIS anti-shake, and then according to the The shaking intensity configures the exposure time for at least two cameras of the photographing device, and the exposure time is less than the shaking duration of the photographing device. Because the use of OIS anti-shake compensation for the shooting equipment compensates part of the shaking, it is equivalent to reducing the shaking intensity of the shooting equipment, so the configured exposure time can be slightly longer, and the longer exposure time can ensure a certain amount of light, so Improve the clarity of the image. Then, at least two cameras of the shooting device use the correspondingly configured exposure time to shoot to generate at least two original images, and the at least two original images are spliced and synthesized to obtain a target image. Combining multiple original images further improves the clarity of the image.
在一个具体的实施例中,以电子设备包含1个第一摄像头310和2个第二摄像头为例进行说明,如图5所示,In a specific embodiment, the electronic device includes one first camera 310 and two second cameras as an example for description, as shown in FIG. 5 ,
步骤502,获取拍摄设备中的陀螺仪进行采集镜头的角速度;Step 502, acquiring the angular velocity of the lens that is captured by the gyroscope in the photographing device;
步骤504,判断陀螺仪所采集到镜头的角速度是否超出了OIS防抖的最大补偿范围;Step 504, judge whether the angular velocity of the lens collected by the gyroscope exceeds the maximum compensation range of OIS anti-shake;
步骤506,若否,则采用OIS防抖进行补偿之后,进行拍摄。Step 506 , if no, use OIS for compensation, and then shoot.
步骤508,若是,则获取拍摄设备的抖动强度,角速度越大则拍摄设备的抖动强度就越大;Step 508, if yes, obtain the shaking intensity of the photographing device, and the greater the angular velocity, the greater the shaking intensity of the photographing device;
步骤510,根据拍摄设备的抖动强度为拍摄设备的三个摄像头分别配置三个不同的曝光时间,曝光时间小于拍摄设备的单次抖动时长;Step 510, according to the shaking intensity of the photographing equipment, configure three different exposure times for the three cameras of the photographing equipment respectively, and the exposure times are less than the single shaking duration of the photographing equipment;
步骤512,由拍摄设备的三个摄像头采用对应配置的曝光时间进行拍摄生成三张原始图像;Step 512, three original images are generated by the three cameras of the shooting device using the correspondingly configured exposure time to shoot;
步骤514,从三张原始图像中筛选出清晰度超过预设阈值的原始图像;Step 514, screening out the original images whose clarity exceeds the preset threshold from the three original images;
步骤516,将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。Step 516, splicing and synthesizing the original images whose definition exceeds the preset threshold to obtain the target image.
本申请实施例中,通过陀螺仪所检测到的镜头的角速度来确定拍摄设备的抖动强度,然后根据角速度为拍摄设备的至少两个摄像头配置曝光时间。由拍摄设备的三个摄像头采用对应配置的曝光时间进行拍摄生成三张原始图像,对摄像头所拍摄出的所有原始图像进行筛选出清晰度超过预设阈值的原始图像,再进行拼接合成得到目标图像。能够对合成目标图像的原始图像进行筛选,避免清晰度太低的原始图像对最终合成的目标图像的清晰度造成影响。从而,提高目标图像的清晰度。In the embodiment of the present application, the shaking intensity of the photographing device is determined by the angular velocity of the lens detected by the gyroscope, and then the exposure time is configured for at least two cameras of the photographing device according to the angular velocity. The three cameras of the shooting device use the correspondingly configured exposure time to shoot to generate three original images, filter all the original images captured by the cameras to select the original images whose clarity exceeds the preset threshold, and then perform stitching and synthesis to obtain the target image. . The original image of the synthesized target image can be screened, so as to prevent the original image with too low definition from affecting the definition of the final synthesized target image. Thus, the sharpness of the target image is improved.
应该理解的是,虽然图2及图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2及图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIG. 2 and FIG. 5 are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 and FIG. 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The order of execution of the stages is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a stage.
在一个实施例中,如图6所示,提供了一种图像生成装置600,包括:In one embodiment, as shown in FIG. 6, an image generating apparatus 600 is provided, including:
拍摄设备的抖动强度获取模块620,用于当拍摄设备的抖动强度超出了预设范围时,则获取拍摄设备的抖动强度;The shaking intensity acquisition module 620 of the photographing device is configured to obtain the shaking intensity of the photographing device when the shaking intensity of the photographing device exceeds a preset range;
曝光时间配置模块640,用于根据拍摄设备的抖动强度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长;an exposure time configuration module 640, configured to configure exposure times for at least two cameras of the photographing equipment according to the shaking intensity of the photographing equipment, where the exposure time is less than the shaking duration of the photographing equipment;
原始图像生成模块660,用于由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行拍摄生成至少两张原始图像;an original image generation module 660, configured to generate at least two original images by using at least two cameras of the photographing device to take pictures with correspondingly configured exposure times;
拼接合成模块680,用于将至少两张原始图像进行拼接合成得到目标图像。The splicing and synthesizing module 680 is used for splicing and synthesizing at least two original images to obtain a target image.
在一个实施例中,曝光时间配置模块640,还用于获取拍摄设备的镜头的角速度;根据角速度为拍摄设备的至少两个摄像头配置曝光时间,曝光时间小于拍摄设备的抖动时长。In one embodiment, the exposure time configuration module 640 is further configured to acquire the angular velocity of the lens of the photographing device; configure the exposure time for at least two cameras of the photographing device according to the angular velocity, and the exposure time is less than the shaking duration of the photographing device.
在一个实施例中,拍摄设备包括第一摄像头及第二摄像头,第一摄像头的光圈大于第二摄像头的光圈;曝光时间配置模块640,还用于获取拍摄设备的第一摄像头,根据角速度为第一摄像头配置第一曝光时间,第一曝光时间小于拍摄设备的抖动时长;获取拍摄设备的第二摄像头,根据角速度为第二摄像头配置第二曝光时间,第二曝光时间小于拍摄设备的抖动时长,且第一曝光时间小于第二曝光时间。In one embodiment, the shooting device includes a first camera and a second camera, and the aperture of the first camera is larger than the aperture of the second camera; the exposure time configuration module 640 is further configured to acquire the first camera of the shooting device, according to the angular velocity A camera is configured with a first exposure time, and the first exposure time is shorter than the shaking duration of the photographing device; the second camera of the photographing device is acquired, and a second exposure time is configured for the second camera according to the angular velocity, and the second exposure time is shorter than the shaking duration of the photographing device, And the first exposure time is shorter than the second exposure time.
在一个实施例中,预设范围为拍摄设备OIS防抖的最大调整范围。In one embodiment, the preset range is the maximum adjustment range of the OIS anti-shake of the photographing device.
在一个实施例中,原始图像生成模块660,还用于由拍摄设备的至少两个摄像头采用对应配置的曝光时间进行至少两次拍摄生成至少四张原始图像。In one embodiment, the original image generating module 660 is further configured to generate at least four original images by at least two cameras of the shooting device using correspondingly configured exposure times to perform at least two shots.
在一个实施例中,拼接合成模块680,用于从至少两张原始图像中筛选出清晰度超过预设阈值的原始图像;将清晰度超过预设阈值的原始图像进行拼接合成得到目标图像。In one embodiment, the splicing and synthesizing module 680 is configured to filter out the original images whose definition exceeds a preset threshold from at least two original images;
在一个实施例中,如图7所示,提供了一种图像生成装置600,还包括OIS防抖模块610,用于当拍摄设备的抖动强度超出了预设范围时,则对拍摄设备进行OIS防抖补偿,将OIS防抖补偿参数调整至所述最大调整范围。In one embodiment, as shown in FIG. 7 , an image generating apparatus 600 is provided, which further includes an OIS anti-shake module 610 for performing OIS on the photographing device when the shaking intensity of the photographing device exceeds a preset range. Anti-shake compensation, adjust the OIS anti-shake compensation parameters to the maximum adjustment range.
上述图像生成装置中各个模块的划分仅用于举例说明,在其他实施例中,可将图像生成装置按照需要划分为不同的模块,以完成上述图像生成装置的全部或部分功能。The division of each module in the above image generation apparatus is only for illustration. In other embodiments, the image generation apparatus may be divided into different modules as required to complete all or part of the functions of the above image generation apparatus.
图8为一个实施例中电子设备的内部结构示意图。如图8所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种图像生成方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。FIG. 8 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 8, the electronic device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement an image generation method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The electronic device may be a mobile phone, a tablet computer, a personal digital assistant or a wearable device, and the like.
本申请实施例中提供的图像生成装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the image generating apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on a terminal or server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.
本申请实施例还提供一种电子设备。上述电子设备中包括图像处理电路,图像处理电路可以利用硬件和/或软件组件实现,可包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图9为一个实施例中图像处理电路的示意图。如图9所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。The embodiments of the present application also provide an electronic device. The above electronic device includes an image processing circuit, and the image processing circuit may be implemented by hardware and/or software components, and may include various processing units that define an ISP (Image Signal Processing, image signal processing) pipeline. FIG. 9 is a schematic diagram of an image processing circuit in one embodiment. As shown in FIG. 9 , for the convenience of description, only various aspects of the image processing technology related to the embodiments of the present application are shown.
如图9所示,图像处理电路包括第一ISP处理器930、第二ISP处理器940和控制逻辑器950。第一摄像头910包括一个或多个第一透镜912和第一图像传感器914。第一图像传感器914可包括色彩滤镜阵列(如Bayer滤镜),第一图像传感器914可获取用第一图像传感器914的每个成像像素捕捉的光强度和波长信息,并提供可由第一ISP处理器930处理的一组图像数据。第二摄像头920包括一个或多个第二透镜922和第二图像传感器924。第二图像传感器924可包括色彩滤镜阵列(如Bayer滤镜),第二图像传感器924可获取用第二图像传感器924的每个成像像素捕捉的光强度和波长信息,并提供可由第二ISP处理器940处理的一组图像数据。As shown in FIG. 9 , the image processing circuit includes a first ISP processor 930 , a second ISP processor 940 and a control logic 950 . The first camera 910 includes one or more first lenses 912 and a first image sensor 914 . The first image sensor 914 may include a color filter array (eg, a Bayer filter), the first image sensor 914 may acquire light intensity and wavelength information captured with each imaging pixel of the first image sensor 914, and provide information that can be accessed by the first ISP A set of image data processed by processor 930. The second camera 920 includes one or more second lenses 922 and a second image sensor 924 . The second image sensor 924 may include a color filter array (eg, a Bayer filter), the second image sensor 924 may acquire light intensity and wavelength information captured with each imaging pixel of the second image sensor 924, and provide information that can be accessed by the second ISP A set of image data processed by processor 940.
第一摄像头910采集的第一图像传输给第一ISP处理器930进行处理,第一ISP处理器930处理第一图像后,可将第一图像的统计数据(如图像的亮度、图像的反差值、图像的颜色等)发送给控制逻辑器950,控制逻辑器950可根据统计数据确定第一摄像头910的控制参数,从而第一摄像头910可根据控制参数进行自动对焦、自动曝光等操作。第一图像经过第一ISP处理器930进行处理后可存储至图像存储器960中,第一ISP处理器930也可以读取图像存储器960中存储的图像以对进行处理。另外,第一图像经过ISP处理器930进行处理后可直接发送至显示器970进行显示,显示器970也可以读取图像存储器960中的图像以进行显示。The first image captured by the first camera 910 is transmitted to the first ISP processor 930 for processing. After the first ISP processor 930 processes the first image, the statistical data of the first image (such as image brightness, image contrast value , image color, etc.) to the control logic 950, and the control logic 950 can determine the control parameters of the first camera 910 according to the statistical data, so that the first camera 910 can perform auto-focus, auto-exposure and other operations according to the control parameters. After being processed by the first ISP processor 930, the first image can be stored in the image memory 960, and the first ISP processor 930 can also read the image stored in the image memory 960 for processing. In addition, after being processed by the ISP processor 930, the first image can be directly sent to the display 970 for display, and the display 970 can also read the image in the image memory 960 for display.
其中,第一ISP处理器930按多种格式逐个像素地处理图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,第一ISP处理器930可对图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。Among them, the first ISP processor 930 processes the image data pixel by pixel in various formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the first ISP processor 930 may perform one or more image processing operations on the image data, collecting statistical information about the image data. Among them, the image processing operations can be performed with the same or different bit depth precision.
图像存储器960可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The image memory 960 may be a part of a memory device, a storage device, or an independent dedicated memory in an electronic device, and may include a DMA (Direct Memory Access, direct memory access) feature.
当接收到来自第一图像传感器914接口时,第一ISP处理器930可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器960,以便在被显示之前进行另外的处理。第一ISP处理器930从图像存储器960接收处理数据,并对处理数据进行RGB和YCbCr颜色空间中的图像数据处理。第一ISP处理器930处理后的图像数据可输出给显示器970,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,第一ISP处理器930的输出还可发送给图像存储器960,且显示器970可从图像存储器960读取图像数据。在一个实施例中,图像存储器960可被配置为实现一个或多个帧缓冲器。Upon receiving the interface from the first image sensor 914, the first ISP processor 930 may perform one or more image processing operations, such as temporal filtering. The processed image data may be sent to image memory 960 for additional processing before being displayed. The first ISP processor 930 receives processing data from the image memory 960, and performs image data processing in RGB and YCbCr color spaces on the processing data. The image data processed by the first ISP processor 930 may be output to the display 970 for viewing by the user and/or further processed by a graphics engine or a GPU (Graphics Processing Unit, graphics processor). In addition, the output of the first ISP processor 930 may also be sent to the image memory 960 , and the display 970 may read image data from the image memory 960 . In one embodiment, image memory 960 may be configured to implement one or more frame buffers.
第一ISP处理器930确定的统计数据可发送给控制逻辑器950。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、第一透镜912阴影校正等第一图像传感器914统计信息。控制逻辑器950可包括执行一个或多个例程(如固件)的处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定第一摄像头910的控制参数及第一ISP处理器930的控制参数。例如,第一摄像头910的控制参数可包括增益、曝光控制的积分时间、防抖参数、闪光控制参数、第一透镜912控制参数(例如聚焦或变焦用焦距)、或这些参数的组合等。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及第一透镜912阴影校正参数。Statistics determined by the first ISP processor 930 may be sent to the control logic 950 . For example, the statistics may include first image sensor 914 statistics such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, first lens 912 shading correction, and the like. The control logic 950 may include a processor and/or a microcontroller executing one or more routines (eg, firmware) that may determine the control parameters and the first camera 910 based on the received statistical data. A control parameter of the ISP processor 930. For example, the control parameters of the first camera 910 may include gain, integration time for exposure control, anti-shake parameters, flash control parameters, first lens 912 control parameters (eg, focal length for focusing or zooming), or a combination of these parameters. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), and first lens 912 shading correction parameters.
同样地,第二摄像头920采集的第二图像传输给第二ISP处理器940进行处理,第二ISP处理器940处理第一图像后,可将第二图像的统计数据(如图像的亮度、图像的反差值、图像的颜色等)发送给控制逻辑器950,控制逻辑器950可根据统计数据确定第二摄像头920的控制参数,从而第二摄像头920可根据控制参数进行自动对焦、自动曝光等操作。第二图像经过第二ISP处理器940进行处理后可存储至图像存储器960中,第二ISP处理器940也可以读取图像存储器960中存储的图像以对进行处理。另外,第二图像经过ISP处理器940进行处理后可直接发送至显示器970进行显示,显示器970也可以读取图像存储器960中的图像以进行显示。第二摄像头920和第二ISP处理器940也可以实现如第一摄像头910和第一ISP处理器930所描述的处理过程。Similarly, the second image captured by the second camera 920 is transmitted to the second ISP processor 940 for processing. After the second ISP processor 940 processes the first image, the statistical data of the second image (such as the brightness of the image, the The contrast value, the color of the image, etc.) are sent to the control logic 950, and the control logic 950 can determine the control parameters of the second camera 920 according to the statistical data, so that the second camera 920 can perform auto-focus, auto-exposure and other operations according to the control parameters . After being processed by the second ISP processor 940, the second image can be stored in the image memory 960, and the second ISP processor 940 can also read the image stored in the image memory 960 for processing. In addition, after being processed by the ISP processor 940, the second image can be directly sent to the display 970 for display, and the display 970 can also read the image in the image memory 960 for display. The second camera 920 and the second ISP processor 940 can also implement the processing as described for the first camera 910 and the first ISP processor 930 .
根据本申请实施例提供的图像处理电路可以实现上述图像生成方法。其中,电子设备可以多个摄像头,摄像头包括镜头及与镜头对应设置的图像传感器,多个摄像头中的图像传感器采用矩形对角线的方式排列。电子设备实现该图像生成方法的过程如上述实施例,在此不再赘述。The image processing circuit provided according to the embodiment of the present application can implement the above-mentioned image generation method. Wherein, the electronic device may have multiple cameras, the cameras include lenses and image sensors corresponding to the lenses, and the image sensors in the multiple cameras are arranged in a rectangular diagonal manner. The process of implementing the image generation method by the electronic device is the same as that in the above-mentioned embodiment, which will not be repeated here.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行图像生成方法的步骤。The embodiment of the present application also provides a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of the image generation method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行图像生成方法。A computer program product containing instructions, when run on a computer, causes the computer to perform an image generation method.
本申请实施例所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used in embodiments of the present application may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578445.0A CN110266966A (en) | 2019-06-28 | 2019-06-28 | Image generation method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578445.0A CN110266966A (en) | 2019-06-28 | 2019-06-28 | Image generation method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110266966A true CN110266966A (en) | 2019-09-20 |
Family
ID=67923153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910578445.0A Pending CN110266966A (en) | 2019-06-28 | 2019-06-28 | Image generation method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266966A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040126A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
CN112135051A (en) * | 2020-09-24 | 2020-12-25 | 维沃移动通信有限公司 | Anti-shake control method and device |
CN112672055A (en) * | 2020-12-25 | 2021-04-16 | 维沃移动通信有限公司 | Photographing method, device and equipment |
CN112738399A (en) * | 2020-12-29 | 2021-04-30 | 维沃移动通信(杭州)有限公司 | Image processing method and device and electronic equipment |
CN113452919A (en) * | 2021-07-21 | 2021-09-28 | 杭州海康威视数字技术股份有限公司 | Camera for realizing cooperative anti-shake by using optical anti-shake and electronic anti-shake |
CN114732425A (en) * | 2022-03-09 | 2022-07-12 | 深圳市智影医疗科技有限公司 | Method and system for improving DR chest radiography imaging quality |
CN115278053A (en) * | 2022-06-23 | 2022-11-01 | 维沃移动通信有限公司 | Image shooting method and electronic equipment |
CN115866843A (en) * | 2022-11-25 | 2023-03-28 | 深圳市中孚能电气设备有限公司 | Flashlight-based light supplement control method and image acquisition system |
CN116709043A (en) * | 2022-02-25 | 2023-09-05 | 荣耀终端有限公司 | Shooting method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4378237B2 (en) * | 2004-07-26 | 2009-12-02 | キヤノン株式会社 | Imaging device |
CN105657273A (en) * | 2016-02-19 | 2016-06-08 | 广东欧珀移动通信有限公司 | Method for setting safety shutter time, device and mobile terminal |
CN106331514A (en) * | 2016-09-07 | 2017-01-11 | 青岛海信移动通信技术股份有限公司 | Method and terminal for controlling overlong exposure |
CN107222680A (en) * | 2017-06-30 | 2017-09-29 | 维沃移动通信有限公司 | The image pickup method and mobile terminal of a kind of panoramic picture |
CN107566748A (en) * | 2017-09-22 | 2018-01-09 | 维沃移动通信有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
-
2019
- 2019-06-28 CN CN201910578445.0A patent/CN110266966A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4378237B2 (en) * | 2004-07-26 | 2009-12-02 | キヤノン株式会社 | Imaging device |
CN105657273A (en) * | 2016-02-19 | 2016-06-08 | 广东欧珀移动通信有限公司 | Method for setting safety shutter time, device and mobile terminal |
CN106331514A (en) * | 2016-09-07 | 2017-01-11 | 青岛海信移动通信技术股份有限公司 | Method and terminal for controlling overlong exposure |
CN107222680A (en) * | 2017-06-30 | 2017-09-29 | 维沃移动通信有限公司 | The image pickup method and mobile terminal of a kind of panoramic picture |
CN107566748A (en) * | 2017-09-22 | 2018-01-09 | 维沃移动通信有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040126A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
CN112135051A (en) * | 2020-09-24 | 2020-12-25 | 维沃移动通信有限公司 | Anti-shake control method and device |
CN112672055A (en) * | 2020-12-25 | 2021-04-16 | 维沃移动通信有限公司 | Photographing method, device and equipment |
CN112738399A (en) * | 2020-12-29 | 2021-04-30 | 维沃移动通信(杭州)有限公司 | Image processing method and device and electronic equipment |
CN113452919A (en) * | 2021-07-21 | 2021-09-28 | 杭州海康威视数字技术股份有限公司 | Camera for realizing cooperative anti-shake by using optical anti-shake and electronic anti-shake |
CN113452919B (en) * | 2021-07-21 | 2022-04-19 | 杭州海康威视数字技术股份有限公司 | Camera for realizing cooperative anti-shake by using optical anti-shake and electronic anti-shake |
CN116709043A (en) * | 2022-02-25 | 2023-09-05 | 荣耀终端有限公司 | Shooting method and electronic equipment |
US12273622B2 (en) | 2022-02-25 | 2025-04-08 | Honor Device Co., Ltd. | Photographing method and electronic device |
CN114732425A (en) * | 2022-03-09 | 2022-07-12 | 深圳市智影医疗科技有限公司 | Method and system for improving DR chest radiography imaging quality |
CN115278053A (en) * | 2022-06-23 | 2022-11-01 | 维沃移动通信有限公司 | Image shooting method and electronic equipment |
CN115866843A (en) * | 2022-11-25 | 2023-03-28 | 深圳市中孚能电气设备有限公司 | Flashlight-based light supplement control method and image acquisition system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7371081B2 (en) | Night view photography methods, devices, electronic devices and storage media | |
CN110225248B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN110266966A (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN112087580B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN109862269B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN107509044B (en) | Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment | |
CN110636216B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN107592473A (en) | Exposure parameter adjustment method, device, electronic device and readable storage medium | |
CN107948519A (en) | Image processing method, device and equipment | |
CN110166705B (en) | High dynamic range HDR image generation method and apparatus, electronic device, computer readable storage medium | |
CN108989700A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN110290323B (en) | Image processing method, apparatus, electronic device, and computer-readable storage medium | |
CN109005342A (en) | Panoramic shooting method and device and imaging equipment | |
CN108833804A (en) | Imaging method, device and electronic equipment | |
CN110475067B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN110213498B (en) | Image generation method and apparatus, electronic device, computer-readable storage medium | |
CN110536057A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN110177212B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN110213494A (en) | Photographing method and device, electronic equipment and computer readable storage medium | |
CN111246100B (en) | Anti-shake parameter calibration method and device and electronic equipment | |
CN112019734B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN112087571A (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN111432118A (en) | Image anti-shake processing method and device, electronic equipment and storage medium | |
CN110290320A (en) | Video preview generation method and device, electronic equipment and computer-readable storage medium | |
CN110049240B (en) | Camera control method, apparatus, electronic device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190920 |
|
RJ01 | Rejection of invention patent application after publication |