WO2022042753A1 - 拍摄方法、装置及电子设备 - Google Patents

拍摄方法、装置及电子设备 Download PDF

Info

Publication number
WO2022042753A1
WO2022042753A1 PCT/CN2021/115835 CN2021115835W WO2022042753A1 WO 2022042753 A1 WO2022042753 A1 WO 2022042753A1 CN 2021115835 W CN2021115835 W CN 2021115835W WO 2022042753 A1 WO2022042753 A1 WO 2022042753A1
Authority
WO
WIPO (PCT)
Prior art keywords
exposure time
target
color filter
incoming light
pixel brightness
Prior art date
Application number
PCT/CN2021/115835
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 WO2022042753A1 publication Critical patent/WO2022042753A1/zh

Links

Images

Classifications

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

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a photographing method, an apparatus and an electronic device.
  • a stroboscopic phenomenon may occur in some scenes with power frequency interference.
  • the commonly used solution to avoid stroboscopic is to control the exposure time to a minimum of 10ms, which may easily lead to excessive light input from the camera module in a well-lit scene, resulting in serious image oversaturation.
  • the purpose of the embodiments of the present application is to provide a shooting method, device and electronic device, which can solve the problem of avoiding the stroboscopic phenomenon in the prior art, which easily leads to excessive light input from the camera module, resulting in serious image oversaturation.
  • an embodiment of the present application provides a photographing method, the method comprising:
  • the target exposure time determine the incoming light change amount of the color filter associated with the target camera
  • the color depth of the color filter is adjusted according to the change amount of the incoming light.
  • an embodiment of the present application provides a photographing device, and the device includes:
  • a target time acquisition module configured to adjust the initial exposure time of the target camera to obtain the target exposure time when there is a stroboscopic phenomenon in the process of shooting with the target camera;
  • a change amount determination module configured to determine the light incoming change amount of the color filter associated with the target camera according to the target exposure time
  • the color depth adjustment module is used to adjust the color depth of the color filter according to the change amount of the incoming light.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the photographing method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the shooting method according to the first aspect is implemented. step.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the described shooting method.
  • the target exposure time is obtained by adjusting the initial exposure time of the target camera when there is a stroboscopic phenomenon in the process of shooting with the target camera, and the color filter associated with the target camera is determined according to the target exposure time.
  • the amount of light incident of the filter is adjusted, and the color depth of the color filter is adjusted according to the amount of light incident.
  • the color depth of the color filter is adjusted to compensate for the difference in the amount of incoming light caused by the change in exposure time, so that the purpose of avoiding stroboscopic flicker and accurate exposure can be achieved, and by compensating for the change in exposure time
  • the difference in the amount of incoming light caused by the amount of light can avoid the problem of serious image oversaturation caused by the excessive amount of light in the camera module.
  • FIG. 1 is a flowchart of steps of a shooting method provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a lens module provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a photographing device according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the shooting method may specifically include the following steps:
  • Step 101 In the case of a stroboscopic phenomenon in the process of shooting with the target camera, adjust the initial exposure time of the target camera to obtain the target exposure time.
  • the embodiments of the present application can be applied to scenarios where stroboscopic avoidance and accurate exposure can be achieved by adjusting the color depth of the color filter when the camera has a stroboscopic phenomenon.
  • the target camera refers to a camera pre-installed on an electronic device, such as a front camera, a rear camera, and the like on a mobile phone.
  • a set number of preview images can be captured by the target camera, and whether there is a stroboscopic phenomenon in the shooting process of the target camera can be determined based on the preview images.
  • step 101 it may further include:
  • Step A1 Obtain a set number of preview images through the target camera.
  • the set number refers to the preset number for obtaining preview images, and the set number may be 10, 8, 6, etc., and may be determined according to business requirements. Unrestricted.
  • a set number of preview images can be obtained to determine whether the current shooting scene will cause stroboscopic phenomenon in the captured images.
  • step A2 is performed.
  • Step A2 Determine whether there is a stroboscopic phenomenon in the preview image according to the brightness value corresponding to the preview image.
  • step A2 may include:
  • Sub-step B1 Perform grayscale processing on the preview image to generate a grayscale image.
  • the preview image after the preview image is acquired, the preview image can be subjected to grayscale processing to generate a grayscale image corresponding to the preview image.
  • the grayscale image generation process can be shown in the following formula (1):
  • I gray I r *0.299+I g *0.587+I b *0.114 (1)
  • I gray is the grayscale image
  • I r is the red channel in the preview image
  • I g is the green channel in the preview image
  • I b is the blue channel in the preview image.
  • sub-step B2 is executed.
  • Sub-step B2 For each frame of the grayscale image, obtain the pixel brightness and value of each row of pixels in the grayscale image, and the average pixel brightness of all pixels in the grayscale image.
  • the pixel brightness and value of each row of pixels in the grayscale image, and all the pixels in the grayscale image can be acquired.
  • 5 frames of grayscale images can be acquired for stroboscopic detection.
  • the pixel brightness and value of each row of pixels in the grayscale image and the average value of pixel brightness of all pixels in the grayscale image are obtained, and then sub-step B3 is performed.
  • Sub-step B3 Determine the gain pixel brightness according to the pixel brightness sum value and the pixel brightness average value.
  • the gain pixel brightness can be obtained by dividing the two.
  • sub-step B4 is performed.
  • Sub-step B4 Based on the gain pixel brightness, determine whether there is a stroboscopic phenomenon in the grayscale image.
  • the gain pixel brightness After the gain pixel brightness is obtained, it can be determined whether there is a stroboscopic phenomenon in the grayscale image according to the gain pixel brightness. Specifically, the obtained gain pixel brightness can be subjected to discrete Fourier transform, and the spectral components of the discrete signal can be analyzed to obtain the image. Whether it receives 50HZ or 60HZ power frequency interference.
  • the color filter can be adjusted in time. Color depth to avoid the problem of excessive exposure in the captured picture.
  • Exposure time refers to the time for the shutter to open in order to project light onto the photosensitive surface of the photographic photosensitive material.
  • the initial exposure time refers to the initial exposure time corresponding to the target camera in the process of shooting with the target camera.
  • the target exposure time refers to the exposure time obtained after adjusting the initial exposure time.
  • the initial exposure time of the target camera can be adjusted to obtain the target exposure time. In fact, it is to control the exposure time to an integer multiple of the power frequency interference energy period. For example, the power frequency in China is 50HZ, the energy frequency is 100HZ, and the period is 10ms. It is necessary to ensure that the shutter speed is an integer multiple of 10ms to ensure that the Sensor is not disturbed by the power frequency during imaging.
  • the initial exposure time can be adjusted to an integer multiple of 10ms.
  • the initial exposure time is 10.2ms.
  • the initial exposure time can be adjusted to 20ms, which is the target exposure time. .
  • step 102 is performed.
  • Step 102 According to the target exposure time, determine the incoming light change amount of the color filter associated with the target camera.
  • a resistance device is pre-installed on the color filter in the lens module.
  • a color filter is provided between the lens group (ie, the lens module) and the photosensitive chip. This embodiment By adding a resistance device on the top, the color depth of the color filter can be changed through the resistance device, that is, the color depth of the color filter can be changed.
  • the amount of incoming light variation refers to the amount of incoming light variation of the color filter associated with the target camera obtained after the exposure time of the target camera is adjusted.
  • the amount of incoming light change of the color filter associated with the target camera can be determined in combination with the target exposure time. describe.
  • the above step 102 may include:
  • Sub-step C1 Determine the exposure time adjustment amount according to the target exposure time and the initial exposure time.
  • the exposure time adjustment amount refers to the adjustment amount between the target exposure time and the initial exposure time.
  • the current exposure time is T1
  • the adjusted exposure time is T2
  • the adjusted T2 is an integer multiple of 10ms
  • the exposure time adjustment amount may be determined according to the target exposure time and the initial exposure time.
  • sub-step C2 After acquiring the exposure time adjustment amount, sub-step C2 is performed.
  • Sub-step C2 Determine the change amount of incoming light according to the exposure time adjustment amount.
  • the change amount of incoming and outgoing light can be determined in combination with the exposure time adjustment amount. Specifically, the amount of incoming light change can be calculated in combination with the following formula (2):
  • is the change amount of incoming light
  • ⁇ T is the exposure time adjustment amount
  • Step 103 Adjust the color depth of the color filter according to the change amount of the incoming light.
  • the color depth of the color filter can be adjusted according to the incoming light change amount, that is, the color depth of the color filter is adjusted, so as to realize the input of the incoming camera module. Adjustment of the amount of light.
  • the purpose of avoiding stroboscopic flicker and accurate exposure can be achieved, and by compensating for the difference in light input caused by the change in exposure time, it is possible to avoid The excessive amount of light entering the camera module leads to a serious problem of image oversaturation.
  • the above step 103 may include:
  • Sub-step D1 According to the corresponding relationship between the incoming light variation and the current variation, determine the current variation corresponding to the incoming light variation.
  • the current change amount refers to the change amount of the current that needs to power the color filter. For example, when the current power supply for the color filter is 10, and the target current change amount is 2, the filter needs to be changed. The supply current of the color chip is adjusted to 12.
  • the current change corresponding to the change in light can be determined according to the corresponding relationship between the change in light and the change in current. Specifically, the current can be calculated in combination with the following formula (3). Variation:
  • ⁇ I is the current variation
  • is the incoming light variation
  • Sub-step D2 is performed after the current variation corresponding to the incident light variation is determined.
  • Sub-step D2 Adjust the power supply current corresponding to the color filter according to the current variation, so as to adjust the color depth of the color filter.
  • the power supply current corresponding to the color filter can be adjusted according to the current change amount to adjust the color depth of the color filter.
  • the power supply current of the color filter can be changed to compensate for the change in the amount of incoming light caused by the exposure time, so that the preview and video images are exposed correctly and the brightness is stable.
  • the initial exposure time of the target camera is adjusted to obtain the target exposure time, and the target exposure time is determined according to the target exposure time.
  • the amount of incoming light change of the color filter adjust the color depth of the color filter according to the amount of incoming light change.
  • the color depth of the color filter is adjusted to compensate for the difference in the amount of incoming light caused by the change in exposure time, so that the purpose of avoiding stroboscopic flicker and accurate exposure can be achieved, and by compensating for the change in exposure time
  • the difference in the amount of incoming light caused by the amount of light can avoid the problem of serious image oversaturation caused by the excessive amount of light in the camera module.
  • the executing subject may be a photographing device, or a control module in the photographing device for executing the photographing method.
  • the photographing device provided by the embodiment of the present application is described by taking the photographing method performed by the photographing device as an example.
  • the photographing apparatus 300 may specifically include the following modules:
  • the target time acquisition module 310 is configured to adjust the initial exposure time of the target camera to obtain the target exposure time when there is a stroboscopic phenomenon in the process of shooting with the target camera;
  • a change amount determination module 320 configured to determine the light incoming change amount of the color filter associated with the target camera according to the target exposure time
  • the color depth adjustment module 330 is configured to adjust the color depth of the color filter according to the change amount of the incoming light.
  • a preview image acquisition module used for acquiring a preset number of preview images through the target camera
  • the stroboscopic phenomenon determination module is configured to determine whether the preview image has a stroboscopic phenomenon according to the brightness value corresponding to the preview image.
  • the stroboscopic phenomenon determination module includes:
  • a grayscale image generation unit configured to perform grayscale processing on the preview image to generate a grayscale image
  • an average value obtaining unit configured to obtain, for each frame of the grayscale image, the pixel brightness and value of each row of pixels in the grayscale image, and the average pixel brightness of all pixels in the grayscale image;
  • a gain brightness determination unit configured to determine the gain pixel brightness according to the pixel brightness sum value and the pixel brightness average value
  • a stroboscopic phenomenon determining unit configured to determine whether there is a stroboscopic phenomenon in the grayscale image based on the gain pixel brightness.
  • the variation determination module 320 includes:
  • an exposure adjustment amount determining unit for determining an exposure time adjustment amount according to the target exposure time and the initial exposure time
  • the incoming light change amount determination unit is configured to determine the incoming light change amount according to the exposure time adjustment amount.
  • the color depth adjustment module 330 includes:
  • a current variation determining unit configured to determine the current variation corresponding to the incoming light variation according to the correspondence between the incoming light variation and the current variation;
  • the color depth adjustment unit is configured to adjust the power supply current corresponding to the color filter according to the current variation, so as to adjust the color depth of the color filter.
  • the shooting device provided by the embodiment of the present application can obtain the target exposure time by adjusting the initial exposure time of the target camera when there is a stroboscopic phenomenon in the process of shooting with the target camera, and determine the target exposure time according to the target exposure time.
  • the amount of incoming light change of the color filter adjust the color depth of the color filter according to the amount of incoming light change.
  • the color depth of the color filter is adjusted to compensate for the difference in the amount of incoming light caused by the change in exposure time, so that the purpose of avoiding stroboscopic flicker and accurate exposure can be achieved, and by compensating for the change in exposure time
  • the difference in the amount of incoming light caused by the amount of light can avoid the problem of serious image oversaturation caused by the excessive amount of light in the camera module.
  • the photographing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the photographing device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the photographing apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • an embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, a program or instruction stored in the memory 402 and executable on the processor 401,
  • an electronic device 400 including a processor 401, a memory 402, a program or instruction stored in the memory 402 and executable on the processor 401,
  • the program or instruction is executed by the processor 401, each process of the above-mentioned embodiment of the shooting method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510, etc. part.
  • the electronic device 500 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 510 is configured to adjust the initial exposure time of the target camera to obtain the target exposure time when there is a stroboscopic phenomenon in the process of shooting with the target camera; The incoming light change amount of the color filter associated with the target camera; adjust the color depth of the color filter according to the incoming light change amount.
  • the color depth of the color filter is adjusted to compensate for the difference in the amount of incoming light caused by the change in exposure time, so that the purpose of avoiding stroboscopic flicker and accurate exposure can be achieved, and by compensating for the change in exposure time
  • the difference in the amount of incoming light caused by the amount of light can avoid the problem of serious image oversaturation caused by the excessive amount of light in the camera module.
  • the processor 510 is further configured to obtain a preset number of preview images through the target camera; and determine whether there is a stroboscopic phenomenon in the preview image according to the brightness value corresponding to the preview image.
  • the processor 510 is further configured to perform grayscale processing on the preview image to generate a grayscale image; for each frame of the grayscale image, obtain the pixel brightness and value of each row of pixels in the grayscale image. , and the pixel brightness average value of all pixels in the grayscale image; according to the pixel brightness sum value and the pixel brightness average value, determine the gain pixel brightness; based on the gain pixel brightness, determine whether the grayscale image is There is stroboscopic phenomenon.
  • the processor 510 is further configured to determine an exposure time adjustment amount according to the target exposure time and the initial exposure time; and determine the incoming light change amount according to the exposure time adjustment amount.
  • the processor 510 is further configured to determine the current variation corresponding to the incoming light variation according to the correspondence between the incoming light variation and the current variation; and adjust the current variation according to the current variation.
  • the power supply current corresponding to the color filter is used to adjust the color depth of the color filter.
  • the embodiments of the present application solve the problem of stroboscopic flicker in a specific scene of video shooting by controlling the amount of incoming light when the electronic device is shooting, which is equal to controlling the exposure time of the electronic device shooting.
  • the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072 .
  • the touch panel 5071 is also called a touch screen.
  • the touch panel 5071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
  • Memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing shooting method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

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

Abstract

本申请公开了一种拍摄方法、装置及电子设备,属于通信技术领域。所述方法包括: 在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间; 根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量; 根据所述进光变化量,调整所述滤色片的色深。

Description

拍摄方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年08月31日在中国提交的中国专利申请号No.202010901704.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种拍摄方法、装置及电子设备。
背景技术
随着科学技术水平的不断发展,电子设备(如手机、平板电脑等)已经成为人们生活中不可或缺的一种工具。
在生活中,用户经常使用电子设备进行图像拍摄,而在使用电子设备进行视频拍摄或启动电子设备内的相机预览模式时,在一些存在工频干扰的场景下会出现频闪现象。
为了解决手机视频拍摄特定场景频闪问题,通常采用的规避频闪的方案为控制曝光时间最小为10ms,这样容易导致在光照充足的场景,摄像头模组进光量过大,从而图像过饱和严重。
发明内容
本申请实施例的目的是提供一种拍摄方法、装置及电子设备,能够解决现有技术中规避频闪现象的方式,容易导致摄像头模组进光量过大,造成图像过饱和严重的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种拍摄方法,该方法包括:
在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;
根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;
根据所述进光变化量,调整所述滤色片的色深。
第二方面,本申请实施例提供了一种拍摄装置,该装置包括:
目标时间获取模块,用于在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;
变化量确定模块,用于根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;
色深调整模块,用于根据所述进光变化量,调整所述滤色片的色深。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的拍摄方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的拍摄方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的拍摄方法。
在本申请实施例中,通过在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整目标摄像头的初始曝光时间,得到目标曝光时间,根据目标曝光时间,确定与目标摄像头关联的滤色片的进光变化量,根据进光变化量调整滤色片的色深。本申请实施例通过目标摄像头存在频闪时,通过调整滤色片的色深补偿曝光时间的变化量导致的进光量差异,可以达到规避频闪和准确曝光的目的,而且通过补偿曝光时间的变化量导致的进光量差异,可以避免摄像头模组进光量过大导致图像过饱和严重的问题。
附图说明
图1为本申请实施例提供的一种拍摄方法的步骤流程图;
图2为本申请实施例提供的一种镜头模组的结构示意图;
图3为本申请实施例提供的一种拍摄装置的结构示意图;
图4为本申请实施例提供的一种电子设备的结构示意图;
图5为本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的拍摄方法进行详细地说明。
参照图1,示出了本申请实施例提供的一种拍摄方法的步骤流程图,如图1所示,该拍摄方法具体可以包括如下步骤:
步骤101:在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间。
本申请实施例可以应用于在摄像头存在频闪现象时,通过调整滤色片的色深达到规避频闪和准确曝光的场景中。
在本实施例中,目标摄像头是指预先安装于电子设备上的摄像头,如手机上的前置摄像头、后置摄像头等。
在本实施例中,可以通过目标摄像头拍摄得到设定数量的预览图像, 结合预览图像判定目标摄像头在拍摄过程中是否存在频闪现象,具体地,可以结合下述具体实现方式进行详细描述。
在本申请的一种具体实现方式中,在上述步骤101之前,还可以包括:
步骤A1:通过所述目标摄像头,获取设定数量的预览图像。
在本申请实施例中,设定数量是指预先设置的用于获取预览图像的数量,设定数量可以为10、8、6等,具体地,可以根据业务需求而定,本实施例对此不加以限制。
在需要确定采用目标摄像头拍摄时,可以获取设定数量的预览图像,以确定当前拍摄场景是否会造成拍摄的图像存在频闪现象。
在通过目标摄像头获取设定数量的预览图像之后,执行步骤A2。
步骤A2:根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象。
在获取设定数量的预览图像之后,可以根据设定数量的预览图像对应的亮度值,确定预览图像是否存在频闪现象,例如,在打开相机预览或录像模式之后,可以检测预览图像或者录像图像是否存在频闪。
在预览图像存在频闪时,表示在采用目标摄像头拍摄的过程中存在频闪现象。
对于结合预览图像的亮度值确定预览图像是否存在频闪现象的方案可以结合下述具体实现方式进行详细描述。
在本申请的另一种具体实现方式中,上述步骤A2可以包括:
子步骤B1:对所述预览图像进行灰度处理,生成灰度图像。
在本实施例中,在获取预览图像之后,可以对预览图像进行灰度处理,以生成预览图像对应的灰度图像,具体地灰度图像生成过程可以如下公式(1)所示:
I gray=I r*0.299+I g*0.587+I b*0.114     (1)
上述公式(1)中,I gray为灰度图像,I r为预览图像中的红色通道,I g为预览图像中的绿色通道,I b为预览图像中的蓝色通道。
在对预览图像进行灰度处理生成灰度图像之后,执行子步骤B2。
子步骤B2:针对每帧所述灰度图像,获取所述灰度图像中每一行像素的像素亮度和值,及所述灰度图像中所有像素的像素亮度平均值。
在本实施例中,在获取设定数量的预览图像对应的灰度图像之后,可以针对每帧灰度图像,获取灰度图像中每一行像素的像素亮度和值,及灰度图像中所有像素的像素亮度平均值。例如,在进行频闪检测时,可以获取5帧灰度图像进行频闪检测。
在针对每帧灰度图像,获取灰度图像中每一行像素的像素亮度和值,及灰度图像中所有像素的像素亮度平均值之后,执行子步骤B3。
子步骤B3:根据所述像素亮度和值和所述像素亮度平均值,确定增益像素亮度。
在获取灰度图像中每一行像素的像素亮度和值及灰度图像中所有像素的像素亮度平均值之后,可以将两者相除即可得到增益像素亮度。
在根据像素亮度和值和像素亮度平均值确定出增益像素亮度之后,执行子步骤B4。
子步骤B4:基于所述增益像素亮度,确定所述灰度图像是否存在频闪现象。
在得到增益像素亮度之后,可以根据增益像素亮度确定灰度图像是否存在频闪现象,具体地,可以将得到的增益像素亮度进行离散傅里叶变换,分析离散信号的频谱成分,可得出图像是否收到50HZ或者60HZ的工频干扰。
本申请实施例通过目标摄像头采集的多帧预览图像确定目标摄像头在拍摄过程中是否存在频闪现象,因此,可以在采用目标摄像头进行拍摄之前,确定存在频闪现象时,及时调整滤色片的色深,以避免拍摄的图片存在曝光量过大的问题。
曝光时间是指为了将光投射到照相感光材料的感光面上,快门所要打开的时间。
初始曝光时间是指在采用目标摄像头进行拍摄的过程中,目标摄像头所对应的初始的曝光时间。
目标曝光时间是指对初始曝光时间进行调整之后得到的曝光时间。
在采用目标摄像头拍摄的过程中存在频闪现象的情况下,则可以对目标置摄像头的初始曝光时间进行调整,以得到目标曝光时间,其实就是控制曝光时间到工频干扰能量周期的整数倍,例如中国的工频为50HZ,其能量频率为100HZ,周期为10ms,需要保证快门速度为10ms的整数倍才能保证Sensor成像时不受工频干扰。例如,在存在频闪时,可以将初始曝光时间调整为10ms的整数倍,如初始曝光时间为10.2ms,在存在频闪时,可以将初始曝光时间调整为20ms,该20ms即为目标曝光时间。
在对初始曝光时间进行调整得到目标曝光时间之后,执行步骤102。
步骤102:根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量。
在本实施例中,在镜头模组内的滤色片上预先设置有电阻装置,如图2所示,在镜头组(即镜头模组)和感光芯片之间设置有滤色片,本实施例通过在上增加电阻装置,通过该电阻装置可以改变滤色片的色深,即改变滤色片的颜色深浅。
进光变化量是指在对目标摄像头的曝光时间进行调整之后,得到的目标摄像头关联的滤色片的进光量变化量。
在对目标摄像头的初始曝光时间进行调整,得到目标曝光时间之后,可以结合目标曝光时间确定出与目标摄像头关联的滤色片的进光变化量,具体地,可以结合下述具体实现方式进行详细描述。
在本申请的一种具体实现方式中,上述步骤102可以包括:
子步骤C1:根据所述目标曝光时间和所述初始曝光时间,确定曝光时间调整量。
在本实施例中,曝光时间调整量是指目标曝光时间和初始曝光时间之间的调整量,例如,当前曝光时间为T1,调整后的曝光时间为T2,调整 后的T2为10ms的整数倍,此时曝光时间的调整量t(即曝光时间变化量)为,则t=T2-T1。
在获取目标曝光时间之后,可以根据目标曝光时间和初始曝光时间确定曝光时间调整量。
在获取曝光时间调整量之后,执行子步骤C2。
子步骤C2:根据所述曝光时间调整量,确定所述进光变化量。
在获取曝光时间调整量之后,可以结合曝光时间调整量确定出进光变化量,具体地,可以结合下述公式(2)计算出进光变化量:
Δφ=g(ΔT)    (2)
上述公式(2)中,Δφ为进光变化量,ΔT为曝光时间调整量。
本申请实施例通过结合目标曝光时间和初始曝光时间确定目标摄像头关联的滤色片的进光量变化量,以用于后续对滤色片的色深进行调整,可以避免后续拍摄过程中出现频闪现象的问题。
步骤103:根据所述进光变化量,调整所述滤色片的色深。
在获取目标摄像头关联的滤色片的进光变化量之后,可以根据进光变化量对滤色片的色深进行调整,即调整滤色片的颜色深浅,从而实现对进入摄像头模组的进光量的调整。
本实施例通过调整滤色片的色深补偿曝光时间的变化量导致的进光量差异,可以达到规避频闪和准确曝光的目的,而且通过补偿曝光时间的变化量导致的进光量差异,可以避免摄像头模组进光量过大导致图像过饱和严重的问题。
对于结合进光变化量调整滤色片的色深的方案,可以结合下述具体实现方式进行详细描述。
在本申请的一种具体实现方式中,上述步骤103可以包括:
子步骤D1:根据所述进光变化量与电流变化量之间的对应关系,确定所述进光变化量对应的电流变化量。
在本实施例中,电流变化量是指需要对滤色片进行供电的电流的变化 量,例如,当前为滤色片供电的电流为10,而目标电流变化量为2时,则需要将滤色片的供电电流调整为12。
可以理解地,上述示例仅是为了更好地理解本申请实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。
在获取进光变化量之后,可以根据进光变化量和电流变化量之间的对应关系,确定该进光变化量对应的电流变化量,具体地,可以结合下述公式(3)计算出电流变化量:
ΔI=f -1(Δφ)    (3)
上述公式(3)中,ΔI为电流变化量,Δφ为进光变化量。
在确定进光变化量对应的电流变化量之后,执行子步骤D2。
子步骤D2:根据所述电流变化量,调整所述滤色片对应的供电电流,以调整所述滤色片的色深。
在确定电流变化量之后,可以根据电流变化量调整滤色片对应的供电电流,以调整滤色片的色深,本申请实施例通过计算出电阻控制电流的电流变化量之后,可以根据电流变化量改变滤色片的供电电流,达到补偿因曝光时间导致的进光量变化的目的,使得预览和视频图像曝光正确,亮度稳定。
本申请实施例提供的拍摄方法,通过在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整目标摄像头的初始曝光时间,得到目标曝光时间,根据目标曝光时间,确定与目标摄像头关联的滤色片的进光变化量,根据进光变化量调整滤色片的色深。本申请实施例通过目标摄像头存在频闪时,通过调整滤色片的色深补偿曝光时间的变化量导致的进光量差异,可以达到规避频闪和准确曝光的目的,而且通过补偿曝光时间的变化量导致的进光量差异,可以避免摄像头模组进光量过大导致图像过饱和严重的问题。
需要说明的是,本申请实施例提供的拍摄方法,执行主体可以为拍摄装置,或者该拍摄装置中的用于执行拍摄方法的控制模块。本申请实施例 中以拍摄装置执行拍摄方法为例,说明本申请实施例提供的拍摄装置。
参照图3,示出了本申请实施例提供的一种拍摄装置的结构示意图,如图3所示,该拍摄装置300具体可以包括如下模块:
目标时间获取模块310,用于在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;
变化量确定模块320,用于根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;
色深调整模块330,用于根据所述进光变化量,调整所述滤色片的色深。
可选地,还包括:
预览图像获取模块,用于通过所述目标摄像头,获取设定数量的预览图像;
频闪现象确定模块,用于根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象。
可选地,所述频闪现象确定模块包括:
灰度图像生成单元,用于对所述预览图像进行灰度处理,生成灰度图像;
平均值获取单元,用于针对每帧所述灰度图像,获取所述灰度图像中每一行像素的像素亮度和值,及所述灰度图像中所有像素的像素亮度平均值;
增益亮度确定单元,用于根据所述像素亮度和值和所述像素亮度平均值,确定增益像素亮度;
频闪现象确定单元,用于基于所述增益像素亮度,确定所述灰度图像是否存在频闪现象。
可选地,所述变化量确定模块320包括:
曝光调整量确定单元,用于根据所述目标爆光时间和所述初始曝光时 间,确定曝光时间调整量;
进光变化量确定单元,用于根据所述曝光时间调整量,确定所述进光变化量。
可选地,所述色深调整模块330包括:
电流变化量确定单元,用于根据所述进光变化量与电流变化量之间的对应关系,确定所述进光变化量对应的电流变化量;
色深调整单元,用于根据所述电流变化量,调整所述滤色片对应的供电电流,以调整所述滤色片的色深。
本申请实施例提供的拍摄装置,通过在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整目标摄像头的初始曝光时间,得到目标曝光时间,根据目标曝光时间,确定与目标摄像头关联的滤色片的进光变化量,根据进光变化量调整滤色片的色深。本申请实施例通过目标摄像头存在频闪时,通过调整滤色片的色深补偿曝光时间的变化量导致的进光量差异,可以达到规避频闪和准确曝光的目的,而且通过补偿曝光时间的变化量导致的进光量差异,可以避免摄像头模组进光量过大导致图像过饱和严重的问题。
本申请实施例中的拍摄装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的拍摄装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的拍摄装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图5为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器510逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器510,用于在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;根据所述进光变化量,调整所述滤色片的色深。
本申请实施例通过目标摄像头存在频闪时,通过调整滤色片的色深补偿曝光时间的变化量导致的进光量差异,可以达到规避频闪和准确曝光的目的,而且通过补偿曝光时间的变化量导致的进光量差异,可以避免摄像头模组进光量过大导致图像过饱和严重的问题。
可选的,处理器510,还用于通过所述目标摄像头,获取设定数量的 预览图像;根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象。
可选的,处理器510,还用于对所述预览图像进行灰度处理,生成灰度图像;针对每帧所述灰度图像,获取所述灰度图像中每一行像素的像素亮度和值,及所述灰度图像中所有像素的像素亮度平均值;根据所述像素亮度和值和所述像素亮度平均值,确定增益像素亮度;基于所述增益像素亮度,确定所述灰度图像是否存在频闪现象。
可选的,处理器510,还用于根据所述目标爆光时间和所述初始曝光时间,确定曝光时间调整量;根据所述曝光时间调整量,确定所述进光变化量。
可选的,处理器510,还用于根据所述进光变化量与电流变化量之间的对应关系,确定所述进光变化量对应的电流变化量;根据所述电流变化量,调整所述滤色片对应的供电电流,以调整所述滤色片的色深。
本申请实施例通过控制电子设备拍摄时的进光量,等于控制电子设备拍摄的曝光时间,从而解决了视频拍摄特定场景频闪问题。
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无 线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上 述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种拍摄方法,包括:
    在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;
    根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;
    根据所述进光变化量,调整所述滤色片的色深。
  2. 根据权利要求1所述的方法,其中,在所述调整所述目标摄像头的初始曝光时间,得到目标曝光时间之前,还包括:
    通过所述目标摄像头,获取设定数量的预览图像;
    根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象。
  3. 根据权利要求2所述的方法,其中,所述根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象,包括:
    对所述预览图像进行灰度处理,生成灰度图像;
    针对每帧所述灰度图像,获取所述灰度图像中每一行像素的像素亮度和值,及所述灰度图像中所有像素的像素亮度平均值;
    根据所述像素亮度和值和所述像素亮度平均值,确定增益像素亮度;
    基于所述增益像素亮度,确定所述灰度图像是否存在频闪现象。
  4. 根据权利要求1所述的方法,其中,所述根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量,包括:
    根据所述目标爆光时间和所述初始曝光时间,确定曝光时间调整量;
    根据所述曝光时间调整量,确定所述进光变化量。
  5. 根据权利要求1所述的方法,其中,所述根据所述进光变化量,调整所述滤色片的色深,包括:
    根据所述进光变化量与电流变化量之间的对应关系,确定所述进光变化量对应的电流变化量;
    根据所述电流变化量,调整所述滤色片对应的供电电流,以调整所述滤色片的色深。
  6. 一种拍摄装置,包括:
    目标时间获取模块,用于在采用目标摄像头拍摄的过程中存在频闪现象的情况下,调整所述目标摄像头的初始曝光时间,得到目标曝光时间;
    变化量确定模块,用于根据所述目标曝光时间,确定与所述目标摄像头关联的滤色片的进光变化量;
    色深调整模块,用于根据所述进光变化量,调整所述滤色片的色深。
  7. 根据权利要求6所述的装置,其中,还包括:
    预览图像获取模块,用于通过所述目标摄像头,获取设定数量的预览图像;
    频闪现象确定模块,用于根据所述预览图像对应的亮度值,确定所述预览图像是否存在频闪现象。
  8. 根据权利要求7所述的装置,其中,所述频闪现象确定模块包括:
    灰度图像生成单元,用于对所述预览图像进行灰度处理,生成灰度图像;
    平均值获取单元,用于针对每帧所述灰度图像,获取所述灰度图像中每一行像素的像素亮度和值,及所述灰度图像中所有像素的像素亮度平均值;
    增益亮度确定单元,用于根据所述像素亮度和值和所述像素亮度平均值,确定增益像素亮度;
    频闪现象确定单元,用于基于所述增益像素亮度,确定所述灰度图像是否存在频闪现象。
  9. 根据权利要求6所述的装置,其中,所述变化量确定模块包括:
    曝光调整量确定单元,用于根据所述目标爆光时间和所述初始曝光时间,确定曝光时间调整量;
    进光变化量确定单元,用于根据所述曝光时间调整量,确定所述进光 变化量。
  10. 根据权利要求6所述的装置,其中,所述色深调整模块包括:
    电流变化量确定单元,用于根据所述进光变化量与电流变化量之间的对应关系,确定所述进光变化量对应的电流变化量;
    色深调整单元,用于根据所述电流变化量,调整所述滤色片对应的供电电流,以调整所述滤色片的色深。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的拍摄方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的拍摄方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5所述的拍摄方法。
  14. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的拍摄方法。
  15. 一种拍摄设备,包括所述设备被配置成用于执行如权利要求1-5中任一项所述的拍摄方法。
PCT/CN2021/115835 2020-08-31 2021-08-31 拍摄方法、装置及电子设备 WO2022042753A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010901704.1 2020-08-31
CN202010901704.1A CN111866401A (zh) 2020-08-31 2020-08-31 拍摄方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2022042753A1 true WO2022042753A1 (zh) 2022-03-03

Family

ID=72968485

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115835 WO2022042753A1 (zh) 2020-08-31 2021-08-31 拍摄方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111866401A (zh)
WO (1) WO2022042753A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866401A (zh) * 2020-08-31 2020-10-30 维沃移动通信有限公司 拍摄方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008167361A (ja) * 2007-01-05 2008-07-17 Acutelogic Corp カメラモジュール及びこれを備えた電子機器並びにカメラモジュールの製造方法及びこれを用いた電子機器の製造方法
US20150009396A1 (en) * 2013-07-03 2015-01-08 Ricoh Imaging Company, Ltd. Apparatus for photographing by using electronic flash
CN106572345A (zh) * 2015-10-13 2017-04-19 富士通株式会社 闪烁检测装置及方法
CN110248110A (zh) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 拍摄参数设置方法、设置装置、终端设备及可读存储介质
CN111163270A (zh) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 消除闪烁的方法、电子装置和存储介质
CN111866401A (zh) * 2020-08-31 2020-10-30 维沃移动通信有限公司 拍摄方法、装置及电子设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236947B (zh) * 2010-04-29 2012-08-29 中国建筑科学研究院 基于视频摄像机的火焰监测方法与***
CN104104882B (zh) * 2013-04-09 2017-08-11 展讯通信(上海)有限公司 图像闪烁检测方法及装置、图像捕获设备
WO2017201374A1 (en) * 2016-05-20 2017-11-23 Gentex Corporation Imager with active exposure correction
JP2019212989A (ja) * 2018-05-31 2019-12-12 キヤノン株式会社 撮像装置及びその制御方法、プログラム、記憶媒体
US11039082B2 (en) * 2018-11-27 2021-06-15 Canon Kabushiki Kaisha Image capturing apparatus, control method thereof, and storage medium
CN110661982B (zh) * 2019-09-27 2021-08-10 思特威(上海)电子科技股份有限公司 图像传感器成像中led频闪抑制的方法
CN111355864B (zh) * 2020-04-16 2022-06-14 浙江大华技术股份有限公司 一种图像闪烁消除方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008167361A (ja) * 2007-01-05 2008-07-17 Acutelogic Corp カメラモジュール及びこれを備えた電子機器並びにカメラモジュールの製造方法及びこれを用いた電子機器の製造方法
US20150009396A1 (en) * 2013-07-03 2015-01-08 Ricoh Imaging Company, Ltd. Apparatus for photographing by using electronic flash
CN106572345A (zh) * 2015-10-13 2017-04-19 富士通株式会社 闪烁检测装置及方法
CN110248110A (zh) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 拍摄参数设置方法、设置装置、终端设备及可读存储介质
CN111163270A (zh) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 消除闪烁的方法、电子装置和存储介质
CN111866401A (zh) * 2020-08-31 2020-10-30 维沃移动通信有限公司 拍摄方法、装置及电子设备

Also Published As

Publication number Publication date
CN111866401A (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111418201B (zh) 一种拍摄方法及设备
JP6395810B2 (ja) 動きゴーストフィルタリングのための基準画像選択
BR112020019324A2 (pt) Terminal móvel de fotografia
WO2020034737A1 (zh) 成像控制方法、装置、电子设备以及计算机可读存储介质
CN109345485B (zh) 一种图像增强方法、装置、电子设备及存储介质
WO2020057198A1 (zh) 图像处理方法、装置、电子设备及存储介质
US8077218B2 (en) Methods and apparatuses for image processing
CN105744175B (zh) 一种屏幕补光方法、装置及移动终端
WO2019011090A1 (zh) 白平衡同步方法、装置和终端设备
WO2015003604A1 (zh) 一种图像处理方法、装置及终端
WO2023061326A1 (zh) 拍摄方法、装置及电子设备
CN108848294A (zh) 一种拍摄参数调整方法、终端及计算机可读存储介质
WO2018121185A1 (zh) 红外灯功率的调整方法及摄像设备
WO2020056744A1 (zh) 拖影评价、改善方法和电子设备
WO2023160496A1 (zh) 拍摄方法、拍摄装置、电子设备和可读存储介质
WO2022078241A1 (zh) 拍摄方法、装置及电子设备
WO2023071933A1 (zh) 相机拍摄参数调整方法、装置及电子设备
CN112822412A (zh) 曝光方法和电子设备
WO2022042753A1 (zh) 拍摄方法、装置及电子设备
WO2018161568A1 (zh) 基于双摄像头的拍照方法及装置
CN111901519B (zh) 屏幕补光方法、装置及电子设备
CN112419218B (zh) 图像处理方法、装置及电子设备
WO2018219304A1 (zh) 照片处理方法、装置、计算机可读存储介质及电子设备
CN113660425A (zh) 图像处理方法、装置、电子设备及可读存储介质
WO2022262848A1 (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: 21860585

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/08/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21860585

Country of ref document: EP

Kind code of ref document: A1