WO2013071671A1 - 控制拍照闪光灯的方法及终端 - Google Patents

控制拍照闪光灯的方法及终端 Download PDF

Info

Publication number
WO2013071671A1
WO2013071671A1 PCT/CN2011/084343 CN2011084343W WO2013071671A1 WO 2013071671 A1 WO2013071671 A1 WO 2013071671A1 CN 2011084343 W CN2011084343 W CN 2011084343W WO 2013071671 A1 WO2013071671 A1 WO 2013071671A1
Authority
WO
WIPO (PCT)
Prior art keywords
flash
lens
distance
terminal
exposure state
Prior art date
Application number
PCT/CN2011/084343
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 中兴通讯股份有限公司
Publication of WO2013071671A1 publication Critical patent/WO2013071671A1/zh

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/16Control of exposure by setting shutters, diaphragms or filters, separately or conjointly in accordance with both the intensity of the flash source and the distance of the flash source from the object, e.g. in accordance with the "guide number" of the flash bulb and the focusing of the camera
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a method and a terminal for controlling a photo flash. Background technique
  • the main purpose of the present invention is to provide a method and a terminal for controlling a photo flash, aiming at solving the problem that the photographed photo is too dark or overexposed in the prior art, and enhancing the user experience.
  • the present invention provides a method for controlling a photo flash, comprising: acquiring an objective distance between a lens and a photographed object and an exposure state of the lens; and according to the objective distance and the exposure state, Get the current flash level in the set flash level table;
  • the terminal further includes:
  • the data of the objective distance and the exposure state is saved locally at the terminal.
  • the terminal acquires an objective lens distance between the lens and the photographed object and the lens Set the camera resolution of the lens.
  • the preset flash level table includes different objective lens distances and a mapping relationship between the exposure state and the flash level.
  • the method before the step of acquiring, by the terminal, the objective lens distance between the lens and the photographing object and the exposure state of the lens, the method further includes:
  • the flash level table is set to include a mapping relationship between different objective distances and exposure states and flash levels.
  • the flash parameters include flash brightness and flash time.
  • the invention also provides a terminal for controlling a photo flash, comprising:
  • a distance measuring module configured to acquire an objective lens distance between the lens and the photographed object
  • a sensor module configured to acquire an exposure state of the lens
  • a CPU processing module configured to acquire a current flash level from the preset flash level table according to the objective lens distance and the exposure state; and set a flash parameter of the terminal according to the current flash level.
  • the terminal further includes:
  • a storage module configured to save data of the objective distance and the exposure state.
  • the CPU processing module is further configured to set a photographing resolution of the lens.
  • the CPU processing module is further configured to set the flash level table including different objective lens distances and a mapping relationship between an exposure state and a flash level.
  • the invention provides a method and a terminal for controlling a photo flash.
  • the terminal takes a photo
  • the objective lens distance between the lens of the terminal and the photographed object and the exposure state of the lens are obtained, and according to the objective lens distance and the exposure state, the preset The current flash level is obtained in the flash level table; the brightness and flash time of the flash of the terminal are set according to the current flash level, thereby avoiding the problem that the photographed photo is too dark or overexposed in the prior art, and at the same time enhancing the end user experience.
  • FIG. 1 is a schematic flow chart of a method for controlling a photo flashing lamp according to an embodiment of the present invention
  • FIG. 1 is a schematic flow chart of another embodiment of a method for controlling a photo flashing lamp according to the present invention
  • FIG. 4 is a schematic structural view of another embodiment of a terminal for controlling a photo flash according to the present invention.
  • the solution of the embodiment of the present invention is mainly: firstly, when the terminal takes a photo, the objective lens distance between the lens of the terminal and the photographed object and the exposure state of the lens are acquired, and according to the objective lens distance and the exposure state, the preset flash level table is obtained. Get the current flash level; Set the brightness and flash time of the flash of the terminal according to the current flash level to avoid the problem of too dark or overexposed photos in the prior art, and enhance the end user experience.
  • the terminal is a terminal with a camera and a flash function, such as a mobile phone having a lens and a flash function.
  • a flash function such as a mobile phone having a lens and a flash function.
  • the following embodiments each use a mobile phone as an example for description.
  • an embodiment of the present invention provides a method for controlling a photo flash, including: Step S101: A terminal acquires an objective lens distance between a lens and a photographed object and an exposure state of the lens;
  • a CPU processing module and a lens for photographing are provided in the mobile phone, and the lens has a sensor and a flash.
  • the camera processing resolution is set by the CPU processing module, and then the distance between the lens and the photographing object is adjusted, that is, the objective lens distance in the embodiment, and the objective lens distance between the current photographing object and the lens is obtained, and By acquiring the exposure state of the current lens through the sensor, the acquired objective distance and the exposure state can be maintained in the local memory, so that the brightness and flash time of the flash can be adjusted according to the objective lens distance and the exposure state of the lens.
  • Step S102 obtaining, according to the objective lens distance and the exposure state, from the preset flash level table. Current flash level;
  • the flash level table is pre-stored in the mobile phone, and the flash level table includes mappings of different objective distances, exposure states, and flash levels.
  • the corresponding flash levels can be measured in advance according to different objective distances and exposure states.
  • Each flash level corresponds to experimental parameter data such as the brightness and flash time of the corresponding flash.
  • the structure of the flash scale can be expressed as follows: ⁇
  • the current objective distance and the exposure state data are logically combined, and then according to the processing result of the logical combination, the flash level table is searched, and the flash of the currently required flash is obtained therefrom. grade.
  • the objective lens distance data A1, the exposure state data B1, the objective lens distance data A1 and the exposure state data B1 are logically and combinedly processed to obtain a corresponding flash level C1, wherein the exposure state data B1 is from the mobile phone.
  • the sensor of the lens is acquired. This data is in hexadecimal form.
  • the objective distance data A1 can be rounded off after the data is acquired.
  • Step S103 setting a flash parameter of the terminal according to the current flash level.
  • the flash parameters include flash brightness and flash time.
  • the CPU After the mobile phone obtains the flash level, the CPU sends a control command to the flashing light through the CPU processing module. Set the corresponding current and flash time of the flash.
  • the objective lens distance between the terminal lens and the photographed object and the exposure state of the lens are obtained, and according to the objective lens distance and the exposure state, the current flash level is obtained from the preset flash level table, and then the terminal is set according to the current flash level.
  • the brightness of the flash and the flash time enable effective control of the flash, avoiding the problem of overexposure or darkness when taking photos, improving the shooting effect, and greatly improving the user experience.
  • FIG. 1 another embodiment of the present invention provides a method for controlling a photo flash. On the basis of the foregoing embodiment, before the step S101, the method further includes:
  • Step S90 setting a flash level table including mapping relationships between different objective distances and exposure states and flash levels;
  • Step S100 setting a photographing resolution of the lens
  • the method further includes:
  • step S1012 the data of the objective distance and the exposure state are saved locally in the terminal.
  • the difference between this embodiment and the above embodiment is that, in the method of the embodiment, before acquiring the objective lens distance between the lens and the photographing object, the flash level table for setting the mapping relationship between the different objective lens distances and the exposure state and the flash level, and Set the camera resolution of the lens.
  • the present embodiment keeps the acquired objective lens distance and the exposure state in the local memory, so as to adjust the flash according to the objective lens distance and the exposure state of the lens.
  • Parameters such as brightness and flash time.
  • an embodiment of the present invention provides a terminal for controlling a photo flash, including: a ranging module 201, a sensor module 202, and a CPU processing module 203, wherein:
  • the ranging module 201 is configured to acquire an objective lens distance between the lens and the photographed object;
  • a sensor module 202 configured to acquire an exposure state of the lens
  • the sensor module 201 is also used to collect image data of a photographed object.
  • the CPU processing module 203 is configured to obtain a current flash level from the preset flash level table according to the objective lens distance and the exposure state; and set the flash parameter of the terminal according to the current flash level.
  • the flash parameters include flash brightness and flash time.
  • the distance measuring module 201 quickly locates the distance of the object to be photographed or the center of the scene to the lens of the mobile phone, that is, the objective lens distance in this embodiment. And acquiring the objective lens distance between the current photographing object and the lens, and acquiring the exposure state of the current lens through the sensor module 202, and maintaining the acquired objective lens distance and the exposure state in the local memory, so that the subsequent CPU processing module 203 according to the objective lens distance Adjust the brightness and flash time of the flash with data such as the exposure status of the lens.
  • the ranging module 201, the sensor module 202, and the flash are all controlled and managed by the CPU processing module 203.
  • the layout of the above-mentioned ranging module 201, the sensor module 202 and the flash on the PCB of the mobile phone should be as compact as possible to ensure that each module is aimed at the photographing object.
  • the central point is unified.
  • the ranging module 201 is close to the sensor module 202, or the ranging module 201 is integrated in the sensor module 202.
  • the mobile phone In order to complete the camera function of the mobile phone, in addition to the above functional modules, the mobile phone also includes commonly used modules in existing mobile phones such as keyboard input, screen display, and battery management.
  • the flash level table is pre-stored in the mobile phone, and the flash level table includes mapping relationships of different objective distances, exposure states, and flash levels.
  • the corresponding flash levels can be measured according to different objective distances and exposure states in advance.
  • Each flash level corresponds to experimental parameter data such as the brightness and flash time of the corresponding flash.
  • the structure of the flash scale can be expressed as follows: ⁇
  • the CPU processing module 203 logically combines the current objective distance and the exposure state data, and then according to the logical combination processing result. , Find the flash level table, and get the flash level of the flash that you need to set now.
  • the objective lens distance data A1, the exposure state data B1, the objective lens distance data A1 and the exposure state data B1 are logically and combinedly processed to obtain a corresponding flash level C1, wherein the exposure state data B1 can be entered into 16
  • the objective distance data A1 can be rounded off after the data is acquired.
  • the CUP processing module 203 When the CUP processing module 203 obtains the flash level, it sends a control command to the flashing light to set the corresponding current and flash time of the flash.
  • the objective lens distance between the terminal lens and the photographed object and the exposure state of the lens are obtained, and according to the objective lens distance and the exposure state, the current flash level is obtained from the preset flash level table, and then the terminal is set according to the current flash level. Flash brightness and flash time, It realizes effective control of the flash, avoids the problem of overexposure or too dark when taking photos, improves the shooting effect, and greatly improves the user experience.
  • another embodiment of the present invention provides a terminal for controlling a photo flash. Based on the foregoing embodiments, the method further includes:
  • the storage module 204 is connected to the ranging module 201 and the sensor module 202, respectively, for storing data of the objective distance and the exposure state.
  • the storage module 204 can be a memory of the terminal.
  • the CPU processing module 203 is also used to set the camera resolution of the lens.
  • the CPU processing module 203 is also operative to set the flash level table including mapping relationships between different objective distances and exposure states and flash levels.
  • the CPU processing module 203 first needs to set the mapping relationship between the different objective lens distances and the exposure state and the flash level.
  • the flash rating table, as well as the camera resolution for setting the lens is that, in this embodiment, before the ranging module 201 acquires the objective lens distance between the lens and the photographing object, the CPU processing module 203 first needs to set the mapping relationship between the different objective lens distances and the exposure state and the flash level.
  • the storage module 204 keeps the acquired objective lens distance and the exposure state locally, so that the subsequent CPU
  • the processing module 203 adjusts parameters such as brightness and flash time of the flash according to data such as the distance between the objective lens and the exposure state of the lens.
  • the currently acquired objective lens distance and exposure state data are retained in the terminal storage module 204, and the data is updated after the next time the photographing is performed, the objective lens distance and the exposure state are acquired again.
  • the method for controlling the photographing flash and the objective lens distance between the terminal lens and the photographing object and the exposure state of the lens are obtained by the terminal according to the embodiment of the present invention, and the current flash level is obtained from the preset flash level table according to the objective lens distance and the exposure state. Then, according to the current flash level, the brightness and flash time of the flash of the terminal are set, thereby effectively controlling the flash, avoiding the problem of overexposure or excessive darkness when taking a photo, improving the shooting effect, and greatly improving the user experience. fruit.
  • the invention realizes the effective control of the flash, avoids the problem of overexposure or too dark when taking a photo, improves the shooting effect, and improves the user experience.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stroboscope Apparatuses (AREA)
  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Abstract

一种控制拍照闪光灯的方法及终端,其方法包括:终端获取镜头与拍照物体之间的物镜距离以及镜头的曝光状态;根据物镜距离以及曝光状态,从预设的闪光等级表中获取当前闪光等级;根据当前闪光等级设置终端的闪光灯参数。该方法和终端实现了对闪光灯的有效控制,避免了拍照照片时过曝或过暗的问题,提高了拍摄效果。

Description

控制拍照闪光灯的方法及终端 技术领域
本发明涉及移动通讯技术领域, 尤其涉及一种控制拍照闪光灯的方法 及终端。 背景技术
随着手机等移动终端的逐渐普及以及移动通讯技术的不断发展, 大多 数手机都设置有照相机功能, 为用户拍照带来了方便。
但是, 现有的手机在采用闪光灯拍照时, 若手机与拍照物的距离过远 或过近均会出现拍照照片过暗或过曝的问题, 由此降低了用户体感效果。 发明内容
本发明的主要目的在于提供一种控制拍照闪光灯的方法及终端, 旨在 解决现有技术中拍照照片过暗或过曝的问题, 增强用户体验效果。
为了达到上述目的, 本发明提出一种控制拍照闪光灯的方法, 包括: 终端获取镜头与拍照物体之间的物镜距离以及所述镜头的曝光状态; 根据所述物镜距离以及所述曝光状态, 从预设的闪光等级表中获取当 前闪光等级;
根据所述当前闪光等级设置所述终端的闪光灯参数。
优选地, 所述终端获取镜头与拍照物体之间的物镜距离以及所述镜头 的曝光状态的步驟之后还包括:
将所述物镜距离与曝光状态的数据保存在所述终端本地。
优选地, 所述终端获取镜头与拍照物体之间的物镜距离以及所述镜头 设置所述镜头的拍照分辨率。
优选地, 所述预设的闪光等级表包括不同物镜距离及曝光状态与闪光 等级的映射关系。
优选地, 所述终端获取镜头与拍照物体之间的物镜距离以及所述镜头 的曝光状态的步驟之前还包括:
设置包括不同物镜距离及曝光状态与闪光等级的映射关系的所述闪光 等级表。
优选地, 所述闪光灯参数包括闪光灯亮度及闪光时间。
本发明还提出一种控制拍照闪光灯的终端, 包括:
测距模块, 用于获取镜头与拍照物体之间的物镜距离;
传感器模块, 用于获取所述镜头的曝光状态;
CPU处理模块, 用于根据所述物镜距离以及所述曝光状态, 从预设的 闪光等级表中获取当前闪光等级; 并根据所述当前闪光等级设置所述终端 的闪光灯参数。
优选地, 该终端还包括:
存储模块, 用于保存所述物镜距离及曝光状态的数据。
优选地, 所述 CPU处理模块还用于设置所述镜头的拍照分辨率。 优选地, 所述 CPU处理模块还用于设置包括不同物镜距离及曝光状态 与闪光等级的映射关系的所述闪光等级表。 本发明提出的一种控制拍照闪光灯的方法及终端, 在终端拍照时, 通 过获取终端的镜头与拍照物体之间的物镜距离以及镜头的曝光状态, 并根 据物镜距离以及曝光状态, 从预设的闪光等级表中获取当前闪光等级; 根 据当前闪光等级设置终端的闪光灯的亮度及闪光时间等, 从而避免了现有 技术中拍照照片过暗或过曝的问题, 同时增强了终端用户体验感受。 附图说明
图 1是本发明控制拍照闪光灯的方法一实施例的流程示意图; 图 1是本发明控制拍照闪光灯的方法另一实施例的流程示意图; 图 3是本发明控制拍照闪光灯的终端一实施例的结构示意图; 图 4是本发明控制拍照闪光灯的终端另一实施例的结构示意图。 具体实施方式
本发明实施例解决方案主要是: 首先设置, 在终端拍照时, 获取终端 的镜头与拍照物体之间的物镜距离以及镜头的曝光状态, 并根据物镜距离 以及曝光状态, 从预设的闪光等级表中获取当前闪光等级; 根据当前闪光 等级设置终端的闪光灯的亮度及闪光时间等, 以避免现有技术中拍照照片 过暗或过曝的问题, 增强终端用户体验感受。
本发明中终端为带有照相及闪光功能的终端, 比如具有镜头及闪光功 能的手机等, 以下各实施例均以手机为例进行说明。
如图 1所示, 本发明一实施例提出一种控制拍照闪光灯的方法, 包括: 步驟 S101 , 终端获取镜头与拍照物体之间的物镜距离以及镜头的曝光 状态;
以手机为例, 手机中设置有 CPU处理模块以及用于照相的镜头, 镜头 带有传感器及闪光灯等。
手机启动拍照时, 首先通过 CPU处理模块设置镜头的拍照分辨率, 然 后调整镜头与拍照物体之间的距离即本实施例所称物镜距离, 并获取当前 拍照物体与镜头之间的物镜距离, 同时通过传感器获取当前镜头的曝光状 态, 可以将获取的物镜距离以及曝光状态保持在本地存储器中, 以便后续 根据物镜距离和镜头的曝光状态等数据调整闪光灯的亮度及闪光时间等参 数。
步驟 S102, 根据物镜距离以及曝光状态, 从预设的闪光等级表中获取 当前闪光等级;
其中, 闪光等级表预先存储在手机中, 该闪光等级表包括不同物镜距 离、 曝光状态与闪光等级的映射关系。
可以预先根据不同的物镜距离及曝光状态, 测出相应的闪光等级, 每 一闪光等级对应有相应的闪光灯的亮度和闪光时间等实验参数数据。
闪光等级表的结构可以表示如下: {
{{物镜距离数据 A1 , 曝光状态数据 B1} ; 闪光等级 C1 }; {{物镜距离数据 A2, 曝光状态数据 B2} ; 闪光等级 C2}; {{物镜距离数据 A3 , 曝光状态数据 B3} ; 闪光等级 C3}; {{物镜距离数据 A1 , 曝光状态数据 B2} ; 闪光等级 C2}; {{物镜距离数据 A1 , 曝光状态数据 B3} ; 闪光等级 C3}; {{物镜距离数据 A2, 曝光状态数据 B1} ; 闪光等级 C4};
}
当获取到当前的物镜距离以及曝光状态数据后, 将此当前的物镜距离 和曝光状态数据进行逻辑与组合, 然后根据逻辑组合的处理结果, 查找闪 光等级表, 从中获取当前需要设置的闪光灯的闪光等级。
比如在拍照的时候获取到物镜距离数据 A1, 曝光状态数据 B1, 将物 镜距离数据 A1和曝光状态数据 B1进行逻辑与组合处理, 获取到对应的闪 光等级 C1 , 其中, 曝光状态数据 B1是从手机镜头的传感器获取, 此数据 为 16进制形式, 物镜距离数据 A1可以在获取到数据后, 进行四舍五入取 整处理。
步驟 S103 , 根据当前闪光等级设置终端的闪光灯参数。
其中, 闪光灯参数包括闪光灯亮度及闪光时间。
当手机获取到闪光等级后,通过 CUP处理模块向闪关灯发送控制命令, 设置闪光灯相应的电流和闪光时间。
由此, 手机拍照完成, 将照片存储于存储器中。
本实施例通过获取的终端镜头与拍照物体之间的物镜距离以及镜头的 曝光状态, 并根据物镜距离以及曝光状态, 从预设的闪光等级表中获取当 前闪光等级, 再根据当前闪光等级设置终端的闪光灯的亮度及闪光时间, 实现对闪光灯的有效控制, 避免了拍照照片时过曝或过暗的问题, 提高了 拍摄效果, 并极大的提高了用户体验效果。 如图 1所示, 本发明另一实施例提出一种控制拍照闪光灯的方法, 在 上述实施例的基础上, 在上述步驟 S101之前还包括:
步驟 S90,设置包括不同物镜距离及曝光状态与闪光等级的映射关系的 闪光等级表;
步驟 S100, 设置镜头的拍照分辨率;
在上述步驟 S101之后还包括:
步驟 S1012, 将物镜距离与曝光状态的数据保存在终端本地。
其中, 上述步驟 S100和步驟 S90可以不分先后顺序完成。
本实施例与上述实施例的区别在于, 本实施例方法过程中, 在获取镜 头与拍照物体的物镜距离之前, 还包括设置不同物镜距离及曝光状态与闪 光等级的映射关系的闪光等级表, 以及设置镜头的拍照分辨率。
同时, 本实施例在获取到镜头与拍照物体的物镜距离以及镜头的曝光 状态后, 将获取的物镜距离以及曝光状态保持在本地存储器中, 以便后续 根据物镜距离和镜头的曝光状态等数据调整闪光灯的亮度及闪光时间等参 数。
当前获取的物镜距离以及曝光状态等数据一直保留在终端存储器中, 等待下次拍照执行时, 再次获取物镜距离及曝光状态后, 更新此数据。 如图 3所示, 本发明一实施例提出一种控制拍照闪光灯的终端, 包括: 测距模块 201、 传感器模块 202以及 CPU处理模块 203 , 其中:
测距模块 201 , 用于获取镜头与拍照物体之间的物镜距离;
传感器模块 202 , 用于获取镜头的曝光状态;
同时该传感器模块 201还用于采集拍照物体的图像数据。
CPU处理模块 203 , 用于根据物镜距离以及曝光状态, 从预设的闪光 等级表中获取当前闪光等级; 并根据当前闪光等级设置终端的闪光灯参数。
其中, 闪光灯参数包括闪光灯亮度及闪光时间。
以手机为例, 手机启动拍照时, 通过 CPU处理模块 203设置好镜头的 拍照分辨率后, 测距模块 201 快速定位要拍照的物体或景物中心至手机镜 头的距离即本实施例所称物镜距离, 并获取当前拍照物体与镜头之间的物 镜距离, 同时通过传感器模块 202获取当前镜头的曝光状态, 可以将获取 的物镜距离以及曝光状态保持在本地存储器中,以便后续 CPU处理模块 203 根据物镜距离和镜头的曝光状态等数据调整闪光灯的亮度及闪光时间等参 数。
测距模块 201、 传感器模块 202以及闪光灯均由 CPU处理模块 203控 制管理。 在具体实施时, 为了更好的反映拍摄物体与终端镜头之间的物镜 距离, 上述测距模块 201、 传感器模块 202以及闪光灯在手机的 PCB上的 布局应尽量紧凑, 以保证各个模块针对拍照物体的中心点统一。 尤其是要 求在 PCB的设计中, 测距模块 201与传感器模块 202接近, 或将测距模块 201集成在传感器模块 202中。
为了完成手机的拍照功能, 手机中除了上述功能模块外, 还包括键盘 输入、 屏幕显示、 电池管理等现有手机中常用模块。
在本实施例中, 闪光等级表预先存储在手机中, 该闪光等级表包括不 同物镜距离、 曝光状态与闪光等级的映射关系。 可以预先根据不同的物镜距离及曝光状态, 测出相应的闪光等级, 每 一闪光等级对应有相应的闪光灯的亮度和闪光时间等实验参数数据。
闪光等级表的结构可以表示如下: {
{{物镜距离数据 A1 , H|光状态数据 B1} 闪光等级 C1 };
{{物镜距离数据 A2, H|光状态数据 B2} 闪光等级 C2};
{{物镜距离数据 A3 , H| ^光状态数据 B3} 闪光等级 C3};
{{物镜距离数据 A1 , H| ^光状态数据 B2} 闪光等级 C2};
{{物镜距离数据 A1 , H| ^光状态数据 B3} 闪光等级 C3};
{{物镜距离数据 A2, H|光状态数据 B1} 闪光等级 C4};
}
当测距模块 201获取到当前的物镜距离以及传感器模块 202获取到镜 头的曝光状态数据后, CPU处理模块 203将此当前的物镜距离和曝光状态 数据进行逻辑与组合, 然后根据逻辑组合的处理结果, 查找闪光等级表, 从中获取当前需要设置的闪光灯的闪光等级。
比如在拍照的时候获取到物镜距离数据 A1, 曝光状态数据 B1, 将物 镜距离数据 A1和曝光状态数据 B1进行逻辑与组合处理, 获取到对应的闪 光等级 C1 , 其中, 曝光状态数据 B1可以 16进制形式, 物镜距离数据 A1 可以在获取到数据后, 进行四舍五入取整处理。
当 CUP处理模块 203获取到闪光等级后, 向闪关灯发送控制命令, 设 置闪光灯相应的电流和闪光时间。
由此, 手机拍照完成, 将照片存储于存储器中。
本实施例通过获取的终端镜头与拍照物体之间的物镜距离以及镜头的 曝光状态, 并根据物镜距离以及曝光状态, 从预设的闪光等级表中获取当 前闪光等级, 再根据当前闪光等级设置终端的闪光灯的亮度及闪光时间, 实现对闪光灯的有效控制, 避免了拍照照片时过曝或过暗的问题, 提高了 拍摄效果, 并极大的提高了用户体验效果。 如图 4所示, 本发明另一实施例提出一种控制拍照闪光灯的终端, 在 上述实施例的基础上, 还包括:
存储模块 204, 分别与测距模块 201及传感器模块 202连接, 用于保存 物镜距离与曝光状态的数据。 该存储模块 204可以为终端的存储器。
CPU处理模块 203还用于设置镜头的拍照分辨率。
CPU处理模块 203还用于设置包括不同物镜距离及曝光状态与闪光等 级的映射关系的所述闪光等级表。
本实施例与上述实施例的区别在于, 本实施例中, 在测距模块 201 获 取镜头与拍照物体的物镜距离之前, CPU处理模块 203首先需要设置不同 物镜距离及曝光状态与闪光等级的映射关系的闪光等级表, 以及设置镜头 的拍照分辨率。
同时, 本实施例在测距模块 201 获取到镜头与拍照物体的物镜距离以 及传感器模块 202获取到镜头的曝光状态后, 通过存储模块 204将获取的 物镜距离以及曝光状态保持在本地, 以便后续 CPU处理模块 203根据物镜 距离和镜头的曝光状态等数据调整闪光灯的亮度及闪光时间等参数。
当前获取的物镜距离以及曝光状态等数据一直保留在终端存储模块 204中, 等待下次拍照执行时, 再次获取物镜距离及曝光状态后, 更新此数 据。
本发明实施例控制拍照闪光灯的方法及终端通过获取的终端镜头与拍 照物体之间的物镜距离以及镜头的曝光状态, 并根据物镜距离以及曝光状 态, 从预设的闪光等级表中获取当前闪光等级, 再根据当前闪光等级设置 终端的闪光灯的亮度及闪光时间, 实现对闪光灯的有效控制, 避免了拍照 照片时过曝或过暗的问题, 提高了拍摄效果, 并极大的提高了用户体验效 果。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围 , 凡是利用本发明说明书及附图内容所作的等效结构或流程变换, 或直接或 间接运用在其它相关的技术领域, 均同理包括在本发明的专利保护范围内。 工业实用性
本发明实现了对闪光灯的有效控制, 避免了拍照照片时过曝或过暗的 问题, 提高了拍摄效果, 提高了用户体验。

Claims

权利要求书
1、 一种控制拍照闪光灯的方法, 该方法包括:
终端获取镜头与拍照物体之间的物镜距离以及所述镜头的曝光状态; 根据所述物镜距离以及所述曝光状态, 从预设的闪光等级表中获取当 前闪光等级;
根据所述当前闪光等级设置所述终端的闪光灯参数。
2、 根据权利要求 1所述的方法, 所述终端获取镜头与拍照物体之间的 物镜距离以及所述镜头的曝光状态的步驟之后还包括:
将所述物镜距离与曝光状态的数据保存在所述终端本地。
3、 根据权利要求 1所述的方法, 所述终端获取镜头与拍照物体之间的 物镜距离以及所述镜头的曝光状态的步驟之前还包括:
设置所述镜头的拍照分辨率。
4、 根据权利要求 1所述的方法, 所述预设的闪光等级表包括不同物镜 距离及曝光状态与闪光等级的映射关系。
5、 根据权利要求 4所述的方法, 所述终端获取镜头与拍照物体之间的 物镜距离以及所述镜头的曝光状态的步驟之前还包括:
设置包括不同物镜距离及曝光状态与闪光等级的映射关系的所述闪光 等级表。
6、 根据权利要求 1-5中任一项所述的方法, 所述闪光灯参数包括闪光 灯亮度及闪光时间。
7、 一种控制拍照闪光灯的终端, 该终端包括:
测距模块, 用于获取镜头与拍照物体之间的物镜距离;
传感器模块, 用于获取所述镜头的曝光状态;
CPU处理模块, 用于根据所述物镜距离以及所述曝光状态, 从预设的 闪光等级表中获取当前闪光等级; 并根据所述当前闪光等级设置所述终端 的闪光灯参数。
8、 根据权利要求 7所述的终端, 其中, 还包括:
存储模块, 用于保存所述物镜距离及曝光状态的数据。
9、 根据权利要求 7或 8所述的终端, 其中, 所述 CPU处理模块还用 于设置所述镜头的拍照分辨率。
10、 根据权利要求 9所述的终端, 其中, 所述 CPU处理模块还用于设 置包括不同物镜距离及曝光状态与闪光等级的映射关系的所述闪光等级 表。
PCT/CN2011/084343 2011-11-16 2011-12-21 控制拍照闪光灯的方法及终端 WO2013071671A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110363184.4 2011-11-16
CN2011103631844A CN103118163A (zh) 2011-11-16 2011-11-16 控制拍照闪光灯的方法及终端

Publications (1)

Publication Number Publication Date
WO2013071671A1 true WO2013071671A1 (zh) 2013-05-23

Family

ID=48416433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084343 WO2013071671A1 (zh) 2011-11-16 2011-12-21 控制拍照闪光灯的方法及终端

Country Status (2)

Country Link
CN (1) CN103118163A (zh)
WO (1) WO2013071671A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727499A (zh) * 2020-05-26 2021-11-30 浙江大华技术股份有限公司 一种补光灯控制方法、装置、电子设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714335A (zh) * 2013-12-13 2014-04-09 柳州市蓝海科技有限公司 高尔夫球杆杆头识别装置
CN104113702B (zh) * 2014-07-25 2018-09-04 北京智谷睿拓技术服务有限公司 闪光控制方法及控制装置、图像采集方法及采集装置
CN104853109B (zh) * 2015-04-30 2018-05-29 广东欧珀移动通信有限公司 一种自动调节闪光的方法及拍摄终端
CN104980657A (zh) * 2015-06-29 2015-10-14 青岛海信移动通信技术股份有限公司 一种使用闪光灯拍照的方法及拍照设备
CN105245714A (zh) * 2015-10-23 2016-01-13 上海斐讯数据通信技术有限公司 基于距离感应器的智能手机闪光灯快速开关的方法及系统
CN106357986B (zh) * 2016-09-26 2019-07-26 维沃移动通信有限公司 一种柔光灯亮度控制方法及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86100987A (zh) * 1985-01-11 1986-08-20 小西六写真工业株式会社 变焦型相机的曝光控制装置
JPH03172828A (ja) * 1989-12-01 1991-07-26 Olympus Optical Co Ltd 連写ストロボ装置
CN1101723A (zh) * 1993-04-14 1995-04-19 三星航空产业株式会社 具有自动闪光功能的相机及其控制方法
US6009282A (en) * 1995-06-13 1999-12-28 Fuji Photo Optical Co., Ltd. Built-in flash camera
JP2001005067A (ja) * 1999-06-25 2001-01-12 Fuji Photo Film Co Ltd ストロボ制御装置
CN1815341A (zh) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 照相机自动调整闪光强度的方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970006908B1 (ko) * 1992-10-23 1997-04-30 삼성항공산업 주식회사 카메라의 플래시 광량부족 경보 장치 및 그 실현 방법
JP4346926B2 (ja) * 2003-02-27 2009-10-21 キヤノン株式会社 ストロボ撮影システムおよび撮像装置
CN100555056C (zh) * 2006-06-01 2009-10-28 鸿富锦精密工业(深圳)有限公司 闪光灯激发方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86100987A (zh) * 1985-01-11 1986-08-20 小西六写真工业株式会社 变焦型相机的曝光控制装置
JPH03172828A (ja) * 1989-12-01 1991-07-26 Olympus Optical Co Ltd 連写ストロボ装置
CN1101723A (zh) * 1993-04-14 1995-04-19 三星航空产业株式会社 具有自动闪光功能的相机及其控制方法
US6009282A (en) * 1995-06-13 1999-12-28 Fuji Photo Optical Co., Ltd. Built-in flash camera
JP2001005067A (ja) * 1999-06-25 2001-01-12 Fuji Photo Film Co Ltd ストロボ制御装置
CN1815341A (zh) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 照相机自动调整闪光强度的方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727499A (zh) * 2020-05-26 2021-11-30 浙江大华技术股份有限公司 一种补光灯控制方法、装置、电子设备及存储介质
CN113727499B (zh) * 2020-05-26 2023-08-18 浙江大华技术股份有限公司 一种补光灯控制方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN103118163A (zh) 2013-05-22

Similar Documents

Publication Publication Date Title
WO2013071671A1 (zh) 控制拍照闪光灯的方法及终端
WO2019183819A1 (zh) 拍照方法、拍照装置和移动终端
US10785403B2 (en) Modifying image parameters using wearable device input
CN112532859A (zh) 视频采集方法和电子设备
CN106686305B (zh) 电子设备的图像处理方法及电子设备
CN108769542A (zh) 一种曝光参数确定方法、装置和可读介质
CN103402291A (zh) 一种外置闪光灯、拍照系统及外置闪光灯的工作方法
WO2014036911A1 (zh) 一种闪光控制方法及装置
US20130156413A1 (en) Reduced pre-flash for led flash based camera devices
CN104427239A (zh) 一种无线自拍系统及自拍方法
WO2016082347A1 (zh) 亮度补偿方法、装置和计算机存储介质
CN103488026A (zh) 调节摄像头补光灯亮度的方法和系统
CN111917950B (zh) 图像处理方法、装置、电子设备及存储介质
CN104618660A (zh) 自定义闪光灯拍照效果参数的拍照方法及终端
TWI548270B (zh) 附有情境控制的影像擷取系統與影像擷取方法
EP3249999B1 (en) Intelligent matching method for filter and terminal
CN203407048U (zh) 一种外置闪光灯及拍照系统
CN103220422A (zh) 一种用于手持终端设备的闪光灯系统及控制方法
TW201802563A (zh) 具有自拍輔助功能的電子裝置及自拍輔助方法
JP2014150508A (ja) 撮像装置
CN111163257B (zh) 一种拍摄终端参数智能调整系统及其方法与拍摄终端
CN103338332A (zh) 一种用智能手机控制单反相机的方法
CN205792949U (zh) 一种全景摄像头以及全景摄像设备
WO2024021678A1 (zh) 图像处理方法及其相关设备
CN208299828U (zh) 一种手机

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

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

Country of ref document: EP

Kind code of ref document: A1