CN115134511A - A high dynamic range image photographing method, device and storage medium - Google Patents
A high dynamic range image photographing method, device and storage medium Download PDFInfo
- Publication number
- CN115134511A CN115134511A CN202110335518.0A CN202110335518A CN115134511A CN 115134511 A CN115134511 A CN 115134511A CN 202110335518 A CN202110335518 A CN 202110335518A CN 115134511 A CN115134511 A CN 115134511A
- Authority
- CN
- China
- Prior art keywords
- exposure
- image
- duration
- high dynamic
- dynamic range
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 23
- 230000004044 response Effects 0.000 claims abstract description 8
- 230000015572 biosynthetic process Effects 0.000 claims description 25
- 238000003786 synthesis reaction Methods 0.000 claims description 25
- 230000003213 activating effect Effects 0.000 claims 1
- 238000003672 processing method Methods 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- 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)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
本公开是关于一种高动态范围图像拍照方法、装置及存储介质。图像处理方法包括:响应于所述图像采集设备启动所述交错式曝光传感器进行高动态范围图像拍照,控制所述交错式曝光传感器曝光得到第一曝光图像、第二曝光图像以及第三曝光图像;若接收到图像拍照指令,则输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像;基于所述第一曝光图像、所述第二曝光图像以及所述第三曝光图像,进行高动态范围拍照图像合成,得到高动态范围拍照图像。通过本公开可以得到清晰度较高的高动态范围拍照图像。
The present disclosure relates to a high dynamic range image photographing method, device and storage medium. The image processing method includes: in response to the image acquisition device starting the staggered exposure sensor to take a high dynamic range image, and controlling the staggered exposure sensor to expose a first exposure image, a second exposure image and a third exposure image; If an image photographing instruction is received, output a first exposure image, a second exposure image and a third exposure image for synthesizing high dynamic range photographed images; based on the first exposure image, the second exposure image and the For the third exposure image, a high dynamic range photographed image is synthesized to obtain a high dynamic range photographed image. Through the present disclosure, a high-dynamic-range photographed image with high definition can be obtained.
Description
技术领域technical field
本公开涉及高动态范围图像拍照技术领域,尤其涉及一种高动态范围图像拍照方法、装置及存储介质。The present disclosure relates to the technical field of photographing high dynamic range images, and in particular, to a method, device and storage medium for photographing high dynamic range images.
背景技术Background technique
随着科学技术的发展,图像采集作为一种信息交流、传递的方式,被人们运用于日常生活中的各个方面。With the development of science and technology, image acquisition, as a way of information exchange and transmission, has been used by people in all aspects of daily life.
相关技术中,能够通过交错式曝光传感器(stagger exposure sensor)曝光得到短曝光图像以及中曝光图像,并将得到的短曝光图像以及中曝光图像进行合成,得到用户所需的高动态范围拍摄图像。但相关技术中,合成得到的高动态范围拍摄图像清晰度较低,且存在有较多鬼影。In the related art, a short exposure image and a medium exposure image can be obtained through exposure by a stagger exposure sensor, and the obtained short exposure image and the medium exposure image can be synthesized to obtain a high dynamic range shot image required by the user. However, in the related art, the high dynamic range photographed image obtained by synthesis is low in definition and has many ghost images.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本公开的目的在于提供一种高动态范围图像拍照方法、装置及存储介质,能够通过高动态范围拍摄图像合成,得到清晰度较高的高动态范围拍摄图像。In order to overcome the problems existing in the related art, the purpose of the present disclosure is to provide a high dynamic range image photographing method, device and storage medium, which can synthesize high dynamic range photographed images to obtain high definition high dynamic range photographed images.
为了达到上述目的,本公开所采用的技术方案如下:In order to achieve the above object, the technical scheme adopted in the present disclosure is as follows:
根据本公开实施例的第一方面,提供一种高动态范围图像拍照方法,应用于图像采集设备,所述图像采集设备包括有交错式曝光传感器,所述高动态范围图像拍照方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a high dynamic range image photographing method, which is applied to an image acquisition device, the image acquisition device includes an interlaced exposure sensor, and the high dynamic range image photographing method includes:
响应于所述图像采集设备启动所述交错式曝光传感器进行高动态范围图像拍照,控制所述交错式曝光传感器曝光得到第一曝光图像、第二曝光图像以及第三曝光图像;若接收到图像拍照指令,则输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像;基于所述第一曝光图像、所述第二曝光图像以及所述第三曝光图像,进行高动态范围拍照图像合成,得到高动态范围拍照图像。In response to the image acquisition device starting the staggered exposure sensor to take a high dynamic range image photograph, controlling the staggered exposure sensor to expose a first exposure image, a second exposure image and a third exposure image; if an image is received to take a photograph instruction, then output the first exposure image, the second exposure image and the third exposure image used for synthesizing the high dynamic range photographed image; based on the first exposure image, the second exposure image and the third exposure image, A high dynamic range photographed image is synthesized to obtain a high dynamic range photographed image.
一种实施方式中,所述输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像,包括:输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第三曝光时长的第三曝光图像;其中,所述第一曝光时长处于第一曝光时长范围内,所述第二曝光时长处于第二曝光时长范围内,所述第三曝光时长处于第三曝光时长范围内;所述第一曝光时长范围的最大曝光时长小于所述第二曝光时长范围内的最小曝光时长,所述第二曝光时长范围内的最大曝光时长小于所述第三曝光时长范围内的最小曝光时长。In one embodiment, the outputting the first exposure image, the second exposure image and the third exposure image used for high dynamic range photographic image synthesis includes: outputting a first exposure image with a first exposure duration, a second exposure image with a second exposure time A second exposure image with an exposure duration and a third exposure image with a third exposure duration; wherein the first exposure duration is within the range of the first exposure duration, and the second exposure duration is within the range of the second exposure duration, so The third exposure duration is within the third exposure duration range; the maximum exposure duration within the first exposure duration range is less than the minimum exposure duration within the second exposure duration range, and the maximum exposure duration within the second exposure duration range is is less than the minimum exposure duration within the third exposure duration range.
一种实施方式中,所述高动态范围图像拍照方法,还包括:在图像预览阶段,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像;所述第一曝光图像具有第一曝光时长,所述第二曝光图像具有第二曝光时长,所述第一曝光时长处于第一曝光时长范围内,所述第二曝光时长处于第二曝光时长范围内;所述第一曝光时长范围的最大曝光时长小于所述第二曝光时长范围内的最小曝光时长,所述第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。In one embodiment, the high dynamic range image photographing method further includes: in the image preview stage, based on the first exposure image and the second exposure image, synthesizing the high dynamic range preview image to obtain the high dynamic range preview image; The first exposure image has a first exposure duration, the second exposure image has a second exposure duration, the first exposure duration is within the range of the first exposure duration, and the second exposure duration is within the range of the second exposure duration The maximum exposure duration in the first exposure duration range is less than the minimum exposure duration in the second exposure duration range, and the maximum exposure duration in the second exposure duration range is smaller than the third exposure duration range. The minimum exposure duration.
一种实施方式中,在图像预览阶段,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像,包括:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第四曝光时长的第三曝光图像;其中,所述第一曝光时长、所述第二曝光时长以及所述第四曝光时长之间的曝光时长总和小于预览曝光时长阈值,所述第四曝光时长小于预设曝光时长,且所述预设曝光时长小于第三曝光时长,所述第三曝光时长处于所述第三曝光时长范围内;丢弃所述第三曝光图像,并基于所述第一曝光图像和所述第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, based on the first exposure image and the second exposure image, synthesizing a high dynamic range preview image is performed to obtain a high dynamic range preview image, which includes: if an image preview instruction is received, outputting an image with the first exposure image. A first exposure image with an exposure duration, a second exposure image with a second exposure duration, and a third exposure image with a fourth exposure duration; wherein the first exposure duration, the second exposure duration, and the first exposure duration The sum of the exposure durations among the four exposure durations is less than the preview exposure duration threshold, the fourth exposure duration is less than the preset exposure duration, and the preset exposure duration is less than the third exposure duration, and the third exposure duration is in the first exposure duration. Within the scope of three exposure durations; discarding the third exposure image, and synthesizing a high dynamic range preview image based on the first exposure image and the second exposure image to obtain a high dynamic range preview image.
一种实施方式中,在图像预览阶段,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像,包括:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像以及具有第二曝光时长的第二曝光图像;基于所述第一曝光图像和所述第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, based on the first exposure image and the second exposure image, synthesizing a high dynamic range preview image is performed to obtain a high dynamic range preview image, which includes: if an image preview instruction is received, outputting an image with the first exposure image. A first exposure image with an exposure duration and a second exposure image with a second exposure duration; based on the first exposure image and the second exposure image, a high dynamic range preview image is synthesized to obtain a high dynamic range preview image.
根据本公开实施例的第二方面,提供一种高动态范围图像拍照装置,应用于图像采集设备,所述图像采集设备包括有交错式曝光传感器,所述高动态范围图像拍照装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided a high dynamic range image photographing device, which is applied to an image acquisition device, the image acquisition device includes an interlaced exposure sensor, and the high dynamic range image photographing device includes:
控制单元,响应于所述图像采集设备启动所述交错式曝光传感器进行高动态范围图像拍照,控制所述交错式曝光传感器曝光得到第一曝光图像、第二曝光图像以及第三曝光图像;输出单元,在接收到图像拍照指令的情况下,输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像;合成单元,基于所述第一曝光图像、所述第二曝光图像以及所述第三曝光图像,进行高动态范围拍照图像合成,得到高动态范围拍照图像。a control unit, in response to the image acquisition device starting the staggered exposure sensor to take a high dynamic range image, and controlling the staggered exposure sensor to expose a first exposure image, a second exposure image and a third exposure image; an output unit , in the case of receiving the image photographing instruction, output the first exposure image, the second exposure image and the third exposure image used for high dynamic range photographing image synthesis; the synthesis unit, based on the first exposure image, the first exposure image The second exposure image and the third exposure image are combined with a high dynamic range photographed image to obtain a high dynamic range photographed image.
一种实施方式中,所述输出单元采用如下方式输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像:输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第三曝光时长的第三曝光图像;其中,所述第一曝光时长处于第一曝光时长范围内,所述第二曝光时长处于第二曝光时长范围内,所述第三曝光时长处于第三曝光时长范围内;所述第一曝光时长范围的最大曝光时长小于所述第二曝光时长范围内的最小曝光时长,所述第二曝光时长范围内的最大曝光时长小于所述第三曝光时长范围内的最小曝光时长。In one embodiment, the output unit outputs the first exposure image, the second exposure image, and the third exposure image for synthesizing the high dynamic range photographic image in the following manner: outputting the first exposure image with the first exposure duration, A second exposure image with a second exposure duration and a third exposure image with a third exposure duration; wherein the first exposure duration is within the first exposure duration range, and the second exposure duration is within the second exposure duration range , the third exposure duration is within the third exposure duration range; the maximum exposure duration of the first exposure duration range is less than the minimum exposure duration within the second exposure duration range, and the second exposure duration range The maximum exposure duration is less than the minimum exposure duration within the third exposure duration range.
一种实施方式中,所述合成单元还用于:在图像预览阶段,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像;所述第一曝光图像具有第一曝光时长,所述第二曝光图像具有第二曝光时长,所述第一曝光时长处于第一曝光时长范围内,所述第二曝光时长处于第二曝光时长范围内;所述第一曝光时长范围的最大曝光时长小于所述第二曝光时长范围内的最小曝光时长,所述第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。In one embodiment, the synthesizing unit is further configured to: in the image preview stage, based on the first exposure image and the second exposure image, perform high dynamic range preview image synthesis to obtain a high dynamic range preview image; the first exposure image The image has a first exposure duration, the second exposure image has a second exposure duration, the first exposure duration is within the range of the first exposure duration, and the second exposure duration is within the range of the second exposure duration; The maximum exposure duration in an exposure duration range is smaller than the minimum exposure duration in the second exposure duration range, and the maximum exposure duration in the second exposure duration range is smaller than the minimum exposure duration in the third exposure duration range.
一种实施方式中,在图像预览阶段,所述合成单元采用如下方式基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第四曝光时长的第三曝光图像;其中,所述第一曝光时长、所述第二曝光时长以及所述第四曝光时长之间的曝光时长总和小于预览曝光时长阈值,所述第四曝光时长小于预设曝光时长,且所述预设曝光时长小于第三曝光时长,所述第三曝光时长处于所述第三曝光时长范围内;丢弃所述第三曝光图像,并基于所述第一曝光图像和所述第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, the synthesis unit performs high dynamic range preview image synthesis based on the first exposure image and the second exposure image in the following manner to obtain a high dynamic range preview image: if an image preview instruction is received: , output a first exposure image with a first exposure duration, a second exposure image with a second exposure duration, and a third exposure image with a fourth exposure duration; wherein the first exposure duration, the second exposure duration The sum of the exposure duration between the duration and the fourth exposure duration is less than the preview exposure duration threshold, the fourth exposure duration is less than the preset exposure duration, and the preset exposure duration is less than the third exposure duration, the third exposure duration The duration is within the third exposure duration range; the third exposure image is discarded, and based on the first exposure image and the second exposure image, a high dynamic range preview image is synthesized to obtain a high dynamic range preview image.
一种实施方式中,在图像预览阶段,所述合成单元采用如下方式基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像以及具有第二曝光时长的第二曝光图像;基于所述第一曝光图像和所述第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, the synthesis unit performs high dynamic range preview image synthesis based on the first exposure image and the second exposure image in the following manner to obtain a high dynamic range preview image: if an image preview instruction is received: , output a first exposure image with a first exposure duration and a second exposure image with a second exposure duration; based on the first exposure image and the second exposure image, perform high dynamic range preview image synthesis to obtain a high dynamic range Dynamic range preview image.
根据本公开实施例第三方面,提供一种高动态范围图像拍照装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a high dynamic range image photographing device, including:
处理器;用于存储处理器可执行指令的存储器;processor; memory for storing processor-executable instructions;
其中,所述处理器被配置为:执行第一方面或者第一方面任意一种实施方式中所述的高动态范围图像拍照方法。Wherein, the processor is configured to: execute the high dynamic range image photographing method described in the first aspect or any implementation manner of the first aspect.
根据本公开实施例第四方面,提供一种存储介质,所述存储介质中存储有指令,当所述存储介质中的指令由图像采集设备的处理器执行时,使得图像采集设备能够执行第一方面或者第一方面任意一种实施方式中所述的高动态范围图像拍照方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, where instructions are stored in the storage medium, and when the instructions in the storage medium are executed by a processor of an image capturing device, the image capturing device can execute the first Aspect or the high dynamic range image photographing method described in any one of the implementation manners of the first aspect.
本公开的实施例提供的技术方案可以包括以下有益效果:响应于图像采集设备启动交错式曝光传感器进行高动态范围图像拍照,控制交错式曝光传感器曝光得到三帧曝光图像。若接收到图像拍照指令,则输出用于高动态范围拍照图像合成的三帧曝光图像。将三帧曝光图像进行高动态范围拍照图像合成,得到高动态范围拍照图像。通过使用交错式曝光传感器在相同时刻下输出的三帧图像参进行高动态范围拍照图像合成,能够使得到的高动态范围拍照图像有较高的清晰度。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: in response to the image acquisition device starting the staggered exposure sensor to take high dynamic range images, controlling the staggered exposure sensor to expose three frames of exposure images. If an image photographing instruction is received, three frames of exposure images for composing high dynamic range photographed images are output. The three frames of exposure images are combined with high dynamic range photographed images to obtain high dynamic range photographed images. By using three frames of image parameters output by the staggered exposure sensor at the same time to synthesize the high dynamic range photographed image, the obtained high dynamic range photographed image can have higher definition.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种高动态范围图像拍照方法的流程图。Fig. 1 is a flow chart of a method for photographing a high dynamic range image according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种高动态范围图像拍照方法的流程图。Fig. 2 is a flow chart of another method for photographing a high dynamic range image according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种获取高动态范围预览图像的方法流程图。Fig. 3 is a flowchart of a method for acquiring a high dynamic range preview image according to an exemplary embodiment.
图4是根据一示例性实施例示出的另一种获取高动态范围预览图像的方法流程图。Fig. 4 is a flowchart of another method for acquiring a high dynamic range preview image according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种获取高动态范围预览图像的流程示意图。FIG. 5 is a schematic flowchart of acquiring a high dynamic range preview image according to an exemplary embodiment.
图6是根据一示例性实施例示出的另一种获取高动态范围预览图像的流程示意图。Fig. 6 is another schematic flowchart of acquiring a high dynamic range preview image according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种高动态范围图像拍照装置框图。Fig. 7 is a block diagram of a high dynamic range image photographing apparatus according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种用于高动态范围图像拍照的装置的框图。Fig. 8 is a block diagram of an apparatus for photographing a high dynamic range image according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开实施例提供的高动态范围图像拍照方法可以应用于安装有交错式曝光传感器(stagger exposure sensor)的图像采集设备进行高动态范围(High Dynamic Range,HDR)图像拍照的场景中。其中,具有交错式曝光传感器的图像采集设备能够在进行高动态范围图像拍照的过程中,控制交错式曝光传感器曝光得到不同曝光时长的图像。The high dynamic range image photographing method provided by the embodiments of the present disclosure may be applied to a scene where an image acquisition device equipped with a stagger exposure sensor (stagger exposure sensor) performs high dynamic range (High Dynamic Range, HDR) image photographing. Wherein, the image acquisition device with the staggered exposure sensor can control the staggered exposure sensor to expose to obtain images with different exposure durations during the process of taking a high dynamic range image.
相关技术中,一种高动态范围图像拍照方法中,可以在进行高动态范围图像拍照时,控制交错式曝光传感器曝光得到两帧图像(短曝光图像以及中曝光图像)。将得到的两帧图像进行高动态范围拍照图像合成,得到高动态范围拍照图像。通过该方法进行高动态范围拍照图像合成,得到的高动态范围拍照图像清晰度较低。相关技术提供的另一种高动态范围图像拍照方法中,可以在进行高动态范围图像拍照时,控制交错式曝光传感器曝光得到两帧图像(短曝光图像以及中曝光图像)。将得到的两帧图像与后续曝光得到的长曝光图像进行高动态范围拍照图像合成,得到高动态范围拍照图像。由于该方法进行高动态范围拍照图像合成的过程中,使用的长曝光图像为后续曝光得到,故,会使得到的高动态范围拍照图像产生较多的鬼影。In the related art, in a high dynamic range image photographing method, two frames of images (a short exposure image and a medium exposure image) can be obtained by controlling the exposure of the interlaced exposure sensor when the high dynamic range image is photographed. The obtained two frames of images are combined with high dynamic range photographed images to obtain high dynamic range photographed images. The high dynamic range photographed image is synthesized by this method, and the obtained high dynamic range photographed image has low definition. In another high dynamic range image photographing method provided by the related art, when photographing a high dynamic range image, two frames of images (a short exposure image and a medium exposure image) can be obtained by controlling the exposure of the interlaced exposure sensor. The obtained two frames of images and the long-exposure image obtained by subsequent exposure are combined with a high dynamic range photographed image to obtain a high dynamic range photographed image. Since the long-exposure image used in the process of synthesizing the high-dynamic-range photographed image is obtained by subsequent exposure, the obtained high-dynamic-range photographed image will produce more ghost images.
有鉴于此,本公开实施例提供了一种高动态范围图像拍照方法,可以在进行高动态范围图像拍照时,控制交错式曝光传感器曝光得到三帧图像(短曝光图像、中曝光图像以及长曝光图像)。将相同时刻输出的三帧图像进行高动态范围拍照图像合成,得到高动态范围拍照图像。通过本公开可以提升高动态范围拍照图像的清晰度。In view of this, an embodiment of the present disclosure provides a method for photographing a high dynamic range image, which can control the exposure of an interlaced exposure sensor to obtain three frames of images (a short exposure image, a medium exposure image and a long exposure image) when taking a high dynamic range image. image). The three frames of images output at the same time are combined with high dynamic range photographed images to obtain high dynamic range photographed images. Through the present disclosure, the sharpness of the high dynamic range photographed image can be improved.
图1是根据一示例性实施例示出的一种高动态范围图像拍照方法的流程图,如图1所示,高动态范围图像拍照方法用于安装有交错式曝光传感器的图像采集设备中,包括以下步骤。FIG. 1 is a flow chart of a method for photographing a high dynamic range image according to an exemplary embodiment. As shown in FIG. 1 , the method for photographing a high dynamic range image is used in an image acquisition device equipped with an interlaced exposure sensor, including: following steps.
在步骤S11中,响应于图像采集设备启动交错式曝光传感器进行高动态范围图像拍照,控制交错式曝光传感器曝光得到第一曝光图像、第二曝光图像以及第三曝光图像。In step S11, in response to the image acquisition device starting the staggered exposure sensor to take a high dynamic range image, the staggered exposure sensor is controlled to expose a first exposure image, a second exposure image and a third exposure image.
本公开实施例中,第一曝光图像、第二曝光图像以及第三曝光图像可以理解为具有不同曝光时长的曝光图像。In the embodiment of the present disclosure, the first exposure image, the second exposure image, and the third exposure image may be understood as exposure images having different exposure durations.
在步骤S12中,在接收到图像拍照指令的情况下,输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像。In step S12, when an image photographing instruction is received, output a first exposure image, a second exposure image and a third exposure image for synthesizing the high dynamic range photographed image.
在步骤S13中,基于第一曝光图像、第二曝光图像以及第三曝光图像,进行高动态范围拍照图像合成,得到高动态范围拍照图像。In step S13, based on the first exposure image, the second exposure image and the third exposure image, a high dynamic range photographed image is synthesized to obtain a high dynamic range photographed image.
本公开实施例中,用于进行高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像是同时输出的。将第一曝光图像、第二曝光图像以及第三曝光图像进行高动态范围拍照图像合成,可以得到清晰度较高的高动态范围拍照图像,减少了高动态范围拍照图像的鬼影。In the embodiment of the present disclosure, the first exposure image, the second exposure image, and the third exposure image used for synthesizing the high dynamic range photographic image are output simultaneously. The first exposure image, the second exposure image and the third exposure image are combined with a high dynamic range photographed image, so that a high dynamic range photographed image with higher definition can be obtained, and ghosting of the high dynamic range photographed image can be reduced.
一示例中,控制交错式曝光传感器曝光得到的第一曝光图像、第二曝光图像以及第三曝光图像可以是具有不同曝光时长的曝光图像。In an example, the first exposure image, the second exposure image and the third exposure image obtained by controlling the exposure of the staggered exposure sensor may be exposure images with different exposure durations.
本公开实施例中,为便于描述,将短曝光时长称为第一曝光时长,将中曝光时长称为第二曝光时长,将长曝光时长称为第三曝光时长。In the embodiments of the present disclosure, for convenience of description, the short exposure duration is referred to as the first exposure duration, the medium exposure duration is referred to as the second exposure duration, and the long exposure duration is referred to as the third exposure duration.
图2是根据一示例性实施例示出的一种高动态范围图像拍照方法的流程图,如图2所示,本公开实施例提供的高动态范围图像拍照方法中的步骤S21和步骤S23的实施过程与图1所示的步骤S11和步骤S13执行方法相似,在此不再赘述。FIG. 2 is a flowchart of a method for photographing a high dynamic range image according to an exemplary embodiment. As shown in FIG. 2 , the implementation of step S21 and step S23 in the method for photographing a high dynamic range image provided by an embodiment of the present disclosure The process is similar to the execution method of step S11 and step S13 shown in FIG. 1 , and details are not repeated here.
在步骤S22中,在接收到图像拍照指令的情况下,输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第三曝光时长的第三曝光图像。In step S22, in the case of receiving an image photographing instruction, output a first exposure image with a first exposure duration, a second exposure image with a second exposure duration, and a third exposure image with a third exposure duration.
其中,第一曝光时长处于第一曝光时长范围内,第二曝光时长处于第二曝光时长范围内,第三曝光时长处于第三曝光时长范围内。第一曝光时长范围的最大曝光时长小于第二曝光时长范围内的最小曝光时长,第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。The first exposure duration is within the first exposure duration range, the second exposure duration is within the second exposure duration range, and the third exposure duration is within the third exposure duration range. The maximum exposure duration in the first exposure duration range is smaller than the minimum exposure duration in the second exposure duration range, and the maximum exposure duration in the second exposure duration range is smaller than the minimum exposure duration in the third exposure duration range.
在本公开实施例提供的高动态范围图像拍照方法中,交错式曝光传感器曝光得到的曝光图像可以为具有不同曝光时长的曝光图像。将具有不同曝光时长的曝光图像进行高动态范围拍照图像合成,能够进一步提高高动态范围拍照图像的清晰度。In the high dynamic range image photographing method provided by the embodiment of the present disclosure, the exposure images obtained by the exposure of the staggered exposure sensors may be exposure images with different exposure durations. Combining exposure images with different exposure durations to high dynamic range photographed images can further improve the clarity of the high dynamic range photographed images.
本公开实施例中,在图像预览阶段,可以将第一曝光图像与第二曝光图像进行高动态范围预览图像合成,得到高动态范围预览图像。In the embodiment of the present disclosure, in the image preview stage, the first exposure image and the second exposure image may be combined with a high dynamic range preview image to obtain a high dynamic range preview image.
其中,第一曝光图像具有第一曝光时长,第二曝光图像具有第二曝光时长,第一曝光时长处于第一曝光时长范围内,第二曝光时长处于第二曝光时长范围内。第一曝光时长范围的最大曝光时长小于第二曝光时长范围内的最小曝光时长,第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。The first exposure image has a first exposure duration, the second exposure image has a second exposure duration, the first exposure duration is within the range of the first exposure duration, and the second exposure duration is within the range of the second exposure duration. The maximum exposure duration in the first exposure duration range is smaller than the minimum exposure duration in the second exposure duration range, and the maximum exposure duration in the second exposure duration range is smaller than the minimum exposure duration in the third exposure duration range.
本公开实施例中,在输出第一曝光图像、第二曝光图像以及第三曝光图像的情况下,可以选用第一曝光图像以及第二曝光图像进行高动态范围预览图像合成,而无需选用第三曝光图像,从而降低高动态范围预览图像合成的功耗。In the embodiment of the present disclosure, in the case of outputting the first exposure image, the second exposure image, and the third exposure image, the first exposure image and the second exposure image can be selected to perform high dynamic range preview image synthesis, and there is no need to select the third exposure image. Expose the image, thereby reducing power consumption for high dynamic range preview image composition.
图3是根据一示例性实施例示出的一种获取高动态范围预览图像的方法流程图,如图3所示,包括以下步骤。Fig. 3 is a flowchart of a method for acquiring a high dynamic range preview image according to an exemplary embodiment, as shown in Fig. 3 , including the following steps.
在步骤S31中,在接收到图像预览指令的情况下,输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第四曝光时长的第三曝光图像。In step S31, when an image preview instruction is received, a first exposure image with a first exposure duration, a second exposure image with a second exposure duration, and a third exposure image with a fourth exposure duration are output.
其中,第一曝光时长、第二曝光时长以及第四曝光时长之间的曝光时长总和小于预览曝光时长阈值,第四曝光时长小于预设曝光时长,且预设曝光时长小于第三曝光时长,第三曝光时长处于第三曝光时长范围内。The sum of the exposure durations among the first exposure duration, the second exposure duration, and the fourth exposure duration is less than the preview exposure duration threshold, the fourth exposure duration is less than the preset exposure duration, and the preset exposure duration is less than the third exposure duration, and the third exposure duration is less than the third exposure duration. The triple exposure duration is within the range of the third exposure duration.
在步骤S32中,丢弃第三曝光图像,并基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In step S32, the third exposure image is discarded, and based on the first exposure image and the second exposure image, a high dynamic range preview image is synthesized to obtain a high dynamic range preview image.
本公开实施例中,通过减小第三曝光图像的曝光时长,可以保证高动态范围预览图像的预览画面帧率。In the embodiment of the present disclosure, by reducing the exposure duration of the third exposure image, the preview frame rate of the high dynamic range preview image can be guaranteed.
一示例中,由于以第四曝光时长采集第三曝光图像,会使第三曝光图像产生较多的鬼影。故,可以在高动态范围预览图像合成的过程中弃用第三曝光图像,以保证高动态范围预览图像的清晰度。此外,仅使用第一曝光图像和第二曝光图像进行高动态范围预览图像合成,可以降低图像采集设备的功耗,提升高动态范围预览图像合成的效率。In an example, since the third exposure image is acquired with the fourth exposure duration, more ghost images will be generated in the third exposure image. Therefore, the third exposure image can be discarded in the process of synthesizing the high dynamic range preview image, so as to ensure the clarity of the high dynamic range preview image. In addition, only using the first exposure image and the second exposure image to perform high dynamic range preview image composition can reduce the power consumption of the image acquisition device and improve the efficiency of high dynamic range preview image composition.
另一示例中,在接收到图像预览指令的情况下,可以输出第一曝光图像以及第二曝光图像,并通过第一曝光图像以及第二曝光图像合成得到高动态范围预览图像。In another example, when an image preview instruction is received, a first exposure image and a second exposure image may be output, and a high dynamic range preview image may be obtained by combining the first exposure image and the second exposure image.
图4是根据一示例性实施例示出的一种获取高动态范围预览图像的方法流程图,如图4所示,包括以下步骤。Fig. 4 is a flowchart of a method for acquiring a high dynamic range preview image according to an exemplary embodiment. As shown in Fig. 4 , the method includes the following steps.
在步骤S41中,在接收到图像预览指令的情况下,输出具有第一曝光时长的第一曝光图像以及具有第二曝光时长的第二曝光图像。In step S41, when an image preview instruction is received, a first exposure image with a first exposure duration and a second exposure image with a second exposure duration are output.
在步骤S42中,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In step S42, based on the first exposure image and the second exposure image, a high dynamic range preview image is synthesized to obtain a high dynamic range preview image.
本公开实施例中,在接收到图像预览指令的情况下,可以输出第一曝光图像以及第二曝光图像,而无需输出第三曝光图像,从而降低曝光图像输出的功耗。In the embodiment of the present disclosure, when an image preview instruction is received, the first exposure image and the second exposure image can be output without outputting the third exposure image, thereby reducing the power consumption of outputting the exposure image.
本公开实施例提供的高动态范围图像拍照方法,可以保证高动态范围预览图像的预览画面帧率,且合成得到的高动态范围预览图像有较高的清晰度。The high dynamic range image photographing method provided by the embodiment of the present disclosure can ensure the preview frame rate of the high dynamic range preview image, and the synthesized high dynamic range preview image has higher definition.
图5是根据一示例性实施例示出的一种获取高动态范围预览图像的流程示意图。如图5所示,在图像预览阶段,交错式曝光传感器输出短曝光帧图像(第一曝光时长)、中曝光帧图像(第二曝光时长)以及长曝光帧图像(第四曝光时长)。为保证预览画面连续不卡顿,通常需要保证预览画面的帧率不小于帧率阈值(例如30FPS)。故,需要保证长曝光帧图像、中曝光帧图像以及短曝光帧图像之间的曝光时长总和小于预览曝光时长阈值(例如33ms)。例如,可以将长曝光帧图像的曝光时长(第四曝光时长)设置为小于预设曝光时长。该方法可以使长曝光帧图像的曝光时长足够小,从而满足使短曝光帧图像、中曝光帧图像以及长曝光帧图像之间的曝光时长总和能够小于预览曝光时长阈值。为保证高动态范围预览图像的合成效果,可以将以第四曝光时长曝光得到的长曝光帧图像弃用,并采用曝光得到的短曝光帧图像以及中曝光图像进行高动态范围预览图像合成,得到所需的高动态范围预览图像。此外,当使用具有交错式曝光传感器的图像采集设备拍照时,由于高动态范围拍照图像不需要保证帧率。故,短曝光帧图像、中曝光帧图像以及长曝光帧图像之间的曝光时长总和可以超过预览曝光时长阈值。例如,在接收到图像拍照指令的情况下,可以将长曝光帧图像的曝光时长恢复至正常曝光时长(第三曝光时长),并通过交错式曝光传感器输出短曝光帧图像(第一曝光时长)、中曝光帧图像(第二曝光时长)以及长曝光帧图像(第三曝光时长)。将短曝光帧图像、中曝光帧图像以及长曝光帧图像进行高动态范围拍照图像合成,能够得到所需的高动态范围拍照图像。FIG. 5 is a schematic flowchart of acquiring a high dynamic range preview image according to an exemplary embodiment. As shown in FIG. 5 , in the image preview stage, the staggered exposure sensor outputs a short exposure frame image (first exposure duration), a medium exposure frame image (second exposure duration) and a long exposure frame image (fourth exposure duration). In order to ensure that the preview picture is continuous and not stuck, it is usually necessary to ensure that the frame rate of the preview picture is not less than the frame rate threshold (for example, 30FPS). Therefore, it is necessary to ensure that the total exposure duration between the long-exposure frame image, the medium-exposure frame image, and the short-exposure frame image is less than the preview exposure duration threshold (eg, 33 ms). For example, the exposure duration (the fourth exposure duration) of the long-exposure frame image may be set to be smaller than the preset exposure duration. The method can make the exposure duration of the long exposure frame image small enough, so that the sum of the exposure duration between the short exposure frame image, the medium exposure frame image and the long exposure frame image can be smaller than the preview exposure duration threshold. In order to ensure the synthesis effect of the high dynamic range preview image, the long exposure frame image obtained by the long exposure in the fourth exposure time can be discarded, and the short exposure frame image obtained by the exposure and the medium exposure image are used to synthesize the high dynamic range preview image. The desired high dynamic range preview image. In addition, when taking pictures using an image capture device with an interleaved exposure sensor, the frame rate does not need to be guaranteed due to the high dynamic range of taking pictures. Therefore, the sum of the exposure durations among the short-exposure frame images, the middle-exposure frame images, and the long-exposure frame images may exceed the preview exposure duration threshold. For example, in the case of receiving an image photographing instruction, the exposure duration of the long-exposure frame image can be restored to the normal exposure duration (third exposure duration), and the short-exposure frame image (first exposure duration) is output through the staggered exposure sensor. , medium exposure frame images (second exposure duration), and long exposure frame images (third exposure duration). The short-exposure frame image, the medium-exposure frame image, and the long-exposure frame image are combined with the high-dynamic-range photographic image to obtain the required high-dynamic-range photographic image.
图6是根据一示例性实施例示出的一种获取高动态范围预览图像的流程示意图。如图6所示,在图像预览阶段,交错式曝光传感器输出短曝光帧图像(第一曝光时长)以及中曝光帧图像(第二曝光时长)。将输出的短曝光帧图像中曝光帧图像合成,能够得到所需的高动态范围预览图像。此外,当使用具有交错书曝光传感器的图像采集设备拍照时,交错式曝光传感器输出短曝光帧图像(第一曝光时长)、中曝光帧图像(第二曝光时长)以及长曝光帧图像(第三曝光时长)。将输出的短曝光帧图像、中曝光帧图像以及长曝光帧图像进行高动态范围拍照图像合成,能够得到高动态范围拍照图像。FIG. 6 is a schematic flowchart of acquiring a high dynamic range preview image according to an exemplary embodiment. As shown in FIG. 6 , in the image preview stage, the staggered exposure sensor outputs a short exposure frame image (first exposure duration) and a medium exposure frame image (second exposure duration). By synthesizing the exposure frame images in the output short exposure frame images, the required high dynamic range preview image can be obtained. In addition, when taking pictures using an image capturing device having a staggered book exposure sensor, the staggered exposure sensor outputs a short-exposure frame image (first exposure duration), a medium-exposure frame image (second exposure duration), and a long-exposure frame image (third exposure duration). exposure time). A high dynamic range photographed image can be obtained by synthesizing the output short exposure frame image, medium exposure frame image and long exposure frame image with a high dynamic range photographed image.
在本公开实施例提供的高动态范围图像拍照方法中,可以在进行高动态范围图像拍照时,控制交错式曝光传感器曝光得到短曝光帧图像、中曝光帧图像以及长曝光帧图像。在不需要长曝光帧参与高动态范围图像合成时(高动态范围预览图像合成),只输出短曝光帧图像以及中曝光帧图像,而不输出长曝光帧图像。在需要长曝光帧参与高动态范围图像合成时(高动态范围拍照图像合成),输出短曝光帧图像、中曝光帧图像以及长曝光帧图像。该方法能够保证在输出两帧图像切换至输出三帧图像的情况下,预览界面不停顿,实现了两帧到三帧的动态平滑切换。In the high dynamic range image photographing method provided by the embodiment of the present disclosure, when photographing a high dynamic range image, the interlaced exposure sensor can be controlled to expose a short exposure frame image, a medium exposure frame image and a long exposure frame image. When the long exposure frame is not required to participate in the high dynamic range image composition (high dynamic range preview image composition), only the short exposure frame image and the medium exposure frame image are output, and the long exposure frame image is not output. When the long exposure frame is required to participate in the high dynamic range image synthesis (high dynamic range photographic image synthesis), the short exposure frame image, the medium exposure frame image and the long exposure frame image are output. The method can ensure that the preview interface does not pause when switching from outputting two frames of images to outputting three frames of images, and realizes dynamic and smooth switching from two frames to three frames.
一示例中,如图5以及图6所示,在交错式曝光传感器曝光得到短曝光帧图像、中曝光帧图像以及长曝光帧曝光图像的情况下,可以分别在短曝光帧图像、中曝光帧图像以及长曝光帧曝光图像中确定基准帧图像。一实施方式中,可以将具有相同曝光时长的基准帧图像与相邻帧图像进行图像合成,得到清晰度更高的基准帧。进一步的,可以输出得到的短曝光帧图像、中曝光帧图像以及长曝光帧曝光图像所对应的基准帧图像,并通过输出的基准帧图像进行高动态范围图像合成,得到高动态范围图像。In an example, as shown in FIG. 5 and FIG. 6 , in the case where a short-exposure frame image, a medium-exposure frame image, and a long-exposure frame exposure image are obtained by exposing the staggered exposure sensor, the short-exposure frame image and the medium-exposure frame image can be obtained respectively. The reference frame image is determined from the image and the long exposure frame exposure image. In one embodiment, a reference frame image with the same exposure duration and an adjacent frame image may be combined to obtain a reference frame with higher definition. Further, reference frame images corresponding to the obtained short exposure frame images, medium exposure frame images and long exposure frame exposure images can be output, and high dynamic range images are synthesized by using the output reference frame images to obtain high dynamic range images.
本公开实施例中,在图像预览阶段,可以使用交错式传感器曝光得到的短曝光帧图像以及中曝光帧图像进行高动态范围预览图像合成,得到高动态范围预览图像。在接收到拍照指令的情况下,可以使用交错式传感器曝光得到的短曝光帧图像、中曝光帧图像以及长曝光帧图像进行高动态范围拍照图像合成,得到高动态范围拍照图像。通过本公开可以提高高动态范围拍照图像的清晰度,且由图像预览阶段切换至拍照的过程平滑连续,不会卡顿。In the embodiment of the present disclosure, in the image preview stage, the short-exposure frame image and the medium-exposure frame image obtained by the interlaced sensor exposure may be used to synthesize the high-dynamic-range preview image to obtain the high-dynamic-range preview image. In the case of receiving the photographing instruction, the short exposure frame image, the medium exposure frame image and the long exposure frame image obtained by the interlaced sensor exposure can be used to synthesize the high dynamic range photographed image to obtain the high dynamic range photographed image. By means of the present disclosure, the sharpness of the high dynamic range photographed image can be improved, and the process of switching from the image preview stage to the photographing can be smooth and continuous without being stuck.
基于相同的构思,本公开实施例还提供一种高动态范围图像拍照装置。Based on the same concept, an embodiment of the present disclosure also provides a high dynamic range image photographing device.
可以理解的是,本公开实施例提供的高动态范围图像拍照装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It can be understood that, in order to realize the above-mentioned functions, the high dynamic range image photographing apparatus provided by the embodiments of the present disclosure includes corresponding hardware structures and/or software modules for executing each function. Combining with the units and algorithm steps of each example disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present disclosure.
图7是根据一示例性实施例示出的一种高动态范围图像拍照装置框图。参照图7,该装置100包括控制单元101,输出单元102和合成单元103。Fig. 7 is a block diagram of a high dynamic range image photographing apparatus according to an exemplary embodiment. Referring to FIG. 7 , the
控制单元101,响应于图像采集设备启动交错式曝光传感器进行高动态范围图像拍照,控制交错式曝光传感器曝光得到第一曝光图像、第二曝光图像以及第三曝光图像。输出单元102,在接收到图像拍照指令的情况下,输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像。合成单元103,基于第一曝光图像、第二曝光图像以及第三曝光图像,进行高动态范围拍照图像合成,得到高动态范围拍照图像。The control unit 101 controls the staggered exposure sensor to expose the first exposure image, the second exposure image and the third exposure image in response to the image acquisition device starting the staggered exposure sensor to take a high dynamic range image. The
一种实施方式中,输出单元102采用如下方式输出用于高动态范围拍照图像合成的第一曝光图像、第二曝光图像以及第三曝光图像:输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第三曝光时长的第三曝光图像。其中,第一曝光时长处于第一曝光时长范围内,第二曝光时长处于第二曝光时长范围内,第三曝光时长处于第三曝光时长范围内。第一曝光时长范围的最大曝光时长小于第二曝光时长范围内的最小曝光时长,第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。In one embodiment, the
一种实施方式中,合成单元103还用于:在图像预览阶段,基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。第一曝光图像具有第一曝光时长,第二曝光图像具有第二曝光时长,第一曝光时长处于第一曝光时长范围内,第二曝光时长处于第二曝光时长范围内。第一曝光时长范围的最大曝光时长小于第二曝光时长范围内的最小曝光时长,第二曝光时长范围内的最大曝光时长小于第三曝光时长范围内的最小曝光时长。In one embodiment, the synthesizing
一种实施方式中,在图像预览阶段,合成单元103采用如下方式基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像、具有第二曝光时长的第二曝光图像以及具有第四曝光时长的第三曝光图像。其中,第一曝光时长、第二曝光时长以及第四曝光时长之间的曝光时长总和小于预览曝光时长阈值,第四曝光时长小于预设曝光时长,且预设曝光时长小于第三曝光时长,第三曝光时长处于第三曝光时长范围内。丢弃第三曝光图像,并基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, the
一种实施方式中,在图像预览阶段,合成单元103采用如下方式基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像:若接收到图像预览指令,则输出具有第一曝光时长的第一曝光图像以及具有第二曝光时长的第二曝光图像。基于第一曝光图像和第二曝光图像,进行高动态范围预览图像合成,得到高动态范围预览图像。In one embodiment, in the image preview stage, the
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图8是根据一示例性实施例示出的一种用于高动态范围图像拍照的装置200的框图。例如,装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 8 is a block diagram of an
参照图8,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)接口212,传感器组件214,以及通信组件216。8,
处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。The
存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件206为装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。
多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。
I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,例如所述组件为装置200的显示器和小键盘,传感器组件214还可以检测装置200或装置200一个组件的位置改变,用户与装置200接触的存在或不存在,装置200方位或加速/减速和装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由装置200的处理器220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It should be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship. The singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It is further understood that the terms "first", "second", etc. are used to describe various information, but the information should not be limited to these terms. These terms are only used to distinguish the same type of information from one another, and do not imply a particular order or level of importance. In fact, the expressions "first", "second" etc. are used completely interchangeably. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure.
进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It should be further understood that, unless otherwise specified, "connection" includes a direct connection between the two without other components, and also includes an indirect connection between the two with other elements.
进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It is further to be understood that, although the operations in the embodiments of the present disclosure are described in a specific order in the drawings, it should not be construed as requiring that the operations be performed in the specific order shown or the serial order, or requiring Perform all operations shown to obtain the desired result. In certain circumstances, multitasking and parallel processing may be advantageous.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily suggest themselves to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110335518.0A CN115134511B (en) | 2021-03-29 | 2021-03-29 | A high dynamic range image photographing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110335518.0A CN115134511B (en) | 2021-03-29 | 2021-03-29 | A high dynamic range image photographing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115134511A true CN115134511A (en) | 2022-09-30 |
CN115134511B CN115134511B (en) | 2024-12-13 |
Family
ID=83375700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110335518.0A Active CN115134511B (en) | 2021-03-29 | 2021-03-29 | A high dynamic range image photographing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115134511B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024220252A1 (en) * | 2023-04-21 | 2024-10-24 | Qualcomm Incorporated | Method and apparatus for image capturing |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130065004A (en) * | 2011-12-09 | 2013-06-19 | 엘지이노텍 주식회사 | Apparatus and method for abtaing high dynamic range image |
US20150042836A1 (en) * | 2013-08-08 | 2015-02-12 | Quanta Computer Inc. | Method for Controlling Exposure Time of High Dynamic Range Image |
CN107395998A (en) * | 2017-08-24 | 2017-11-24 | 维沃移动通信有限公司 | A kind of image capturing method and mobile terminal |
CN107613218A (en) * | 2017-09-15 | 2018-01-19 | 维沃移动通信有限公司 | A high dynamic range image shooting method and mobile terminal |
CN108391059A (en) * | 2018-03-23 | 2018-08-10 | 华为技术有限公司 | A kind of method and apparatus of image procossing |
CN109413335A (en) * | 2017-08-16 | 2019-03-01 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of double exposure synthesis HDR image |
CN110035233A (en) * | 2019-04-09 | 2019-07-19 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
US20190281219A1 (en) * | 2018-03-06 | 2019-09-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Imaging Control Method, Imaging Device, and Computer Readable Storage Medium |
CN110381263A (en) * | 2019-08-20 | 2019-10-25 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
CN110581956A (en) * | 2019-08-26 | 2019-12-17 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic device |
-
2021
- 2021-03-29 CN CN202110335518.0A patent/CN115134511B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130065004A (en) * | 2011-12-09 | 2013-06-19 | 엘지이노텍 주식회사 | Apparatus and method for abtaing high dynamic range image |
US20150042836A1 (en) * | 2013-08-08 | 2015-02-12 | Quanta Computer Inc. | Method for Controlling Exposure Time of High Dynamic Range Image |
CN109413335A (en) * | 2017-08-16 | 2019-03-01 | 福州瑞芯微电子股份有限公司 | A kind of method and apparatus of double exposure synthesis HDR image |
CN107395998A (en) * | 2017-08-24 | 2017-11-24 | 维沃移动通信有限公司 | A kind of image capturing method and mobile terminal |
CN107613218A (en) * | 2017-09-15 | 2018-01-19 | 维沃移动通信有限公司 | A high dynamic range image shooting method and mobile terminal |
US20190281219A1 (en) * | 2018-03-06 | 2019-09-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Imaging Control Method, Imaging Device, and Computer Readable Storage Medium |
CN108391059A (en) * | 2018-03-23 | 2018-08-10 | 华为技术有限公司 | A kind of method and apparatus of image procossing |
CN110035233A (en) * | 2019-04-09 | 2019-07-19 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN110381263A (en) * | 2019-08-20 | 2019-10-25 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
CN110581956A (en) * | 2019-08-26 | 2019-12-17 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic device |
Non-Patent Citations (3)
Title |
---|
FENG QI: "HDR Video Production Process Based on Optical Principle", 《2019 IEEE/ACIS 18TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS)》, 27 December 2019 (2019-12-27) * |
华顺刚;王丽丹;欧宗瑛;: "基于多幅不同曝光量照片的场景高动态范围图像合成", 大连理工大学学报, no. 05, 15 September 2007 (2007-09-15) * |
龚尚: "高动态范围病理图像的生成与增强技术的研究与实现", 《中国优秀硕士学位论文全文数据库》, 15 August 2017 (2017-08-15) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024220252A1 (en) * | 2023-04-21 | 2024-10-24 | Qualcomm Incorporated | Method and apparatus for image capturing |
Also Published As
Publication number | Publication date |
---|---|
CN115134511B (en) | 2024-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6205065B2 (en) | Imaging method, imaging apparatus, program, and storage medium | |
US11539888B2 (en) | Method and apparatus for processing video data | |
CN106375676A (en) | Camera control method and device for terminal equipment, and terminal equipment | |
CN106131416A (en) | Double camera zoom processing method, device and mobile terminal | |
CN104754227A (en) | Method and device for shooting video | |
WO2022021932A1 (en) | De-noising method and apparatus, and electronic device, storage medium and computer program product | |
CN115002332A (en) | Shooting processing method, device, electronic device and storage medium | |
CN114820296A (en) | Image processing method and device, electronic device and storage medium | |
CN111343386B (en) | Image signal processing method and device, electronic device and storage medium | |
CN115134511B (en) | A high dynamic range image photographing method, device and storage medium | |
EP3926944A1 (en) | Method and apparatus for displaying captured preview image, and medium | |
CN112468686A (en) | Camera module and mobile terminal with same | |
CN112468684A (en) | Camera module and mobile terminal with same | |
CN116843603A (en) | Image processing method and device, electronic equipment, storage medium | |
CN114079724B (en) | Taking-off snapshot method, device and storage medium | |
CN111698414B (en) | Image signal processing method and device, electronic device and readable storage medium | |
CN112468683B (en) | Camera module and mobile terminal having the same | |
CN210670245U (en) | Camera module and mobile terminal with the camera module | |
CN210670246U (en) | Camera module and mobile terminal with same | |
CN115733913B (en) | Continuous photographing method and device and storage medium | |
CN114677287B (en) | Image fusion method, image fusion device and storage medium | |
CN113840093B (en) | Image generation method and device | |
CN111225158B (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN111698415B (en) | Image acquisition control method and image acquisition control device | |
CN119450232A (en) | Photographing method, device and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |