+

CN108683861A - Shooting exposure control method and device, imaging device and electronic device - Google Patents

Shooting exposure control method and device, imaging device and electronic device Download PDF

Info

Publication number
CN108683861A
CN108683861A CN201810886718.3A CN201810886718A CN108683861A CN 108683861 A CN108683861 A CN 108683861A CN 201810886718 A CN201810886718 A CN 201810886718A CN 108683861 A CN108683861 A CN 108683861A
Authority
CN
China
Prior art keywords
exposure
pixel
brightness value
photosensitive
unit array
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
Application number
CN201810886718.3A
Other languages
Chinese (zh)
Inventor
黄杰文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810886718.3A priority Critical patent/CN108683861A/en
Publication of CN108683861A publication Critical patent/CN108683861A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The application provides a shooting exposure control method, a shooting exposure control device, an imaging device and an electronic device, wherein the method is used for the imaging device, the imaging device comprises a pixel unit array composed of a plurality of photosensitive pixels, and the method comprises the following steps: controlling each photosensitive pixel in the pixel unit array to measure the environmental brightness value; determining an environment brightness value corresponding to each area of the pixel unit array according to the measurement result of the environment brightness value; and controlling the photosensitive pixels in each area to shoot by adopting a corresponding exposure mode according to the environment brightness value measured in each area. The method can be used for carrying out the partitioned exposure treatment on the pixel unit array, namely controlling the photosensitive pixels in each area to shoot by adopting a proper exposure mode according to the environment brightness value measured in each area, so that the signal-to-noise ratio of a darker area in a picture can be improved, a target image with better definition can be obtained, and the shooting experience of a user can be improved.

Description

拍摄曝光控制方法、装置、成像设备和电子设备Shooting exposure control method, device, imaging device and electronic device

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种拍摄曝光控制方法、装置、成像设备和电子设备。The present application relates to the technical field of electronic equipment, and in particular to a shooting exposure control method, device, imaging equipment and electronic equipment.

背景技术Background technique

随着终端技术的不断发展,越来越多的用户使用电子设备拍摄图像。在暗光环境下,当用户使用电子设备的前置摄像头自拍时,由于用户处于光源和电子设备之间,容易造成人脸曝光不充分的情况发生。如果通过调节曝光来提高人脸亮度,则会使背景区域过曝光,甚至无法看清自拍的场景。With the continuous development of terminal technologies, more and more users use electronic devices to capture images. In a dark environment, when the user uses the front camera of the electronic device to take a selfie, since the user is between the light source and the electronic device, insufficient exposure of the face may easily occur. If the brightness of the face is increased by adjusting the exposure, the background area will be overexposed, and the scene of the selfie cannot even be seen clearly.

现有技术中,通过高动态范围(High Dynamic Range,简称HDR)技术,控制像素阵列以不同的曝光时间依次曝光输出多帧图像,再融合多帧图像计算得到高动态范围,以改善人脸和背景区域的成像效果。In the prior art, the high dynamic range (HDR) technology is used to control the pixel array to sequentially expose and output multi-frame images with different exposure times, and then fuse the multi-frame images to calculate the high dynamic range, so as to improve the facial and facial features. The imaging effect of the background area.

但是,在暗光环境下使用这种方式拍摄得到的图像噪点较多,清晰度和对比度均不佳。However, the image obtained by using this method in a dark light environment has more noise, and the clarity and contrast are not good.

发明内容Contents of the invention

本申请提出一种拍摄曝光控制方法、装置、成像设备和电子设备,用于解决现有技术中图像噪点较多,清晰度和对比度均不佳的技术问题。The present application proposes a shooting exposure control method, device, imaging equipment and electronic equipment, which are used to solve the technical problems in the prior art that there are many image noises and poor definition and contrast.

本申请一方面实施例提出了一种拍摄曝光控制方法,用于成像设备,所述成像设备包括由多个感光像素组成的像素单元阵列,所述拍摄曝光控制方法包括:An embodiment of the present application proposes a shooting exposure control method for an imaging device, the imaging device includes a pixel unit array composed of a plurality of photosensitive pixels, and the shooting exposure control method includes:

控制所述像素单元阵列中各感光像素对环境亮度值进行测量;controlling each photosensitive pixel in the pixel unit array to measure the ambient brightness value;

根据所述环境亮度值的测量结果,确定所述像素单元阵列各区域对应的环境亮度值;其中,各区域是对所述像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素;According to the measurement result of the ambient brightness value, determine the ambient brightness value corresponding to each area of the pixel unit array; wherein, each area is obtained by dividing the pixel unit array, and each area includes at least one photosensitive pixel;

根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。According to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot.

本申请实施例的拍摄曝光控制方法,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。In the shooting exposure control method of the embodiment of the present application, each photosensitive pixel in the pixel unit array is controlled to measure the ambient brightness value, and then according to the measurement result of the ambient brightness value, the ambient brightness value corresponding to each area of the pixel unit array is determined; wherein, each The area is obtained by dividing the pixel unit array into areas, and each area contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

本申请又一方面实施例提出了一种拍摄曝光控制装置,用于成像设备,所述成像设备包括由多个感光像素组成的像素单元阵列,所述拍摄曝光控制装置包括:In yet another aspect of the present application, an embodiment proposes a shooting exposure control device for use in an imaging device, where the imaging device includes a pixel unit array composed of a plurality of photosensitive pixels, and the shooting exposure control device includes:

测量模块,用于控制所述像素单元阵列中各感光像素对环境亮度值进行测量;A measurement module, configured to control each photosensitive pixel in the pixel unit array to measure the ambient brightness value;

确定模块,用于根据所述环境亮度值的测量结果,确定所述像素单元阵列各区域对应的环境亮度值;其中,各区域是对所述像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素;A determining module, configured to determine the ambient brightness value corresponding to each region of the pixel unit array according to the measurement result of the ambient brightness value; wherein, each region is obtained by dividing the pixel unit array into regions, and each region includes at least one photosensitive pixel;

控制模块,用于根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。The control module is used to control the photosensitive pixels in each area to use the corresponding exposure mode to take pictures according to the ambient brightness values measured in each area.

本申请实施例的拍摄曝光控制装置,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。The shooting exposure control device of the embodiment of the present application measures the ambient brightness value by controlling each photosensitive pixel in the pixel unit array, and then determines the ambient brightness value corresponding to each area of the pixel unit array according to the measurement result of the ambient brightness value; wherein, each The area is obtained by dividing the pixel unit array into areas, and each area contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

本申请又一方面实施例提出了一种成像设备,所述成像设备包括多个感光像素组成的像素单元阵列,所述成像设备还包括处理器,所述处理器用于:Another aspect of the present application provides an embodiment of an imaging device, the imaging device includes a pixel unit array composed of a plurality of photosensitive pixels, the imaging device further includes a processor, and the processor is used for:

控制所述像素单元阵列中各感光像素对环境亮度值进行测量;controlling each photosensitive pixel in the pixel unit array to measure the ambient brightness value;

根据所述环境亮度值的测量结果,确定所述像素单元阵列各区域对应的环境亮度值;其中,各区域是对所述像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素;According to the measurement result of the ambient brightness value, determine the ambient brightness value corresponding to each area of the pixel unit array; wherein, each area is obtained by dividing the pixel unit array, and each area includes at least one photosensitive pixel;

根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。According to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot.

本申请实施例的成像设备,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。The imaging device of the embodiment of the present application measures the ambient brightness value by controlling each photosensitive pixel in the pixel unit array, and then determines the ambient brightness value corresponding to each area of the pixel unit array according to the measurement result of the ambient brightness value; wherein, each area is The pixel unit array is divided into regions, and each region contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each region, the photosensitive pixels in each region are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

本申请又一方面实施例提出了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本申请前述实施例提出的拍摄曝光控制方法。Yet another embodiment of the present application proposes an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes the The shooting exposure control method proposed in the foregoing embodiments.

本申请又一方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本申请前述实施例提出的拍摄曝光控制方法。Yet another embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the shooting exposure control method as proposed in the foregoing embodiments of the present application is implemented.

本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.

附图说明Description of drawings

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为本申请实施例一所提供的拍摄曝光控制方法的流程示意图;FIG. 1 is a schematic flow chart of a shooting exposure control method provided in Embodiment 1 of the present application;

图2为本申请实施例二所提供的拍摄曝光控制方法的流程示意图;FIG. 2 is a schematic flow chart of the shooting exposure control method provided in Embodiment 2 of the present application;

图3为本申请实施例三所提供的拍摄曝光控制方法的流程示意图;FIG. 3 is a schematic flow chart of a shooting exposure control method provided in Embodiment 3 of the present application;

图4为本申请实施例四所提供的拍摄曝光控制方法的流程示意图;FIG. 4 is a schematic flow chart of a shooting exposure control method provided in Embodiment 4 of the present application;

图5为本申请实施例五所提供的拍摄曝光控制方法的流程示意图;FIG. 5 is a schematic flow chart of a shooting exposure control method provided in Embodiment 5 of the present application;

图6为本申请实施例六所提供的拍摄曝光控制装置的结构示意图;FIG. 6 is a schematic structural diagram of a photographing exposure control device provided in Embodiment 6 of the present application;

图7为本申请实施例七所提供的拍摄曝光控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a shooting exposure control device provided in Embodiment 7 of the present application;

图8是本申请某些实施方式的电子设备的模块示意图。Fig. 8 is a schematic block diagram of an electronic device according to some embodiments of the present application.

图9是本申请某些实施方式的图像处理电路的模块示意图。FIG. 9 is a block diagram of an image processing circuit in some embodiments of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

本申请主要针对现有技术中图像噪点较多,清晰度和对比度均不佳的技术问题,提供一种拍摄曝光控制方法。The present application mainly aims at the technical problems in the prior art that there are many image noises and poor definition and contrast, and provides a shooting exposure control method.

本申请实施例的拍摄曝光控制方法,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。In the shooting exposure control method of the embodiment of the present application, each photosensitive pixel in the pixel unit array is controlled to measure the ambient brightness value, and then according to the measurement result of the ambient brightness value, the ambient brightness value corresponding to each area of the pixel unit array is determined; wherein, each The area is obtained by dividing the pixel unit array into areas, and each area contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

下面参考附图描述本申请实施例的拍摄曝光控制方法、装置、成像设备和电子设备。The shooting exposure control method, device, imaging device and electronic device according to the embodiments of the present application will be described below with reference to the accompanying drawings.

图1为本申请实施例一所提供的拍摄曝光控制方法的流程示意图。FIG. 1 is a schematic flow chart of a shooting exposure control method provided in Embodiment 1 of the present application.

本申请实施例的拍摄曝光控制方法,用于成像设备,成像设备包括由多个感光像素组成的像素单元阵列。The shooting exposure control method of the embodiment of the present application is used in an imaging device, and the imaging device includes a pixel unit array composed of a plurality of photosensitive pixels.

如图1所示,该拍摄曝光控制方法包括以下步骤:As shown in FIG. 1, the shooting exposure control method includes the following steps:

步骤101,控制像素单元阵列中各感光像素对环境亮度值进行测量。Step 101, controlling each photosensitive pixel in the pixel unit array to measure the ambient brightness value.

本申请实施例中,控制像素单元阵列中的各感光像素,对环境亮度值进行测量,可以得到环境亮度值的测量结果,即得到各感光像素测量得到的环境亮度值。In the embodiment of the present application, each photosensitive pixel in the pixel unit array is controlled to measure the ambient brightness value, and the measurement result of the ambient brightness value can be obtained, that is, the ambient brightness value measured by each photosensitive pixel can be obtained.

步骤102,根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素。Step 102, according to the measurement result of the ambient brightness value, determine the ambient brightness value corresponding to each area of the pixel unit array; wherein each area is obtained by dividing the pixel unit array, and each area includes at least one photosensitive pixel.

可以理解的是,不同感光像素用于测量当前拍摄环境中不同区域的环境亮度值,不同感光像素测量得到的环境亮度值可以不同。为了提升拍摄图像的曝光处理效果,本申请中,可以对像素单元阵列,进行区域划分,得到像素单元阵列中的各区域,从而后续可以针对各区域,采用对应的曝光处理策略进行曝光处理。It can be understood that different photosensitive pixels are used to measure ambient brightness values in different areas in the current shooting environment, and the ambient brightness values measured by different photosensitive pixels may be different. In order to improve the exposure processing effect of captured images, in this application, the pixel unit array can be divided into regions to obtain each region in the pixel unit array, so that subsequent exposure processing can be performed for each region using a corresponding exposure processing strategy.

作为本申请实施例一种可能的实现方式,可以根据像素单元阵列中各感光像素测量得到的环境亮度值,将像素单元阵列进行区域划分。具体地,可以将像素单元阵列中测量得到的环境亮度值相似的感光像素,划分为同一区域,即属于同一区域内的感光像素测量得到的环境亮度值相似。在确定像素单元阵列中各区域后,针对每个区域,可以根据该区域内各感光像素测量得到的环境亮度值,确定该区域对应的环境亮度值。例如,可以对该区域内的各感光像素测量得到的环境亮度值计算平均值,将平均值作为该区域对应的环境亮度值,或者,由于该区域内的感光像素测量得到的环境亮度值相似,因此可以将该区域内各感光像素测量得到的环境亮度值中的最大值或者最小值,作为该区域对应的环境亮度值,对此不作限制。As a possible implementation of the embodiment of the present application, the pixel unit array may be divided into regions according to the ambient brightness value measured by each photosensitive pixel in the pixel unit array. Specifically, photosensitive pixels in the pixel unit array with similar measured ambient brightness values may be divided into the same area, that is, photosensitive pixels belonging to the same area have similar measured ambient brightness values. After each region in the pixel unit array is determined, for each region, the ambient brightness value corresponding to the region can be determined according to the ambient brightness value measured by each photosensitive pixel in the region. For example, the average value of the ambient brightness values measured by the photosensitive pixels in the area can be calculated, and the average value can be used as the ambient brightness value corresponding to the area, or, because the ambient brightness values measured by the photosensitive pixels in the area are similar, Therefore, the maximum value or the minimum value of the ambient brightness values measured by the photosensitive pixels in the area may be used as the ambient brightness value corresponding to the area, without limitation.

作为本申请实施例另一种可能的实现方式,可以预先对像素单元阵列,固定划分各区域,而后根据同一区域内各感光像素测量得到的环境亮度值,确定像素单元阵列各区域对应的环境亮度值。例如,针对每个区域,可以对该区域内的各感光像素测量得到的环境亮度值计算平均值,将平均值作为该区域对应的环境亮度值,或者,可以采用其他算法,确定该区域对应的环境亮度值,对此不作限制。As another possible implementation of the embodiment of the present application, the pixel unit array can be fixedly divided into regions in advance, and then the ambient brightness corresponding to each region of the pixel unit array can be determined according to the ambient brightness value measured by each photosensitive pixel in the same region value. For example, for each area, the average value of the ambient brightness values measured by the photosensitive pixels in the area can be calculated, and the average value can be used as the ambient brightness value corresponding to the area, or other algorithms can be used to determine the corresponding ambient brightness value of the area. Ambient brightness value, without limitation.

步骤103,根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。Step 103 , according to the ambient brightness values measured in each area, control the photosensitive pixels in each area to use the corresponding exposure mode to take pictures.

本申请实施例中,曝光模式具体可以分为亮光模式和暗光模式,其中,亮光模式和暗光模式分别对应于明亮的环境和昏暗的环境。In the embodiment of the present application, the exposure mode may specifically be divided into a bright light mode and a dark light mode, where the bright light mode and the dark light mode correspond to a bright environment and a dark environment, respectively.

可以理解的是,不同区域测得的环境亮度值可以不同,如果采用相同的曝光模式进行拍摄,例如,均采用亮光模式进行拍摄,对于测得的环境亮度值较低的区域,可能发生欠曝光的情况,而均采用暗光模式进行拍摄,对于测得的环境亮度值较高的区域,可能发生过曝光的情况。因此,本申请中,为了提升拍摄的目标图像的曝光效果,不同区域对应的曝光模式可以不同。在确定各区域测得的环境亮度值后,可以控制每个区域内的感光像素采用对应的曝光模式进行拍摄,以得到目标图像。It is understandable that the ambient brightness values measured in different areas may be different. If the same exposure mode is used for shooting, for example, both are shot in bright light mode, underexposure may occur for areas with lower measured ambient brightness values. However, the low-light mode is used for shooting, and overexposure may occur in areas where the measured ambient brightness value is high. Therefore, in this application, in order to improve the exposure effect of the captured target image, the exposure modes corresponding to different regions may be different. After the ambient brightness values measured in each area are determined, the photosensitive pixels in each area can be controlled to use a corresponding exposure mode to shoot, so as to obtain a target image.

具体地,对于测得的环境亮度值较低的区域,可以控制该区域内的感光像素采用暗光模式拍摄以得到目标图像,而对于测得的环境亮度值较高的区域,可以控制该区域内的感光像素采用亮光模式拍摄以得到目标图像。可以理解的是,在明亮环境中使用亮光模式拍摄的目标图像的图像效果更佳,同样地,在昏暗环境中使用暗光模式拍摄的目标图像的图像效果更佳。Specifically, for an area where the measured ambient brightness value is low, the photosensitive pixels in this area can be controlled to shoot in dark light mode to obtain the target image, and for an area where the measured ambient brightness value is high, the area can be controlled to The light-sensitive pixels inside are shot in bright light mode to obtain the target image. It can be understood that the image quality of the target image captured in the bright light mode is better in a bright environment, and similarly, the image quality of the target image captured in the dim light mode is better in a dim environment.

本申请实施例的拍摄曝光控制方法,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。In the shooting exposure control method of the embodiment of the present application, each photosensitive pixel in the pixel unit array is controlled to measure the ambient brightness value, and then according to the measurement result of the ambient brightness value, the ambient brightness value corresponding to each area of the pixel unit array is determined; wherein, each The area is obtained by dividing the pixel unit array into areas, and each area contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

作为一种可能的实现方式,参见图2,在图1所示实施例的基础上,步骤103具体可以包括以下子步骤:As a possible implementation, referring to FIG. 2, on the basis of the embodiment shown in FIG. 1, step 103 may specifically include the following sub-steps:

步骤201,根据环境亮度值与预设的目标亮度值,获取增益索引值。In step 201, a gain index value is obtained according to an ambient brightness value and a preset target brightness value.

本申请实施例中,针对像素单元阵列中的每个区域,可以根据该区域的环境亮度值与预设的目标亮度值进行比较,获取增益索引值,其中,增益索引值用于表征各区域中感光像素所测量的环境的明暗,增益索引值与成像设备的增益值相对应。当该区域测得的环境亮度值小于目标亮度值时,说明此时需要为成像设备提供较大的增益值,对应地,增益索引值也需要较大,此时感光像素检测到较少的光线,生成的电平信号也较小,需要一个较大的增益值来增大电平信号才能用于后续的目标图像的计算,因此,增益索引值较大时,表明该区域中感光像素所测量的环境的亮度较暗;而当环境亮度值大于目标亮度值时,说明此时需要为成像设备提供较小的增益值,对应地,增益索引值也较小,此时感光像素检测到较多的光线,生成的电平信号也较大,仅需要一个较小的增益值来增大电平信号用于后续的目标图像的计算,因此,增益索引值较小时,表明该区域中感光像素所测量的环境的亮度较亮。In the embodiment of the present application, for each area in the pixel unit array, the gain index value can be obtained by comparing the ambient brightness value of the area with the preset target brightness value, wherein the gain index value is used to represent the brightness in each area. The brightness and darkness of the environment measured by the photosensitive pixels, and the gain index value corresponds to the gain value of the imaging device. When the ambient brightness value measured in this area is lower than the target brightness value, it means that a larger gain value needs to be provided for the imaging device at this time, and correspondingly, the gain index value also needs to be larger, and at this time, the photosensitive pixel detects less light , the generated level signal is also small, and a larger gain value is needed to increase the level signal to be used in the calculation of the subsequent target image. Therefore, when the gain index value is large, it indicates that the photosensitive pixels in this area measure The brightness of the environment is relatively dark; and when the ambient brightness value is greater than the target brightness value, it means that a smaller gain value needs to be provided for the imaging device at this time, correspondingly, the gain index value is also smaller, and the photosensitive pixels detect more light, the generated level signal is also relatively large, and only a small gain value is needed to increase the level signal for subsequent target image calculations. Therefore, when the gain index value is small, it indicates that the photosensitive pixels in this area The brightness of the measured environment is bright.

在本申请的具体实施例中,环境亮度值与目标亮度值之间的差异值、增益值及增益索引值具有一一对应的关系,该对应关系预存在曝光表中。在获取环境亮度值后,即可根据环境亮度值与目标亮度值之间的差异值在曝光表中找到与其匹配的增益索引值。In a specific embodiment of the present application, the difference value between the ambient brightness value and the target brightness value, the gain value and the gain index value have a one-to-one correspondence relationship, and the correspondence relationship is pre-stored in the exposure table. After the ambient brightness value is obtained, the matching gain index value can be found in the exposure table according to the difference between the ambient brightness value and the target brightness value.

步骤202,当增益索引值小于预设增益索引值时,使用亮光模式拍摄以得到目标图像。Step 202, when the gain index value is smaller than the preset gain index value, use bright light mode to shoot to obtain the target image.

步骤203,当增益索引值大于预设增益索引值时,使用暗光模式拍摄以得到目标图像。Step 203, when the gain index value is greater than the preset gain index value, use dark light mode to shoot to obtain the target image.

本申请实施方式的拍摄曝光控制方法,可以预先设定一个预设增益索引值,在本申请的一个具体实施方式中,预设增益索引值为460。当然,在其他实施方式中,预设增益索引值也可为其他数值。在获取到与环境亮度值对应的增益索引值后,可以将增益索引值与预设增益索引值进行比较,若增益索引值小于预设增益索引值,则表明当前拍摄环境的亮度较高,此时,每个感光像素感光所获得的电信号较强,噪声较小,可以保持在亮光模式下拍摄目标图像(成像设备开启时默认工作在亮光模式),若增益索引值大于预设增益索引值,则表明当前拍摄环境的亮度较低,此时,每个感光像素感光所获得的电信号较弱,噪声较大,可以切换至暗光模式下拍摄目标图像。In the shooting exposure control method of the embodiment of the present application, a preset gain index value may be preset, and in a specific embodiment of the present application, the preset gain index value is 460. Certainly, in other implementation manners, the preset gain index value may also be other values. After obtaining the gain index value corresponding to the ambient brightness value, the gain index value can be compared with the preset gain index value. If the gain index value is smaller than the preset gain index value, it indicates that the brightness of the current shooting environment is relatively high. When , the electrical signal obtained by each photosensitive pixel is strong and the noise is small, and the target image can be kept in the bright light mode (the imaging device works in the bright light mode by default when it is turned on), if the gain index value is greater than the preset gain index value , it indicates that the brightness of the current shooting environment is low. At this time, the electrical signal obtained by each photosensitive pixel is weak and the noise is large. You can switch to the dark light mode to shoot the target image.

可以理解的是,在明亮环境中使用亮光模式拍摄的目标图像的图像效果更佳,同样地,在昏暗环境中使用暗光模式拍摄的目标图像的图像效果更佳。It can be understood that the image quality of the target image captured in the bright light mode is better in a bright environment, and similarly, the image quality of the target image captured in the dim light mode is better in a dark environment.

步骤204,当增益索引值等于预设增益索引值时,使用亮光模式或暗光模式拍摄以得到目标图像。Step 204, when the gain index value is equal to the preset gain index value, use bright mode or dark mode to shoot to obtain the target image.

本申请实施例中,当增益索引值等于预设增益索引值时,成像设备可以使用亮光模式拍摄目标图像,也可以使用暗光模式拍摄图像。进一步地,当成像设备在某一时刻下的工作模式为亮光模式,且该时刻下获取的增益索引值等于预设增益索引值时,则直接保持在亮光模式下工作。当成像设备在某一时刻下的工作模式为暗光模式,且该时刻下获取的增益索引值等于预设增益索引值时,则直接保持在暗光模式下工作。如此,可以避免成像设备频繁切换工作模式导致能耗较大的问题。In the embodiment of the present application, when the gain index value is equal to the preset gain index value, the imaging device may use the bright light mode to capture the target image, or may use the dark light mode to capture the image. Further, when the working mode of the imaging device at a certain moment is the bright light mode, and the acquired gain index value at this moment is equal to the preset gain index value, it directly keeps working in the bright light mode. When the working mode of the imaging device at a certain moment is the dark light mode, and the gain index value obtained at this moment is equal to the preset gain index value, it directly keeps working in the dark light mode. In this way, the problem of high energy consumption caused by frequent switching of working modes of the imaging device can be avoided.

本申请实施例的拍摄曝光控制方法,通过获取表征环境亮暗的增益索引值来判断各区域中感光像素所测量的环境的亮暗情况,进一步地根据判断结果选用合适的工作模式拍摄成像效果较佳的目标图像,改善用户的拍摄体验。The shooting exposure control method of the embodiment of the present application judges the brightness and darkness of the environment measured by the photosensitive pixels in each area by obtaining the gain index value representing the brightness and darkness of the environment, and further selects an appropriate working mode according to the judgment result to obtain a better imaging effect. The best target image can improve the user's shooting experience.

作为本申请实施例的一种可能的实现方式,参见图3,使用亮光模式拍摄以得到目标图像,包括以下步骤:As a possible implementation of the embodiment of the present application, referring to FIG. 3, shooting in bright light mode to obtain a target image includes the following steps:

步骤301,控制像素单元阵列输出分别处于不同曝光时间下的多个原始像素信息。Step 301 , controlling the pixel unit array to output a plurality of original pixel information under different exposure times.

本申请实施例中,感光像素可以包括多个长曝光像素、多个中曝光像素和多个短曝光像素,其中,长曝光像素指的是感光像素对应的曝光时间为长曝光时间,中曝光像素指的是感光像素对应的曝光时间为中曝光时间,短曝光像素指的是感光像素对应的曝光时间为短曝光时间,长曝光时间>中曝光时间>短曝光时间,即长曝光像素的长曝光时间大于中曝光像素的中曝光时间,且中曝光像素的中曝光时间大于短曝光像素的短曝光时间。在成像设备工作时,长曝光像素、中曝光像素及短曝光像素同步曝光,同步曝光指的是中曝光像素及短曝光像素的曝光进行时间位于长曝光像素的曝光进行时间以内。In the embodiment of the present application, the photosensitive pixels may include a plurality of long exposure pixels, a plurality of medium exposure pixels and a plurality of short exposure pixels, wherein the long exposure pixel refers to that the exposure time corresponding to the photosensitive pixel is the long exposure time, and the medium exposure pixel It means that the exposure time corresponding to the photosensitive pixel is the medium exposure time, and the short exposure pixel refers to the exposure time corresponding to the photosensitive pixel is the short exposure time, long exposure time>medium exposure time>short exposure time, that is, the long exposure time of the long exposure pixel The time is greater than the medium exposure time of the medium exposure pixels, and the medium exposure time of the medium exposure pixels is greater than the short exposure time of the short exposure pixels. When the imaging device is working, the long-exposure pixels, the medium-exposure pixels and the short-exposure pixels are exposed synchronously, and the synchronous exposure means that the exposure time of the medium-exposure pixels and the short-exposure pixels is within the exposure time of the long-exposure pixels.

具体地,可以首先控制长曝光像素最先开始曝光,在长曝光像素的曝光期间内,再控制中曝光像素以及短曝光像素曝光,其中,中曝光像素和短曝光像素的曝光截止时间应与长曝光像素的曝光截止时间相同或位于长曝光像素的曝光截止时间之前;或者,控制长曝光像素、中曝光像素以及短曝光像素同时开始曝光,即长曝光像素、中曝光像素以及短曝光像素的曝光起始时间相同。如此,无需控制像素单元阵列依次进行长曝、中曝和短曝,可减小目标图像的拍摄时间。Specifically, it is possible to firstly control the exposure of the long-exposure pixel first, and then control the exposure of the medium-exposure pixel and the short-exposure pixel during the exposure period of the long-exposure pixel, wherein the exposure cut-off time of the medium-exposure pixel and the short-exposure pixel should be the same as that of the long-exposure pixel. The exposure cut-off time of the exposure pixels is the same or before the exposure cut-off time of the long-exposure pixels; or, control the long-exposure pixels, medium-exposure pixels and short-exposure pixels to start exposure at the same time, that is, the exposure of the long-exposure pixels, medium-exposure pixels and short-exposure pixels The start time is the same. In this way, there is no need to control the pixel unit array to sequentially perform long exposure, medium exposure and short exposure, which can reduce the shooting time of the target image.

当成像设备工作在亮光模式下时,成像设备首先控制像素单元阵列中的每个感光像素中的长曝光像素、中曝光像素及短曝光像素同步曝光,其中长曝光像素对应的曝光时间为初始长曝光时间,中曝光像素对应的曝光时间为初始中曝光时间,短曝光像素对应的曝光时间为初始短曝光时间,初始长曝光时间、初始中曝光时间及初始短曝光时间均为预先设定好的。曝光结束后,像素单元阵列中的每个感光像素将输出分别处于不同曝光时间下的多个原始像素信息。When the imaging device works in the bright light mode, the imaging device first controls the synchronous exposure of the long-exposure pixels, medium-exposure pixels and short-exposure pixels in each photosensitive pixel in the pixel unit array, wherein the exposure time corresponding to the long-exposure pixels is the initial long exposure time. Exposure time, the exposure time corresponding to the medium exposure pixel is the initial medium exposure time, the exposure time corresponding to the short exposure pixel is the initial short exposure time, the initial long exposure time, the initial medium exposure time and the initial short exposure time are all preset . After the exposure is over, each photosensitive pixel in the pixel unit array will output a plurality of original pixel information under different exposure times.

步骤302,根据同一感光像素中曝光时间相同的原始像素信息计算得到合并像素信息。Step 302 : Calculate combined pixel information according to the original pixel information of the same photosensitive pixel with the same exposure time.

步骤303,根据合并像素信息输出目标图像。Step 303, outputting the target image according to the merged pixel information.

例如,当每个感光像素中包括1个长曝光像素、2个中曝光像素、1个短曝光像素时,唯一的长曝光像素的原始像素信息即为长曝光的合并像素信息,2个中曝光像素的原始像素信息之和即为中曝光的合并像素信息,唯一的短曝光像素的原始像素信息即为短曝光的合并像素信息;当每个感光像素中包括2个长曝光像素、4个中曝光像素、2个短曝光像素时,2个长曝光像素的原始像素信息之和即为长曝光的合并像素信息,4个中曝光像素的原始像素信息之和即为中曝光的合并像素信息,2个短曝光像素的原始像素信息之和即为短曝光的合并像素信息。如此,可以获得整个像素单元阵列的多个长曝光的合并像素信息、多个中曝光的合并像素信息、多个短曝光的合并像素信息。For example, when each photosensitive pixel includes 1 long-exposure pixel, 2 medium-exposure pixels, and 1 short-exposure pixel, the original pixel information of the only long-exposure pixel is the long-exposure merged pixel information, and the 2 medium-exposure pixels The sum of the original pixel information of the pixels is the combined pixel information of the medium exposure, and the original pixel information of the only short-exposure pixel is the combined pixel information of the short exposure; when each photosensitive pixel includes 2 long-exposure pixels and 4 medium-exposure pixels When there are two exposure pixels and two short exposure pixels, the sum of the original pixel information of the two long exposure pixels is the combined pixel information of the long exposure, and the sum of the original pixel information of the four medium exposure pixels is the combined pixel information of the medium exposure. The sum of the original pixel information of the two short-exposure pixels is short-exposure merged pixel information. In this way, multiple long-exposure combined pixel information, multiple medium-exposure combined pixel information, and multiple short-exposure combined pixel information of the entire pixel unit array can be obtained.

而后,再根据多个长曝光的合并像素信息插值计算得到长曝光子图像,根据多个中曝光的合并像素信息插值计算得到中曝光子图像,根据多个短曝光的合并像素信息插值计算得到短曝光子图像。最后,将长曝光子图像、中曝光子图像和短曝光子图像融合处理得到高动态范围的目标图像,其中,长曝光子图像、中曝光子图像和短曝光子图像并非为传统意义上的三帧图像,而是同一帧图像中长、短、中曝光像素对应区域形成的图像部分。Then, according to the interpolation calculation of the combined pixel information of multiple long exposures, the long exposure sub-image is obtained, the interpolation calculation of the combined pixel information of multiple medium exposures is used to obtain the medium exposure sub-image, and the short exposure sub-image is obtained according to the interpolation calculation of the combined pixel information of multiple short exposures. Expose the sub-image. Finally, the long-exposure sub-image, medium-exposure sub-image and short-exposure sub-image are fused to obtain a target image with high dynamic range. The long-exposure sub-image, medium-exposure sub-image and short-exposure sub-image are not three The frame image is the image part formed by the corresponding areas of the long, short, and medium exposure pixels in the same frame image.

或者,在像素单元阵列曝光结束后,可以以长曝光像素输出的原始像素信息为基准,将短曝光像素的原始像素信息和中曝光像素的原始像素信息叠加到长曝光像素的原始像素信息上。具体地,针对同一感光像素,可以对三种不同曝光时间的原始像素信息分别赋予不同的权值,在各曝光时间对应的原始像素信息与权值相乘后,再将三种乘以权值后的原始像素信息相加作为一个感光像素的合成像素信息。随后,由于根据三种不同曝光时间的原始像素信息计算得到的每一个合成像素信息的灰度级别会产生变化,因此,在得到合成像素信息后需要对每一个合成像素信息做灰度级别的压缩。压缩完毕后,可以根据多个压缩完毕后得到的合成像素信息进行插值计算即可得到目标图像。如此,目标图像中暗部已经由长曝光像素输出的原始像素信息进行补偿,亮部已经由短曝光像素输出的原始像素信息进行压制,因此,目标图像不存在过曝区域及欠曝区域,具有较高的动态范围和较佳的成像效果。Alternatively, after the exposure of the pixel unit array ends, the original pixel information of the short-exposure pixels and the original pixel information of the medium-exposure pixels may be superimposed on the original pixel information of the long-exposure pixels based on the original pixel information output by the long-exposure pixels. Specifically, for the same photosensitive pixel, different weights can be assigned to the original pixel information of three different exposure times, and after multiplying the original pixel information corresponding to each exposure time The subsequent raw pixel information is added as the synthetic pixel information of a photosensitive pixel. Subsequently, since the gray level of each synthesized pixel information calculated according to the original pixel information of three different exposure times will change, therefore, after obtaining the synthesized pixel information, it is necessary to compress the gray level of each synthesized pixel information . After the compression is completed, the target image can be obtained by performing interpolation calculation according to the synthesized pixel information obtained after the compression. In this way, the dark part of the target image has been compensated by the original pixel information output by the long-exposure pixels, and the bright part has been suppressed by the original pixel information output by the short-exposure pixels. High dynamic range and better imaging effect.

进一步地,为进一步改善目标图像的成像质量,在长曝光像素、中曝光像素及短曝光像素分别根据初始长曝光时间、初始中曝光时间及初始短曝光时间同步曝光后,可以首先根据长曝光像素输出的原始像素信息计算长曝光直方图,根据短曝光像素输出的原始像素信息计算短曝光直方图,并根据长曝光直方图修正初始长曝光时间得到修正长曝光时间,根据短曝光直方图修正初始短曝光时间得到修正短曝光时间。随后,再控制长曝光像素、中曝光像素及短曝光像素分别根据修正长曝光时间、初始中曝光时间及修正短曝光时间同步曝光。其中,修正过程并非一步到位,而是成像设备需要进行多次长、中、短的同步曝光,在每一次的同步曝光后,成像设备会根据生成的长曝光直方图和短曝光直方图继续修正长曝光时间和短曝光时间,并在下一次曝光时采用上一时刻修正好的修正长曝光时间、修正短曝光时间以及原始中曝光时间进行同步曝光,继续获取长曝光直方图和短曝光直方图,如此周而复始,直至长曝光直方图对应的图像中不存在欠曝区域、短曝光直方图对应的图像中不存在过曝区域为止,此时的修正长曝光时间和修正短曝光时间即为最终的修正长曝光时间和修正短曝光时间。曝光结束后再根据长曝光像素、中曝光像素和短曝光像素的输出进行目标图像的计算,该计算方式与上一实施方式中的计算方式相同,在此不再赘述。Furthermore, in order to further improve the imaging quality of the target image, after the long-exposure pixels, medium-exposure pixels, and short-exposure pixels are exposed synchronously according to the initial long exposure time, initial medium exposure time, and initial short exposure time respectively, the long-exposure pixel The output raw pixel information calculates the long exposure histogram, calculates the short exposure histogram according to the original pixel information output by the short exposure pixel, and corrects the initial long exposure time according to the long exposure histogram to obtain the corrected long exposure time, corrects the initial exposure time according to the short exposure histogram Short exposure times get corrected for short exposure times. Subsequently, the long-exposure pixels, the medium-exposure pixels and the short-exposure pixels are controlled to be exposed synchronously according to the corrected long exposure time, the initial medium exposure time and the corrected short exposure time respectively. Among them, the correction process is not in place in one step, but the imaging device needs to perform multiple long, medium and short simultaneous exposures. After each simultaneous exposure, the imaging device will continue to correct according to the generated long exposure histogram and short exposure histogram. Long exposure time and short exposure time, and use the corrected long exposure time, corrected short exposure time and original medium exposure time corrected at the previous moment for synchronous exposure in the next exposure, and continue to obtain the long exposure histogram and short exposure histogram, Repeat this cycle until there is no underexposed area in the image corresponding to the long exposure histogram and no overexposed area in the image corresponding to the short exposure histogram. At this time, the corrected long exposure time and corrected short exposure time are the final corrections. Long exposure time and corrected short exposure time. After the exposure is over, the calculation of the target image is performed according to the outputs of the long-exposure pixels, medium-exposure pixels and short-exposure pixels.

其中,长曝光直方图可以为一个或多个。长曝光直方图为一个时,可以根据所有长曝光像素输出的原始像素信息生成一个长曝光直方图。长曝光直方图为多个时,可以对长曝光像素划分区域,并根据每个区域中的多个长曝光像的原始像素信素生成一个长曝光直方图,如此,多个区域对应多个长曝光直方图。划分区域的作用是可以提升每一次修正的长曝光时间的准确性,加快长曝光时间的修正进程。同样地,短曝光直方图可以为一个或多个。短曝光直方图为一个时,可以根据所有短曝光像素输出的原始像素信息生成一个短曝光直方图。短曝光直方图为多个时,可以对短曝光像素划分区域,并根据每个区域中的多个短曝光像素的原始像素信息生成一个短曝光直方图,如此,多个区域对应多个短曝光直方图。划分区域的作用是可以提升每一次修正的短曝光时间的准确性,加快短曝光时间的修正进程。Wherein, there may be one or more long-exposure histograms. When there is one long-exposure histogram, one long-exposure histogram can be generated according to the original pixel information output by all long-exposure pixels. When there are multiple long-exposure histograms, the long-exposure pixels can be divided into regions, and a long-exposure histogram can be generated according to the original pixel pixels of multiple long-exposure images in each region. In this way, multiple regions correspond to multiple long-exposure histograms. Exposure histogram. The function of dividing the area is to improve the accuracy of the long exposure time of each correction and speed up the correction process of the long exposure time. Likewise, there may be one or more short exposure histograms. When there is one short-exposure histogram, one short-exposure histogram may be generated according to the original pixel information output by all short-exposure pixels. When there are multiple short-exposure histograms, the short-exposure pixels can be divided into regions, and a short-exposure histogram can be generated according to the original pixel information of multiple short-exposure pixels in each region, so that multiple regions correspond to multiple short-exposure histogram. The role of dividing the area is to improve the accuracy of the short exposure time of each correction and speed up the correction process of the short exposure time.

作为一种可能的实现方式,参见图4,在图3所示实施例的基础上,步骤302具体可以包括以下子步骤:As a possible implementation, referring to FIG. 4, on the basis of the embodiment shown in FIG. 3, step 302 may specifically include the following sub-steps:

步骤401,在同一感光像素中,选取长曝光像素的原始像素信息、短曝光像素的原始像素信息或中曝光像素的原始像素信息。Step 401, in the same photosensitive pixel, select the original pixel information of the long-exposure pixel, the original pixel information of the short-exposure pixel or the original pixel information of the medium-exposure pixel.

本申请实施例中,在同一感光像素中,选取长曝光像素的原始像素信息、短曝光像素的原始像素信息或中曝光像素的原始像素信息,即从长曝光像素的原始像素信息、短曝光像素的原始像素信息或中曝光像素的原始像素信息中,选取一个原始像素信息。In the embodiment of the present application, in the same photosensitive pixel, the original pixel information of the long-exposure pixel, the original pixel information of the short-exposure pixel, or the original pixel information of the medium-exposure pixel are selected, that is, the original pixel information of the long-exposure pixel, the short-exposure pixel Select an original pixel information from the original pixel information of the exposed pixel or the original pixel information of the middle exposure pixel.

例如,当一个感光像素中包括1个长曝光像素、2个中曝光像素、1个短曝光像素,且长曝光像素的原始像素信息为80,两个中曝光像素的原始像素信息为255,短曝光像素的原始像素信息为255时,由于255为原始像素信息的上限,因此,选取的可以为长曝光像素的原始像素信息:80。For example, when a photosensitive pixel includes 1 long-exposure pixel, 2 medium-exposure pixels, and 1 short-exposure pixel, and the original pixel information of the long-exposure pixel is 80, the original pixel information of the two medium-exposure pixels is 255, and the When the original pixel information of the exposed pixel is 255, since 255 is the upper limit of the original pixel information, the selected original pixel information of the long-exposure pixel: 80.

步骤402,根据选取的原始像素信息,以及长曝光时间、中曝光时间和短曝光时间之间的曝光比,计算得到合并像素信息。Step 402, according to the selected original pixel information, and the exposure ratio among the long exposure time, medium exposure time and short exposure time, calculate and obtain the merged pixel information.

仍以上述例子示例,假设长曝光时间、中曝光时间和短曝光时间之间的曝光比为:16:4:1,则合并像素信息为:80*16=1280。Still taking the above example as an example, assuming that the exposure ratio among the long exposure time, the medium exposure time and the short exposure time is: 16:4:1, then the combined pixel information is: 80*16=1280.

由于现有技术中原始像素信息的上限为255,通过根据选取的原始像素信息,以及长曝光时间、中曝光时间和短曝光时间之间的曝光比,计算得到合并像素信息,可以扩展动态范围,得到高动态范围图像,从而提升目标图像的成像效果。Since the upper limit of the original pixel information in the prior art is 255, the dynamic range can be extended by calculating the merged pixel information according to the selected original pixel information and the exposure ratio between the long exposure time, medium exposure time and short exposure time, A high dynamic range image is obtained, thereby improving the imaging effect of the target image.

作为本申请实施例的一种可能的实现方式,参见图5,使用暗光模式拍摄以得到目标图像,包括以下步骤:As a possible implementation of the embodiment of the present application, referring to FIG. 5, shooting in dark light mode to obtain a target image includes the following steps:

步骤501,控制像素单元阵列输出采用相同曝光时间曝光得到的多个原始像素信息。Step 501, controlling the pixel unit array to output a plurality of original pixel information obtained by exposure with the same exposure time.

当成像设备工作在暗光模式下时,成像设备首先控制像素单元阵列中的每个感光像素中的长曝光像素、中曝光像素及短曝光像素同步曝光,每个曝光像素的曝光时间相同,即长曝光像素、中曝光像素、及短曝光像素的曝光截止时间也相同。当曝光结束后,像素单元阵列中的每个感光像素将输出采用相同曝光时间曝光得到的多个原始像素信息。例如,当每个感光像素包括:1个长曝光像素、2个中曝光像素、1个短曝光像素时,像素单元阵列中的每个感光像素将输出四个原始像素信息,即1个长曝光像素输出的1个原始像素信息、2个中曝光像素输出的2个原始像素信息、以及1和短曝光像素输出的1个原始像素信息。When the imaging device works in the dark light mode, the imaging device first controls the synchronous exposure of the long-exposure pixels, medium-exposure pixels and short-exposure pixels in each photosensitive pixel in the pixel unit array, and the exposure time of each exposure pixel is the same, that is The exposure cut-off time of the long-exposure pixel, the medium-exposure pixel, and the short-exposure pixel is also the same. After the exposure is over, each photosensitive pixel in the pixel unit array will output a plurality of original pixel information obtained by exposure with the same exposure time. For example, when each photosensitive pixel includes: 1 long-exposure pixel, 2 medium-exposure pixels, and 1 short-exposure pixel, each photosensitive pixel in the pixel unit array will output four original pixel information, that is, 1 long-exposure pixel 1 original pixel information output by the pixel, 2 original pixel information output by the 2 medium exposure pixels, and 1 original pixel information output by the 1 and short exposure pixels.

步骤502,对同一感光像素中的原始像素信息计算得到组合像素信息,每个感光像素对应一个组合像素信息。In step 502, the original pixel information in the same photosensitive pixel is calculated to obtain combined pixel information, and each photosensitive pixel corresponds to a combined pixel information.

本申请实施例中,对同一感光像素中的原始像素信息进行组合计算以得到多个组合像素信息,具体地,针对像素单元阵列中的每个感光像素,可以对该感光像素中的原始像素信息计算平均值,将计算得到的平均值作为该感光像素的组合像素信息。In the embodiment of the present application, the original pixel information in the same photosensitive pixel is combined and calculated to obtain a plurality of combined pixel information. Specifically, for each photosensitive pixel in the pixel unit array, the original pixel information in the photosensitive pixel can be An average value is calculated, and the calculated average value is used as combined pixel information of the photosensitive pixel.

仍以上述例子示例,标记感光像素输出的四个原始像素信息,即1个长曝光像素输出的1个原始像素信息、2个中曝光像素输出的2个原始像素信息、以及1个短曝光像素输出的1个原始像素信息分别为:R1、R2、R3和R4,则该感光像素的组合像素信息为:(R1+R2+R3+R4)/4。Still taking the above example as an example, mark the four original pixel information output by the photosensitive pixel, that is, one original pixel information output by one long-exposure pixel, two original pixel information output by two medium-exposure pixels, and one short-exposure pixel The output original pixel information is: R1, R2, R3 and R4 respectively, then the combined pixel information of the photosensitive pixel is: (R1+R2+R3+R4)/4.

步骤503,根据多个组合像素信息输出目标图像。Step 503, outputting a target image according to multiple pieces of combined pixel information.

本申请实施例中,在计算出整个像素单元阵列中多个感光像素的多个组合像素信息后,可以根据多个组合像素信息插值计算得到目标图像。In the embodiment of the present application, after the multiple combined pixel information of the multiple photosensitive pixels in the entire pixel unit array is calculated, the target image may be obtained through interpolation calculation according to the multiple combined pixel information.

可以理解的是,亮光模式是利用像素单元阵列输出的三种不同曝光时间的原始像素信息来获取目标图像的。由于目标图像是由长、中、短三种曝光时间的像素信息组合而成,因此亮光模式下可以获取到的目标图像具有较高的动态范围。然而,亮光模式只适用于环境亮度较高的场景。在环境亮度较高时,中曝光像素可以正常曝光,长曝光像素可以修正中曝光图像中的欠曝部分,短曝光像素可以修正中曝光图像中的过曝部分,从而获取高动态范围的目标图像。但如果在环境亮度值较低时使用亮光模式进行拍照,则长曝光像素和中曝光像素均无法获得足够的曝光,亮光模式下拍摄的目标图像噪点较多,对比度和清晰度均不佳。而暗光模式是将同一感光像素中的多个原始像素信息进行组合计算,在环境亮度较低时,使用暗光模式获取目标图像虽然会降低目标图像的解析度,但目标图像中每一个像素的像素信息是由多个感光像素的原始像素信息组合得到的,与亮光模式相比,暗光模式下获取的目标图像的亮度是亮光模式下获取的目标图像的亮度的两倍。因此,在环境亮度较低时使用暗光模式获取的目标图像的效果更佳。It can be understood that, in the bright light mode, the target image is obtained by using raw pixel information output by the pixel unit array at three different exposure times. Since the target image is composed of pixel information with long, medium, and short exposure times, the target image that can be acquired in bright light mode has a higher dynamic range. However, bright light mode is only suitable for scenes with high ambient light. When the ambient brightness is high, the medium exposure pixels can be exposed normally, the long exposure pixels can correct the underexposed part in the medium exposure image, and the short exposure pixels can correct the overexposed part in the medium exposure image, so as to obtain the target image with high dynamic range . However, if the bright light mode is used to take pictures when the ambient brightness value is low, neither the long-exposure pixels nor the medium-exposure pixels can obtain sufficient exposure, and the target image captured in bright light mode has more noise, poor contrast and clarity. The dark light mode is to combine and calculate multiple original pixel information in the same photosensitive pixel. When the ambient brightness is low, using the dark light mode to acquire the target image will reduce the resolution of the target image, but each pixel in the target image The pixel information is obtained by combining the original pixel information of multiple photosensitive pixels. Compared with the bright mode, the brightness of the target image acquired in the dark mode is twice the brightness of the target image acquired in the bright mode. Therefore, the effect of the target image acquired using the low light mode is better when the ambient brightness is low.

因此,本申请实施例的拍摄曝光控制方法,根据增益索引值判断各区域测得的环境的亮暗情况,对于测得的环境亮度值较高的区域,可以控制该区域内的感光像素采用亮光模式拍摄动态范围较高的目标图像,对于测得的环境亮度值较低的区域,可以控制该区域内的感光像素采用暗光模式拍摄噪点较少、亮度较高的目标图像。如此,在不同环境亮度下得到的目标图像均具有较佳的拍摄效果。Therefore, the shooting exposure control method of the embodiment of the present application judges the brightness and darkness of the environment measured in each area according to the gain index value. mode to capture target images with a high dynamic range. For areas where the measured ambient brightness value is low, the photosensitive pixels in this area can be controlled to use the dark light mode to capture target images with less noise and higher brightness. In this way, the target images obtained under different ambient brightnesses all have better shooting effects.

为了实现上述实施例,本申请还提出一种拍摄曝光控制装置。In order to realize the above embodiments, the present application further proposes a shooting exposure control device.

图6为本申请实施例六所提供的拍摄曝光控制装置的结构示意图。FIG. 6 is a schematic structural diagram of a shooting exposure control device provided in Embodiment 6 of the present application.

本申请实施例的拍摄曝光控制装置,用于成像设备,成像设备包括由多个感光像素组成的像素单元阵列。The shooting exposure control device of the embodiment of the present application is used in an imaging device, and the imaging device includes a pixel unit array composed of a plurality of photosensitive pixels.

如图6所示,该拍摄曝光控制装置100包括:测量模块110、确定模块120,以及控制模块130。其中,As shown in FIG. 6 , the shooting exposure control device 100 includes: a measurement module 110 , a determination module 120 , and a control module 130 . in,

测量模块110,用于控制像素单元阵列中各感光像素对环境亮度值进行测量。The measurement module 110 is configured to control each photosensitive pixel in the pixel unit array to measure the ambient brightness value.

确定模块120,用于根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素。The determination module 120 is configured to determine the ambient brightness value corresponding to each region of the pixel unit array according to the measurement result of the ambient brightness value; wherein each region is obtained by dividing the pixel unit array into regions, and each region includes at least one photosensitive pixel.

控制模块130,用于根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。The control module 130 is configured to control the photosensitive pixels in each area to adopt a corresponding exposure mode to take pictures according to the ambient brightness values measured in each area.

进一步地,在本申请实施例的一种可能的实现方式中,参见图7,在图6所示实施例的基础上,该拍摄曝光控制装置100还可以包括:Further, in a possible implementation of the embodiment of the present application, referring to FIG. 7 , on the basis of the embodiment shown in FIG. 6 , the shooting exposure control device 100 may further include:

作为一种可能的实现方式,控制模块130,包括:As a possible implementation, the control module 130 includes:

获取子模块131,用于根据环境亮度值与预设的目标亮度值,获取增益索引值。The acquiring sub-module 131 is configured to acquire the gain index value according to the ambient brightness value and the preset target brightness value.

亮光模式拍摄子模块132,用于当增益索引值小于预设增益索引值时,使用亮光模式拍摄以得到目标图像。The bright light mode shooting sub-module 132 is configured to use bright light mode to shoot to obtain the target image when the gain index value is less than the preset gain index value.

作为一种可能的实现方式,感光像素包括多个长曝光像素、多个中曝光像素和多个短曝光像素,亮光模式拍摄子模块132,包括:As a possible implementation, the photosensitive pixels include multiple long-exposure pixels, multiple medium-exposure pixels, and multiple short-exposure pixels, and the bright light mode shooting sub-module 132 includes:

控制单元1321,用于控制像素单元阵列输出分别处于不同曝光时间下的多个原始像素信息;其中,长曝光像素的长曝光时间大于中曝光像素的中曝光时间,且中曝光像素的中曝光时间大于短曝光像素的短曝光时间。The control unit 1321 is used to control the pixel unit array to output a plurality of original pixel information under different exposure times; wherein, the long exposure time of the long exposure pixel is greater than the medium exposure time of the medium exposure pixel, and the medium exposure time of the medium exposure pixel Shorter exposure times than short-exposure pixels.

计算单元1322,用于根据同一感光像素中曝光时间相同的原始像素信息计算得到合并像素信息。The calculating unit 1322 is configured to calculate combined pixel information according to the original pixel information of the same photosensitive pixel with the same exposure time.

作为一种可能的实现方式,计算单元1322,具体用于:在同一感光像素中,选取长曝光像素的原始像素信息、短曝光像素的原始像素信息或中曝光像素的原始像素信息;根据选取的原始像素信息,以及长曝光时间、中曝光时间和短曝光时间之间的曝光比,计算得到合并像素信息。As a possible implementation, the calculation unit 1322 is specifically configured to: select the original pixel information of the long-exposure pixel, the original pixel information of the short-exposure pixel, or the original pixel information of the medium-exposure pixel in the same photosensitive pixel; The original pixel information, and the exposure ratio among the long exposure time, medium exposure time and short exposure time are calculated to obtain the merged pixel information.

输出单元1323,用于根据合并像素信息输出目标图像。The output unit 1323 is configured to output the target image according to the merged pixel information.

暗光模式拍摄子模块133,用于当增益索引值大于预设增益索引值时,使用暗光模式拍摄以得到目标图像。The dark light mode shooting sub-module 133 is used for shooting in dark light mode to obtain the target image when the gain index value is greater than the preset gain index value.

作为一种可能的实现方式,暗光模式拍摄子模块133,包括:As a possible implementation, the sub-module 133 in dark light mode includes:

控制单元1331,用于控制像素单元阵列输出采用相同曝光时间曝光得到的多个原始像素信息。The control unit 1331 is configured to control the pixel unit array to output a plurality of original pixel information obtained by exposure with the same exposure time.

计算单元1332,用于对同一感光像素中的原始像素信息计算得到组合像素信息,每个感光像素对应一个组合像素信息。The calculation unit 1332 is configured to calculate combined pixel information from the original pixel information in the same photosensitive pixel, and each photosensitive pixel corresponds to a combined pixel information.

作为一种可能的实现方式,计算单元1332,具体用于:对同一感光像素中的原始像素信息计算平均值,得到组合像素信息。As a possible implementation manner, the calculation unit 1332 is specifically configured to: calculate an average value of original pixel information in the same photosensitive pixel to obtain combined pixel information.

输出单元1333,用于根据多个组合像素信息输出目标图像。An output unit 1333, configured to output a target image according to a plurality of combined pixel information.

可选地,控制模块130,还包括:Optionally, the control module 130 also includes:

亮光或暗光模式拍摄子模块134,用于当增益索引值等于预设增益索引值时,使用亮光模式或暗光模式拍摄以得到目标图像。The bright light or dark light mode shooting sub-module 134 is used for shooting in bright light mode or dark light mode to obtain the target image when the gain index value is equal to the preset gain index value.

作为一种可能的实现方式,确定模块120,具体用于:根据像素单元阵列中各感光像素测量得到的环境亮度值,将像素单元阵列进行区域划分;其中,属于同一区域内的感光像素测量得到的环境亮度值相似;根据同一区域内各感光像素测量得到的环境亮度值,确定所述像素单元阵列各区域对应的环境亮度值。As a possible implementation, the determination module 120 is specifically configured to: divide the pixel unit array into regions according to the ambient brightness value measured by each photosensitive pixel in the pixel unit array; where the photosensitive pixels belonging to the same region are measured to obtain The ambient brightness values are similar; the ambient brightness values corresponding to each area of the pixel unit array are determined according to the ambient brightness values measured by each photosensitive pixel in the same area.

作为另一种可能的实现方式,确定模块120,具体用于:确定像素单元阵列固定划分的各区域;根据同一区域内各感光像素测量得到的环境亮度值,确定像素单元阵列各区域对应的环境亮度值。As another possible implementation, the determination module 120 is specifically used to: determine the fixedly divided regions of the pixel unit array; determine the corresponding environment of each region of the pixel unit array according to the ambient brightness value measured by each photosensitive pixel in the same region Brightness value.

需要说明的是,前述对拍摄曝光控制方法实施例的解释说明也适用于该实施例的拍摄曝光控制装置100,此处不再赘述。It should be noted that the foregoing explanations of the embodiment of the shooting exposure control method are also applicable to the shooting exposure control device 100 of this embodiment, and details are not repeated here.

本申请实施例的拍摄曝光控制装置,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。The shooting exposure control device of the embodiment of the present application measures the ambient brightness value by controlling each photosensitive pixel in the pixel unit array, and then determines the ambient brightness value corresponding to each area of the pixel unit array according to the measurement result of the ambient brightness value; wherein, each The area is obtained by dividing the pixel unit array into areas, and each area contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

为了实现上述实施例,本申请还提出一种成像设备,成像设备包括多个感光像素组成的像素单元阵列,所述成像设备还包括处理器,所述处理器用于:In order to achieve the above embodiments, the present application also proposes an imaging device, which includes a pixel unit array composed of a plurality of photosensitive pixels, and the imaging device further includes a processor, and the processor is used for:

控制所述像素单元阵列中各感光像素对环境亮度值进行测量;controlling each photosensitive pixel in the pixel unit array to measure the ambient brightness value;

根据环境亮度值的测量结果,确定所述像素单元阵列各区域对应的环境亮度值;其中,各区域是对所述像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素;According to the measurement result of the ambient brightness value, determine the ambient brightness value corresponding to each area of the pixel unit array; wherein, each area is obtained by dividing the pixel unit array, and each area includes at least one photosensitive pixel;

根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。According to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot.

需要说明的是,前述对拍摄曝光控制方法实施例的解释说明也适用于该实施例的成像设备,此处不再赘述。It should be noted that the foregoing explanations on the embodiment of the shooting exposure control method are also applicable to the imaging device in this embodiment, and will not be repeated here.

本申请实施例的成像设备,通过控制像素单元阵列中各感光像素对环境亮度值进行测量,而后根据环境亮度值的测量结果,确定像素单元阵列各区域对应的环境亮度值;其中,各区域是对像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素,最后根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。本申请中,通过对像素单元阵列进行分区曝光处理,即根据各区域测得的环境亮度值,控制每个区域内的感光像素采用合适的曝光模式进行拍摄,可以改善画面中较暗区域的信噪比,得到清晰度较佳的目标图像,改善用户的拍摄体验。The imaging device of the embodiment of the present application measures the ambient brightness value by controlling each photosensitive pixel in the pixel unit array, and then determines the ambient brightness value corresponding to each area of the pixel unit array according to the measurement result of the ambient brightness value; wherein, each area is The pixel unit array is divided into regions, and each region contains at least one photosensitive pixel. Finally, according to the ambient brightness value measured in each region, the photosensitive pixels in each region are controlled to use the corresponding exposure mode to shoot. In this application, by performing partition exposure processing on the pixel unit array, that is, according to the ambient brightness value measured in each area, control the photosensitive pixels in each area to use an appropriate exposure mode to shoot, which can improve the signal of the darker area in the picture. Noise ratio, to obtain a clearer target image and improve the user's shooting experience.

为了实现上述实施例,本申请还提出一种电子设备,其特征在于,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本申请前述实施例提出的拍摄曝光控制方法。In order to realize the above-mentioned embodiments, the present application also proposes an electronic device, which is characterized in that it includes: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, , realizing the shooting exposure control method proposed in the foregoing embodiments of the present application.

为了实现上述实施例,本申请还提出一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本申请前述实施例提出的拍摄曝光控制方法。In order to realize the above-mentioned embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the photographing exposure control method as proposed in the foregoing embodiments of the present application is implemented.

请参阅图8,本申请还提供一种电子设备200。电子设备200包括存储器50和处理器60。存储器50中存储有计算机可读指令。计算机可读指令被存储器50执行时,使得处理器60执行上述任一实施方式所述的拍摄曝光控制方法。Referring to FIG. 8 , the present application also provides an electronic device 200 . The electronic device 200 includes a memory 50 and a processor 60 . Memory 50 has computer readable instructions stored therein. When the computer-readable instructions are executed by the memory 50 , the processor 60 executes the shooting exposure control method described in any one of the above-mentioned implementation manners.

图8为一个实施例中电子设备200的内部结构示意图。该电子设备200包括通过系统总线81连接的处理器60、存储器50(例如为非易失性存储介质)、内存储器82、显示屏83和输入装置84。其中,电子设备200的存储器50存储有操作系统和计算机可读指令。该计算机可读指令可被处理器60执行,以实现本申请实施方式的拍摄曝光控制方法。该处理器60用于提供计算和控制能力,支撑整个电子设备200的运行。电子设备200的内存储器50为存储器52中的计算机可读指令的运行提供环境。电子设备200的显示屏83可以是液晶显示屏或者电子墨水显示屏等,输入装置84可以是显示屏83上覆盖的触摸层,也可以是电子设备200外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该电子设备200可以是手机、平板电脑、笔记本电脑、个人数字助理或穿戴式设备(例如智能手环、智能手表、智能头盔、智能眼镜)等。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的示意图,并不构成对本申请方案所应用于其上的电子设备200的限定,具体的电子设备200可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 8 is a schematic diagram of the internal structure of an electronic device 200 in one embodiment. The electronic device 200 includes a processor 60 connected through a system bus 81 , a memory 50 (such as a non-volatile storage medium), an internal memory 82 , a display screen 83 and an input device 84 . Wherein, the memory 50 of the electronic device 200 stores an operating system and computer readable instructions. The computer-readable instructions can be executed by the processor 60 to implement the shooting exposure control method of the embodiment of the present application. The processor 60 is used to provide computing and control capabilities to support the operation of the entire electronic device 200 . Internal memory 50 of electronic device 200 provides an environment for execution of computer readable instructions in memory 52 . The display screen 83 of the electronic device 200 may be a liquid crystal display screen or an electronic ink display screen, etc., and the input device 84 may be a touch layer covered on the display screen 83, or may be a button, a trackball or a touch screen provided on the housing of the electronic device 200. It can also be an external keyboard, touchpad or mouse. The electronic device 200 may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant or a wearable device (such as a smart bracelet, a smart watch, a smart helmet, smart glasses) and the like. Those skilled in the art can understand that the structure shown in FIG. 8 is only a schematic diagram of a partial structure related to the solution of this application, and does not constitute a limitation on the electronic device 200 to which the solution of this application is applied. The specific electronic device 200 may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.

请参阅图9,本申请实施例的电子设备200中包括图像处理电路90,图像处理电路90可利用硬件和/或软件组件实现,包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图9为一个实施例中图像处理电路90的示意图。如图9所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。Referring to FIG. 9 , an image processing circuit 90 is included in the electronic device 200 of the embodiment of the present application, and the image processing circuit 90 can be realized by hardware and/or software components, including various types of pipelines defining an ISP (Image Signal Processing, image signal processing) pipeline. processing unit. FIG. 9 is a schematic diagram of an image processing circuit 90 in one embodiment. As shown in FIG. 9 , for ease of description, only various aspects of the image processing technology related to the embodiment of the present application are shown.

如图9所示,图像处理电路90包括ISP处理器91(ISP处理器91可为处理器60)和控制逻辑器92。摄像头93捕捉的图像数据首先由ISP处理器91处理,ISP处理器91对图像数据进行分析以捕捉可用于确定摄像头93的一个或多个控制参数的图像统计信息。摄像头93可包括一个或多个透镜932和图像传感器934。图像传感器934可包括色彩滤镜阵列(如Bayer滤镜),图像传感器934可获取每个成像像素捕捉的光强度和波长信息,并提供可由ISP处理器91处理的一组原始图像数据。传感器94(如陀螺仪)可基于传感器94接口类型把采集的图像处理的参数(如防抖参数)提供给ISP处理器91。传感器94接口可以为SMIA(StandardMobile Imaging Architecture,标准移动成像架构)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 9 , the image processing circuit 90 includes an ISP processor 91 (the ISP processor 91 may be the processor 60 ) and a control logic 92 . Image data captured by camera 93 is first processed by ISP processor 91 , which analyzes the image data to capture image statistics that can be used to determine one or more control parameters of camera 93 . The camera 93 may include one or more lenses 932 and an image sensor 934 . The image sensor 934 can include a color filter array (such as a Bayer filter), and the image sensor 934 can obtain light intensity and wavelength information captured by each imaging pixel, and provide a set of raw image data that can be processed by the ISP processor 91 . The sensor 94 (such as a gyroscope) can provide the collected image processing parameters (such as anti-shake parameters) to the ISP processor 91 based on the interface type of the sensor 94 . The interface of the sensor 94 may be a SMIA (StandardMobile Imaging Architecture, Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces or a combination of the above interfaces.

此外,图像传感器934也可将原始图像数据发送给传感器94,传感器94可基于传感器94接口类型把原始图像数据提供给ISP处理器91,或者传感器94将原始图像数据存储到图像存储器95中。In addition, the image sensor 934 may also send raw image data to the sensor 94, the sensor 94 may provide the raw image data to the ISP processor 91 based on the sensor 94 interface type, or the sensor 94 may store the raw image data in the image memory 95.

ISP处理器91按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器91可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP processor 91 processes raw 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 ISP processor 91 may perform one or more image processing operations on the raw image data, collecting statistical information about the image data. Among other things, image processing operations can be performed with the same or different bit depth precision.

ISP处理器91还可从图像存储器95接收图像数据。例如,传感器94接口将原始图像数据发送给图像存储器95,图像存储器95中的原始图像数据再提供给ISP处理器91以供处理。图像存储器95可为存储器50、存储器50的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。ISP processor 91 may also receive image data from image memory 95 . For example, the sensor 94 interface sends raw image data to the image memory 95, and the raw image data in the image memory 95 is provided to the ISP processor 91 for processing. The image memory 95 may be the memory 50, a part of the memory 50, a storage device, or an independent dedicated memory in the electronic device, and may include a DMA (Direct Memory Access, Direct Memory Access) feature.

当接收到来自图像传感器934接口或来自传感器94接口或来自图像存储器95的原始图像数据时,ISP处理器91可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器95,以便在被显示之前进行另外的处理。ISP处理器91从图像存储器95接收处理数据,并对处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。ISP处理器91处理后的图像数据可输出给显示器97(显示器97可包括显示屏83),以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,ISP处理器91的输出还可发送给图像存储器95,且显示器97可从图像存储器95读取图像数据。在一个实施例中,图像存储器95可被配置为实现一个或多个帧缓冲器。此外,ISP处理器91的输出可发送给编码器/解码器96,以便编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器97设备上之前解压缩。编码器/解码器96可由CPU或GPU或协处理器实现。When receiving raw image data from the image sensor 934 interface or from the sensor 94 interface or from the image memory 95, the ISP processor 91 may perform one or more image processing operations, such as temporal filtering. The processed image data may be sent to image memory 95 for additional processing before being displayed. The ISP processor 91 receives processed data from the image memory 95, and performs image data processing in the original domain and in the RGB and YCbCr color spaces on the processed data. The image data processed by the ISP processor 91 may be output to the display 97 (the display 97 may include a display screen 83 ) for viewing by a user and/or further processing by a graphics engine or a GPU (Graphics Processing Unit, graphics processor). In addition, the output of the ISP processor 91 can also be sent to the image memory 95 , and the display 97 can read image data from the image memory 95 . In one embodiment, image memory 95 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 91 may be sent to an encoder/decoder 96 for encoding/decoding image data. The encoded image data may be saved and decompressed prior to display on the display 97 device. Encoder/decoder 96 may be implemented by a CPU or GPU or a coprocessor.

ISP处理器91确定的统计数据可发送给控制逻辑器92单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜932阴影校正等图像传感器934统计信息。控制逻辑器92可包括执行一个或多个例程(如固件)的处理元件和/或微控制器,一个或多个例程可根据接收的统计数据,确定摄像头93的控制参数及ISP处理器91的控制参数。例如,摄像头93的控制参数可包括传感器94控制参数(例如增益、曝光控制的积分时间、防抖参数等)、照相机闪光控制参数、透镜932控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜932阴影校正参数。The statistical data determined by the ISP processor 91 may be sent to the control logic 92 unit. For example, statistics may include image sensor 934 statistics such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, lens 932 shading correction, etc. Control logic 92 may include a processing element and/or a microcontroller that executes one or more routines (e.g., firmware) that determine control parameters for camera 93 and ISP processor based on received statistical data. 91 control parameters. For example, the control parameters of the camera 93 may include sensor 94 control parameters (such as gain, integration time of exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 932 control parameters (such as focal length for focusing or zooming), or these parameters The combination. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), as well as lens 932 shading correction parameters.

例如,以下为运用图8中的处理器60或运用图9中的图像处理电路90(具体为ISP处理器91)实现拍摄曝光控制方法的步骤:For example, the following are the steps to implement the shooting exposure control method by using the processor 60 in FIG. 8 or using the image processing circuit 90 (specifically, the ISP processor 91) in FIG. 9 :

控制所述像素单元阵列中各感光像素对环境亮度值进行测量;controlling each photosensitive pixel in the pixel unit array to measure the ambient brightness value;

根据环境亮度值的测量结果,确定所述像素单元阵列各区域对应的环境亮度值;其中,各区域是对所述像素单元阵列进行区域划分得到的,每一区域包含至少一个感光像素;According to the measurement result of the ambient brightness value, determine the ambient brightness value corresponding to each area of the pixel unit array; wherein, each area is obtained by dividing the pixel unit array, and each area includes at least one photosensitive pixel;

根据各区域测得的环境亮度值,控制每个区域内的感光像素采用对应的曝光模式进行拍摄。According to the ambient brightness value measured in each area, the photosensitive pixels in each area are controlled to use the corresponding exposure mode to shoot.

再例如,以下为运用图8中的处理器或运用图9中的图像处理电路90(具体为ISP处理器)实现拍摄曝光控制方法的步骤:For another example, the following are the steps of using the processor in FIG. 8 or using the image processing circuit 90 (specifically, an ISP processor) in FIG. 9 to realize the shooting exposure control method:

根据所述环境亮度值与预设的目标亮度值,获取增益索引值;Acquiring a gain index value according to the ambient brightness value and a preset target brightness value;

当所述增益索引值小于预设增益索引值时,使用亮光模式拍摄以得到目标图像;When the gain index value is less than the preset gain index value, use bright light mode to shoot to obtain the target image;

当所述增益索引值大于所述预设增益索引值时,使用暗光模式拍摄以得到目标图像。When the gain index value is greater than the preset gain index value, use dark light mode to shoot to obtain the target image.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of a process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a discrete Logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (13)

1. A photographic exposure control method for an imaging apparatus including a pixel unit array composed of a plurality of photosensitive pixels, the photographic exposure control method comprising:
controlling each photosensitive pixel in the pixel unit array to measure the environmental brightness value;
determining an environment brightness value corresponding to each area of the pixel unit array according to the measurement result of the environment brightness value; each region is obtained by dividing the pixel unit array into regions, and each region comprises at least one photosensitive pixel;
and controlling the photosensitive pixels in each area to shoot by adopting a corresponding exposure mode according to the environment brightness value measured in each area.
2. The photographic exposure control method according to claim 1, wherein the controlling of the photosensitive pixels in each region to perform photographing in the corresponding exposure mode according to the environmental brightness value measured in each region comprises:
acquiring a gain index value according to the environment brightness value and a preset target brightness value;
when the gain index value is smaller than a preset gain index value, shooting by using a bright light mode to obtain a target image;
and when the gain index value is larger than the preset gain index value, shooting by using a dark light mode to obtain a target image.
3. The photographic exposure control method according to claim 2, wherein the photosensitive pixels include a plurality of long-exposure pixels, a plurality of middle-exposure pixels, and a plurality of short-exposure pixels, and the photographing using the bright light mode to obtain the target image includes:
controlling the pixel unit array to output a plurality of original pixel information respectively under different exposure times; wherein the long exposure time of the long exposure pixels is longer than the middle exposure time of the middle exposure pixels, and the middle exposure time of the middle exposure pixels is longer than the short exposure time of the short exposure pixels;
calculating to obtain merged pixel information according to the original pixel information with the same exposure time in the same photosensitive pixel;
and outputting the target image according to the merged pixel information.
4. The photographic exposure control method according to claim 3, wherein the calculating merged pixel information from the original pixel information of the same exposure time in the same photosensitive pixel includes:
selecting original pixel information of a long exposure pixel, original pixel information of a short exposure pixel or original pixel information of a medium exposure pixel in the same photosensitive pixel;
and calculating to obtain the merged pixel information according to the selected original pixel information and the exposure ratio among the long exposure time, the middle exposure time and the short exposure time.
5. The photographic exposure control method according to claim 2, wherein the photographing using the dark light mode to obtain the target image includes:
controlling the pixel unit array to output a plurality of original pixel information obtained by exposure with the same exposure time;
calculating the original pixel information in the same photosensitive pixel to obtain combined pixel information, wherein each photosensitive pixel corresponds to one combined pixel information;
and outputting the target image according to a plurality of pieces of combined pixel information.
6. The photographic exposure control method according to claim 5, wherein the calculating of the original pixel information in the same photosensitive pixel to obtain combined pixel information includes:
and calculating an average value of the original pixel information in the same photosensitive pixel to obtain the combined pixel information.
7. The photographic exposure control method according to claim 2, after obtaining the gain index value according to the environment brightness value and a preset target brightness value, further comprising:
and when the gain index value is equal to the preset gain index value, shooting by using the bright light mode or the dark light mode to obtain the target image.
8. The photographic exposure control method according to any one of claims 1 to 7, wherein the determining an environmental brightness value corresponding to each region of the pixel unit array based on the measurement result of the environmental brightness value includes:
according to the environment brightness value measured by each photosensitive pixel in the pixel unit array, carrying out region division on the pixel unit array; the environmental brightness values obtained by measuring photosensitive pixels belonging to the same region are similar;
and determining the environment brightness value corresponding to each area of the pixel unit array according to the environment brightness value measured by each photosensitive pixel in the same area.
9. The photographic exposure control method according to any one of claims 1 to 7, wherein the determining an environmental brightness value corresponding to each region of the pixel unit array based on the measurement result of the environmental brightness value includes:
determining each area fixedly divided by the pixel unit array;
and determining the environment brightness value corresponding to each area of the pixel unit array according to the environment brightness value measured by each photosensitive pixel in the same area.
10. A photographic exposure control device for an imaging apparatus including a pixel unit array composed of a plurality of photosensitive pixels, the photographic exposure control device comprising:
the measuring module is used for controlling each photosensitive pixel in the pixel unit array to measure the environmental brightness value;
a determining module, configured to determine, according to the measurement result of the environment brightness value, an environment brightness value corresponding to each region of the pixel unit array; each region is obtained by dividing the pixel unit array into regions, and each region comprises at least one photosensitive pixel;
and the control module is used for controlling the photosensitive pixels in each area to shoot by adopting a corresponding exposure mode according to the environment brightness value measured in each area.
11. An imaging apparatus comprising a pixel cell array of a plurality of photosensitive pixels, the imaging apparatus further comprising a processor configured to:
controlling each photosensitive pixel in the pixel unit array to measure the environmental brightness value;
determining an environment brightness value corresponding to each area of the pixel unit array according to the measurement result of the environment brightness value; each region is obtained by dividing the pixel unit array into regions, and each region comprises at least one photosensitive pixel;
and controlling the photosensitive pixels in each area to shoot by adopting a corresponding exposure mode according to the environment brightness value measured in each area.
12. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the photographic exposure control method according to any one of claims 1 to 9.
13. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the photographic exposure control method according to any one of claims 1 to 9.
CN201810886718.3A 2018-08-06 2018-08-06 Shooting exposure control method and device, imaging device and electronic device Pending CN108683861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810886718.3A CN108683861A (en) 2018-08-06 2018-08-06 Shooting exposure control method and device, imaging device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810886718.3A CN108683861A (en) 2018-08-06 2018-08-06 Shooting exposure control method and device, imaging device and electronic device

Publications (1)

Publication Number Publication Date
CN108683861A true CN108683861A (en) 2018-10-19

Family

ID=63815210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810886718.3A Pending CN108683861A (en) 2018-08-06 2018-08-06 Shooting exposure control method and device, imaging device and electronic device

Country Status (1)

Country Link
CN (1) CN108683861A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302570A (en) * 2018-10-23 2019-02-01 深圳市宸电电子有限公司 A kind of environment measuring processing mode based on ROI region subgraph brightness value
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
CN109903324A (en) * 2019-04-08 2019-06-18 京东方科技集团股份有限公司 A kind of depth image acquisition method and device
CN110519526A (en) * 2019-09-09 2019-11-29 Oppo广东移动通信有限公司 Exposure time control method, device, storage medium and electronic equipment
CN110784659A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 A kind of exposure control method and device, storage medium
CN110933302A (en) * 2019-11-27 2020-03-27 维沃移动通信有限公司 A shooting method and electronic device
CN111175774A (en) * 2020-01-14 2020-05-19 炬佑智能科技(苏州)有限公司 Control method of TOF sensor module
CN111193882A (en) * 2018-11-15 2020-05-22 格科微电子(上海)有限公司 Implementation method of single frame high dynamic range image sensor
CN111225162A (en) * 2020-01-21 2020-06-02 厦门亿联网络技术股份有限公司 Image exposure control method, system, readable storage medium and camera equipment
WO2020207239A1 (en) * 2019-04-09 2020-10-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for image processing
CN112361990A (en) * 2020-10-29 2021-02-12 深圳市道通科技股份有限公司 Laser pattern extraction method and device, laser measurement equipment and system
CN112911163A (en) * 2021-01-20 2021-06-04 维沃移动通信有限公司 Image exposure method and device and electronic equipment
CN113194264A (en) * 2021-04-29 2021-07-30 维沃移动通信有限公司 Color cast adjustment method and device, electronic equipment and storage medium
CN114255177A (en) * 2021-11-25 2022-03-29 北京百度网讯科技有限公司 Exposure control method, device, equipment and storage medium in imaging
CN114450934A (en) * 2020-08-31 2022-05-06 华为技术有限公司 Method, device and equipment for acquiring image and computer readable storage medium
CN115018743A (en) * 2021-03-05 2022-09-06 思特威(上海)电子科技股份有限公司 On-chip partition exposure image fusion method, imaging device and computer storage medium
CN116193263A (en) * 2021-11-25 2023-05-30 浙江宇视科技有限公司 Image acquisition method, device, electronic equipment and medium
CN119211746A (en) * 2024-09-29 2024-12-27 昆山丘钛光电科技有限公司 Image processing method, device, equipment and medium
CN119211746B (en) * 2024-09-29 2025-10-17 昆山丘钛光电科技有限公司 Image processing method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208281A (en) * 2015-10-09 2015-12-30 广东欧珀移动通信有限公司 Night scene shooting method and device
CN108200354A (en) * 2018-03-06 2018-06-22 广东欧珀移动通信有限公司 Control method and device, imaging device, computer device and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208281A (en) * 2015-10-09 2015-12-30 广东欧珀移动通信有限公司 Night scene shooting method and device
CN108200354A (en) * 2018-03-06 2018-06-22 广东欧珀移动通信有限公司 Control method and device, imaging device, computer device and readable storage medium

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302570A (en) * 2018-10-23 2019-02-01 深圳市宸电电子有限公司 A kind of environment measuring processing mode based on ROI region subgraph brightness value
CN111193882A (en) * 2018-11-15 2020-05-22 格科微电子(上海)有限公司 Implementation method of single frame high dynamic range image sensor
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
CN109903324A (en) * 2019-04-08 2019-06-18 京东方科技集团股份有限公司 A kind of depth image acquisition method and device
WO2020207239A1 (en) * 2019-04-09 2020-10-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for image processing
US11403740B2 (en) 2019-04-09 2022-08-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for image capturing and processing
CN110519526A (en) * 2019-09-09 2019-11-29 Oppo广东移动通信有限公司 Exposure time control method, device, storage medium and electronic equipment
CN110784659A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 A kind of exposure control method and device, storage medium
CN110784659B (en) * 2019-10-31 2022-01-11 Oppo广东移动通信有限公司 Exposure control method and device and storage medium
CN110933302B (en) * 2019-11-27 2021-06-25 维沃移动通信有限公司 A shooting method and electronic device
CN110933302A (en) * 2019-11-27 2020-03-27 维沃移动通信有限公司 A shooting method and electronic device
CN111175774A (en) * 2020-01-14 2020-05-19 炬佑智能科技(苏州)有限公司 Control method of TOF sensor module
CN111175774B (en) * 2020-01-14 2022-09-09 炬佑智能科技(苏州)有限公司 Control method of TOF sensor module
CN111225162A (en) * 2020-01-21 2020-06-02 厦门亿联网络技术股份有限公司 Image exposure control method, system, readable storage medium and camera equipment
CN114450934B (en) * 2020-08-31 2023-06-09 华为技术有限公司 Method, apparatus, device and computer readable storage medium for acquiring image
CN114450934A (en) * 2020-08-31 2022-05-06 华为技术有限公司 Method, device and equipment for acquiring image and computer readable storage medium
CN112361990A (en) * 2020-10-29 2021-02-12 深圳市道通科技股份有限公司 Laser pattern extraction method and device, laser measurement equipment and system
WO2022089386A1 (en) * 2020-10-29 2022-05-05 深圳市道通科技股份有限公司 Laser pattern extraction method and apparatus, and laser measurement device and system
CN112911163A (en) * 2021-01-20 2021-06-04 维沃移动通信有限公司 Image exposure method and device and electronic equipment
CN115018743A (en) * 2021-03-05 2022-09-06 思特威(上海)电子科技股份有限公司 On-chip partition exposure image fusion method, imaging device and computer storage medium
CN115018743B (en) * 2021-03-05 2024-06-14 思特威(上海)电子科技股份有限公司 Intra-chip partition exposure image fusion method, imaging device and computer storage medium
CN113194264A (en) * 2021-04-29 2021-07-30 维沃移动通信有限公司 Color cast adjustment method and device, electronic equipment and storage medium
CN114255177A (en) * 2021-11-25 2022-03-29 北京百度网讯科技有限公司 Exposure control method, device, equipment and storage medium in imaging
CN116193263A (en) * 2021-11-25 2023-05-30 浙江宇视科技有限公司 Image acquisition method, device, electronic equipment and medium
US12335629B2 (en) 2021-11-25 2025-06-17 Beijing Baidu Netcom Science Technology Co., Ltd. Imaging exposure control method and apparatus, device and storage medium
CN119211746A (en) * 2024-09-29 2024-12-27 昆山丘钛光电科技有限公司 Image processing method, device, equipment and medium
CN119211746B (en) * 2024-09-29 2025-10-17 昆山丘钛光电科技有限公司 Image processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108200354B (en) Control method and apparatus, imaging device, computer device, and readable storage medium
US11228720B2 (en) Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium
CN109005364B (en) Imaging control method, apparatus, electronic device, and computer-readable storage medium
CN108683861A (en) Shooting exposure control method and device, imaging device and electronic device
EP3609177B1 (en) Control method, control apparatus, imaging device, and electronic device
CN109788207B (en) Image synthesis method and device, electronic equipment and readable storage medium
CN108322669B (en) Image acquisition method and device, imaging device and readable storage medium
CN108632537B (en) Control method and device, imaging device, computer device, and readable storage medium
US11490024B2 (en) Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium
CN108683862A (en) Imaging control method, device, electronic device, and computer-readable storage medium
CN109040607B (en) Imaging control method, imaging control device, electronic device and computer-readable storage medium
CN108270977A (en) Control method and device, imaging device, computer device and readable storage medium
US11601600B2 (en) Control method and electronic device
CN108965729A (en) Control method, control device, electronic equipment and computer-readable storage medium
CN109005343A (en) Control method, control device, imaging device, electronic device and readable storage medium
CN109005363B (en) Imaging control method, device, electronic device, and storage medium
CN108513062B (en) Terminal control method and device, readable storage medium and computer equipment
CN108881731A (en) Panoramic shooting method, device and imaging device
HK40001706A (en) Control method, apparatus, imaging device, electronic device, and readable storage medium
HK40001462B (en) Imaging control method, apparatus, electronic device and computer-readable storage medium
HK40001462A (en) Imaging control method, apparatus, electronic device and computer-readable storage medium
HK1258242A1 (en) Imaging control method, apparatus, electronic device, and computer readable storage medium
HK1258242B (en) Imaging control method, apparatus, electronic device, and computer readable storage medium
HK1251806B (en) Control method and device, imaging equipment, computer equipment and 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: 20181019

RJ01 Rejection of invention patent application after publication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载