WO2018209650A1 - Automatic exposure method and device for camera - Google Patents

Automatic exposure method and device for camera Download PDF

Info

Publication number
WO2018209650A1
WO2018209650A1 PCT/CN2017/084903 CN2017084903W WO2018209650A1 WO 2018209650 A1 WO2018209650 A1 WO 2018209650A1 CN 2017084903 W CN2017084903 W CN 2017084903W WO 2018209650 A1 WO2018209650 A1 WO 2018209650A1
Authority
WO
WIPO (PCT)
Prior art keywords
exposure
camera
aperture value
relative aperture
lens
Prior art date
Application number
PCT/CN2017/084903
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2017/084903 priority Critical patent/WO2018209650A1/en
Priority to CN201780004423.2A priority patent/CN108702459B/en
Publication of WO2018209650A1 publication Critical patent/WO2018209650A1/en

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
    • 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/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Definitions

  • the invention belongs to the field of camera imaging, and in particular relates to an automatic exposure method and apparatus used in a device having an imaging function such as a camera.
  • the parameters within the camera that control the brightness of the image include aperture size, exposure time, and sensitivity.
  • aperture size When switching the lens of the camera or changing the focal length of the zoom lens, it is equivalent to suddenly changing the aperture size in the parameter. If the other two parameters cannot be adjusted, it will cause problems such as sudden brightness changes or oscillations.
  • the existing solution is mainly to install a plurality of exposure meters of different aperture levels in the camera, and select corresponding exposure meters for exposure control according to different aperture number ranges. This requires multiple built-in exposure meters, which consumes resources, and when there is no corresponding exposure meter in a certain aperture range, it is easy to cause the aperture control to be abnormal, resulting in abnormal brightness of the screen.
  • An aspect of the present invention provides an automatic exposure method for a camera, comprising: detecting a brightness of a current ambient light; and querying, in an exposure table, an exposure parameter corresponding to a brightness of the current ambient light, the exposure parameter including a relative aperture a value, the relative aperture value being a function of the number of apertures; adjusting an exposure element of the camera in accordance with the exposure parameter.
  • an automatic exposure apparatus for a camera comprising: a storage unit for storing an exposure meter, the exposure meter recording an exposure parameter corresponding to brightness of different ambient light, the exposure parameter Include a relative aperture value, the relative aperture value is a function of the number of apertures; a brightness detection unit for detecting the brightness of the current ambient light; and a control unit for querying the brightness of the current ambient light in the exposure table
  • the exposure parameters are adjusted and the exposure elements of the camera are adjusted to meet the exposure parameters.
  • the automatic exposure apparatus includes: a storage unit for storing an exposure meter, the exposure table recording exposure parameters corresponding to brightness of different ambient light
  • the exposure parameter includes a relative aperture value, the relative aperture value is a function of an aperture value, a brightness detection unit for detecting brightness of the current ambient light, and a control unit for querying the current in the exposure table
  • the brightness of the ambient light corresponds to the exposure parameter and adjusts the exposure element of the camera to meet the exposure parameter.
  • aspects of the present invention can also include a non-transitory computer readable medium including program instructions for: establishing an exposure meter that records exposure parameters corresponding to brightness of different ambient light, The exposure parameter includes a relative aperture value, the relative aperture value is a function of the number of apertures; detecting the brightness of the current ambient light; and querying an exposure parameter corresponding to the brightness of the current ambient light in the exposure table, and adjusting an exposure component of the camera To meet the exposure parameters.
  • the method, device and computer readable medium of the present invention can be changed in the actual range of the aperture, but the relative range is not changed, the purpose of normal use without modifying the exposure meter can be achieved, and when the relative range of the aperture changes, You can also quickly create new exposure meters for quick control exposure.
  • FIG. 1 schematically shows a flow chart of an automatic exposure method for a camera according to an embodiment of the present invention.
  • FIG. 2 schematically illustrates a flow chart of a method for automatic exposure of a camera in accordance with another embodiment of the present invention.
  • FIG. 3 schematically shows a block diagram of an automatic exposure apparatus for a camera according to an embodiment of the present invention.
  • FIG. 4 schematically shows a block diagram of a camera in accordance with an embodiment of the present invention.
  • the present invention mainly considers a scene in which, when switching the lens of the camera or changing the focal length of the zoom lens and changing the range of the aperture number, how to implement exposure control using a smaller number of exposure meters And how to avoid the problem that the aperture control is not normal due to the absence of a corresponding exposure table in a certain aperture number range.
  • the method and apparatus of the present invention are not limited to use in a camera, and any device using the optical imaging function can reasonably utilize the present invention.
  • a camera a video camera, and the like.
  • An embodiment of the present invention provides an automatic exposure method for a camera, including: detecting a brightness of a current ambient light; and querying, in an exposure table, an exposure parameter corresponding to a brightness of the current ambient light, the exposure parameter including a relative aperture a value, the relative aperture value being a function of the number of apertures; adjusting an exposure element of the camera in accordance with the exposure parameter.
  • the second derivative of the function is less than 0, whereby when the number of apertures increases, the relative aperture value increases, so that the relative aperture value can perform a nonlinear mapping on the aperture number and the lens The actual optical performance is linearly matched.
  • the relative aperture value is linear with the logarithm of the number of apertures.
  • the "camera” mentioned in the present invention may be any camera having an optical imaging function, such as a film camera, a digital camera or the like.
  • the “camera” of the present invention can also be used in combination with a variety of devices, such as a mobile phone having a camera function, a drone having a photographing function, and the like.
  • FIG. 1 schematically shows a flow chart of an automatic exposure method for a camera according to an embodiment of the present invention.
  • the method includes operations S110-S130.
  • detecting the brightness of the current ambient light may be detected using a sensor, such as a light sensor, a fiber optic sensor, or the like.
  • the sensor may be located inside the camera, or in the lens of the camera, or external to the camera, etc., and the present invention does not limit the position of the sensor.
  • the brightness of the ambient light in the embodiment of the present invention may be a preset brightness level, for example, from 1 to 10, indicating that the brightness of the ambient light is getting brighter, and then determining the level to which the brightness of the detected ambient light belongs, such as the current The brightness of ambient light belongs to level 3. It should be understood by those skilled in the art that the brightness of the ambient light in the present invention is not limited to the preset level described above, and may be a linear correspondence or the like.
  • an exposure parameter corresponding to the brightness of the current ambient light is queried in the exposure table.
  • the exposure table records exposure parameters corresponding to the brightness of different ambient light
  • the exposure parameter includes a relative aperture value
  • the relative aperture value is a function of the number of apertures.
  • the second derivative of the function is less than zero.
  • One embodiment is a linear relationship between the relative aperture value and the logarithm of the aperture number, but the present invention is not limited thereto, and any function capable of easing the linear variation of the aperture number is applicable to the present invention.
  • the present invention can also be
  • the relative aperture value is a linear relationship between the opening and the square of the aperture number.
  • the aperture is a device that controls the amount of light that passes through the lens into the photosensitive surface of the body, usually in the lens.
  • the aperture number is used to indicate the amount of light passing through the lens. It is usually expressed by the F value.
  • the aperture is expressed as the number of apertures, for example, F1, F1.4, F2, F2.8, F4, F5.6, F8, F11, F16, F22 , F32, F44, F64, the smaller the aperture number, the more the amount of light entering the same unit time, and the amount of light entering the previous gear is twice that of the next gear. For example, if the number of apertures is adjusted from F8 to F5.6, It means that the number of apertures is increased by one step, and the amount of light is doubled.
  • the range of apertures is related to the lens of the camera, indicating the range of apertures that can be adjusted by the lens.
  • the range of apertures of different lenses is different.
  • the aperture range of lens A is F2.8 ⁇ F16
  • the aperture range of lens B is F4 ⁇ F32 and so on.
  • the relative aperture value is linear with the base 2 logarithm of the aperture number.
  • LI represents the relative aperture value
  • Fnum represents the aperture number
  • Fmax represents the aperture of the maximum aperture of the lens
  • LDR represents the number of copies of the first aperture of the camera lens.
  • the LDR can be divided into 256 copies of the first aperture. It should be understood by those skilled in the art that the LDR only represents the number of copies in which the first aperture of the aperture number range is equally divided. The embodiment of the present invention is not limited to the value of the LDR. For example, the LDR may also take 128, indicating that the first aperture number is equally divided. It is 128 copies.
  • the exposure table includes exposure parameters including aperture parameters, exposure time, and sensitivity. Under different ambient light levels, different combinations of parameters are used to meet the appropriate picture brightness. Among them, the aperture parameter is expressed as a relative aperture value.
  • lens A has a range of apertures from F2.8 to F16 (including 6 callable files: F2.8, F4, F5.6, F8, F11, and F16), and the exposure time is 8s to 1/ 8000s, sensitivity range is 12800 ⁇ 100.
  • Table 1 schematically shows the exposure table corresponding to the lens A. As shown in Table 1, the brightness from 1 to 10 indicates that the ambient light is getting brighter and brighter, and the corresponding exposure parameters at different light levels.
  • lens B there is lens B, the aperture number of lens B is F4 ⁇ F22 (including 6 callable files: F4, F5.6, F8, F11, F16 and F22), the exposure time is 8s ⁇ 1 / 8000s, sensitivity The range is 12800-100.
  • Table 2 schematically shows the exposure table corresponding to the lens B. As shown in Table 2, the brightness from 1 to 10 indicates that the ambient light is getting brighter and brighter, and the corresponding exposure parameters at different light levels.
  • Ambient light 1 2 3 4 5 6 7 8 9 10
  • the range of apertures of lens A and lens B are different, but the range of relative aperture values is the same. If the aperture number is used as the exposure parameter to establish the exposure meter, two corresponding exposure meters are needed, but if relative The aperture value is used as an exposure parameter to create an exposure meter that can be satisfied using only one exposure meter. For example, if the exposure meter shown in Table 3 includes the relative aperture value, exposure time, and sensitivity, the exposure meter can be used for the lens with the number of apertures in the range of 6 recallable positions, for example, the aperture number ranges from F1 to F5.
  • lens with aperture range F1.4 to F8 lens with aperture range F2 to F11
  • lens with aperture range F2.8 to F16 lens with aperture range F4 to F22
  • aperture Lenses with a range of F5.6 to F32 lenses with a range of apertures from F8 to F44, and lenses with a range of apertures from F11 to F64.
  • the relative aperture value instead of the aperture number as the exposure parameter, the number of exposure tables can be reduced, and the storage space can be saved.
  • the exposure table of the present invention is not limited to the form of the table in the above examples, and may be a linear comparison table or the like which can be used to indicate different exposure parameter selections under different ambient light brightness.
  • the aperture number range of the present invention is not limited to the six callable range of the above examples, and may include more or less callable range, such as F1.0 to F22 (including 10).
  • the variation of the aperture number of the present invention is not limited to only one shift position at a time in the above example, and may also be changed by two or three or more, for example, the aperture number ranges from F1.0. In ⁇ F22, only five gear positions F1.0, F2.0, F4.0, F8.0, and F22 are used.
  • the exposure meter of the present invention may not include the aperture number in the above example, and includes only the relative aperture value, the exposure time, and the sensitivity.
  • the relative aperture value, exposure time, and sensitivity in the exposure meter are not limited to the above. Numerical values, the above examples are only for help understanding.
  • an exposure element of the camera is adjusted according to the exposure parameter.
  • the exposure parameter includes a relative aperture value, whereby adjusting the exposure element of the camera according to the exposure parameter comprises: converting the relative aperture value into an aperture number, and according to the The number of apertures adjusts the exposure elements of the camera.
  • the current lens is lens A
  • the aperture number of lens A is F2.8 to F16 (including 6 callable files: F2.8, F4, F5.6, F8, F11, and F16)
  • the exposure time is 8s ⁇
  • the sensitivity range is 12800 ⁇ 100
  • the exposure meter shown in Table 1 above can be used.
  • the corresponding exposure parameters queried in Table 1 are the relative aperture value 257, the exposure time 1/15 s, and the sensitivity 12800, and the aperture of the camera can be controlled according to the exposure parameter. Adjust the aperture to the relative aperture value of 257 (aperture adjustment to F4.0), control the camera's shutter exposure time to 1/15s, and control the camera's sensitivity to 12800, thus achieving automatic exposure of the camera.
  • the number of exposure tables can be reduced, and memory space can be reduced.
  • FIG. 2 schematically illustrates a flow chart of a method for updating an exposure meter for a camera in accordance with another embodiment of the present invention.
  • the method includes operations S210-S240.
  • lens information is acquired.
  • the acquiring lens information includes information such as a lens focal length and a lens aperture range. Acquiring the lens information may trigger the acquisition according to a specific condition, for example, acquiring the current lens information when the lens is changed or the lens focal length is adjusted.
  • operation S220 it is judged whether or not the aperture number range has changed, and if a change occurs, operation S230 is performed, otherwise, the operation ends.
  • the range of the aperture number changes, it is determined whether the adjustment exposure table needs to be updated to adapt to the new lens information. If the aperture number range does not change, the current exposure meter can be used to satisfy the exposure of the camera. control.
  • the range of the number of apertures may be changed from F2 to F16 to F2 to F22, or the range of apertures may be changed from F2 to F16 to F4 to F22.
  • operation S230 it is determined whether the range of the relative aperture value of the lens of the camera has changed, and if a change occurs, operation S240 is performed, otherwise, the process ends.
  • the range of the relative aperture value changes, the exposure table needs to be updated. If the range of the relative aperture value does not change, the control of the camera exposure can be satisfied by using the current exposure meter.
  • the range of apertures varies from F2.8 to F16 (including 6 callable files, relative aperture range from 1 to 1281) to F4.0 to F22 (including 6 callable files, relative aperture range For the range of 1 to 1281), although the range of the aperture number has changed, but the range of the relative aperture value has not changed, the current exposure meter can be used to control the exposure of the camera.
  • the range of apertures is changed from F2.8-F16 (including 6 callable files, relative aperture range is 1 ⁇ 1281) to F2 ⁇ F22 (including 8 callable files, relative aperture range is 1 ⁇ 1793) ), the aperture number range has changed, and the relative aperture value range has also changed. You need to use the new exposure meter for exposure control.
  • the exposure table is updated in operation S240.
  • the relative aperture value range changes, it indicates that the callable file has changed, so the brightness can be selected by a new adjustment under the brightness of different ambient light, and the exposure table needs to be updated.
  • Table 3 when the range of relative aperture values changes to be larger or smaller, the exposure table needs to be updated to accommodate different numbers of callables. The choice of file.
  • the relative aperture value in the exposure parameter of lens C can be selected in 5 steps, for example, the exposure meter shown in Table 4.
  • the lens having the same relative aperture value range can use the same exposure meter, for example, the relative aperture value ranges from 1 to 1025, and the exposure can be used for the lens including the five callable range in the aperture number range. table.
  • the exposure meter of the lens having different relative aperture value ranges should be relatively changed.
  • the relative aperture value shown in Table 3 ranges from 1 to 1281, and the exposure table with the relative aperture value range of 1 to 1025 as shown in Table 4 is different. .
  • the present invention is not limited to the specific numerical values exemplified above, and any combination of exposure parameters meeting the exposure criteria can be established in the exposure table.
  • the relative aperture value range is large, the number of apertures that can be called is correspondingly larger, and the adjustment of the aperture can be correspondingly increased in the exposure table.
  • the relative aperture value range is small, the number of apertures that can be called is relatively small, and the exposure time and the sensitivity adjustment can be correspondingly increased in the exposure table.
  • the present invention is not limited to a specific combination of parameters of exposure parameters, and any combination of exposure parameters that can satisfy ambient light brightness can be established in the exposure table.
  • an exposure meter that establishes a plurality of different relative aperture value ranges may be selected.
  • the exposure table that is called may be selected by determining a range of relative aperture values.
  • the current exposure table is refreshed according to the preset rule according to the detected current lens information.
  • the exposure table is established by using the relative aperture value instead of the aperture number, and the same exposure table can be used for various lenses having the same aperture value range, thereby reducing the number of exposure tables in the camera and alleviating the memory pressure.
  • the exposure table can be refreshed according to the preset rule corresponding to the relative aperture value range, so that a new exposure meter can be quickly established to adapt to the current lens.
  • the range of the relative aperture value changes, it is also possible to directly call the corresponding exposure meter for exposure control in the exposure table in which a plurality of different relative aperture values are established, so that the purpose of quickly controlling the exposure can be achieved.
  • FIG. 3 schematically shows a block diagram of an automatic exposure apparatus for a camera according to an embodiment of the present invention.
  • the automatic exposure device includes a storage unit 310, a brightness detecting unit 320, a control unit 330, a lens detecting unit 340, and an exposure table generating unit 350.
  • the automatic exposure apparatus can perform the method described above with reference to FIGS. 1 to 2 to achieve automatic exposure of the camera.
  • the storage unit 310 is configured to store an exposure table, the exposure table records exposure parameters corresponding to brightness of different ambient lights, the exposure parameters include relative aperture values, and the relative aperture value is a function of the number of apertures, and The second derivative of this function is less than zero. According to an embodiment of the present invention, the storage unit 310 may perform, for example, the operation S110 described above with reference to FIG.
  • the brightness detecting unit 320 is configured to detect the brightness of the current environment. According to an embodiment of the present invention, the brightness detecting unit 320 may perform, for example, the operation S120 described above with reference to FIG. Preferably, the brightness detecting unit 320 employs a CMOS sensor. In a specific embodiment, a CMOS sensor of a camera can be used as a brightness detecting unit to simplify the device structure and reduce weight and cost.
  • the control unit 330 is configured to query, in the exposure table, an exposure parameter corresponding to the brightness of the current ambient light, and adjust an exposure element of the camera to satisfy the exposure parameter. According to an embodiment of the present invention, the control unit 330 may perform, for example, the operation S130 described above with reference to FIG.
  • the exposure element of the camera is adjusted according to the aperture number.
  • the lens detecting unit 340 is configured to detect whether a range of the relative aperture value of the lens of the camera changes. According to an embodiment of the present invention, the lens detecting unit 340 can perform, for example, the operation described above with reference to FIG. 2 S210 to S230.
  • the exposure table generating unit 350 is configured to recalculate the relative aperture value in the exposure table when the range of the relative aperture value changes. According to an embodiment of the present invention, the exposure table generating unit 350 may perform, for example, the operation S240 described above with reference to FIG.
  • the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 can be implemented in one module, or any one of the modules can be split into multiple modules. . Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 may be at least partially implemented as a hardware circuit, such as a field programmable gate array.
  • FPGA Programmable Logic Array
  • ASIC Application Specific Integrated Circuit
  • the firmware is implemented or implemented in a suitable combination of three implementations of software, hardware, and firmware.
  • at least one of the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 may be at least partially implemented as a computer program module, which may be executed when the program is run by the computer The function of the corresponding module.
  • FIG. 4 schematically shows a block diagram of a camera 400 in accordance with an embodiment of the present invention.
  • the camera 400 includes the automatic exposure apparatus described above with reference to FIG.
  • the camera 400 can automatically control exposure under different ambient light brightness using an automatic exposure device.
  • the camera generally includes a body and a lens, and the body and lens may be integral or detachable.
  • the automatic exposure device is usually located in the body, but may also be partially located in the lens, and the present invention does not limit the position of the automatic exposure device.
  • the camera further includes that the exposure element can be located in the body or in the lens.
  • the exposure element includes at least one of a shutter, an aperture, and an ISO adjuster.
  • the present invention uses the relative aperture value instead of the aperture number as an exposure parameter to establish an exposure table, and the same exposure table can be used for various lenses having the same range of aperture values, thereby reducing the number of exposure tables in the camera and alleviating memory pressure.
  • the exposure table can be refreshed according to the preset rule corresponding to the relative aperture value range, so that a new exposure meter can be quickly established to adapt to the current lens.
  • the range of the relative aperture value changes, it is also possible to directly call the corresponding exposure meter for exposure control in the exposure table in which a plurality of different relative aperture values are established, so that the purpose of quickly controlling the exposure can be achieved.
  • the above method and module according to various embodiments of the present invention may be implemented by executing a computer-containing software by a computing-capable electronic device.
  • the system can include storage devices to implement the various storages described above.
  • the computing capable electronic device can include a general purpose processor, a digital signal processor, a dedicated processor, a reconfigurable processor, etc., but is not limited thereto. Executing such instructions causes the electronic device to be configured to perform the operations described above in accordance with the present invention.
  • the above methods and/or modules may be implemented in one electronic device or in different electronic devices.
  • Embodiments of the invention use software, which may be stored in the form of volatile memory or non-volatile storage (such as a storage device such as a ROM), whether erasable or rewritable, or stored as
  • the form of the memory eg, RAM, memory chip, device, or integrated circuit
  • the storage device and the storage medium are embodiments of a machine-readable storage device adapted to store one or more programs, the program or programs comprising instructions that, when executed, implement the present invention An embodiment.
  • these programs can be routed via any medium, such as a communication signal carried via a wired connection or a wireless connection, and various embodiments suitably include such programs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

An automatic exposure method for a camera (400), comprising: detecting the brightness of current ambient light (S110); querying exposure parameters corresponding to the brightness of the current ambient light in an exposure list (S120), the exposure parameters comprising a relative aperture value that is in a predetermined relationship with the aperture number of the camera (400); and adjusting an exposure element in the camera (400) according to the exposure parameters (S130). Also provided are an automatic exposure device for a camera and the camera (400) which has the automatic exposure device.

Description

一种用于相机的自动曝光方法和装置Automatic exposure method and device for camera
版权申明Copyright statement
本专利文件披露的内容包含受版权保护的材料。该版权为版权所有人所有。版权所有人不反对任何人复制专利与商标局的官方记录和档案中所存在的该专利文件或者专利披露。The disclosure of this patent document contains material that is subject to copyright protection. This copyright is the property of the copyright holder. The copyright owner has no objection to the reproduction of the patent document or patent disclosure contained in the official records and files of the Patent and Trademark Office.
技术领域Technical field
本发明属于相机成像领域,具体涉及相机等具有成像功能的设备中使用的自动曝光方法和装置。The invention belongs to the field of camera imaging, and in particular relates to an automatic exposure method and apparatus used in a device having an imaging function such as a camera.
背景技术Background technique
随着成像技术的快速发展,相机被越来越多地应用于在医学成像、天文观测、无人机拍摄、以及日常生活等诸多领域。由于拍摄物体远近的不同、或者拍摄周围环境光亮度的不同等诸多场景下,往往需要通过切换相机的镜头或者变换变焦镜头的焦距等方法来调整相机以适应不同的拍摄需求。With the rapid development of imaging technology, cameras are increasingly used in medical imaging, astronomical observation, drone shooting, and daily life. Due to the different distances of the objects, or the different brightness of the surrounding environment, it is often necessary to adjust the camera to suit different shooting needs by switching the lens of the camera or changing the focal length of the zoom lens.
相机内可以控制成像亮度的参数包括光圈大小、曝光时间以及感光度。当切换相机的镜头或者变换变焦镜头的焦距时,就相当于突然改变了参数中的光圈大小,如果其他两个参数不能配合调整,就会造成画面亮度突变或震荡等问题。The parameters within the camera that control the brightness of the image include aperture size, exposure time, and sensitivity. When switching the lens of the camera or changing the focal length of the zoom lens, it is equivalent to suddenly changing the aperture size in the parameter. If the other two parameters cannot be adjusted, it will cause problems such as sudden brightness changes or oscillations.
现有的解决方法主要是在相机中内置多张不同光圈数等级的曝光表,根据不同的光圈数范围选用相应的曝光表进行曝光控制。这样需要内建多张曝光表,耗费资源,并且当某一光圈数范围没有对应的曝光表时,极容易导致光圈控制不正常,从而导致画面亮度不正常。The existing solution is mainly to install a plurality of exposure meters of different aperture levels in the camera, and select corresponding exposure meters for exposure control according to different aperture number ranges. This requires multiple built-in exposure meters, which consumes resources, and when there is no corresponding exposure meter in a certain aperture range, it is easy to cause the aperture control to be abnormal, resulting in abnormal brightness of the screen.
发明内容Summary of the invention
本发明的一个方面提供了一种用于相机的自动曝光方法,包括:检测当前环境光的亮度;在曝光表中查询所述当前环境光的亮度对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;根据所述曝光参数调整所述相机的曝光元件。 An aspect of the present invention provides an automatic exposure method for a camera, comprising: detecting a brightness of a current ambient light; and querying, in an exposure table, an exposure parameter corresponding to a brightness of the current ambient light, the exposure parameter including a relative aperture a value, the relative aperture value being a function of the number of apertures; adjusting an exposure element of the camera in accordance with the exposure parameter.
本发明的另一个方面提供了一种用于相机的自动曝光装置,包括:存储单元,用于存储曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;亮度检测单元,用于检测当前环境光的亮度;以及控制单元,用于在所述曝光表中查询所述当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足所述曝光参数。Another aspect of the present invention provides an automatic exposure apparatus for a camera, comprising: a storage unit for storing an exposure meter, the exposure meter recording an exposure parameter corresponding to brightness of different ambient light, the exposure parameter Include a relative aperture value, the relative aperture value is a function of the number of apertures; a brightness detection unit for detecting the brightness of the current ambient light; and a control unit for querying the brightness of the current ambient light in the exposure table The exposure parameters are adjusted and the exposure elements of the camera are adjusted to meet the exposure parameters.
本发明的另一个方面提供了一种相机,包括自动曝光装置,其中,该自动曝光装置包括:存储单元,用于存储曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈值的函数;亮度检测单元,用于检测当前环境光的亮度;以及控制单元,用于在所述曝光表中查询所述当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足所述曝光参数。Another aspect of the present invention provides a camera including an automatic exposure apparatus, wherein the automatic exposure apparatus includes: a storage unit for storing an exposure meter, the exposure table recording exposure parameters corresponding to brightness of different ambient light The exposure parameter includes a relative aperture value, the relative aperture value is a function of an aperture value, a brightness detection unit for detecting brightness of the current ambient light, and a control unit for querying the current in the exposure table The brightness of the ambient light corresponds to the exposure parameter and adjusts the exposure element of the camera to meet the exposure parameter.
本发明的其他方面也可以包括非易失性计算机可读介质,其包括程序指令,所述程序指令用于:建立曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;检测当前环境光的亮度;以及在曝光表中查询当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足曝光参数。Other aspects of the present invention can also include a non-transitory computer readable medium including program instructions for: establishing an exposure meter that records exposure parameters corresponding to brightness of different ambient light, The exposure parameter includes a relative aperture value, the relative aperture value is a function of the number of apertures; detecting the brightness of the current ambient light; and querying an exposure parameter corresponding to the brightness of the current ambient light in the exposure table, and adjusting an exposure component of the camera To meet the exposure parameters.
本发明的方法、装置以及计算机可读介质能够在光圈的实际范围变化,但是相对范围未变的时候,达到不用修改曝光表就能正常使用的目的,并且,当光圈的相对范围发生变化时,也可以快速创建新的曝光表,从而达到快速控制曝光的目的。The method, device and computer readable medium of the present invention can be changed in the actual range of the aperture, but the relative range is not changed, the purpose of normal use without modifying the exposure meter can be achieved, and when the relative range of the aperture changes, You can also quickly create new exposure meters for quick control exposure.
附图说明DRAWINGS
为了更完整地理解本发明及其优势,现在将参考结合附图的以下描述,其中:For a more complete understanding of the present invention and its advantages, reference will now be made to the following description
图1示意性示出了根据本发明实施例的用于相机的自动曝光方法的流程图。FIG. 1 schematically shows a flow chart of an automatic exposure method for a camera according to an embodiment of the present invention.
图2示意性示出了根据本发明另一实施例的用于相机的自动曝光的方法的流程图。FIG. 2 schematically illustrates a flow chart of a method for automatic exposure of a camera in accordance with another embodiment of the present invention.
图3示意性示出了根据本发明实施例的用于相机的自动曝光装置的框图。FIG. 3 schematically shows a block diagram of an automatic exposure apparatus for a camera according to an embodiment of the present invention.
图4示意性示出了根据本发明实施例的相机的框图。FIG. 4 schematically shows a block diagram of a camera in accordance with an embodiment of the present invention.
具体实施方式 detailed description
根据结合附图对本发明示例性实施例的以下详细描述,本发明的其它方面、优势和突出特征对于本领域技术人员将变得显而易见。Other aspects, advantages, and salient features of the present invention will become apparent to those skilled in the <
在本发明中,术语“包括”和“含有”及其派生词意为包括而非限制;术语“或”是包含性的,意为和/或。In the present invention, the terms "include" and "including" and their derivatives are intended to be inclusive and not limiting; the term "or" is inclusive, meaning and/or.
在本说明书中,下述用于描述本发明原理的各种实施例只是说明,不应该以任何方式解释为限制发明的范围。参照附图的下述描述用于帮助全面理解由权利要求及其等同物限定的本发明的示例性实施例。下述描述包括多种具体细节来帮助理解,但这些细节应认为仅仅是示例性的。因此,本领域普通技术人员应认识到,在不背离本发明的范围和精神的情况下,可以对本文中描述的实施例进行多种改变和修改。此外,为了清楚和简洁起见,省略了公知功能和结构的描述。此外,贯穿附图,相同附图标记用于相同或相似的功能和操作。In the present specification, the following various embodiments for describing the principles of the present invention are merely illustrative and should not be construed as limiting the scope of the invention. The following description of the invention is intended to be understood as The description below includes numerous specific details to assist the understanding, but these details should be considered as merely exemplary. Accordingly, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness. Further, the same reference numerals are used throughout the drawings for the same or similar functions and operations.
对于相机的自动曝光的方法和装置,本发明主要考虑这样一种场景,即当切换相机的镜头或者变换变焦镜头的焦距,改变了光圈数范围时,如何使用较少的曝光表数量实现曝光控制,以及如何避免某一光圈数范围没有对应的曝光表导致的光圈控制不正常的问题。For the method and apparatus for automatic exposure of a camera, the present invention mainly considers a scene in which, when switching the lens of the camera or changing the focal length of the zoom lens and changing the range of the aperture number, how to implement exposure control using a smaller number of exposure meters And how to avoid the problem that the aperture control is not normal due to the absence of a corresponding exposure table in a certain aperture number range.
下面在具体描述本发明的实施例时,尽管是采用相机为例来进行说明,但本发明的方法和装置不仅限于用于相机中,任何使用光学成像功能的设备都可合理地利用本发明,例如摄影机、摄像机等。In the following, when the embodiment of the present invention is specifically described, although the camera is taken as an example for illustration, the method and apparatus of the present invention are not limited to use in a camera, and any device using the optical imaging function can reasonably utilize the present invention. For example, a camera, a video camera, and the like.
本发明的实施例提供了一种用于相机的自动曝光方法,包括:检测当前环境光的亮度;在曝光表中查询所述当前环境光的亮度对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;根据所述曝光参数调整所述相机的曝光元件。An embodiment of the present invention provides an automatic exposure method for a camera, including: detecting a brightness of a current ambient light; and querying, in an exposure table, an exposure parameter corresponding to a brightness of the current ambient light, the exposure parameter including a relative aperture a value, the relative aperture value being a function of the number of apertures; adjusting an exposure element of the camera in accordance with the exposure parameter.
其中,优选为所述函数的二阶导数小于0,由此,当光圈数增加时,相对光圈值的增加趋势变缓,使得相对光圈值能够对光圈数进行一种非线性的映射后与镜头实际的光学性能进行线性匹配。Wherein, it is preferable that the second derivative of the function is less than 0, whereby when the number of apertures increases, the relative aperture value increases, so that the relative aperture value can perform a nonlinear mapping on the aperture number and the lens The actual optical performance is linearly matched.
更优选的是,所述相对光圈值与光圈数的对数成线性关系。More preferably, the relative aperture value is linear with the logarithm of the number of apertures.
本发明中提及的“相机”可以是任何具有光学成像功能的相机,例如可以是胶片相机、数码相机等。本发明的“相机”也可以与多种设备结合使用,例如,具有照相功能的手机、具有拍摄功能的无人机等。 The "camera" mentioned in the present invention may be any camera having an optical imaging function, such as a film camera, a digital camera or the like. The "camera" of the present invention can also be used in combination with a variety of devices, such as a mobile phone having a camera function, a drone having a photographing function, and the like.
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。The present invention will be further described in detail below with reference to the specific embodiments of the invention,
图1示意性示出了根据本发明实施例的用于相机的自动曝光方法的流程图。FIG. 1 schematically shows a flow chart of an automatic exposure method for a camera according to an embodiment of the present invention.
如图1所示,该方法包括操作S110~S130。As shown in FIG. 1, the method includes operations S110-S130.
在操作S110,检测当前环境光的亮度。根据本发明实施例,检测当前环境光的亮度可以使用传感器检测,例如光线传感器、光纤传感器等。传感器可以位于相机的内部,也可以位于相机的镜头中,还可以位于相机的外部等,本发明不对传感器的位置进行限定。In operation S110, the brightness of the current ambient light is detected. According to an embodiment of the invention, detecting the brightness of the current ambient light may be detected using a sensor, such as a light sensor, a fiber optic sensor, or the like. The sensor may be located inside the camera, or in the lens of the camera, or external to the camera, etc., and the present invention does not limit the position of the sensor.
本发明实施例中的环境光的亮度可以是预先设定的光亮度等级,例如从1到10表示环境光的亮度越来越亮,然后确定检测得到的环境光的亮度属于的等级,例如当前的环境光的亮度属于等级3。本领域技术人员应当理解,本发明中的环境光的亮度不限于上述的预设等级,还可以是线性对应等。The brightness of the ambient light in the embodiment of the present invention may be a preset brightness level, for example, from 1 to 10, indicating that the brightness of the ambient light is getting brighter, and then determining the level to which the brightness of the detected ambient light belongs, such as the current The brightness of ambient light belongs to level 3. It should be understood by those skilled in the art that the brightness of the ambient light in the present invention is not limited to the preset level described above, and may be a linear correspondence or the like.
在操作S120,在曝光表中查询所述当前环境光的亮度对应的曝光参数。其中,曝光表记录不同的环境光的亮度所对应的曝光参数,曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数,优选地,函数的二阶导数小于0。一种实施方式是相对光圈值与光圈数的对数成线性关系,但本发明不限于此,任何能将光圈数的线性变化变缓和的函数都适用于本发明,例如,本发明还可以设相对光圈值为光圈数的开方、开平方等成线性关系。In operation S120, an exposure parameter corresponding to the brightness of the current ambient light is queried in the exposure table. Wherein, the exposure table records exposure parameters corresponding to the brightness of different ambient light, the exposure parameter includes a relative aperture value, and the relative aperture value is a function of the number of apertures. Preferably, the second derivative of the function is less than zero. One embodiment is a linear relationship between the relative aperture value and the logarithm of the aperture number, but the present invention is not limited thereto, and any function capable of easing the linear variation of the aperture number is applicable to the present invention. For example, the present invention can also be The relative aperture value is a linear relationship between the opening and the square of the aperture number.
光圈是一个用来控制光线透过镜头进入机身内感光面的光量的装置,通常设置在镜头内。光圈数用来表示镜头的通光量,通常用F值表示,光圈表示为光圈数时例如写成:F1,F1.4,F2,F2.8,F4,F5.6,F8,F11,F16,F22,F32,F44,F64,光圈数越小,在同一单位时间的进光量越多,而且上一档的进光量是下一档的二倍,例如,光圈数从F8调整到F5.6,则表示光圈数调高一档,进光量多一倍。光圈数范围与相机的镜头有关,表示该镜头可调整的光圈数的范围,不同镜头的光圈数范围不同,例如,镜头A的光圈数范围为F2.8~F16,镜头B的光圈数范围为F4~F32等。The aperture is a device that controls the amount of light that passes through the lens into the photosensitive surface of the body, usually in the lens. The aperture number is used to indicate the amount of light passing through the lens. It is usually expressed by the F value. When the aperture is expressed as the number of apertures, for example, F1, F1.4, F2, F2.8, F4, F5.6, F8, F11, F16, F22 , F32, F44, F64, the smaller the aperture number, the more the amount of light entering the same unit time, and the amount of light entering the previous gear is twice that of the next gear. For example, if the number of apertures is adjusted from F8 to F5.6, It means that the number of apertures is increased by one step, and the amount of light is doubled. The range of apertures is related to the lens of the camera, indicating the range of apertures that can be adjusted by the lens. The range of apertures of different lenses is different. For example, the aperture range of lens A is F2.8~F16, and the aperture range of lens B is F4 ~ F32 and so on.
根据本发明实施例,相对光圈值与光圈数的以2为底的对数成线性关系。例如:According to an embodiment of the invention, the relative aperture value is linear with the base 2 logarithm of the aperture number. E.g:
Figure PCTCN2017084903-appb-000001
Figure PCTCN2017084903-appb-000001
其中,LI表示相对光圈值,Fnum表示光圈数,Fmax表示镜头的最大光圈的光圈数,LDR表示相机的镜头的一档光圈数范围被等分的份数。Wherein, LI represents the relative aperture value, Fnum represents the aperture number, Fmax represents the aperture of the maximum aperture of the lens, and LDR represents the number of copies of the first aperture of the camera lens.
例如,一个镜头的光圈数范围为F2.8~F16,将其等分为256×5份,则LDR可以表示将一档光圈数等分为256份。本领域技术人员应当理解,LDR仅表示将光圈数范围的一档被等分的份数,本发明实施例不限于LDR的取值,例如,LDR也可以取128,表示一档光圈数被平分为128份。For example, if the aperture of a lens ranges from F2.8 to F16 and divides it into 256×5 copies, the LDR can be divided into 256 copies of the first aperture. It should be understood by those skilled in the art that the LDR only represents the number of copies in which the first aperture of the aperture number range is equally divided. The embodiment of the present invention is not limited to the value of the LDR. For example, the LDR may also take 128, indicating that the first aperture number is equally divided. It is 128 copies.
根据本发明实施例,曝光表中包含曝光参数,曝光参数包括光圈参数、曝光时间、以及感光度。在不同的环境光的亮度下,采用不用的参数组合以满足适宜的画面亮度。其中,光圈参数表示为相对光圈值。According to an embodiment of the invention, the exposure table includes exposure parameters including aperture parameters, exposure time, and sensitivity. Under different ambient light levels, different combinations of parameters are used to meet the appropriate picture brightness. Among them, the aperture parameter is expressed as a relative aperture value.
通过在曝光表中采用相对光圈值代替光圈数,可以减少曝光表的数量。例如,有镜头A,镜头A的光圈数范围为F2.8~F16(包含6个可调用档:F2.8、F4、F5.6、F8、F11以及F16),曝光时间为8s~1/8000s,感光度范围为12800~100。表1示意性示出了镜头A对应的曝光表,如表1所示,从1到10的表示环境光的亮度越来越亮,以及不同光亮度下对应的曝光参数。By replacing the number of apertures with a relative aperture value in the exposure meter, the number of exposure meters can be reduced. For example, with lens A, lens A has a range of apertures from F2.8 to F16 (including 6 callable files: F2.8, F4, F5.6, F8, F11, and F16), and the exposure time is 8s to 1/ 8000s, sensitivity range is 12800 ~ 100. Table 1 schematically shows the exposure table corresponding to the lens A. As shown in Table 1, the brightness from 1 to 10 indicates that the ambient light is getting brighter and brighter, and the corresponding exposure parameters at different light levels.
表1Table 1
环境光亮度Ambient lightness 11 22 33 44 55 66 77 88 99 1010
光圈数Aperture number 2.82.8 2.82.8 4.04.0 4.04.0 5.65.6 5.65.6 8.08.0 8.08.0 1111 1616
相对光圈值Relative aperture value 11 11 257257 257257 513513 513513 769769 769769 10251025 12811281
曝光时间(s)Exposure time (s) 88 1/151/15 1/151/15 1/151/15 1/151/15 1/5001/500 1/5001/500 1/80001/8000 1/80001/8000 1/80001/8000
感光度Sensitivity 1280012800 1280012800 1280012800 100100 100100 100100 100100 100100 100100 100100
例如,有镜头B,镜头B的光圈数范围为F4~F22(包含6个可调用档:F4、F5.6、F8、F11、F16以及F22),曝光时间为8s~1/8000s,感光度范围为12800~100。表2示意性示出了镜头B对应的曝光表,如表2所示,从1到10的表示环境光的亮度越来越亮,以及不同光亮度下对应的曝光参数。For example, there is lens B, the aperture number of lens B is F4 ~ F22 (including 6 callable files: F4, F5.6, F8, F11, F16 and F22), the exposure time is 8s ~ 1 / 8000s, sensitivity The range is 12800-100. Table 2 schematically shows the exposure table corresponding to the lens B. As shown in Table 2, the brightness from 1 to 10 indicates that the ambient light is getting brighter and brighter, and the corresponding exposure parameters at different light levels.
表2Table 2
环境光亮发Ambient light 11 22 33 44 55 66 77 88 99 1010
光圈数Aperture number 4.04.0 4.04.0 5.65.6 5.65.6 8.08.0 8.08.0 11.011.0 11.011.0 1616 22twenty two
相对光圈值Relative aperture value 11 11 257257 257257 513513 513513 769769 769769 10251025 12811281
曝光时间(s)Exposure time (s) 88 1/151/15 1/151/15 1/151/15 1/151/15 1/5001/500 1/5001/500 1/80001/8000 1/80001/8000 1/80001/8000
感光度Sensitivity 1280012800 1280012800 1280012800 100100 100100 100100 100100 100100 100100 100100
如表1和表2所示,镜头A和镜头B的光圈数范围不同,但是相对光圈值范围相同,如果使用光圈数作为曝光参数建立曝光表则需要两张相应的曝光表,但是如果使用相对光圈值作为曝光参数建立曝光表则仅使用一张曝光表就能满足。例如,如表3所示的曝光表,包含相对光圈值、曝光时间以及感光度,则光圈数范围包含6个可调用的档的镜头都可以使用该曝光表,例如光圈数范围为F1~F5.6的镜头、光圈数范围为F1.4~F8的镜头、光圈数范围为F2~F11的镜头、光圈数范围为F2.8~F16的镜头、光圈数范围为F4~F22的镜头、光圈数范围为F5.6~F32的镜头、光圈数范围为F8~F44的镜头、以及光圈数范围为F11~F64的镜头。As shown in Table 1 and Table 2, the range of apertures of lens A and lens B are different, but the range of relative aperture values is the same. If the aperture number is used as the exposure parameter to establish the exposure meter, two corresponding exposure meters are needed, but if relative The aperture value is used as an exposure parameter to create an exposure meter that can be satisfied using only one exposure meter. For example, if the exposure meter shown in Table 3 includes the relative aperture value, exposure time, and sensitivity, the exposure meter can be used for the lens with the number of apertures in the range of 6 recallable positions, for example, the aperture number ranges from F1 to F5. .6 lens, lens with aperture range F1.4 to F8, lens with aperture range F2 to F11, lens with aperture range F2.8 to F16, lens with aperture range F4 to F22, aperture Lenses with a range of F5.6 to F32, lenses with a range of apertures from F8 to F44, and lenses with a range of apertures from F11 to F64.
在本发明的实施例中,通过使用相对光圈值代替光圈数作为曝光参数,可以减少曝光表的数量,节省存储空间。In the embodiment of the present invention, by using the relative aperture value instead of the aperture number as the exposure parameter, the number of exposure tables can be reduced, and the storage space can be saved.
表3table 3
环境光亮度Ambient lightness 11 22 33 44 55 66 77 88 99 1010
相对光圈值Relative aperture value 11 11 257257 257257 513513 513513 769769 769769 10251025 12811281
曝光时间(s)Exposure time (s) 88 1/151/15 1/151/15 1/151/15 1/151/15 1/5001/500 1/5001/500 1/80001/8000 1/80001/8000 1/80001/8000
感光度Sensitivity 1280012800 1280012800 1280012800 100100 100100 100100 100100 100100 100100 100100
本领域技术人员应当理解,本发明的曝光表不限于上述举例中表格的形式,也可以是线性对照表等可以用来表示不同环境光的亮度下的不同曝光参数选择。It should be understood by those skilled in the art that the exposure table of the present invention is not limited to the form of the table in the above examples, and may be a linear comparison table or the like which can be used to indicate different exposure parameter selections under different ambient light brightness.
本领域技术人员应当理解,本发明的光圈数范围不限于上述举例中的6个可调用档范围,也可以包括更多或者更少的可调用档范围,例如F1.0~F22(包括10个可调用档:F1、F1.4、F2、F2.8、F4、F5.6、F8、F11、F16以及F22)或者F4~F11(包括4个可调用档:F4、F5.6、F8以及F11)等,根据镜头的不同,光圈数范围不同,本发明的实施例可以根据不同可调用档范围建立不同的曝光表。It should be understood by those skilled in the art that the aperture number range of the present invention is not limited to the six callable range of the above examples, and may include more or less callable range, such as F1.0 to F22 (including 10). Callable files: F1, F1.4, F2, F2.8, F4, F5.6, F8, F11, F16 and F22) or F4~F11 (including 4 callable files: F4, F5.6, F8 and F11) and the like, depending on the lens, the aperture number ranges are different, and embodiments of the present invention can establish different exposure tables according to different callable range.
本领域技术人员应当理解,本发明的光圈数变化不限于上述举例中的每次仅变化1个档位,也可以变化两档或者三档或者更多,例如,在光圈数范围为F1.0~F22中,仅使用F1.0、F2.0、F4.0、F8.0以及F22五个档位。It should be understood by those skilled in the art that the variation of the aperture number of the present invention is not limited to only one shift position at a time in the above example, and may also be changed by two or three or more, for example, the aperture number ranges from F1.0. In ~F22, only five gear positions F1.0, F2.0, F4.0, F8.0, and F22 are used.
本领域技术人员应当理解,本发明的曝光表可以不包括上述举例中光圈数,仅包括相对光圈值、曝光时间以及感光度,上述曝光表中的相对光圈值、曝光时间以及感光度不限于上述数值,上述举例仅为了帮助理解。 It should be understood by those skilled in the art that the exposure meter of the present invention may not include the aperture number in the above example, and includes only the relative aperture value, the exposure time, and the sensitivity. The relative aperture value, exposure time, and sensitivity in the exposure meter are not limited to the above. Numerical values, the above examples are only for help understanding.
在操作S130,根据所述曝光参数调整所述相机的曝光元件。根据本发明,如前所述,所述曝光参数包括相对光圈值,由此,根据所述曝光参数调整所述相机的曝光元件包括:将所述相对光圈值转化为光圈数,并根据所述光圈数调整所述相机的曝光元件。In operation S130, an exposure element of the camera is adjusted according to the exposure parameter. According to the present invention, as described above, the exposure parameter includes a relative aperture value, whereby adjusting the exposure element of the camera according to the exposure parameter comprises: converting the relative aperture value into an aperture number, and according to the The number of apertures adjusts the exposure elements of the camera.
例如,当前镜头为镜头A,镜头A的光圈数范围为F2.8~F16(包含6个可调用档:F2.8、F4、F5.6、F8、F11以及F16),曝光时间为8s~1/8000s,感光度范围为12800~100则可以选用上述表1所示的曝光表。当检测到当前环境光的亮度为等级3时,在表1中查询到的对应的曝光参数为相对光圈值257、曝光时间1/15s、以及感光度12800,则可以根据曝光参数控制相机的光圈调整到相对光圈值为257对应的光圈数大小(光圈调整到F4.0),控制相机的快门曝光时间为1/15s,以及控制相机的感光度为12800,从而实现相机的自动曝光。For example, the current lens is lens A, and the aperture number of lens A is F2.8 to F16 (including 6 callable files: F2.8, F4, F5.6, F8, F11, and F16), and the exposure time is 8s~ For 1/8000s, the sensitivity range is 12800~100, and the exposure meter shown in Table 1 above can be used. When it is detected that the brightness of the current ambient light is level 3, the corresponding exposure parameters queried in Table 1 are the relative aperture value 257, the exposure time 1/15 s, and the sensitivity 12800, and the aperture of the camera can be controlled according to the exposure parameter. Adjust the aperture to the relative aperture value of 257 (aperture adjustment to F4.0), control the camera's shutter exposure time to 1/15s, and control the camera's sensitivity to 12800, thus achieving automatic exposure of the camera.
根据本发明的实施例,通过使用相对光圈值作为曝光参数建立曝光表,可以减少曝光表的数量,减少内存空间。According to an embodiment of the present invention, by establishing an exposure table using relative aperture values as exposure parameters, the number of exposure tables can be reduced, and memory space can be reduced.
图2示意性示出了根据本发明另一实施例的用于相机的更新曝光表的方法的流程图。FIG. 2 schematically illustrates a flow chart of a method for updating an exposure meter for a camera in accordance with another embodiment of the present invention.
如图2所示,该方法包括操作S210~S240。As shown in FIG. 2, the method includes operations S210-S240.
在操作S210,获取镜头信息。其中,获取镜头信息包括镜头焦距、镜头光圈范围等信息。获取镜头信息可以是根据特定条件触发获取,例如,当更换镜头或者调整镜头焦距时获取当前的镜头信息。At operation S210, lens information is acquired. The acquiring lens information includes information such as a lens focal length and a lens aperture range. Acquiring the lens information may trigger the acquisition according to a specific condition, for example, acquiring the current lens information when the lens is changed or the lens focal length is adjusted.
在操作S220,判断光圈数范围是否发生变化,若发生变化则执行操作S230,否则结束。根据本发明实施例,若光圈数范围发生变化时,则判断是否需要更新调整曝光表以适应新的镜头信息,如果光圈数范围没有发生变化,则使用当前的曝光表就可以满足对相机曝光的控制。例如,光圈数范围发生变化可以是光圈数范围由F2~F16变化到F2~F22,或者光圈数范围由F2~F16变化到F4~F22。In operation S220, it is judged whether or not the aperture number range has changed, and if a change occurs, operation S230 is performed, otherwise, the operation ends. According to the embodiment of the present invention, if the range of the aperture number changes, it is determined whether the adjustment exposure table needs to be updated to adapt to the new lens information. If the aperture number range does not change, the current exposure meter can be used to satisfy the exposure of the camera. control. For example, the range of the number of apertures may be changed from F2 to F16 to F2 to F22, or the range of apertures may be changed from F2 to F16 to F4 to F22.
在操作S230,判断相机的镜头的相对光圈值的范围是否发生变化,若发生变化则执行操作S240,否则结束。根据本发明实施例,若相对光圈值的范围发生了变化则需要更新曝光表,若相对光圈值的范围没有发生变化,则使用当前的曝光表就可以满足对相机曝光的控制。例如,光圈数范围由F2.8~F16(包含6个可调用档,相对光圈值范围为1~1281)变化到F4.0~F22(包含6个可调用档,相对光圈值范围 为1~1281),虽然光圈数范围发生了变化,但是相对光圈值范围没有发生变化,则使用当前的曝光表就可以满足对相机曝光的控制。又例如,光圈数范围由F2.8-F16(包含6个可调用档,相对光圈值范围为1~1281)变化到F2~F22(包含8个可调用档,相对光圈值范围为1~1793),光圈数范围发生了变化,相对光圈值范围也发生了变化,则需要使用新的曝光表进行曝光控制。In operation S230, it is determined whether the range of the relative aperture value of the lens of the camera has changed, and if a change occurs, operation S240 is performed, otherwise, the process ends. According to the embodiment of the present invention, if the range of the relative aperture value changes, the exposure table needs to be updated. If the range of the relative aperture value does not change, the control of the camera exposure can be satisfied by using the current exposure meter. For example, the range of apertures varies from F2.8 to F16 (including 6 callable files, relative aperture range from 1 to 1281) to F4.0 to F22 (including 6 callable files, relative aperture range For the range of 1 to 1281), although the range of the aperture number has changed, but the range of the relative aperture value has not changed, the current exposure meter can be used to control the exposure of the camera. For example, the range of apertures is changed from F2.8-F16 (including 6 callable files, relative aperture range is 1~1281) to F2~F22 (including 8 callable files, relative aperture range is 1~1793) ), the aperture number range has changed, and the relative aperture value range has also changed. You need to use the new exposure meter for exposure control.
在操作S240,更新曝光表。根据本发明实施例,当相对光圈值范围发生了变化,则表示可调用档发生了变化,所以在不同环境光的亮度下可以由新的调整选择,需要更新曝光表。例如,如表3所示的表示包含6个可调用档的相对光圈值范围对应的曝光表,则当相对光圈值范围变化到更大或者更小时,需要更新曝光表以适应不同数量的可调用档的选择。The exposure table is updated in operation S240. According to the embodiment of the present invention, when the relative aperture value range changes, it indicates that the callable file has changed, so the brightness can be selected by a new adjustment under the brightness of different ambient light, and the exposure table needs to be updated. For example, if the exposure table corresponding to the range of relative aperture values of the six callable files is shown in Table 3, when the range of relative aperture values changes to be larger or smaller, the exposure table needs to be updated to accommodate different numbers of callables. The choice of file.
例如,将镜头A(光圈数范围为F2.8~F16,曝光时间为8s~1/8000s,感光度范围为12800~100)更换为镜头C(光圈数范围为F2.8~F11,曝光时间为8s~1/8000s,感光度范围为12800~100),则镜头C的曝光参数中的相对光圈值可以有5档选择,例如,如表4所示的曝光表。For example, replace lens A (the number of apertures is F2.8 to F16, the exposure time is 8s to 1/8000s, and the sensitivity range is 12800 to 100) to lens C (the number of apertures is F2.8 to F11, exposure time). For 8s to 1/8000s, the sensitivity range is 12800 to 100), the relative aperture value in the exposure parameter of lens C can be selected in 5 steps, for example, the exposure meter shown in Table 4.
表4Table 4
环境光亮度Ambient lightness 11 22 33 44 55 66 77 88 99 1010
相对光圈值Relative aperture value 11 11 257257 257257 513513 513513 513513 769769 769769 10251025
曝光时间(s)Exposure time (s) 88 1/151/15 1/151/15 1/151/15 1/151/15 1/5001/500 1/5001/500 1/5001/500 1/80001/8000 1/80001/8000
感光度Sensitivity 1280012800 1280012800 1280012800 400400 400400 400400 100100 100100 100100 100100
根据本发明实施例,具有相同相对光圈值范围的镜头可以使用相同的曝光表,例如,相对光圈值范围为1~1025,则光圈数范围内包含5个可调用档的镜头均可以使用该曝光表。具有不同相对光圈值范围的镜头的曝光表应相对变化,例如,如表3所示的相对光圈值范围为1~1281与如表4所示的相对光圈值范围为1~1025的曝光表不同。According to the embodiment of the present invention, the lens having the same relative aperture value range can use the same exposure meter, for example, the relative aperture value ranges from 1 to 1025, and the exposure can be used for the lens including the five callable range in the aperture number range. table. The exposure meter of the lens having different relative aperture value ranges should be relatively changed. For example, the relative aperture value shown in Table 3 ranges from 1 to 1281, and the exposure table with the relative aperture value range of 1 to 1025 as shown in Table 4 is different. .
本领域技术人员应当理解,本发明不限于上述举例的具体数值,凡是符合曝光标准的曝光参数组合都可以建立在曝光表中。当相对光圈值范围较大时,则可调用的光圈数的档位相应较多,则曝光表中可以相应增加光圈的调节。当相对光圈值范围较小时,则可调用的光圈数的档位相对较少,则曝光表中可以相应增加曝光时间和感光度的调节。本发明不限于曝光参数的具体参数组合,凡是可以满足环境光亮度的曝光参数组合都可以建立在曝光表中。 It should be understood by those skilled in the art that the present invention is not limited to the specific numerical values exemplified above, and any combination of exposure parameters meeting the exposure criteria can be established in the exposure table. When the relative aperture value range is large, the number of apertures that can be called is correspondingly larger, and the adjustment of the aperture can be correspondingly increased in the exposure table. When the relative aperture value range is small, the number of apertures that can be called is relatively small, and the exposure time and the sensitivity adjustment can be correspondingly increased in the exposure table. The present invention is not limited to a specific combination of parameters of exposure parameters, and any combination of exposure parameters that can satisfy ambient light brightness can be established in the exposure table.
在本发明实施例中,可以是建立多张不同相对光圈值范围的曝光表,切换相机的镜头或者变换变焦镜头的焦距时,可以通过判断相对光圈值范围选择调用的曝光表。也可以是切换相机的镜头或者变换变焦镜头的焦距时,根据检测得到的当前的镜头信息按照预设的规则刷新当前的曝光表。In the embodiment of the present invention, an exposure meter that establishes a plurality of different relative aperture value ranges may be selected. When the lens of the camera is switched or the focal length of the zoom lens is changed, the exposure table that is called may be selected by determining a range of relative aperture values. Alternatively, when switching the lens of the camera or changing the focal length of the zoom lens, the current exposure table is refreshed according to the preset rule according to the detected current lens information.
本发明实施例的方案,采用相对光圈值代替光圈数建立曝光表,相对光圈值范围相同的各种镜头均可以使用同一张曝光表,减少相机内曝光表的数量,缓解内存压力。当相对光圈值范围发生变化时,可以按照预设的相对光圈值范围对应的规则刷新曝光表,这样可以迅速建立新的曝光表以适应当前镜头。当相对光圈值范围发生变化时,还可以直接在建立好的多张不同相对光圈值范围的曝光表中调用相应的曝光表进行曝光控制,这样可以达到快速控制曝光的目的。In the solution of the embodiment of the present invention, the exposure table is established by using the relative aperture value instead of the aperture number, and the same exposure table can be used for various lenses having the same aperture value range, thereby reducing the number of exposure tables in the camera and alleviating the memory pressure. When the relative aperture value range changes, the exposure table can be refreshed according to the preset rule corresponding to the relative aperture value range, so that a new exposure meter can be quickly established to adapt to the current lens. When the range of the relative aperture value changes, it is also possible to directly call the corresponding exposure meter for exposure control in the exposure table in which a plurality of different relative aperture values are established, so that the purpose of quickly controlling the exposure can be achieved.
图3示意性示出了根据本发明实施例的用于相机的自动曝光装置的框图。FIG. 3 schematically shows a block diagram of an automatic exposure apparatus for a camera according to an embodiment of the present invention.
如图3所示,自动曝光装置包括存储单元310、亮度检测单元320、控制单元330、镜头检测单元340以及曝光表生成单元350。该自动曝光装置可以执行上述参考图1~图2描述的方法,以实现相机的自动曝光。As shown in FIG. 3, the automatic exposure device includes a storage unit 310, a brightness detecting unit 320, a control unit 330, a lens detecting unit 340, and an exposure table generating unit 350. The automatic exposure apparatus can perform the method described above with reference to FIGS. 1 to 2 to achieve automatic exposure of the camera.
具体地,存储单元310用于存储曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数,且该函数的二阶导数小于0。根据本发明实施例,存储单元310例如可以执行上述参考图1描述的操作S110。Specifically, the storage unit 310 is configured to store an exposure table, the exposure table records exposure parameters corresponding to brightness of different ambient lights, the exposure parameters include relative aperture values, and the relative aperture value is a function of the number of apertures, and The second derivative of this function is less than zero. According to an embodiment of the present invention, the storage unit 310 may perform, for example, the operation S110 described above with reference to FIG.
亮度检测单元320用于检测当前环境的亮度。根据本发明实施例,亮度检测单元320例如可以执行上述参考图1描述的操作S120。优选地,亮度检测单元320采用CMOS传感器。在具体实施方式中,可以采用相机的CMOS传感器兼作亮度检测单元,以简化器件结构,减小重量和成本。The brightness detecting unit 320 is configured to detect the brightness of the current environment. According to an embodiment of the present invention, the brightness detecting unit 320 may perform, for example, the operation S120 described above with reference to FIG. Preferably, the brightness detecting unit 320 employs a CMOS sensor. In a specific embodiment, a CMOS sensor of a camera can be used as a brightness detecting unit to simplify the device structure and reduce weight and cost.
控制单元330用于在所述曝光表中查询所述当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足所述曝光参数。根据本发明实施例,控制单元330例如可以执行上述参考图1描述的操作S130。The control unit 330 is configured to query, in the exposure table, an exposure parameter corresponding to the brightness of the current ambient light, and adjust an exposure element of the camera to satisfy the exposure parameter. According to an embodiment of the present invention, the control unit 330 may perform, for example, the operation S130 described above with reference to FIG.
具体来说,所述控制单元330将所述相对光圈值转化为光圈数后,根据所述光圈数调整所述相机的曝光元件。Specifically, after the control unit 330 converts the relative aperture value into the aperture number, the exposure element of the camera is adjusted according to the aperture number.
镜头检测单元340用于检测所述相机的镜头的所述相对光圈值的范围是否发生变化。根据本发明实施例,镜头检测单元340例如可以执行上述参考图2描述的操 作S210~S230。The lens detecting unit 340 is configured to detect whether a range of the relative aperture value of the lens of the camera changes. According to an embodiment of the present invention, the lens detecting unit 340 can perform, for example, the operation described above with reference to FIG. 2 S210 to S230.
曝光表生成单元350用于当所述相对光圈值的范围发生变化时重新计算曝光表中的相对光圈值。根据本发明实施例,曝光表生成单元350例如可以执行上述参考图2描述的操作S240。The exposure table generating unit 350 is configured to recalculate the relative aperture value in the exposure table when the range of the relative aperture value changes. According to an embodiment of the present invention, the exposure table generating unit 350 may perform, for example, the operation S240 described above with reference to FIG.
可以理解的是,存储单元310、亮度检测单元320、控制单元330、镜头检测单元340以及曝光表生成单元350可以合并在一个模块中实现,或者其中的任意一个模块可以被拆分成多个模块。或者,这些模块中的一个或多个模块的至少部分功能可以与其他模块的至少部分功能相结合,并在一个模块中实现。根据本发明的实施例,存储单元310、亮度检测单元320、控制单元330、镜头检测单元340以及曝光表生成单元350中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以以对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式的适当组合来实现。或者,存储单元310、亮度检测单元320、控制单元330、镜头检测单元340以及曝光表生成单元350中的至少一个可以至少被部分地实现为计算机程序模块,当该程序被计算机运行时,可以执行相应模块的功能。It can be understood that the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 can be implemented in one module, or any one of the modules can be split into multiple modules. . Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 may be at least partially implemented as a hardware circuit, such as a field programmable gate array. (FPGA), Programmable Logic Array (PLA), System on Chip, System on Substrate, System on Package, Application Specific Integrated Circuit (ASIC), or any other reasonable way to integrate or package the circuit, etc. The firmware is implemented or implemented in a suitable combination of three implementations of software, hardware, and firmware. Alternatively, at least one of the storage unit 310, the brightness detecting unit 320, the control unit 330, the lens detecting unit 340, and the exposure table generating unit 350 may be at least partially implemented as a computer program module, which may be executed when the program is run by the computer The function of the corresponding module.
图4示意性示出了根据本发明实施例的相机400的框图。FIG. 4 schematically shows a block diagram of a camera 400 in accordance with an embodiment of the present invention.
如图4所示,相机400包括上述参考图3描述的自动曝光装置。根据本发明实施例,相机400可以使用自动曝光装置实现在不同环境光的亮度下自动控制曝光。相机一般包括机身和镜头,机身和镜头可以是整体的,也可以是可拆卸的。所述自动曝光装置通常位于机身,但也可能部分位于镜头,本发明不对自动曝光装置的位置进行限定。所述相机还包括,所述曝光元件可以位于机身,也可以位于镜头。所述曝光元件包括快门、光圈、ISO调节器中的至少一个。As shown in FIG. 4, the camera 400 includes the automatic exposure apparatus described above with reference to FIG. According to an embodiment of the present invention, the camera 400 can automatically control exposure under different ambient light brightness using an automatic exposure device. The camera generally includes a body and a lens, and the body and lens may be integral or detachable. The automatic exposure device is usually located in the body, but may also be partially located in the lens, and the present invention does not limit the position of the automatic exposure device. The camera further includes that the exposure element can be located in the body or in the lens. The exposure element includes at least one of a shutter, an aperture, and an ISO adjuster.
综上所述,本发明采用相对光圈值代替光圈数作为曝光参数建立曝光表,相对光圈值范围相同的各种镜头均可以使用同一张曝光表,减少相机内曝光表的数量,缓解内存压力。当相对光圈值范围发生变化时,可以按照预设的相对光圈值范围对应的规则刷新曝光表,这样可以迅速建立新的曝光表以适应当前镜头。当相对光圈值范围发生变化时,还可以直接在建立好的多张不同相对光圈值范围的曝光表中调用相应的曝光表进行曝光控制,这样可以达到快速控制曝光的目的。 In summary, the present invention uses the relative aperture value instead of the aperture number as an exposure parameter to establish an exposure table, and the same exposure table can be used for various lenses having the same range of aperture values, thereby reducing the number of exposure tables in the camera and alleviating memory pressure. When the relative aperture value range changes, the exposure table can be refreshed according to the preset rule corresponding to the relative aperture value range, so that a new exposure meter can be quickly established to adapt to the current lens. When the range of the relative aperture value changes, it is also possible to directly call the corresponding exposure meter for exposure control in the exposure table in which a plurality of different relative aperture values are established, so that the purpose of quickly controlling the exposure can be achieved.
根据本发明各实施例的上述方法、模块可以通过有计算能力的电子设备执行包含计算机指令的软件来实现。该系统可以包括存储设备,以实现上文所描述的各种存储。所述有计算能力的电子设备可以包含通用处理器、数字信号处理器、专用处理器、可重新配置处理器等能够执行计算机指令的装置,但不限于此。执行这样的指令使得电子设备被配置为执行根据本发明的上述各项操作。上述各方法和/或模块可以在一个电子设备中实现,也可以在不同电子设备中实现。The above method and module according to various embodiments of the present invention may be implemented by executing a computer-containing software by a computing-capable electronic device. The system can include storage devices to implement the various storages described above. The computing capable electronic device can include a general purpose processor, a digital signal processor, a dedicated processor, a reconfigurable processor, etc., but is not limited thereto. Executing such instructions causes the electronic device to be configured to perform the operations described above in accordance with the present invention. The above methods and/or modules may be implemented in one electronic device or in different electronic devices.
本发明的实施例使用软件的,软件可以存储为易失性存储器或非易失性存储装置的形式(比如类似ROM等存储设备),不论是可擦除的还是可重写的,或者存储为存储器的形式(例如RAM、存储器芯片、设备或集成电路),或者被存储在光可读介质或磁可读介质上(比如,CD、DVD、磁盘或磁带等等)。应该意识到,存储设备和存储介质是适于存储一个或多个程序的机器可读存储装置的实施例,所述一个程序或多个程序包括指令,当所述指令被执行时,实现本发明的实施例。此外,可以经由任何介质(比如,经由有线连接或无线连接携带的通信信号)来电传递这些程序,多个实施例适当地包括这些程序。Embodiments of the invention use software, which may be stored in the form of volatile memory or non-volatile storage (such as a storage device such as a ROM), whether erasable or rewritable, or stored as The form of the memory (eg, RAM, memory chip, device, or integrated circuit) is either stored on an optically readable medium or a magnetically readable medium (eg, CD, DVD, magnetic or tape, etc.). It should be appreciated that the storage device and the storage medium are embodiments of a machine-readable storage device adapted to store one or more programs, the program or programs comprising instructions that, when executed, implement the present invention An embodiment. Moreover, these programs can be routed via any medium, such as a communication signal carried via a wired connection or a wireless connection, and various embodiments suitably include such programs.
尽管已经参照本发明的特定示例性实施例示出并描述了本发明,但是本领域技术人员应该理解,在不背离所附权利要求及其等同物限定的本发明的精神和范围的情况下,可以对本发明进行形式和细节上的多种改变。因此,本发明的范围不应该限于上述实施例,而是应该不仅由所附权利要求来进行确定,还由所附权利要求的等同物来进行限定。 Although the present invention has been shown and described with respect to the specific exemplary embodiments of the present invention, those skilled in the art Various changes in form and detail are made to the invention. Therefore, the scope of the invention should not be construed as being limited by the appended claims.

Claims (21)

  1. 一种用于相机的自动曝光方法,包括:An automatic exposure method for a camera, comprising:
    检测当前环境光的亮度;Detecting the brightness of the current ambient light;
    在曝光表中查询所述当前环境光的亮度对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值与所述相机的光圈数成预定关系;Querying, in the exposure table, an exposure parameter corresponding to the brightness of the current ambient light, the exposure parameter includes a relative aperture value, and the relative aperture value is in a predetermined relationship with the aperture number of the camera;
    根据所述曝光参数调整所述相机中的曝光元件。The exposure elements in the camera are adjusted according to the exposure parameters.
  2. 如权利要求1所述的用于相机的自动曝光方法,其特征在于,根据所述曝光参数调整所述相机中的曝光元件包括:The automatic exposure method for a camera according to claim 1, wherein the adjusting the exposure elements in the camera according to the exposure parameter comprises:
    将所述相对光圈值转化为光圈数;Converting the relative aperture value into a number of apertures;
    根据所述光圈数调整所述相机中的曝光元件。The exposure elements in the camera are adjusted according to the number of apertures.
  3. 如权利要求1所述的用于相机的自动曝光方法,其特征在于,所述预定关系为所述相对光圈值与光圈数的对数成线性关系。The automatic exposure method for a camera according to claim 1, wherein said predetermined relationship is a linear relationship between said relative aperture value and a logarithm of the number of apertures.
  4. 如权利要求3所述的用于相机的自动曝光方法,其特征在于,所述相对光圈值与光圈数的以2为底的对数成线性关系。The automatic exposure method for a camera according to claim 3, wherein said relative aperture value is linear with a base 2 logarithm of the number of apertures.
  5. 如权利要求4所述的用于相机的自动曝光方法,其特征在于,所述相对光圈值由以下公式表示:The automatic exposure method for a camera according to claim 4, wherein said relative aperture value is expressed by the following formula:
    Figure PCTCN2017084903-appb-100001
    Figure PCTCN2017084903-appb-100001
    其中,LI表示相对光圈值,Fnum表示所述相机中的镜头的光圈数,Fmax表示所述相机中的镜头的最大光圈的光圈数,LDR表示所述相机的镜头的一档光圈数范围被等分的份数。Wherein, LI represents a relative aperture value, Fnum represents the aperture number of the lens in the camera, Fmax represents the aperture number of the maximum aperture of the lens in the camera, and LDR indicates that the range of the first aperture of the lens of the camera is equal. The number of copies.
  6. 如权利要求1所述的用于相机的自动曝光方法,其特征在于,还包括:检测所述相机的镜头的所述相对光圈值的范围是否发生变化,如果所述相对光圈值的范围超过所述曝光表中相对光圈值的范围,则更新曝光表。The automatic exposure method for a camera according to claim 1, further comprising: detecting whether a range of said relative aperture value of said lens of said camera changes if said range of relative aperture values exceeds The exposure table is updated by describing the range of relative aperture values in the exposure meter.
  7. 一种用于相机的自动曝光装置,包括:An automatic exposure device for a camera, comprising:
    存储单元,用于存储曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;a storage unit, configured to store an exposure table, wherein the exposure table records exposure parameters corresponding to brightness of different ambient light, the exposure parameter includes a relative aperture value, and the relative aperture value is a function of the number of apertures;
    亮度检测单元,用于检测当前环境光的亮度; a brightness detecting unit, configured to detect brightness of current ambient light;
    控制单元,用于在所述曝光表中查询所述当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足所述曝光参数。And a control unit, configured to query an exposure parameter corresponding to the brightness of the current ambient light in the exposure table, and adjust an exposure component of the camera to satisfy the exposure parameter.
  8. 如权利要求7所述的用于相机的自动曝光装置,其特征在于,所述亮度检测单元是CMOS传感器。The automatic exposure apparatus for a camera according to claim 7, wherein the brightness detecting unit is a CMOS sensor.
  9. 如权利要求7所述的用于相机的自动曝光装置,其特征在于,所述控制单元还用于将所述相对光圈值转化为光圈数后,根据所述光圈数调整所述相机的曝光元件。The automatic exposure apparatus for a camera according to claim 7, wherein the control unit is further configured to adjust the exposure component of the camera according to the number of apertures after converting the relative aperture value into a number of apertures .
  10. 如权利要求7所述的用于相机的自动曝光装置,其特征在于,所述相对光圈值与光圈数的对数成线性关系。The automatic exposure apparatus for a camera according to claim 7, wherein said relative aperture value is linear with a logarithm of the number of apertures.
  11. 如权利要求10所述的用于相机的自动曝光装置,其特征在于,所述相对光圈值与光圈数的以2为底的对数成线性关系。The automatic exposure apparatus for a camera according to claim 10, wherein said relative aperture value is linear with a base 2 logarithm of the number of apertures.
  12. 如权利要求11所述的用于相机的自动曝光装置,其特征在于,所述相对光圈值由以下公式表示:An automatic exposure apparatus for a camera according to claim 11, wherein said relative aperture value is expressed by the following formula:
    Figure PCTCN2017084903-appb-100002
    Figure PCTCN2017084903-appb-100002
    其中,LI表示相对光圈值,Fnum表示所述相机中的镜头的光圈数,Fmax表示所述相机中的镜头的最大光圈的光圈数,LDR表示所述相机的镜头的一档光圈数范围被等分的份数。Wherein, LI represents a relative aperture value, Fnum represents the aperture number of the lens in the camera, Fmax represents the aperture number of the maximum aperture of the lens in the camera, and LDR indicates that the range of the first aperture of the lens of the camera is equal. The number of copies.
  13. 如权利要求7所述的用于相机的自动曝光装置,其特征在于,所述相机还包括:The automatic exposure apparatus for a camera according to claim 7, wherein the camera further comprises:
    镜头检测单元,用于检测所述相机的镜头的所述相对光圈值的范围是否发生变化,a lens detecting unit configured to detect whether a range of the relative aperture value of the lens of the camera changes
    曝光表生成单元,用于当所述相对光圈值的范围超过所述曝光表中相对光圈值的范围时,则更新曝光表。The exposure table generating unit is configured to update the exposure table when the range of the relative aperture value exceeds a range of the relative aperture value in the exposure table.
  14. 一种相机,其包括一机身、一安装于所述机身的镜头,以及一安装于所述机身或所述镜头的自动曝光装置,所述曝光装置包括:A camera includes a body, a lens mounted to the body, and an automatic exposure device mounted to the body or the lens, the exposure device comprising:
    存储单元,用于存储曝光表,所述曝光表记录不同的环境光的亮度所对应的曝光参数,所述曝光参数包括相对光圈值,所述相对光圈值是光圈数的函数;a storage unit, configured to store an exposure table, wherein the exposure table records exposure parameters corresponding to brightness of different ambient light, the exposure parameter includes a relative aperture value, and the relative aperture value is a function of the number of apertures;
    亮度检测单元,用于检测当前环境光的亮度; a brightness detecting unit, configured to detect brightness of current ambient light;
    控制单元,用于在所述曝光表中查询所述当前环境光的亮度对应的曝光参数,并调整该相机的曝光元件以满足所述曝光参数。And a control unit, configured to query an exposure parameter corresponding to the brightness of the current ambient light in the exposure table, and adjust an exposure component of the camera to satisfy the exposure parameter.
  15. 如权利要求14所述相机,其特征在于,所述亮度检测单元是CMOS传感器。The camera of claim 14 wherein said brightness detecting unit is a CMOS sensor.
  16. 如权利要求14所述相机,其特征在于,所述曝光元件包括快门、光圈、ISO调节器中的至少一个。The camera of claim 14 wherein said exposure element comprises at least one of a shutter, an aperture, and an ISO adjuster.
  17. 如权利要求14所述相机,其特征在于,所述控制单元还用于将所述相对光圈值转化为光圈数后,根据所述光圈数调整所述相机的曝光元件。The camera according to claim 14, wherein the control unit is further configured to adjust the exposure element of the camera according to the number of apertures after converting the relative aperture value into a number of apertures.
  18. 如权利要求14所述相机,其特征在于,所述相对光圈值与光圈数的对数成线性关系。The camera of claim 14 wherein said relative aperture value is linear with a logarithm of the number of apertures.
  19. 如权利要求18所述相机,其特征在于,所述相对光圈值与光圈数的以2为底的对数成线性关系。The camera of claim 18 wherein said relative aperture value is linear with a base 2 logarithm of the number of apertures.
  20. 如权利要求19所述相机,其特征在于,所述相对光圈值由以下公式表示:The camera of claim 19 wherein said relative aperture value is represented by the following formula:
    Figure PCTCN2017084903-appb-100003
    Figure PCTCN2017084903-appb-100003
    其中,LI表示相对光圈值,Fnum表示所述相机中的镜头的光圈数,Fmax表示所述相机中的镜头的最大光圈的光圈数,LDR表示所述相机的镜头的一档光圈数范围被等分的份数。Wherein, LI represents a relative aperture value, Fnum represents the aperture number of the lens in the camera, Fmax represents the aperture number of the maximum aperture of the lens in the camera, and LDR indicates that the range of the first aperture of the lens of the camera is equal. The number of copies.
  21. 如权利要求14所述的相机,还包括:The camera of claim 14 further comprising:
    镜头检测单元,用于检测所述相机的镜头的所述相对光圈值的范围是否发生变化,a lens detecting unit configured to detect whether a range of the relative aperture value of the lens of the camera changes
    曝光表生成单元,用于当所述相对光圈值的范围超过所述曝光表中相对光圈值的范围时,则更新曝光表。 The exposure table generating unit is configured to update the exposure table when the range of the relative aperture value exceeds a range of the relative aperture value in the exposure table.
PCT/CN2017/084903 2017-05-18 2017-05-18 Automatic exposure method and device for camera WO2018209650A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/084903 WO2018209650A1 (en) 2017-05-18 2017-05-18 Automatic exposure method and device for camera
CN201780004423.2A CN108702459B (en) 2017-05-18 2017-05-18 Automatic exposure method and device for camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084903 WO2018209650A1 (en) 2017-05-18 2017-05-18 Automatic exposure method and device for camera

Publications (1)

Publication Number Publication Date
WO2018209650A1 true WO2018209650A1 (en) 2018-11-22

Family

ID=63843759

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084903 WO2018209650A1 (en) 2017-05-18 2017-05-18 Automatic exposure method and device for camera

Country Status (2)

Country Link
CN (1) CN108702459B (en)
WO (1) WO2018209650A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413336A (en) * 2018-12-27 2019-03-01 北京旷视科技有限公司 Image pickup method, device, electronic equipment and computer readable storage medium
CN113271433A (en) * 2020-02-17 2021-08-17 群光电子股份有限公司 Monitoring device and image capturing method
CN111654641B (en) * 2020-07-20 2021-07-13 浙江大学 Airborne camera exposure parameter adjusting method and system
CN114339060A (en) * 2020-09-30 2022-04-12 宇龙计算机通信科技(深圳)有限公司 Exposure adjusting method and device, storage medium and electronic equipment
CN114520870B (en) * 2020-11-20 2023-06-20 华为技术有限公司 Display method and terminal
CN116074634B (en) * 2022-05-27 2023-11-14 荣耀终端有限公司 Exposure parameter determination method and device
CN115103130B (en) * 2022-08-24 2023-05-02 龙旗电子(惠州)有限公司 Aperture control method, device, equipment and storage medium
CN117135467A (en) * 2023-02-23 2023-11-28 荣耀终端有限公司 Image processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4914466A (en) * 1988-04-11 1990-04-03 Nikon Corporation Bracketing exposure control device
CN1504823A (en) * 2002-12-05 2004-06-16 ӡ�����Ƽ��ɷ����޹�˾ Rapid convergence method for correct exposure value
CN1838739A (en) * 2005-03-21 2006-09-27 王美娟 Automatic exposure method for digital photographic device
CN103391404A (en) * 2012-05-08 2013-11-13 展讯通信(上海)有限公司 Automatic exposure method, device, camera device and mobile terminal
CN105611189A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Automatic exposure parameter adjustment method and device and user equipment
CN105827995A (en) * 2016-03-30 2016-08-03 金三立视频科技(深圳)有限公司 Automatic exposure method and system based on histogram

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170549B2 (en) * 2003-05-13 2007-01-30 The United States Of America As Represented By The Secretary Of The Navy Auto focus and zoom controller for controlling multiple cameras
US20060170816A1 (en) * 2005-01-28 2006-08-03 Silverstein D A Method and system for automatically adjusting exposure parameters of an imaging device
JP6151176B2 (en) * 2013-12-27 2017-06-21 株式会社 日立産業制御ソリューションズ Focus control apparatus and method
CN105450936B (en) * 2014-05-30 2019-02-15 杭州海康威视数字技术股份有限公司 Intelligent adjusting method and its device when video camera automatic exposure
CN105044899A (en) * 2015-08-29 2015-11-11 四川七彩光电科技有限公司 Night vision device based on low light level imaging and implementation method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4914466A (en) * 1988-04-11 1990-04-03 Nikon Corporation Bracketing exposure control device
CN1504823A (en) * 2002-12-05 2004-06-16 ӡ�����Ƽ��ɷ����޹�˾ Rapid convergence method for correct exposure value
CN1838739A (en) * 2005-03-21 2006-09-27 王美娟 Automatic exposure method for digital photographic device
CN103391404A (en) * 2012-05-08 2013-11-13 展讯通信(上海)有限公司 Automatic exposure method, device, camera device and mobile terminal
CN105611189A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Automatic exposure parameter adjustment method and device and user equipment
CN105827995A (en) * 2016-03-30 2016-08-03 金三立视频科技(深圳)有限公司 Automatic exposure method and system based on histogram

Also Published As

Publication number Publication date
CN108702459B (en) 2021-03-12
CN108702459A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2018209650A1 (en) Automatic exposure method and device for camera
US11368615B2 (en) Modifying image parameters using wearable device input
US11532076B2 (en) Image processing method, electronic device and storage medium
CN109218627B (en) Image processing method, image processing device, electronic equipment and storage medium
EP3127323B1 (en) Method and apparatus for controlling image capture
US9185300B2 (en) Photographing apparatus for scene catergory determination and method for controlling thereof
US20110019019A1 (en) Method and system for processing photograph in camera device
CN105227857B (en) A kind of method and apparatus of automatic exposure
US8395682B2 (en) System and methods for image depth-of-field modulation
US20220053121A1 (en) A method, software product, camera device and system for determining artificial lighting and camera settings
CN109361853B (en) Image processing method, image processing device, electronic equipment and storage medium
US8593566B2 (en) Method and apparatus for controlling light emission of flash and digital photographing apparatus using the method and apparatus
US20180139369A1 (en) Backlit face detection
CN105898152A (en) Method and system for restoring ambient light luminance on image
US20140118606A1 (en) Smart cameras
CN107370940B (en) Image acquiring method, device and terminal device
CN104965376A (en) Adjusting method and system of terminal camera flash lamp
JP5755311B2 (en) Information processing apparatus, photographing apparatus, and control method for information processing apparatus
US20180091721A1 (en) Imaging apparatus, control method and program
JP5409050B2 (en) Information processing apparatus, photographing apparatus, and control method for information processing apparatus
JP2017098691A (en) Information processing device
WO2020162949A1 (en) Imaging device calibration
JP6929109B2 (en) Imaging equipment and programs
CN117135313A (en) Monitoring mode switching method, device, equipment, medium and product of monitoring equipment
JP2017157889A (en) Imaging apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1