WO2019227757A1 - 相机曝光时间调整方法、装置及设备 - Google Patents

相机曝光时间调整方法、装置及设备 Download PDF

Info

Publication number
WO2019227757A1
WO2019227757A1 PCT/CN2018/104392 CN2018104392W WO2019227757A1 WO 2019227757 A1 WO2019227757 A1 WO 2019227757A1 CN 2018104392 W CN2018104392 W CN 2018104392W WO 2019227757 A1 WO2019227757 A1 WO 2019227757A1
Authority
WO
WIPO (PCT)
Prior art keywords
exposure time
camera
imaging
energy
energy value
Prior art date
Application number
PCT/CN2018/104392
Other languages
English (en)
French (fr)
Inventor
韩欣欣
董南京
孙德波
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Priority to US16/969,936 priority Critical patent/US11770620B2/en
Publication of WO2019227757A1 publication Critical patent/WO2019227757A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/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

Definitions

  • the present invention relates to the field of assembly technology, and in particular, to a method, device and equipment for adjusting camera exposure time.
  • optical modules with independent functions in the market to meet diversified market demands.
  • These optical modules can be embedded in other devices to perform their functions, such as camera modules, miniature projection modules, LED (Light Emitting Diode, light emitting diode) optical modules, and VR (Virtual Reality, Virtual Reality) / AR (Augmented Reality) , Augmented reality) optical modules.
  • LED Light Emitting Diode, light emitting diode
  • VR Virtual Reality, Virtual Reality
  • AR Augmented Reality
  • Augmented reality Augmented reality
  • an optical module is assembled from multiple optical components and other parts.
  • the camera module can be assembled from components such as image sensors, lens mounts, multiple lenses, and circuit boards.
  • the assembly accuracy of the lens plays a decisive role in the optical performance of the optical module.
  • the optical module during the assembly process is imaged, a camera is used to collect the imaging spot, and whether the lenses to be assembled are aligned according to the size of the imaging spot, if the lenses are not aligned, Constantly adjust the position of the lens to be assembled.
  • Various aspects of the present invention provide a camera exposure time adjustment method, device, and equipment for adjusting the camera exposure time to a reasonable value, which is conducive to capturing a clear imaging spot and improving the accuracy and reliability of the spot analysis.
  • the invention provides a method for adjusting camera exposure time, including:
  • the duration of the first exposure time is adjusted to update the first exposure time according to a relationship between the energy value and the energy range.
  • the method further includes: using the first exposure time as an optimal exposure time for the camera to collect the imaging spot.
  • adjusting the duration of the first exposure time according to a relationship between the energy value and the energy range includes: if the energy value is higher than an upper limit value of the energy range, The set step length reduces the duration of the first exposure time; if the energy value is lower than the lower limit of the energy range, the duration of the first exposure time is increased by the set step size.
  • adjusting the duration of the first exposure time to update the first exposure time further includes: controlling the imaging brightness of the imaging component to remain unchanged when the first exposure time is updated.
  • the energy range of the camera is within 10000 ⁇ 500.
  • the invention also provides a camera exposure time adjustment device, including:
  • An acquisition module configured to control the camera to acquire an imaging light spot of the imaging component at a first exposure time
  • An energy acquisition module configured to acquire an energy value received by the camera when collecting the imaging spot
  • the exposure time determining module is configured to adjust the duration of the first exposure time to update the first exposure time according to the relationship between the energy value and the energy range if the energy value is not within a set energy range. An exposure time.
  • the exposure time determining module is further configured to: when the energy value is not within a set energy range, use the first exposure time as an optimal exposure time for the camera to collect the imaging spot .
  • the exposure time determining module is specifically configured to: if the energy value is higher than an upper limit value of the energy range, reduce the duration of the first exposure time by a set step; if the If the energy value is lower than the lower limit of the energy range, the duration of the first exposure time is increased by the set step size.
  • the exposure time determining module is further configured to: when updating the first exposure time, control the imaging brightness of the imaging component to remain unchanged.
  • the invention also provides an electronic device, comprising: a memory and a processor; wherein the memory is used to store at least one computer instruction; the processor is coupled to the memory for performing the camera exposure time adjustment method provided by the invention .
  • a camera can be used to acquire its imaging spot to analyze the imaging characteristics of the imaging component.
  • This implementation mode is beneficial to adjust the exposure time of the camera to a reasonable value, is conducive to capturing a clear imaging spot, and improves the accuracy and reliability of the spot analysis.
  • FIG. 1 is a method flowchart of a camera exposure time adjustment method according to an embodiment of the present invention
  • 2a is a method flowchart of a camera exposure time adjustment method according to another embodiment of the present invention.
  • 2b is a schematic diagram of an exposure time-energy curve provided by an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a camera exposure time adjustment device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • a light source is used to illuminate the optical module to be aligned for imaging, and then a camera is used to obtain an imaging spot of the optical module to be aligned. Then, based on the collected position and size of the imaging spot, analyze whether the to-be-assembled lens and the to-be-assembled optical component in the to-be-aligned optical module are aligned.
  • Exposure time is an important parameter for camera imaging. Generally, the longer the exposure time, the more photons received by the camera's photosensitive material, the brighter the captured image, and vice versa.
  • the optical module alignment assembly method based on spot analysis when the camera is used to collect the imaging spot, if the exposure time of the camera is too short, the collected imaging spot is dark, which is not conducive to capturing the characteristics of the imaging spot. If the exposure time is too long, the collected light spot will be brighter, which will cause the captured light spot to be abnormal. For example, some pixels at the edge of the light spot will be lost due to overexposure, which is also not conducive to capturing the characteristics of the imaging spot.
  • an embodiment of the present invention provides a method for adjusting camera exposure time. As shown in FIG. 1, the method includes:
  • Step 101 Control the camera to collect an imaging light spot of the imaging component at a first exposure time.
  • Step 102 Obtain an energy value received by the camera when collecting the imaging spot.
  • Step 103 If the energy value is not within a set energy range, adjust the duration of the first exposure time to update the first exposure time according to a relationship between the energy value and the energy range.
  • the energy value received when the camera collects the imaging spot in this embodiment refers to the light energy value absorbed by the photosensitive element in the camera when the imaging element in the camera captures the imaging spot.
  • the light energy value is related to the imaging brightness of the imaging component and the exposure time of the camera. Therefore, in this embodiment, the exposure time of the camera can be adjusted by using the energy value received by the camera when collecting the imaging spot as a reference while ensuring that the imaging brightness of the imaging component is not changed.
  • the first exposure time refers to the time elapsed after the shutter of the camera is opened to closed.
  • the exposure time determines the quality of the imaging spot captured by the camera.
  • the camera can capture a better-quality imaging spot, and a better-quality imaging spot is advantageous for analyzing and calculating the spot size and the center of mass coordinates.
  • the range corresponding to the light energy value received by the photosensitive element in the camera can be used as the set energy range to determine whether the exposure time of the camera is reasonable.
  • the process of adjusting the first exposure time of the camera in this embodiment is a cyclic execution process. For the specific cyclic process, refer to the description of steps 101-103.
  • a camera can be used to acquire its imaging spot to analyze the imaging characteristics of the imaging component.
  • This implementation mode is beneficial to adjust the exposure time of the camera to a reasonable value, is conducive to capturing a clear imaging spot, and improves the accuracy of the spot size and the calculation of the centroid.
  • FIG. 2a is a method flowchart of a camera exposure time adjustment method according to another embodiment of the present invention. As shown in FIG. 2a, the method includes:
  • Step 201 Control the camera to collect an imaging light spot of the imaging component at a first exposure time.
  • Step 202 Obtain an energy value received by the camera when collecting the imaging spot.
  • Step 203 Determine whether the energy value is within a set energy range. If yes, go to step 204; if no, go to step 205.
  • Step 204 Use the first exposure time as an optimal exposure time for the camera to collect the imaging spot.
  • Step 205 Determine that the energy value is higher than the upper limit value of the energy range or lower than the lower limit value of the energy range; if it is higher than the upper limit value of the energy range, step 206 is performed; If the lower limit of the energy range is reached, step 207 is performed.
  • Step 206 Reduce the duration of the first exposure time by a set step size, and execute step 201.
  • Step 207 Increase the duration of the first exposure time by the set step size, and execute step 201.
  • the object-side light source included in the imaging component is a multi-color color light source.
  • the multiple optical modules included in the imaging module respectively image colored light sources to obtain different colored spots, and the camera can collect and analyze the imaging spots of multiple optical modules to finally achieve the alignment of multiple optical modules at the same time Assembly.
  • the camera used to capture the imaging spot needs to have high color image acquisition capabilities.
  • a camera with a color depth of 14 bits is selected to collect the imaging spot.
  • step 202 when the subject is focused on the camera's photosensitive element through the lens of the camera, such as on a CCD / CMOS chip, the photosensitive element can accumulate a corresponding proportion of charge according to the intensity of light and the number of photons, and form an image signal output . Therefore, in this step, the energy value received by the camera when acquiring the imaging spot can be obtained by acquiring the intensity of the image signal output by the camera.
  • the relationship between the exposure time and the energy value can be shown as a curve in FIG. 2b.
  • the horizontal axis represents the exposure time
  • the unit is ms
  • the vertical axis represents the energy value
  • E represents the ideal optimal energy value
  • d represents the error of the optimal energy value that can be allowed to fluctuate
  • E ⁇ d represents the optimal energy correspondence.
  • Energy range It should be understood that the magnitude of the energy collected by the camera can be quantified as the magnitude of the gray value. For example, the higher the energy collected by the camera, the brighter the corresponding image is, and the higher the gray value of the corresponding pixel is. Based on this, in the above or the following embodiments of the present invention, the magnitude of the gray value may be used to represent the energy value received by the camera when collecting the imaging spot, and the range of the gray value of the pixel is used to represent the energy range.
  • the energy value received by the camera when collecting the imaging spot is within [9500, 10500], the quality of the collected imaging spot is high.
  • step 204 when the energy value received when the camera collects the imaging spot is within the energy range, for example, [9500, 10500], the exposure time of the camera at this time may be considered to be within a reasonable range, and the exposure time may be collected as the camera Optimal exposure time for imaging spots.
  • acquisition can be performed based on the optimal exposure time to improve the quality of the imaging spot, improve the accuracy of the spot size and centroid calculation, and improve the alignment accuracy of the optical module.
  • step 205 to step 207 when the energy value received by the camera when collecting the imaging spot is outside the energy range, for example, less than 9500 or more than 10500, it can be determined that the setting of the first exposure time is unreasonable. At this time, the first exposure time can be adjusted.
  • the value is higher than the upper limit of the energy range, for example, greater than 10500, the exposure time is considered to be too long, and the duration of the first exposure time needs to be reduced at this time.
  • the lower limit value of the energy range is lower than, for example, less than 9500
  • the exposure time is considered to be too short, and the duration of the first exposure time should be increased at this time.
  • the step size for reducing or increasing the first exposure time is an empirical value, which can be set according to the actual energy value, which is not limited in this embodiment.
  • step 201 may be continued to continue to collect the imaging spot process with the adjusted first exposure time, which is not described repeatedly. It should be noted that, in this embodiment, each time an imaging spot is acquired with the updated first exposure time, it is necessary to control the imaging brightness of the imaging component to remain unchanged to ensure the reliability of the obtained energy value.
  • adjusting the exposure time of the camera based on the energy value received when the camera collects the imaging spot is beneficial to capturing a clear imaging spot , Improve the accuracy of the calculation of the spot size and the centroid, and help to improve the accuracy of the alignment and assembly of the optical module.
  • the camera exposure time adjustment method can be implemented by a camera exposure time adjustment device, as shown in FIG.
  • An acquisition module 301 configured to control a camera to acquire an imaging light spot of an imaging component at a first exposure time
  • the exposure time determining module 303 is configured to, if the energy value is not within a set energy range, adjust the duration of the first exposure time to update the energy according to a relationship between the energy value and the energy range. First exposure time.
  • the exposure time determining module 303 is further configured to: when the energy value is not within a set energy range, use the first exposure time as an optimal exposure time for the camera to collect the imaging spot.
  • the exposure time determining module 303 is specifically configured to: if the energy value is higher than an upper limit value of the energy range, reduce the duration of the first exposure time by a set step; if the energy If the value is lower than the lower limit of the energy range, the duration of the first exposure time is increased by the set step size.
  • the exposure time determining module 303 is further configured to: when updating the first exposure time, control the imaging brightness of the imaging component to remain unchanged.
  • the above-mentioned camera exposure time adjustment device can execute the camera exposure time adjustment method provided by the embodiment of the present invention, and has corresponding function modules and beneficial effects of the execution method.
  • the camera exposure time adjustment method provided by the embodiment of the present invention, and has corresponding function modules and beneficial effects of the execution method.
  • the camera exposure time adjustment device can be represented as an electronic device. As shown in FIG. 4, the electronic device includes: a memory 401, a processor 402, an input device 403, and an output device 404.
  • the memory 401, the processor 402, the input device 403, and the output device 404 may be connected through a bus or other methods.
  • a bus connection is taken as an example.
  • the memory 401 is used to store one or more computer instructions and may be configured to store various other data to support operations on the camera exposure time adjustment device. Examples of this data include instructions for any application or method operating on a camera exposure time adjustment device.
  • the memory 401 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Programming read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM Programming read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory magnetic memory
  • flash memory magnetic disk or optical disk.
  • the memory 401 may optionally include a memory remotely set relative to the processor 402, and these remote memories may be connected to the camera exposure time adjustment device through a network.
  • Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the processor 402 is coupled to the memory 401 and is configured to execute the one or more computer instructions for executing the method provided by the embodiment corresponding to FIG. 1 to FIG. 2a.
  • the input device 403 may receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of a camera exposure time adjustment device.
  • the output device 404 may include a display device such as a display screen.
  • the camera exposure time adjusting device further includes a power source component 405.
  • the power source component 405 provides power to various components of a device in which the power source component is located.
  • Power components can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the equipment in which the power components are located.
  • the above-mentioned camera exposure time adjustment device can execute the camera exposure time adjustment method provided by the embodiment of the present application, and has corresponding function modules and beneficial effects of the execution method.
  • the camera exposure time adjustment method provided by the embodiment of the present application, and has corresponding function modules and beneficial effects of the execution method.

Landscapes

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

Abstract

本发明提供一种相机曝光时间调整方法、装置及设备,其中,方法包括:控制相机以第一曝光时间采集成像组件的成像光斑;获取所述相机采集所述成像光斑时接收到的能量值;若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。本发明提供的技术方案,能够将相机的曝光时间调整至合理值,以提升光斑分析的准确性和可靠性。

Description

相机曝光时间调整方法、装置及设备
交叉引用
本申请引用于2018年5月31日递交的名称为“相机曝光时间调整方法、装置及设备”的第2018105527264号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明涉及装配技术领域,尤其涉及一种相机曝光时间调整方法、装置及设备。
背景技术
现如今,市场上存在越来越多的具备独立功能的光学模组,以满足多样化的市场需求。这些光学模组可以嵌入到其他设备中发挥其功能,例如摄像头模组、微型投影模组、LED(Light Emitting Diode,发光二极管)光学模组以及VR(Virtual Reality,虚拟现实)/AR(Augmented Reality,增强现实)光学模组等。
通常,光学模组由多个光学元件以及其他零件组装得到。例如,摄像头模组可由图像传感器、镜座、多个镜片、线路板等零配件组装得到。其中,镜片的组装精度对光学模组的光学性能起到决定性的作用。在一种光学模组的组装方式中,使组装过程中的光学模组成像,采用相机采集成像光斑,并根据成像光斑的大小分析待组装镜片是否均已对准,在没有对准的情况下不断调整待组装镜片的位置。
在相机采集成像光斑的过程中,为确保成像光斑的采集质量,需使相机的曝光时间控制在合理的范围内。因此,如何将相机的曝光时间控制在目标范围内是一个亟待解决的技术问题。
发明内容
本发明的多个方面提供一种相机曝光时间调整方法、装置及设备,用以将相机的曝光时间调整至合理值,有利于拍摄到清晰的成像光斑,提升光斑分析的准确性和可靠性。
本发明提供一种相机曝光时间调整方法,包括:
控制相机以第一曝光时间采集成像组件的成像光斑;
获取所述相机采集所述成像光斑时接收到的能量值;
若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
进一步可选地,若所述能量值在设定的能量范围内,还包括:将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
进一步可选地,根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整,包括:若所述能量值高于所述能量范围的上限值,则以设定步长降低所述第一曝光时间的时长;若所述能量值低于所述能量范围的下限值,则以所述设定步长增加所述第一曝光时间的时长。
进一步可选地,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间,还包括:在更新所述第一曝光时间时,控制所述成像组件的成像亮度不变。
进一步可选地,当所述相机的色深为14位时,所述相机的所述能量范围为10000±500内。
本发明还提供一种相机曝光时间调整装置,包括:
采集模块,用于控制相机以第一曝光时间采集成像组件的成像光斑;
能量获取模块,用于获取所述相机采集所述成像光斑时接收到的能量值;
曝光时间确定模块,用于若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
进一步可选地,所述曝光时间确定模块还用于:在所述能量值不在设定的 能量范围内时,将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
进一步可选地,所述曝光时间确定模块具体用于:若所述能量值高于所述能量范围的上限值,则以设定步长降低所述第一曝光时间的时长;若所述能量值低于所述能量范围的下限值,则以所述设定步长增加所述第一曝光时间的时长。
进一步可选地,所述曝光时间确定模块还用于:在更新所述第一曝光时间时,控制所述成像组件的成像亮度不变。
本发明还提供一种电子设备,包括:存储器以及处理器;其中,存储器用于存储至少一条计算机指令;所述处理器与所述存储器耦合,以用于执行本发明提供的相机曝光时间调整方法。
在本发明中,成像组件成像之后,可采用相机获取其成像光斑以分析成像组件的成像特点。在上述过程中,判断相机采集到成像光斑时接收到的能量值是否在设定的能量范围内,并基于判断的结果调整曝光时间。这种实施方式有利于将相机的曝光时间调整至合理值,有利于拍摄到清晰的成像光斑,提升光斑分析的准确性和可靠性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一实施例提供的相机曝光时间调整方法的方法流程图;
图2a是本发明另一实施例提供的相机曝光时间调整方法的方法流程图;
图2b是本发明一实施例提供的曝光时间-能量曲线示意图;
图3是本发明一实施例提供的相机曝光时间调整装置的结构示意图;
图4是本发明一实施例提供的电子设备的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在现有的一种光学模组对准组装方式中,采用光源照明待对准的光学模组使其成像,再采用相机获取该待对准光学模组的成像光斑。接着,基于采集到的成像光斑的位置和大小,分析该待对准光学模组中的待组装镜片和待组装光学件是否已对准。
曝光时间是相机成像的重要参数,通常曝光时间越长,相机的感光材料接收的光子越多,拍摄到的图像越亮,反之则越暗。在基于光斑分析的光学模组对准组装方式中,采用相机对成像光斑进行采集时,若相机的曝光时间过短,则采集到的成像光斑较暗,不利于捕获成像光斑的特征;若相机的曝光时间过长,则采集到的光斑较亮,导致拍摄到的光斑失常,例如光斑边缘会出现部分像素由于曝光过度而丢失的现象,同样不利于捕获成像光斑的特征。
因此,在基于光斑分析光学模组对准组装方式中,为提升光斑分析的可靠性以及准确性,需要将光斑的亮度和清晰度保持在一个合理的范围内,进而需要对相机的曝光时间进行控制。
有鉴于此,本发明一实施例提供一种相机曝光时间调整方法,如图1所示,该方法包括:
步骤101、控制相机以第一曝光时间采集成像组件的成像光斑。
步骤102、获取所述相机采集所述成像光斑时接收到的能量值。
步骤103、若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
相机对某一对象进行拍摄时,入射光以光子的形式落在相机内感光元件的 像素阵列上,每一个光子的能量被感光元件吸收后发生反应,产生一个电子。本实施例中所述的相机采集成像光斑时接收到的能量值,指的是相机内的感光元件在拍摄成像光斑时,相机内感光元件所吸收的光能量值。该光能量值与成像组件的成像亮度以及相机的曝光时间有关。因而,在本实施例中,可在保证成像组件的成像亮度不变的情况下,将相机采集成像光斑时接收到能量值作为参考来调整相机的曝光时间。
其中,第一曝光时间,指的是相机的快门从打开到关闭所经历的时间。曝光时间决定了相机拍摄到的成像光斑的质量。当第一曝光时间在合理范围内时,相机能够拍摄到质量较佳的成像光斑,质量较佳的成像光斑有利于进行光斑大小以及质心坐标的分析计算。上述相机拍摄到质量较佳的成像光斑时,相机内的感光元件接收到的光能量值对应的范围,可作为所述设定的能量范围,以用于判断相机的曝光时间是否合理。
若相机采集成像光斑时接收到的能量不在设定的能量范围内,则说明第一曝光时间不合理,此时对第一曝光时间进行更新。基于更新后的第一曝光时间,相机继续对成像光斑进行采集。接着根据相机采集成像光斑时接收到的能量判断是否继续调整第一曝光时间的时长。也就是说,本实施例中对相机的第一曝光时间的调整过程是一个循环执行的过程,具体循环过程参考步骤101-103的记载。当相机采集成像光斑时接收到的能量值在设定的能量范围内时,循环结束。
在本实施例中,成像组件成像之后,可采用相机获取其成像光斑以分析成像组件的成像特点。在上述过程中,判断相机采集到成像光斑时接收到的能量值是否在设定的能量范围内,并基于判断的结果调整曝光时间。这种实施方式有利于将相机的曝光时间调整至合理值,有利于拍摄到清晰的成像光斑,提升对光斑大小及质心计算的准确性。
本发明的上述或下述实施例适用于以CCD(Charge-coupled Device,电荷耦合元件)/CMOS(Complementary Metal Oxide Semiconductor,互补金属氧 化物半导体)为感光元件的相机。以下部分将结合图2a,以一个具体的可选实施例对本发明提供的相机曝光时间调整方法进行具体说明。
图2a为本发明另一实施例提供的相机曝光时间调整方法的方法流程图,如图2a所示,该方法包括:
步骤201、控制相机以第一曝光时间采集成像组件的成像光斑。
步骤202、获取所述相机采集所述成像光斑时接收到的能量值。
步骤203、判断所述能量值是否在设定的能量范围内,若为是,则执行步骤204;若为否,则执行步骤205。
步骤204、将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
步骤205、判断所述能量值高于所述能量范围的上限值或低于所述能量范围的下限值;若高于所述能量范围的上限值,则执行步骤206;若低于所述能量范围的下限值,则执行步骤207。
步骤206、以设定步长降低所述第一曝光时间的时长,并执行步骤201。
步骤207、以所述设定步长增加所述第一曝光时间的时长,并执行步骤201。
可选的,光学模组对准组装中所采用的光斑检测装置中,成像组件包含的物方光源为多色的彩色光源。成像组件包含的多个光学模组分别对彩色光源成像可得到不同颜色的光斑,进而相机可对多个光学模组的成像光斑进行采集分析,以最终实现同时对多个光学模组进行对准组装。
在这种应用场景中,用于拍摄成像光斑的相机需要具有较高的彩色图像采集能力。本实施例中,可选的,为使得彩色的成像光斑在相机上具有较好的成像效果,选择为色深为14位的相机对成像光斑进行采集。
在步骤202中,被拍摄对象经相机的镜头聚焦至相机的感光元件,例如CCD/CMOS芯片上时,感光元件可根据光的强弱以及光子的数量积累相应比例的电荷,并形成图像信号输出。因此,本步骤中,可通过获取相机输出的图像信号的强度来获取所述相机采集所述成像光斑时接收到的能量值。
在步骤203中,曝光时间和能量值之间的关系可如图2b的曲线所示。在图 2b中,横轴表示曝光时间,单位为ms,纵轴表示能量值,E表示理想最佳能量值,d表示最佳能量值可允许上下浮动的误差,E±d表示最佳能量对应的能量范围。应当理解,相机采集到的能量的大小可量化为灰度值的大小。例如,相机采集到的能量越高,对应的图像亮度越亮,相应像素点的灰度值也越高。基于此,本发明的上述或下述实施例中可以采用灰度值的大小来表示相机采集所述成像光斑时接收到的能量值的大小,采用像素的灰度值的范围来表示能量范围。
可选的,当相机的色深为14位时,可设置E=10000,d=50,也就是说相机对应的能量范围可以为10000±500内。当相机采集成像光斑时接收到的能量值在[9500,10500]内时,采集到的成像光斑的质量较高。
在步骤204中,当相机采集成像光斑时接收到的能量值在能量范围,例如[9500,10500]内时,可认为相机此时的曝光时间在合理范围内,可将该曝光时间作为相机采集成像光斑的最佳曝光时间。后续针对成像光斑进行采集时,可基于该最佳曝光时间进行采集,以提升成像光斑的质量,提升对光斑大小及质心计算的准确性,提高光学模组的对准精度。
在步骤205-步骤207中,当相机采集成像光斑时接收到的能量值在能量范围之外,例如小于9500或大于10500时,可确定第一曝光时间的设置是不合理的。此时,可对第一曝光时间进行调整。可选的,针对高于能量范围的上限值,例如大于10500的情况,则认为曝光时间过长,此时需要降低第一曝光时间的时长。针对低于能量范围的下限值,例如小于9500的情况,则认为曝光时间过短,此时应增加第一曝光时间的时长。可选的,第一曝光时间的降低或增加的步长为经验值,可根据实际的能量值进行设定,本实施例不做限制。
在调整第一曝光时间之后,可继续执行步骤201,以调整后的第一曝光时间继续对成像光斑进程采集,不赘述。需要说明的是,在本实施例中,每一次以更新的第一曝光时间采集成像光斑时,需控制成像组件的成像亮度不变,以确保获取到的能量值的可靠性。
在本实施例中,采用相机获取成像组件的成像光斑以分析成像组件的成像 特点时,基于相机采集到成像光斑时接收到的能量值来调整相机的曝光时间,有利于拍摄到清晰的成像光斑,提升对光斑大小及质心计算的准确性,并有利于最终提升光学模组对准组装的精度。
需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
以上描述了相机曝光时间调整方法的可选实施方式,如图3所示,实际中,该相机曝光时间调整方法可通过相机曝光时间调整装置实现,如图3所示,该装置包括:
采集模块301,用于控制相机以第一曝光时间采集成像组件的成像光斑;
能量获取模块302,用于获取所述相机采集所述成像光斑时接收到的能量值;
曝光时间确定模块303,用于若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
进一步可选地,曝光时间确定模块303还用于:在所述能量值不在设定的能量范围内时,将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
进一步可选地,曝光时间确定模块303具体用于:若所述能量值高于所述能量范围的上限值,则以设定步长降低所述第一曝光时间的时长;若所述能量 值低于所述能量范围的下限值,则以所述设定步长增加所述第一曝光时间的时长。
进一步可选地,曝光时间确定模块303还用于:在更新所述第一曝光时间时,控制所述成像组件的成像亮度不变。
上述相机曝光时间调整装置可执行本发明实施例所提供的相机曝光时间调整方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法,不再赘述。
以上描述了相机曝光时间调整装置的内部结构和功能,实际中,相机曝光时间调整装置可表现为一电子设备。如图4所示,该电子设备包括:存储器401、处理器402、输入装置403以及输出装置404。
存储器401、处理器402、输入装置403以及输出装置404可以通过总线或其他方式连接,图4中以总线连接为例。
存储器401用于存储一条或多条计算机指令,并可被配置为存储其它各种数据以支持在相机曝光时间调整设备上的操作。这些数据的示例包括用于在相机曝光时间调整设备上操作的任何应用程序或方法的指令。
存储器401可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
在一些实施例中,存储器401可选包括相对于处理器402远程设置的存储器,这些远程存储器可以通过网络连接至相机曝光时间调整设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
处理器402,与存储器401耦合,用于执行所述一条或多条计算机指令以用于执行图1-图2a对应的实施例所提供的方法。
输入装置403可接收输入的数字或字符信息,以及产生与相机曝光时间调整设备的用户设置以及功能控制有关的键信号输入。输出装置404可包括显示 屏等显示设备。
进一步,如图4所示,该相机曝光时间调整设备还包括:电源组件405。电源组件405,为电源组件所在设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电源组件所在设备生成、管理和分配电力相关联的组件。
上述相机曝光时间调整设备可执行本申请实施例所提供的相机曝光时间调整方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法,不再赘述。
以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。

Claims (10)

  1. 一种相机曝光时间调整方法,其特征在于,包括:
    控制相机以第一曝光时间采集成像组件的成像光斑;
    获取所述相机采集所述成像光斑时接收到的能量值;
    若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
  2. 根据权利要求1所述的方法,其特征在于,若所述能量值在设定的能量范围内,还包括:
    将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
  3. 根据权利要求1所述的方法,其特征在于,根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整,包括:
    若所述能量值高于所述能量范围的上限值,则以设定步长降低所述第一曝光时间的时长;
    若所述能量值低于所述能量范围的下限值,则以所述设定步长增加所述第一曝光时间的时长。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间,还包括:
    在更新所述第一曝光时间时,控制所述成像组件的成像亮度不变。
  5. 根据权利要求1-3中任一项所述的方法,其特征在于,当所述相机的色深为14位时,所述相机的所述能量范围为10000±500内。
  6. 一种相机曝光时间调整装置,其特征在于,包括:
    采集模块,用于控制相机以第一曝光时间采集成像组件的成像光斑;
    能量获取模块,用于获取所述相机采集所述成像光斑时接收到的能量值;
    曝光时间确定模块,用于若所述能量值不在设定的能量范围内,则根据所述能量值与所述能量范围的关系,对所述第一曝光时间的时长进行调整以更新所述第一曝光时间。
  7. 根据权利要求6所述的装置,其特征在于,所述曝光时间确定模块还用 于:
    在所述能量值不在设定的能量范围内时,将所述第一曝光时间作为所述相机采集所述成像光斑的最佳曝光时间。
  8. 根据权利要求1所述的装置,其特征在于,所述曝光时间确定模块具体用于:
    若所述能量值高于所述能量范围的上限值,则以设定步长降低所述第一曝光时间的时长;
    若所述能量值低于所述能量范围的下限值,则以所述设定步长增加所述第一曝光时间的时长。
  9. 根据权利要求6-8中任一项所述的装置,其特征在于,所述曝光时间确定模块还用于:
    在更新所述第一曝光时间时,控制所述成像组件的成像亮度不变。
  10. 一种电子设备,其特征在于,包括:存储器以及处理器;
    其中,存储器用于存储至少一条计算机指令;
    所述处理器与所述存储器耦合,以用于执行权利要求1-5中任一项权利要求所述的方法。
PCT/CN2018/104392 2018-05-31 2018-09-06 相机曝光时间调整方法、装置及设备 WO2019227757A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/969,936 US11770620B2 (en) 2018-05-31 2018-09-06 Method and apparatus for adjusting exposure time of camera and device based on energy value when camera collecting an imaging light spot

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810552726.4A CN108419026B (zh) 2018-05-31 2018-05-31 相机曝光时间调整方法、装置及设备
CN201810552726.4 2018-05-31

Publications (1)

Publication Number Publication Date
WO2019227757A1 true WO2019227757A1 (zh) 2019-12-05

Family

ID=63141008

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104392 WO2019227757A1 (zh) 2018-05-31 2018-09-06 相机曝光时间调整方法、装置及设备

Country Status (3)

Country Link
US (1) US11770620B2 (zh)
CN (1) CN108419026B (zh)
WO (1) WO2019227757A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419026B (zh) * 2018-05-31 2020-05-15 歌尔股份有限公司 相机曝光时间调整方法、装置及设备
CN108777769B (zh) * 2018-05-31 2020-02-18 歌尔股份有限公司 相机曝光时间调整方法、装置及设备
CN108900782B (zh) * 2018-08-22 2020-01-24 Oppo广东移动通信有限公司 曝光控制方法、装置以及电子设备
CN109547703B (zh) * 2018-12-28 2021-04-13 北京旷视科技有限公司 一种摄像设备的拍摄方法、装置、电子设备及介质
JP2021027409A (ja) * 2019-07-31 2021-02-22 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd 制御装置、撮像装置、移動体、制御方法、及びプログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050093963A1 (en) * 2003-11-05 2005-05-05 Koji Masuda Optical writing unit, image forming apparatus, process cartridge, and method of adjusting light intensity
CN101701847A (zh) * 2009-11-27 2010-05-05 中国科学院光电技术研究所 基于光栅和ccd成像探测器的宽动态范围成像系统
CN103309031A (zh) * 2013-07-02 2013-09-18 长春理工大学 用于激光光束质量分析仪的机电复合式调光系统
CN106657802A (zh) * 2016-12-19 2017-05-10 北京空间机电研究所 一种转轮式多光谱相机自动曝光调节系统及调节方法
CN108419026A (zh) * 2018-05-31 2018-08-17 歌尔股份有限公司 相机曝光时间调整方法、装置及设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7233737B2 (en) * 2003-08-12 2007-06-19 Micron Technology, Inc. Fixed-focus camera module and associated method of assembly
KR100617661B1 (ko) * 2004-01-02 2006-08-28 엘지전자 주식회사 영상 처리 장치 및 그 방법
US7548270B2 (en) * 2005-09-08 2009-06-16 Delphi Technologies, Inc. Method of exposure control for an imaging system
CN101493562A (zh) * 2008-01-21 2009-07-29 鸿富锦精密工业(深圳)有限公司 镜筒旋入装置及镜筒定位方法
JP5027832B2 (ja) * 2009-02-17 2012-09-19 株式会社日立製作所 放射線検出モジュール及び放射線撮像装置
US9251565B2 (en) * 2011-02-03 2016-02-02 Massachusetts Institute Of Technology Hyper-resolution imaging
JP5715436B2 (ja) * 2011-02-21 2015-05-07 キヤノン株式会社 撮像装置、及びその制御方法
WO2014130468A1 (en) * 2013-02-19 2014-08-28 Sensormatic Electronics, LLC Method and system for adjusting exposure settings of video cameras
TWI512270B (zh) * 2015-01-13 2015-12-11 Pixart Imaging Inc 具動態曝光時間的光學測距系統
US9618827B2 (en) * 2015-01-15 2017-04-11 Surefire, Llc Illumination device for performing videography and photography with mobile devices
CN106982333B (zh) * 2017-05-12 2020-03-27 深圳怡化电脑股份有限公司 一种图像传感器快速校正方法、装置及设备
KR102499399B1 (ko) * 2018-03-20 2023-02-14 삼성전자주식회사 Isp 업데이트를 알리는 전자 장치 및 그 동작 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050093963A1 (en) * 2003-11-05 2005-05-05 Koji Masuda Optical writing unit, image forming apparatus, process cartridge, and method of adjusting light intensity
CN101701847A (zh) * 2009-11-27 2010-05-05 中国科学院光电技术研究所 基于光栅和ccd成像探测器的宽动态范围成像系统
CN103309031A (zh) * 2013-07-02 2013-09-18 长春理工大学 用于激光光束质量分析仪的机电复合式调光系统
CN106657802A (zh) * 2016-12-19 2017-05-10 北京空间机电研究所 一种转轮式多光谱相机自动曝光调节系统及调节方法
CN108419026A (zh) * 2018-05-31 2018-08-17 歌尔股份有限公司 相机曝光时间调整方法、装置及设备

Also Published As

Publication number Publication date
US20210075949A1 (en) 2021-03-11
CN108419026B (zh) 2020-05-15
CN108419026A (zh) 2018-08-17
US11770620B2 (en) 2023-09-26

Similar Documents

Publication Publication Date Title
WO2019227757A1 (zh) 相机曝光时间调整方法、装置及设备
EP3624439B1 (en) Imaging processing method for camera module in night scene, electronic device and storage medium
CN101334578B (zh) 图像拍摄装置以及图像拍摄方法
US20170256036A1 (en) Automatic microlens array artifact correction for light-field images
WO2019227758A1 (zh) 相机曝光时间调整方法、装置及设备
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
KR101756839B1 (ko) 디지털 촬영 장치 및 이의 제어 방법
CN105721741B (zh) 摄像装置、图像处理装置以及摄像方法
WO2006013945A1 (ja) 撮像装置、撮像方法および撮像制御プログラム
US20130083226A1 (en) Multiple image high dynamic range imaging from a single sensor array
CN104754196B (zh) 电子装置及方法
JP2018072554A (ja) 撮像装置および焦点調節方法
CN103096094A (zh) 视觉识别装置和方法
JP2010016826A (ja) 画像処理オペレーションを効率的に実行するためのシステム及び方法
WO2014101722A1 (zh) 一种摄像装置和摄像方法
CN115278069A (zh) 图像处理方法及装置、计算机可读存储介质、终端
KR101456494B1 (ko) 잔류 영상을 표시하는 디지털 촬영 장치의 제어 방법, 상기제어 방법에 따라 구동하는 디지털 촬영 장치 및 상기제어 방법을 기록한 기록 매체
US9485420B2 (en) Video imaging using plural virtual image capture devices
KR100601312B1 (ko) 디지털 스틸 카메라의 자동 노출 보정 장치 및 방법
CN106027917A (zh) 摄像设备及其控制方法
CN109379535A (zh) 拍摄方法和装置、电子设备、计算机可读存储介质
CN104113701A (zh) 拍摄方法及装置
CN110063054A (zh) 控制设备、控制方法和程序
WO2005064923A1 (ja) 電子カメラ
JP6705411B2 (ja) 情報処理装置、情報処理方法及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18920969

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18920969

Country of ref document: EP

Kind code of ref document: A1