WO2019011079A1 - 抑制aec跳变的方法及装置、终端设备 - Google Patents

抑制aec跳变的方法及装置、终端设备 Download PDF

Info

Publication number
WO2019011079A1
WO2019011079A1 PCT/CN2018/089991 CN2018089991W WO2019011079A1 WO 2019011079 A1 WO2019011079 A1 WO 2019011079A1 CN 2018089991 W CN2018089991 W CN 2018089991W WO 2019011079 A1 WO2019011079 A1 WO 2019011079A1
Authority
WO
WIPO (PCT)
Prior art keywords
aec
target
zoom factor
value
aec value
Prior art date
Application number
PCT/CN2018/089991
Other languages
English (en)
French (fr)
Inventor
袁全
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to US16/630,332 priority Critical patent/US10819913B2/en
Priority to EP22165770.3A priority patent/EP4040776A1/en
Priority to EP18832253.1A priority patent/EP3641301B1/en
Priority to ES18832253T priority patent/ES2920128T3/es
Publication of WO2019011079A1 publication Critical patent/WO2019011079A1/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/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • 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/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/72Combination of two or more compensation controls
    • 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/745Detection of flicker frequency or suppression of flicker wherein the flicker is caused by illumination, e.g. due to fluorescent tube illumination or pulsed LED illumination

Definitions

  • the present disclosure relates to the field of electronic devices, and in particular, to a method and apparatus for suppressing AEC hopping, and a terminal device.
  • the imaging device of the electronic device switches the zoom magnification, for example, switching from ZOOM 1X to ZOOM 2X, the imaging device is switched from the wide-angle lens to the telephoto lens.
  • the default AEC of the camera may not match the lighting conditions of the current environment, and the AEC needs to be adjusted according to the lighting conditions of the environment.
  • the present disclosure aims to solve at least one of the technical problems in the related art to some extent.
  • the present disclosure proposes a method for suppressing AEC hopping to improve the hopping problem of AEC luminance when the lens is switched, to improve the shooting effect, to enhance the user experience, and to solve the existing moment in the lens switching, due to another
  • the default AEC of the camera may not match the lighting conditions of the current environment, and the AEC needs to be adjusted according to the lighting conditions of the environment. Therefore, at the moment of the lens switching, the AEC brightness jumps and the flicker phenomenon occurs.
  • the present disclosure proposes an apparatus for suppressing AEC hopping.
  • the present disclosure proposes a terminal device.
  • the present disclosure proposes a computer readable storage medium.
  • An embodiment of the present disclosure proposes a method for suppressing AEC hopping, including:
  • a target AEC value corresponding to the target zoom factor is determined according to the first AEC value and the second AEC value.
  • the method for suppressing AEC hopping in the embodiment of the present disclosure obtains a target zoom factor that the camera device attempts to switch, and controls the wide-angle lens and the telephoto lens to be simultaneously turned on when the zoom factor is within the target range, and acquires the first AEC value and the length of the wide-angle lens.
  • the second AEC value of the focal lens determines a target AEC value corresponding to the target zoom factor based on the first AEC value and the second AEC value.
  • the two lenses can be simultaneously turned on, and the AEC values of the two lenses are merged in advance, thereby improving the jump of the AEC brightness when the lens is switched, and improving the shooting. The effect is to enhance the user experience.
  • a further aspect of the present disclosure provides an apparatus for suppressing AEC hopping, comprising:
  • An acquisition module configured to acquire a target zoom factor that the camera device attempts to switch
  • a first determining module configured to determine whether the target zoom factor is within a target range
  • a first control module configured to control both the wide-angle lens and the telephoto lens to be simultaneously turned on if the target zoom factor is within the target range
  • An acquiring module configured to acquire a first AEC value of the wide-angle lens and a second AEC value of the telephoto lens
  • a determining module configured to determine a target AEC value corresponding to the target zoom factor according to the first AEC value and the second AEC value.
  • the apparatus for suppressing AEC hopping of the embodiment of the present disclosure controls the simultaneous opening of the wide-angle lens and the telephoto lens to obtain the first AEC value and the length of the wide-angle lens when the zoom magnification is within the target range by acquiring the target zoom factor that the camera device attempts to switch.
  • the second AEC value of the focal lens determines a target AEC value corresponding to the target zoom factor based on the first AEC value and the second AEC value.
  • the two lenses can be simultaneously turned on, and the AEC values of the two lenses are merged in advance, thereby improving the jump of the AEC brightness when the lens is switched, and improving the shooting. The effect is to enhance the user experience.
  • a further aspect of the present disclosure provides a terminal device, comprising: one or more components: a housing and a processor, a memory, and a camera module located in the housing, wherein the processor reads The executable program code stored in the memory runs a program corresponding to the executable program code for implementing the method of suppressing AEC hopping as described in the above embodiments of the present disclosure.
  • a further aspect of the present disclosure is directed to a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of suppressing AEC hopping as described in the above embodiments of the present disclosure.
  • a further aspect of the present disclosure provides a computer program product for performing a method of suppressing AEC hopping as described in the above embodiments of the present disclosure when instructions in the computer program product are executed by a processor.
  • FIG. 1 is a schematic flowchart diagram of a method for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart diagram of another method for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of another method for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of another method for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart diagram of another method for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an apparatus for suppressing AEC hopping according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of another apparatus for suppressing AEC hopping according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • Wide-angle lens which features short focal length, wide viewing angle and wide depth of field, suitable for close-up shooting.
  • the telephoto lens is characterized by a long focal length, a small viewing angle, and a small depth of field for long-range shooting.
  • AEC can automatically control the aperture value and shutter speed to control the amount of light entering to adjust the overall brightness of the subject and improve the shooting quality.
  • the AEC of the camera may jump and flicker.
  • an embodiment of the present disclosure provides a method for suppressing AEC hopping, so as to obtain an AEC value according to luminance information of an environment in which the terminal device is located, and accelerate AEC convergence.
  • FIG. 1 is a schematic flowchart diagram of a method for suppressing AEC hopping according to an embodiment of the present disclosure.
  • the method for suppressing AEC hopping includes the following steps:
  • Step 101 Acquire a target zoom factor that the camera device attempts to switch.
  • the zoom magnification of the image pickup device is increased to capture a distant scene.
  • the target zoom magnification that the camera device attempts to switch can be acquired.
  • the switching command is transmitted, and the switching command may include the current zoom factor, the target zoom factor after the switching, and the like.
  • a listener can be set to monitor the switching instruction of the zoom magnification, and when the switching instruction is monitored, the target zoom factor is extracted from the switching instruction.
  • an icon for switching the zoom magnification may be set on the photographing interface, and the user can click the icon to switch the zoom magnification.
  • Step 102 Determine whether the target zoom factor is within a preset target range.
  • the target range may be preset by the built-in program of the terminal device, or the target range may also be set by the user according to his own needs, which is not limited thereto.
  • the target range may be marked as [first Zoom factor, second zoom factor].
  • an excessive zoom multiple area can be set in advance for switching from the wide-angle lens to the telephoto lens, and the embodiment of the present disclosure is recorded as a target range, wherein the target range includes a zoom magnification in which the wide-angle lens and the telephoto lens are switched.
  • the target range is [first zoom factor, second zoom factor].
  • the first zoom factor may be ZOOM 1.5X
  • the second zoom factor may be ZOOM 6X
  • the preset target range is [ZOOM 1.5X, ZOOM6X].
  • step 103 determining whether the target zoom factor is within a preset target range, that is, comparing the target zoom factor with the first zoom factor and the second zoom factor, if the target zoom factor is greater than the first zoom factor and less than the second zoom factor , indicating that the target zoom factor falls within the target range, and step 103 is performed.
  • the target zoom factor is not within the preset target range, there may be two cases. In one case, the target zoom factor is smaller than the first zoom factor, in which case only the wide-angle lens can be turned on; in the other case, the target zoom factor is larger than the first zoom factor. In the case of two zoom magnifications, only the telephoto lens can be turned on at this time.
  • step 103 if the zoom factor is within the target range, the control simultaneously turns on the wide-angle lens and the telephoto lens.
  • the lens switching affects the accuracy and sharpness of the focus, when the lens is switched from the wide-angle lens to the telephoto lens, or when the lens is switched from the telephoto lens to the wide-angle lens, it is necessary to wait for the AEC value to converge (about 1 s) to switch. This will result in a lens switching process that is not smooth enough.
  • the zoom magnification when the zoom magnification is within the target range and the wide-angle lens and the telephoto lens are simultaneously turned on, at the moment of the lens switching, since the AEC value has already been converged in advance, the brightness convergence action of about 1 s does not occur, so that the lens is switched.
  • the process is smooth and fluent, avoiding flicker problems and improving the user's shooting experience.
  • Step 104 Acquire a first AEC value of the wide-angle lens and a second AEC value of the telephoto lens.
  • the first AEC value of the wide-angle lens that can be marked can be labeled AEC 1 and the second AEC value of the telephoto lens is AEC 2 .
  • AEC 1 is the AEC value when the wide-angle lens converges to a stationary state
  • AEC 2 is the AEC value at which the telephoto lens converges to a steady state.
  • Step 105 Determine a target AEC value corresponding to the target zoom factor according to the first AEC value and the second AEC value.
  • the AEC results of the two lenses may be interpolated, that is, according to the first AEC value (AEC 1 ) and the second The AEC value (AEC 2 ) is interpolated and the result of the interpolation calculation is taken as the target AEC value.
  • a mapping relationship between the zoom magnification and the first weight of the first AEC value (AEC 1 ) and the second weight of the second AEC value (AEC 2 ) may be established in advance. Therefore, after determining the target zoom factor, by querying the above mapping relationship, the first weight of the first AEC value (AEC 1 ) and the second weight of the second AEC value (AEC 2 ) can be obtained, and then, according to the first weight sum The second weight performs a weighted calculation on the first AEC value and the second AEC value.
  • the target AEC value corresponding to the target zoom factor may be determined according to any algorithm that can improve the hopping problem of the AEC brightness when the lens is switched, and the embodiment of the present disclosure is not limited.
  • the zoom factor determines a target AEC value corresponding to the target zoom factor based on the first AEC value and the second AEC value.
  • the two lenses can be simultaneously turned on, and the AEC values of the two lenses are merged in advance, thereby improving the jump of the AEC brightness when the lens is switched, and improving the shooting. The effect is to enhance the user experience.
  • the method for suppressing AEC hopping may further include the following steps:
  • Step 201 If the target zoom factor is not within the target range, determine whether the target zoom factor is within the first range. If yes, go to step 202. Otherwise, go to step 203.
  • the first range may be preset by the built-in program of the terminal device, or the first range may also be set by the user according to the requirements of the user, which is not limited thereto.
  • the first range may be [ZOOM] 1X, ZOOM 1.5X).
  • the target zoom factor is not within the preset target range, there may be two cases, one case is that the target zoom factor is smaller than the first zoom factor, that is, the target zoom factor is in the first range; The case is when the target zoom factor is greater than the second zoom factor.
  • Step 202 Control to turn on the wide-angle lens and obtain the first AEC value of the wide-angle lens as the target AEC value.
  • the target zoom factor when the target zoom factor is less than the first zoom factor, that is, the target zoom factor is within the first range, at this time, only the wide-angle lens may be turned on, and the first AEC value (AEC 1 ) of the acquired wide-angle lens is taken as the target AEC. value.
  • the target zoom factor when the target zoom factor is ZOOM 1.2X, it can be seen that the target zoom factor is in the first range [ZOOM 1X, ZOOM 1.5X).
  • the wide-angle lens can be controlled to be turned on, and the first AEC value of the obtained wide-angle lens, that is, AEC 1 is used as the target AEC value.
  • Step 203 controlling to turn on the telephoto lens and acquiring the second AEC value of the telephoto lens as the target AEC value.
  • the target zoom factor is greater than the second zoom factor, for example, when the target zoom factor is ZOOM 7X, it is known that the target zoom factor is not in the first range [ZOOM 1X, ZOOM 1.5X) and the preset target range [ In ZOOM 1.5X, ZOOM 6X], at this time, it is possible to control the opening of the telephoto lens, and the second AEC value of the obtained telephoto lens, that is, AEC 2 is taken as the target AEC value.
  • the method for suppressing AEC hopping of the embodiment controls to turn on the wide-angle lens and acquire the first AEC value of the wide-angle lens as the target AEC value when the target zoom magnification is in the first range, when the target zoom factor is not in the first range. Controlling the telephoto lens and obtaining the second AEC value of the telephoto lens as the target AEC value can further enhance the photographing effect of the terminal device.
  • step 105 specifically includes the following sub-steps:
  • Step 301 performing interpolation calculation on the first AEC value and the second AEC value.
  • the target AEC value is the first AEC value (AEC 1 ); when the target zoom multiple is not at When the preset target range [ZOOM 1.5X, ZOOM 6X] is not in the first range [ZOOM 1X, ZOOM 1.5X), that is, when the target zoom factor is larger than ZOOM 6X, the target AEC value is the second AEC value ( AEC 2 ).
  • the target zoom factor is within the preset target range [ZOOM 1.5X, ZOOM 6X]
  • the target zoom factor is T 0
  • the target AEC value corresponding to the target zoom factor is AEC 0
  • the interpolation formula can be obtained as :
  • the target AEC value can be obtained by the formula (1):
  • step 302 the result of the interpolation calculation is taken as the target AEC value.
  • the photographing effect of the terminal device can be further improved.
  • step 105 specifically includes the following sub-steps:
  • Step 401 performing weighting calculation on the first AEC value and the second AEC value.
  • a mapping relationship between the zoom factor and the first weight of the first AEC value and the second weight of the second AEC value may be established in advance. Therefore, after determining the target zoom factor, by querying the above mapping relationship, the first weight of the first AEC value and the second weight of the second AEC value can be obtained.
  • the first weight of the first AEC value corresponding to the target zoom factor is obtained as ⁇
  • the second weight of the second AEC value is ⁇
  • the first AEC value and the second AEC value are weighted.
  • step 402 the result of the weighting calculation is taken as the target AEC value.
  • the target AEC value is AEC 0
  • the target AEC value is:
  • AEC 0 ⁇ * AEC 1 + ⁇ * AEC 2 ;
  • the photographing effect of the terminal device can be further improved.
  • step 101 specifically includes the following steps:
  • Step 501 Listening to a switching instruction for switching the zoom magnification; wherein the switching instruction carries the current zoom factor and the target zoom factor after the switching.
  • the switching instruction carries the current zoom factor and the target zoom factor after the switching, and the switching instruction may be triggered by the user.
  • the switching instruction may be triggered to switch the telephoto lens to A wide-angle lens, or when the user wants to switch from a close-up to a distant view, can trigger a switching command to switch the wide-angle lens to a telephoto lens without limitation.
  • the terminal device can monitor the switching instruction for switching the zoom magnification in real time to switch the lens of the camera.
  • the description of the monitoring process of the switching instruction the description of the relevant content in the above embodiment can be seen, and details are not described herein again.
  • Step 502 After monitoring the switching instruction, extract the target zoom factor from the switching instruction.
  • the target zoom factor can be extracted from the switching command after the switching instruction is monitored.
  • the switching instruction for switching the zoom magnification is monitored; wherein the switching instruction carries the current zoom factor and the target zoom factor after the switching, and after the switching instruction is monitored, the slave switch Extracting the target zoom factor in the command enables faster AEC convergence when switching the zoom factor.
  • the present disclosure also proposes an apparatus for suppressing AEC hopping.
  • FIG. 6 is a schematic structural diagram of an apparatus for suppressing AEC hopping according to an embodiment of the present disclosure.
  • the apparatus for suppressing AEC hopping includes: a first obtaining module 610, a first determining module 620, a first control module 630, a second obtaining module 640, and a determining module 650. among them,
  • the first obtaining module 610 is configured to acquire a target zoom factor that the camera device attempts to switch.
  • the first obtaining module 610 is specifically configured to: monitor a switching instruction for switching a zoom factor; wherein, the switching instruction carries a current zoom factor and a target zoom factor after the switching; when the switching instruction is monitored, Extract the target zoom factor from the switching command.
  • the first determining module 620 is configured to determine whether the target zoom factor is within the target range.
  • the first control module 630 is configured to control the wide-angle lens and the telephoto lens to be simultaneously turned on if the target zoom factor is within the target range.
  • the second obtaining module 640 is configured to acquire a first AEC value of the wide-angle lens and a second AEC value of the telephoto lens.
  • the determining module 650 is configured to determine a target AEC value corresponding to the target zoom factor according to the first AEC value and the second AEC value.
  • the determining module 650 is specifically configured to: perform interpolation calculation on the first AEC value and the second AEC value; and use the result of the interpolation calculation as the target AEC value.
  • the determining module 650 is specifically configured to: perform weighting calculation on the first AEC value and the second AEC value; and use the result of the weighting calculation as the target AEC value.
  • the determining module 650 is specifically configured to: query a first weight of the first AEC value and a second weight of the second AEC value according to the target zoom factor; and the first AEC value according to the first weight and the second weight A weighting calculation is performed with the second AEC value.
  • the apparatus for suppressing AEC hopping further includes:
  • the second determining module 660 is configured to determine whether the target zoom factor is within the first range when the target zoom factor is not within the target range.
  • the second control module 670 is configured to control to turn on the wide-angle lens and obtain the first AEC value of the wide-angle lens as the target AEC value when the target zoom factor is within the first range.
  • the third control module 680 is configured to control to turn on the telephoto lens and obtain the second AEC value of the telephoto lens as the target AEC value when the target zoom factor is not within the first range.
  • the apparatus for suppressing AEC hopping of the embodiment by acquiring the target zoom factor that the camera apparatus attempts to switch, when the zoom magnification is within the target range, controlling to simultaneously turn on the wide-angle lens and the telephoto lens to obtain the first AEC value and the telephoto of the wide-angle lens
  • the second AEC value of the lens determines a target AEC value corresponding to the target zoom factor based on the first AEC value and the second AEC value.
  • the two lenses can be simultaneously turned on, and the AEC values of the two lenses are merged in advance, thereby improving the jump of the AEC brightness when the lens is switched, and improving the shooting. The effect is to enhance the user experience.
  • the present disclosure also proposes a terminal device.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the terminal device 800 includes one or more of the following components: a housing 801 and a processor 802, a memory 803, and a camera module 804 located within the housing 801.
  • the processor 802 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 803 for implementing the method for suppressing AEC hopping as proposed in the foregoing embodiments.
  • the present disclosure also proposes a computer readable storage medium having stored thereon a computer program capable of implementing a method of suppressing AEC hopping as set forth in the foregoing embodiments when the computer program is executed by a processor.
  • the present disclosure also proposes a computer program product that, when executed by a processor, executes a method of suppressing AEC hopping as set forth in the foregoing embodiments.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the present disclosure can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware and in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present disclosure have been shown and described above, it is understood that the foregoing embodiments are illustrative and are not to be construed as limiting the scope of the disclosure The embodiments are subject to variations, modifications, substitutions and variations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Lens Barrels (AREA)
  • Container Filling Or Packaging Operations (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

本公开提出一种抑制ACE跳变的方法及装置、终端设备,其中,方法包括:获取摄像装置试图切换的目标变焦倍数;判断目标变焦倍数是否处于预设的目标范围内;如果变焦倍数处于目标范围内,则控制同时开启广角镜头和长焦镜头;获取广角镜头的第一AEC值和长焦镜头的第二AEC值;根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。该方法本实施例中,当目标变焦倍数在设定的范围内,可以同时开启两个镜头,提前将两个镜头的AEC值进行融合,从而能够实现改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验。

Description

抑制AEC跳变的方法及装置、终端设备
相关申请的交叉引用
本公开要求OPPO广东移动通信有限公司于2017年07月10日提交的、申请名称为“抑制AEC跳变的方法及装置、终端设备”的、中国专利申请号“201710557841.6”的优先权。
技术领域
本公开涉及电子设备领域,尤其涉及一种抑制AEC跳变的方法及装置、终端设备。
背景技术
随着电子设备的不断发展,用户对电子设备的拍摄功能的要求越来越高,对电子设备的摄像装置的自动曝光控制(Automatic Exposure Control,AEC)的要求也随之提高。目前电子设备的拍摄装置在切换变焦倍数时,例如从ZOOM 1X切换至ZOOM 2X,会使拍摄装置从广角镜头切换到长焦镜头。
在镜头切换的瞬间,由于另一颗摄像头刚刚启动,该摄像头默认的AEC可能与当前环境的光照情况不匹配,需要根据环境的光照情况调整AEC。
发明内容
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本公开提出一种抑制AEC跳变的方法,以实现改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验,以及解决现有在镜头切换的瞬间,由于另一颗摄像头刚刚启动,该摄像头默认的AEC可能与当前环境的光照情况不匹配,需要根据环境的光照情况调整AEC,所以在镜头切换的瞬间,会发生AEC亮度的跳变,出现闪烁现象的问题。
本公开提出一种抑制AEC跳变的装置。
本公开提出一种终端设备。
本公开提出一种计算机可读存储介质。
本公开一方面实施例提出了一种抑制AEC跳变的方法,包括:
获取摄像装置试图切换的目标变焦倍数;
判断所述目标变焦倍数是否处于预设的目标范围内;
如果所述变焦倍数处于所述目标范围内,则控制同时开启广角镜头和长焦镜头;
获取所述广角镜头的第一AEC值和所述长焦镜头的第二AEC值;
根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值。
本公开实施例的抑制AEC跳变的方法,通过获取摄像装置试图切换的目标变焦倍数,在变焦倍数处于目标范围内时,控制同时开启广角镜头和长焦镜头,获取广角镜头的第一AEC值和长焦镜头的第二AEC值,根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。本实施例中,当目标变焦倍数在设定的范围内,可以同时开启两个镜头,提前将两个镜头的AEC值进行融合,从而能够改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验。
本公开又一方面实施例提出了一种抑制AEC跳变的装置,包括:
获取模块,用于获取摄像装置试图切换的目标变焦倍数;
第一判断模块,用于判断所述目标变焦倍数是否处于目标范围内;
第一控制模块,用于如果所述目标变焦倍数处于所述目标范围内,则控制同时开启广角镜头和长焦镜头;
获取模块,用于获取所述广角镜头的第一AEC值和所述长焦镜头的第二AEC值;
确定模块,用于根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值。
本公开实施例的抑制AEC跳变的装置,通过获取摄像装置试图切换的目标变焦倍数,在变焦倍数处于目标范围内时,控制同时开启广角镜头和长焦镜头,获取广角镜头的第一AEC值和长焦镜头的第二AEC值,根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。本实施例中,当目标变焦倍数在设定的范围内,可以同时开启两个镜头,提前将两个镜头的AEC值进行融合,从而能够改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验。
本公开又一方面实施例提出了一种终端设备,包括:以下一个或多个组件:壳体和位于所述壳体内的处理器、存储器和摄像模组,其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如本公开上述实施例所述的抑制AEC跳变的方法。
本公开又一方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,当计算机程序被处理器执行时实现如本公开上述实施例所述的抑制AEC跳变的方法。
本公开又一方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如本公开上述实施例所述的抑制AEC跳变的方法。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明 显,或通过本公开的实践了解到。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种抑制AEC跳变的方法的流程示意图;
图2为本公开实施例提供的另一种抑制AEC跳变的方法的流程示意图;
图3为本公开实施例提供的另一种抑制AEC跳变的方法的流程示意图;
图4为本公开实施例提供的另一种抑制AEC跳变的方法的流程示意图;
图5为本公开实施例提供的另一种抑制AEC跳变的方法的流程示意图;
图6为本公开实施例提供的一种抑制AEC跳变的装置的结构示意图;
图7为本公开实施例提供的另一种抑制AEC跳变的装置的结构示意图;
图8为本公开实施例所提供的一种终端设备的结构示意图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
下面参考附图描述本公开实施例的抑制AEC跳变的方法及装置、终端设备。在具体描述本公开实施例之前,为了便于理解,首先对常用技术词进行介绍:
广角镜头,其特点为:焦距短、视角宽、景深范围较大,适用于近景拍摄。
长焦镜头,其特点为:焦距长、视角小、景深范围较小,适用于远景拍摄。
目前,可通过AEC自动控制光圈值和快门速度,控制进光量,以调节拍摄景物的整体亮度,提高拍摄质量。在切换相机的变焦倍数时,需要调整AEC以需调整进光量。
但是,目前在切换相机变焦倍数时,或者在变换相机的拍摄环境时,如由光线比较强的环境变换到光线弱的环境,相机的AEC可能会跳变,出现闪烁。
针对这一问题,本公开实施例提出一种抑制AEC跳变的方法,以实现根据终端设备所处环境的亮度信息获取AEC值,加快AEC收敛。
图1为本公开实施例提供的抑制AEC跳变的方法的流程示意图。
如图1所示,该抑制AEC跳变的方法包括以下步骤:
步骤101,获取摄像装置试图切换的目标变焦倍数。
例如,在利用终端设备如手机、平板电脑等上的摄像装置拍摄完近处的景物后,将摄像装置的变焦倍数增大,以拍摄远处的景物。这时,可以获取到摄像装置试图切换的目标变焦倍数。
当摄像装置的变焦倍数发生切换时,如由1倍切换到2倍时,发送切换指令,切换指令中可包括当前变焦倍数、切换后的目标变焦倍数等。本实施例中,可设置一个监听器以监听变焦倍数的切换指令,当监听到切换指令时,从切换指令中提取目标变焦倍数。
作为一种示例,可以在拍照界面上设置切换变焦倍数的图标,用户可以通过点击该图标进行变焦倍数的切换。例如,可以为每个变焦倍数设置一个图标,也可以设置一个两个图标,一个为增加变焦倍数的图标,一个为降低变焦倍数的图标,通过点击其中一个图标来改变变焦倍数。
步骤102,判断目标变焦倍数是否处于预设的目标范围内。
在本公开的实施例中,目标范围可以由终端设备的内置程序预先设置,或者,目标范围也可以由用户根据自身需求进行设置,对此不作限制,例如,可以标记目标范围可以为[第一变焦倍数,第二变焦倍数]。
可以理解的是,可以预先为从广角镜头切换至长焦镜头设置一个过度变焦倍数区域,本公开实施例记为目标范围,其中,目标范围内包括广角镜头与长焦镜头进行切换的变焦倍数。目标范围为[第一变焦倍数,第二变焦倍数]。当变焦倍数逐渐增加到第二变焦倍数时,镜头就会从广角镜头切换至长焦镜头。相应地,当变焦倍数逐渐减小到第二变焦倍数时,镜头就会从长焦镜头切换至广角镜头。
例如,第一变焦倍数可以为ZOOM 1.5X,第二变焦倍数可以为ZOOM 6X,则预设的目标范围为[ZOOM 1.5X,ZOOM6X]。当当前变焦倍数大于等于ZOOM 6X时,将镜头切换至长焦镜头。
具体地,判断目标变焦倍数是否处于预设的目标范围内,即将目标变焦倍数与第一变焦倍数和第二变焦倍数进行比较,如果目标变焦倍数在大于第一变焦倍数且小于第二变焦倍数时,说明目标变焦倍数落入目标范围,执行步骤103。
如果目标变焦倍数未处于预设的目标范围内时,可能存在两种情况,一种情况为目标变焦倍数小于第一变焦倍数,此时可以只开启广角镜头;另一种情况为目标变焦倍数大于第二变焦倍数时,此时可以只开启长焦镜头。
步骤103,如果变焦倍数处于目标范围内,则控制同时开启广角镜头和长焦镜头。
由于镜头切换会影响到对焦的准确与清晰程度,当镜头从广角镜头切换至长焦镜头时,或者当镜头从长焦镜头切换至广角镜头时,需要等待AEC值收敛完成(1s左右)才能进行 切换,由此会导致镜头切换过程不够顺畅。
而本公开实施例中,在变焦倍数处于目标范围内,同时开启广角镜头和长焦镜头,在镜头切换的瞬间,由于AEC值已经提前收敛完成,不会出现1s左右的亮度收敛动作,使得镜头切换过程顺畅流利,避免出现闪烁问题,可以提升用户的拍摄体验。
步骤104,获取广角镜头的第一AEC值和长焦镜头的第二AEC值。
例如,可以标记获取的广角镜头的第一AEC值为AEC 1,长焦镜头的第二AEC值为AEC 2
说要说明的是,AEC 1为广角镜头收敛至平稳状态下的AEC值,AEC 2为长焦镜头收敛至平稳状态下的AEC值。
步骤105,根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。
可选地,具体实现时,为了避免镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,可以对两个镜头的AEC结果做插值计算,即根据第一AEC值(AEC 1)和第二AEC值(AEC 2)做插值计算,将插值计算的结果作为目标AEC值。
进一步地,可以预先建立变焦倍数与第一AEC值(AEC 1)的第一权重和第二AEC值(AEC 2)的第二权重之间的映射关系。从而在确定目标变焦倍数后,通过查询上述映射关系,即可获取第一AEC值(AEC 1)的第一权重和第二AEC值(AEC 2)的第二权重,而后,根据第一权重和第二权重对第一AEC值和第二AEC值进行加权计算。
或者,可以根据任一可以改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果的算法,确定与目标变焦倍数对应的目标AEC值,本公开实施例对此不作限制。
本实施例的抑制AEC跳变的方法,通过获取摄像装置试图切换的目标变焦倍数,在变焦倍数处于目标范围内时,控制同时开启广角镜头和长焦镜头,获取广角镜头的第一AEC值和长焦镜头的第二AEC值,根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。本实施例中,当目标变焦倍数在设定的范围内,可以同时开启两个镜头,提前将两个镜头的AEC值进行融合,从而能够改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验。
为了具体说明上述实施例,参见图2,在图1所示实施例的基础上,在步骤102后,该抑制AEC跳变的方法还可以包括以下步骤:
步骤201,如果目标变焦倍数未处于目标范围内,判断目标变焦倍数是否处于第一范围内,若是,执行步骤202,否则,执行步骤203。
在本公开的实施例中,第一范围可以由终端设备的内置程序预先设置,或者,第一范围也可以由用户根据自身需求进行设置,对此不作限制,例如,第一范围可以为[ZOOM 1X,ZOOM 1.5X)。
可选地,如果目标变焦倍数未处于预设的目标范围内时,可能存在两种情况,一种情 况为目标变焦倍数小于第一变焦倍数,即目标变焦倍数处于第一范围内;另一种情况为目标变焦倍数大于第二变焦倍数时。
步骤202,控制开启广角镜头并获取广角镜头的第一AEC值作为目标AEC值。
可选地,在目标变焦倍数小于第一变焦倍数时,即目标变焦倍数处于第一范围内,此时,可以只开启广角镜头,并将获取的广角镜头的第一AEC值(AEC 1)作为目标AEC值。例如,当目标变焦倍数为ZOOM 1.2X时,可知目标变焦倍数处于第一范围[ZOOM 1X,ZOOM 1.5X)内,此时,可以控制开启广角镜头,并将获取的广角镜头的第一AEC值,即AEC 1作为目标AEC值。
步骤203,控制开启长焦镜头并获取长焦镜头的第二AEC值作为目标AEC值。
可选地,在目标变焦倍数大于第二变焦倍数时,例如,当目标变焦倍数为ZOOM 7X时,可知目标变焦倍数未处于第一范围[ZOOM 1X,ZOOM 1.5X)和预设的目标范围[ZOOM 1.5X,ZOOM 6X]内,此时,可以控制开启长焦镜头,并将获取的长焦镜头的第二AEC值,即AEC 2作为目标AEC值。
本实施例的抑制AEC跳变的方法,通过在目标变焦倍数处于第一范围内时,控制开启广角镜头并获取广角镜头的第一AEC值作为目标AEC值,在目标变焦倍数未处于第一范围内时,控制开启长焦镜头并获取长焦镜头的第二AEC值作为目标AEC值,能够进一步提升终端设备的拍照效果。
作为本公开实施例的一种可能的实现方式,参见图3,在图1所示实施例的基础上,步骤105具体包括以下子步骤:
步骤301,对第一AEC值和第二AEC值做插值计算。
具体地,由于目标变焦倍数处于第一范围内时,即目标变焦倍数处于[ZOOM 1X,ZOOM 1.5X)内时,目标AEC值为第一AEC值(AEC 1);当目标变焦倍数既未处于预设的目标范围[ZOOM 1.5X,ZOOM 6X]内,也未处于第一范围[ZOOM 1X,ZOOM 1.5X)内时,即目标变焦倍数大于ZOOM 6X时,目标AEC值为第二AEC值(AEC 2)。
因此,当目标变焦倍数处于预设的目标范围[ZOOM 1.5X,ZOOM 6X]内时,标记目标变焦倍数为T 0,与目标变焦倍数对应的目标AEC值为AEC 0,则可以得到插值公式为:
Figure PCTCN2018089991-appb-000001
而后,通过公式(1)可以得到目标AEC值为:
Figure PCTCN2018089991-appb-000002
步骤302,将插值计算的结果作为目标AEC值。
例如,当目标变焦倍数为ZOOM 3.5X时,将T 0等于3.5带入公式(2)可以得到目标AEC值AEC 0
Figure PCTCN2018089991-appb-000003
本实施例的抑制AEC跳变的方法,通过对第一AEC值和第二AEC值做插值计算,将插值计算的结果作为目标AEC值,能够进一步提升终端设备的拍照效果。
作为本公开实施例的另一种可能的实现方式,参见图4,在图1所示实施例的基础上,步骤105具体包括以下子步骤:
步骤401,对第一AEC值和第二AEC值进行加权计算。
作为本公开实施例的一种可能的实现方式,可以预先建立变焦倍数与第一AEC值的第一权重和第二AEC值的第二权重之间的映射关系。从而在确定目标变焦倍数后,通过查询上述映射关系,即可获取第一AEC值的第一权重和第二AEC值的第二权重。
例如,通过查询映射关系,获取与目标变焦倍数对应的第一AEC值的第一权重为α,第二AEC值的第二权重为β,则对第一AEC值和第二AEC值进行加权计算,可以得到:α*AEC 1+β*AEC 2
步骤402,将加权计算的结果作为目标AEC值。
可选地,标记目标AEC值为AEC 0,则目标AEC值为:
AEC 0=α*AEC 1+β*AEC 2; (3)
本实施例的抑制AEC跳变的方法,通过对第一AEC值和第二AEC值进行加权计算,将加权计算的结果作为目标AEC值,能够进一步提升终端设备的拍照效果。
作为本公开实施例的一种可能的实现方式,参见图5,在图1-4所示实施例的基础上,步骤101具体包括以下步骤:
步骤501,对用于切换变焦倍数的切换指令进行监听;其中,切换指令中携带当前变焦倍数和切换后的目标变焦倍数。
其中,切换指令中携带当前变焦倍数和切换后的目标变焦倍数,切换指令可以为用户触发的,例如,当用户想要从远景切换为近景时,可以触发切换指令,以将长焦镜头切换为广角镜头,或者,当用户想从近景切换为远景时,可以触发切换指令,以将广角镜头切换为长焦镜头,对此不作限制。
可选地,终端设备可以实时对用于切换变焦倍数的切换指令进行监听,以切换摄像装置的镜头。关于切换指令的监听过程介绍可见上述实施例中相关内容的记载,此处不再赘述。
步骤502,当监听到切换指令后,从切换指令中提取目标变焦倍数。
由于切换指令中携带当前变焦倍数和切换后的目标变焦倍数,当监听到切换指令后, 可以从切换指令中提取目标变焦倍数。
本实施例的抑制AEC跳变的方法,通过对用于切换变焦倍数的切换指令进行监听;其中,切换指令中携带当前变焦倍数和切换后的目标变焦倍数,当监听到切换指令后,从切换指令中提取目标变焦倍数,能够实现在切换变焦倍数时,加快AEC收敛。
为了实现上述实施例,本公开还提出一种抑制AEC跳变的装置。
图6为本公开实施例所提供的一种抑制AEC跳变的装置的结构示意图。
参见图6,该抑制AEC跳变的装置包括:第一获取模块610、第一判断模块620、第一控制模块630、第二获取模块640,以及确定模块650。其中,
第一获取模块610,用于获取摄像装置试图切换的目标变焦倍数。
具体实现时,第一获取模块610,具体用于:对用于切换变焦倍数的切换指令进行监听;其中,切换指令中携带当前变焦倍数和切换后的目标变焦倍数;当监听到切换指令后,从切换指令中提取目标变焦倍数。
第一判断模块620,用于判断目标变焦倍数是否处于目标范围内。
第一控制模块630,用于如果目标变焦倍数处于目标范围内,则控制同时开启广角镜头和长焦镜头。
第二获取模块640,用于获取广角镜头的第一AEC值和长焦镜头的第二AEC值。
确定模块650,用于根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。
作为本公开实施例的一种可能的实现方式,确定模块650,具体用于:对第一AEC值和第二AEC值做插值计算;将插值计算的结果作为目标AEC值。
作为本公开实施例的另一种可能的实现方式,确定模块650,具体用于:对第一AEC值和第二AEC值进行加权计算;将加权计算的结果作为目标AEC值。
具体实现时,确定模块650,具体用于:根据目标变焦倍数,查询获取第一AEC值的第一权重和第二AEC值的第二权重;根据第一权重和第二权重对第一AEC值和第二AEC值进行加权计算。
进一步地,在本公开实施例的一种可能的实现方式中,在图6的基础上,参见图7,该抑制AEC跳变的装置还进一步包括:
第二判断模块660,用于在目标变焦倍数未处于目标范围内时,判断目标变焦倍数是否处于第一范围内。
第二控制模块670,用于在目标变焦倍数处于第一范围内时,控制开启广角镜头并获取广角镜头的第一AEC值作为目标AEC值。
第三控制模块680,用于在目标变焦倍数未处于第一范围内时,控制开启长焦镜头并 获取长焦镜头的第二AEC值作为目标AEC值。
需要说明的是,前述图1-图5实施例对抑制AEC跳变的方法实施例的解释说明也适用于该实施例的抑制AEC跳变的装置,此处不再赘述。
本实施例的抑制AEC跳变的装置,通过获取摄像装置试图切换的目标变焦倍数,在变焦倍数处于目标范围内时,控制同时开启广角镜头和长焦镜头,获取广角镜头的第一AEC值和长焦镜头的第二AEC值,根据第一AEC值和第二AEC值,确定与目标变焦倍数对应的目标AEC值。本实施例中,当目标变焦倍数在设定的范围内,可以同时开启两个镜头,提前将两个镜头的AEC值进行融合,从而能够改善镜头切换时发生AEC亮度的跳变问题,提升拍摄效果,提升用户体验。
为了实现上述实施例,本公开还提出一种终端设备。
图8为本公开实施例所提供的一种终端设备的结构示意图。
参见图8,该终端设备800包括以下一个或多个组件:壳体801和位于壳体801内的处理器802、存储器803和摄像模组804。
其中,处理器802通过读取存储器803中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于实现如上述前述实施例提出的抑制AEC跳变的方法。
本公开还提出一种计算机可读存储介质,其上存储有计算机程序,当该计算机程序被处理器执行时能够实现如前述实施例提出的抑制AEC跳变的方法。
本公开还提出一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如前述实施例提出的抑制AEC跳变的方法。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分, 并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (17)

  1. 一种抑制AEC跳变的方法,其特征在于,包括:
    获取摄像装置试图切换的目标变焦倍数;
    判断所述目标变焦倍数是否处于预设的目标范围内;
    如果所述变焦倍数处于所述目标范围内,则控制同时开启广角镜头和长焦镜头;
    获取所述广角镜头的第一AEC值和所述长焦镜头的第二AEC值;
    根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值。
  2. 根据权利要求1所述的抑制AEC跳变的方法,其特征在于,所述根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值,包括:
    对所述第一AEC值和所述第二AEC值做插值计算;
    将插值计算的结果作为所述目标AEC值。
  3. 根据权利要求1所述的抑制AEC跳变的方法,其特征在于,所述根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值,包括:
    对所述第一AEC值和所述第二AEC值进行加权计算;
    将加权计算的结果作为所述目标AEC值。
  4. 根据权利要求3所述的抑制AEC跳变的方法,其特征在于,所述对所述第一AEC值和所述第二AEC值进行加权计算,包括:
    根据所述目标变焦倍数,查询获取所述第一AEC值的第一权重和所述第二AEC值的第二权重;
    根据所述第一权重和所述第二权重对所述第一AEC值和所述第二AEC值进行加权计算。
  5. 根据权利要求1-4任一项所述的抑制AEC跳变的方法,其特征在于,所述获取摄像装置试图切换的目标变焦倍数,包括:
    对用于切换变焦倍数的切换指令进行监听;其中,所述切换指令中携带当前变焦倍数和切换后的所述目标变焦倍数;
    当监听到所述切换指令后,从所述切换指令中提取所述目标变焦倍数。
  6. 根据权利要求1-5任一项所述的抑制AEC跳变的方法,其特征在于,还包括:
    如果所述目标变焦倍数未处于所述目标范围内,判断所述目标变焦倍数是否处于第一范围内;
    如果所述目标变焦倍数处于所述第一范围内,则控制开启广角镜头并获取所述广角镜头的所述第一AEC值作为所述目标AEC值;
    如果所述目标变焦倍数未处于所述第一范围内,则控制开启长焦镜头并获取所述长焦 镜头的所述第二AEC值作为所述目标AEC值。
  7. 根据权利要求1-6任一项所述的抑制AEC跳变的方法,其特征在于,所述第一AEC值为所述广角镜头收敛至平稳状态下的AEC值,所述第二AEC值为所述长焦镜头收敛至平稳状态下的AEC值。
  8. 一种抑制AEC跳变的装置,其特征在于,包括:
    第一获取模块,用于获取摄像装置试图切换的目标变焦倍数;
    第一判断模块,用于判断所述目标变焦倍数是否处于目标范围内;
    第一控制模块,用于如果所述目标变焦倍数处于所述目标范围内,则控制同时开启广角镜头和长焦镜头;
    第二获取模块,用于获取所述广角镜头的第一AEC值和所述长焦镜头的第二AEC值;
    确定模块,用于根据所述第一AEC值和所述第二AEC值,确定与所述目标变焦倍数对应的目标AEC值。
  9. 根据权利要求8所述的抑制AEC跳变的装置,其特征在于,还包括:
    第二判断模块,用于在所述目标变焦倍数未处于所述目标范围内时,判断所述目标变焦倍数是否处于第一范围内;
    第二控制模块,用于在所述目标变焦倍数处于所述第一范围内时,控制开启广角镜头并获取所述广角镜头的所述第一AEC值作为所述目标AEC值;
    第三控制模块,用于在所述目标变焦倍数未处于所述第一范围内时,控制开启长焦镜头并获取所述长焦镜头的所述第二AEC值作为所述目标AEC值。
  10. 根据权利要求8所述的抑制AEC跳变的装置,其特征在于,所述确定模块,具体用于:
    对所述第一AEC值和所述第二AEC值进行加权计算;
    将加权计算的结果作为所述目标AEC值。
  11. 根据权利要求10所述的抑制AEC跳变的装置,其特征在于,所述确定模块,还用于:
    根据所述目标变焦倍数,查询获取所述第一AEC值的第一权重和所述第二AEC值的第二权重;
    根据所述第一权重和所述第二权重对所述第一AEC值和所述第二AEC值进行加权计算。
  12. 根据权利要求8-11任一项所述的抑制AEC跳变的装置,其特征在于,所述第一获取模块,具体用于:
    对用于切换变焦倍数的切换指令进行监听;其中,所述切换指令中携带当前变焦倍数和切换后的所述目标变焦倍数;
    当监听到所述切换指令后,从所述切换指令中提取所述目标变焦倍数。
  13. 根据权利要求8-12任一项所述的抑制AEC跳变的装置,其特征在于,还包括:
    第二判断模块,用于在所述目标变焦倍数未处于所述目标范围内时,判断所述目标变焦倍数是否处于第一范围内;
    第二控制模块,用于在所述目标变焦倍数处于所述第一范围内时,控制开启广角镜头并获取所述广角镜头的所述第一AEC值作为所述目标AEC值;
    第三控制模块,用于在所述目标变焦倍数未处于所述第一范围内时,控制开启长焦镜头并获取所述长焦镜头的所述第二AEC值作为所述目标AEC值。
  14. 根据权利要求8-13任一项所述的抑制AEC跳变的装置,其特征在于,所述第一AEC值为所述广角镜头收敛至平稳状态下的AEC值,所述第二AEC值为所述长焦镜头收敛至平稳状态下的AEC值。
  15. 一种终端设备,其特征在于,包括以下一个或多个组件:壳体和位于所述壳体内的处理器、存储器和摄像模组,其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如权利要求1-7中任一所述的抑制AEC跳变的方法。
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1-7中任一项所述的抑制AEC跳变的方法。
  17. 一种计算机程序产品,其特征在于,当所述计算机程序产品中的指令由处理器执行时,执行如权利要求1-7中任一所述的抑制AEC跳变的方法。
PCT/CN2018/089991 2017-07-10 2018-06-05 抑制aec跳变的方法及装置、终端设备 WO2019011079A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US16/630,332 US10819913B2 (en) 2017-07-10 2018-06-05 Method and apparatus for inhibiting AEC jump, and terminal device
EP22165770.3A EP4040776A1 (en) 2017-07-10 2018-06-05 Method and apparatus for inhibiting aec value jump, and terminal device
EP18832253.1A EP3641301B1 (en) 2017-07-10 2018-06-05 Method and apparatus for inhibiting aec jump, and terminal device
ES18832253T ES2920128T3 (es) 2017-07-10 2018-06-05 Método y aparato para inhibir el salto de AEC y dispositivo terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710557841.6A CN107343155B (zh) 2017-07-10 2017-07-10 抑制aec跳变的方法及装置、终端设备
CN201710557841.6 2017-07-10

Publications (1)

Publication Number Publication Date
WO2019011079A1 true WO2019011079A1 (zh) 2019-01-17

Family

ID=60219073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089991 WO2019011079A1 (zh) 2017-07-10 2018-06-05 抑制aec跳变的方法及装置、终端设备

Country Status (5)

Country Link
US (1) US10819913B2 (zh)
EP (2) EP4040776A1 (zh)
CN (1) CN107343155B (zh)
ES (1) ES2920128T3 (zh)
WO (1) WO2019011079A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343155B (zh) * 2017-07-10 2019-03-29 Oppo广东移动通信有限公司 抑制aec跳变的方法及装置、终端设备
CN107343158A (zh) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 加快aec收敛的方法及装置、终端设备
US10764512B2 (en) * 2018-03-26 2020-09-01 Mediatek Inc. Method of image fusion on camera device equipped with multiple cameras
CN111131662B (zh) * 2018-10-31 2021-09-24 杭州海康威视数字技术股份有限公司 图像输出方法、装置、摄像机及存储介质
WO2021026734A1 (zh) * 2019-08-12 2021-02-18 Oppo广东移动通信有限公司 控制方法、成像模组、电子设备和计算机可读存储介质
CN110809101B (zh) * 2019-11-04 2022-05-17 RealMe重庆移动通信有限公司 图像变焦处理方法及装置、电子设备、存储介质
CN112824949A (zh) * 2019-11-15 2021-05-21 西安光启未来技术研究院 切换镜头的方法及可变长焦一体化机芯
CN111432143B (zh) * 2020-04-10 2022-08-16 展讯通信(上海)有限公司 摄像头模组切换的控制方法、系统、介质及电子设备
CN111563552B (zh) * 2020-05-06 2023-09-05 浙江大华技术股份有限公司 图像融合方法以及相关设备、装置
CN114520870B (zh) * 2020-11-20 2023-06-20 华为技术有限公司 一种显示方法及终端
CN114286003A (zh) * 2021-12-28 2022-04-05 维沃移动通信有限公司 拍摄方法、拍摄装置和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085475A1 (en) * 2002-10-31 2004-05-06 Motorola, Inc. Automatic exposure control system for a digital camera
CN105959553A (zh) * 2016-05-30 2016-09-21 维沃移动通信有限公司 一种摄像头的切换方法及终端
CN106341611A (zh) * 2016-11-29 2017-01-18 广东欧珀移动通信有限公司 控制方法、控制装置及电子装置
CN106713887A (zh) * 2017-01-03 2017-05-24 捷开通讯(深圳)有限公司 移动终端及白平衡调节方法
CN107343155A (zh) * 2017-07-10 2017-11-10 广东欧珀移动通信有限公司 抑制aec跳变的方法及装置、终端设备
CN107483808A (zh) * 2017-07-10 2017-12-15 广东欧珀移动通信有限公司 抑制aec跳变的方法及装置、终端设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0486628A (ja) * 1990-07-27 1992-03-19 Minolta Camera Co Ltd カメラの自動露出制御装置
JP4573725B2 (ja) * 2005-08-01 2010-11-04 イーストマン コダック カンパニー 複数光学系を有する撮像装置
JP2008172523A (ja) 2007-01-11 2008-07-24 Fujifilm Corp 多焦点カメラ装置及びそれに用いられる制御方法並びにプログラム
JP4861234B2 (ja) * 2007-04-13 2012-01-25 株式会社エルモ社 露出制御方法及び撮像装置
JP5414357B2 (ja) * 2009-05-20 2014-02-12 キヤノン株式会社 撮像装置および再生装置
JP5450200B2 (ja) 2009-07-17 2014-03-26 富士フイルム株式会社 撮像装置、方法およびプログラム
CN101634796A (zh) * 2009-08-20 2010-01-27 上海合合信息科技发展有限公司 相机自动变焦方法及系统
CN108234851B (zh) 2013-06-13 2019-08-16 核心光电有限公司 双孔径变焦数字摄影机
JP2015233258A (ja) * 2014-06-11 2015-12-24 キヤノン株式会社 画像撮影装置
US20160227100A1 (en) * 2015-01-29 2016-08-04 Qualcomm Incorporated Dual camera systems and methods for rapid 3a convergence and high dynamic range exposure metering
US9800798B2 (en) 2015-02-13 2017-10-24 Qualcomm Incorporated Systems and methods for power optimization for imaging devices with dual cameras
CN105847660A (zh) * 2015-06-01 2016-08-10 维沃移动通信有限公司 一种动态变焦方法、装置及智能终端
CN107454344B (zh) 2015-06-15 2019-05-24 Oppo广东移动通信有限公司 一种拍摄参数设置方法和用户终端
CN105681668B (zh) 2016-02-29 2019-02-12 Oppo广东移动通信有限公司 控制方法、控制装置及电子装置
CN106385541A (zh) * 2016-09-30 2017-02-08 虹软(杭州)科技有限公司 利用广角摄像组件及长焦摄像组件实现变焦的方法
US10057499B1 (en) * 2017-02-21 2018-08-21 Motorola Mobility Llc Automatic exposure control convergence procedure by auxiliary camera
US10681273B2 (en) * 2017-08-24 2020-06-09 Samsung Electronics Co., Ltd. Mobile device including multiple cameras

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085475A1 (en) * 2002-10-31 2004-05-06 Motorola, Inc. Automatic exposure control system for a digital camera
CN105959553A (zh) * 2016-05-30 2016-09-21 维沃移动通信有限公司 一种摄像头的切换方法及终端
CN106341611A (zh) * 2016-11-29 2017-01-18 广东欧珀移动通信有限公司 控制方法、控制装置及电子装置
CN106713887A (zh) * 2017-01-03 2017-05-24 捷开通讯(深圳)有限公司 移动终端及白平衡调节方法
CN107343155A (zh) * 2017-07-10 2017-11-10 广东欧珀移动通信有限公司 抑制aec跳变的方法及装置、终端设备
CN107483808A (zh) * 2017-07-10 2017-12-15 广东欧珀移动通信有限公司 抑制aec跳变的方法及装置、终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3641301A4 *

Also Published As

Publication number Publication date
EP3641301A4 (en) 2020-05-20
EP3641301A1 (en) 2020-04-22
EP4040776A1 (en) 2022-08-10
US10819913B2 (en) 2020-10-27
CN107343155B (zh) 2019-03-29
US20200162675A1 (en) 2020-05-21
CN107343155A (zh) 2017-11-10
EP3641301B1 (en) 2022-05-11
ES2920128T3 (es) 2022-08-01

Similar Documents

Publication Publication Date Title
WO2019011079A1 (zh) 抑制aec跳变的方法及装置、终端设备
CN107483808B (zh) 抑制aec跳变的方法及装置、终端设备
WO2021073331A1 (zh) 基于终端设备的变焦虚化图像获取方法和装置
US10447874B2 (en) Display control device and display control method for automatic display of an image
EP3328063A1 (en) Control method, control device and electronic device
CN107950018B (zh) 图像生成方法和系统、以及计算机可读介质
EP3661183B1 (en) Method and apparatus for accelerating aec convergence, and terminal device
US10587809B2 (en) Continuous shooting device, continuous shooting method and continuous shooting control method using preliminary and calculated parameter values
US10958844B2 (en) Control apparatus and control method
JP2015103852A (ja) 画像処理装置、撮像装置、画像処理装置の制御方法、画像処理装置の制御プログラム及び記憶媒体
JP6589635B2 (ja) 撮像装置および方法、並びにプログラム
CN113473018B (zh) 一种视频拍摄方法、装置、拍摄终端和存储介质
JP6188474B2 (ja) ズーム制御装置、ズーム制御装置の制御方法、ズーム制御装置の制御プログラムおよび記憶媒体
JP2013017218A (ja) 画像処理装置、画像処理方法及びプログラム
JP6057608B2 (ja) 焦点調節装置及びその制御方法
CN105007410A (zh) 一种大视角摄像头控制方法及用户终端
JP6465566B2 (ja) 撮像装置及び撮像方法
US20190109992A1 (en) Control apparatus, imaging apparatus, control method, and storage medium
CN104994282A (zh) 一种大视角摄像头控制方法及用户终端
JP6164978B2 (ja) 焦点調整装置、その制御方法、および制御プログラム、並びに撮像装置
JP2018026683A (ja) 撮像装置、その制御方法およびプログラム
WO2019134513A1 (zh) 拍照对焦方法、装置、存储介质及电子设备
JP2016010075A (ja) 撮像装置
CN116320743A (zh) 对象识别方法、装置、电子设备以及计算机存储介质
JP6632441B2 (ja) 撮像装置およびその制御方法

Legal Events

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

Ref document number: 18832253

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018832253

Country of ref document: EP

Effective date: 20200114