WO2018018928A1 - 移动终端的对焦处理方法、装置及移动终端 - Google Patents

移动终端的对焦处理方法、装置及移动终端 Download PDF

Info

Publication number
WO2018018928A1
WO2018018928A1 PCT/CN2017/079382 CN2017079382W WO2018018928A1 WO 2018018928 A1 WO2018018928 A1 WO 2018018928A1 CN 2017079382 W CN2017079382 W CN 2017079382W WO 2018018928 A1 WO2018018928 A1 WO 2018018928A1
Authority
WO
WIPO (PCT)
Prior art keywords
focus
mobile terminal
processing
focusing
module
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/079382
Other languages
English (en)
French (fr)
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2018018928A1 publication Critical patent/WO2018018928A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a focus processing method and apparatus for a mobile terminal, and a mobile terminal.
  • the focus can only be used to focus and cannot be used to display images. Too many focus points will affect the quality of the image taken. The higher the focus density, the more precise the focus, but the image obtained by taking pictures The worse the quality.
  • the present invention aims to solve at least one of the technical problems in the related art to some extent.
  • an object of the present invention is to provide a focus processing method for a mobile terminal, which can realize multiplexing of focus points by moving the imaging module, thereby increasing focus precision.
  • Another object of the present invention is to provide a focus processing apparatus for a mobile terminal.
  • Another object of the present invention is to provide a mobile terminal.
  • a focus processing method for a mobile terminal includes: determining whether focus processing is required; and when performing the focus processing, controlling an imaging module to start from an initial position and moving at least Once, and at each position after the movement, the photographing scene is subjected to focusing processing; wherein the adjacent two moved positions are separated by a preset number of pixels.
  • the focus processing method of the mobile terminal controls the imaging module to move from the initial position at least once when the focus processing needs to be performed, and to treat the photographed scene at each moved position.
  • the focus processing can realize the multiplexing of the focus points by moving the imaging module, thereby increasing the focusing accuracy.
  • a focus processing apparatus for a mobile terminal includes: a first determining module, configured to determine whether a focus processing is required; and a control module, when the focus processing is required
  • the control imaging module starts from the initial position and moves at least once, and performs focusing processing on the photographed scene at each moved position; wherein the adjacent two moved positions are separated by a preset number of pixels.
  • the focus processing device of the mobile terminal controls the imaging module to start from the initial position and move at least once when the focus processing is required, and to focus on the photographed scene at each moved position.
  • the processing can realize multiplexing of the focus points by moving the imaging module, thereby increasing the focusing accuracy.
  • a mobile terminal includes a housing and an imaging module, wherein the imaging module is located in the housing, and the imaging module includes: a MEMS, an imaging sensor, and a lens. a processor and a memory for storing executable program code; the processor executing by reading executable program code stored in the memory: determining whether focus processing is required; controlling the imaging mode when the focus processing is required The group starts from the initial position, moves at least once, and performs focusing processing on the photographed scene at each moved position; wherein, the adjacent two moved positions are separated by a preset number of pixels.
  • the mobile terminal provided by the embodiment of the third aspect of the present invention can control the imaging module to start from the initial position and move at least once when the focus processing needs to be performed, and perform focusing processing on the photographed scene at each moved position, thereby realizing The focus is multiplexed by moving the imaging module to increase focus accuracy.
  • FIG. 1 is a schematic flowchart of a focus processing method of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a focus processing method of a mobile terminal according to another embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a moving area of an imaging module in an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a focus processing method of a mobile terminal according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a focus processing apparatus of a mobile terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a focus processing apparatus of a mobile terminal according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flow chart of a focus processing method of a mobile terminal according to an embodiment of the present invention.
  • a mobile terminal (such as a mobile phone) having a shooting function is taken as an example, and an imaging module is disposed in the mobile terminal to perform photographing.
  • MEMS micro electro mechanical system
  • the imaging module When the MEMS is applied to an imaging module, the imaging module includes: a module such as a MEMS, an imaging sensor, and a lens.
  • MEMS is equipped with an imaging sensor, and the MEMS can be driven by an imaging sensor driven by a driving voltage.
  • the MEMS will carry all the other modules in the imaging module, so that the imaging module can move as a whole.
  • the focus processing method of the mobile terminal includes:
  • the condition that the focus processing needs to be performed may be set in advance, and when the condition is satisfied, it is judged that the focus processing is required.
  • the state information of the focus motor built in the mobile terminal when the mobile terminal performs the focus processing on the image to be photographed at the initial position may be acquired; determining whether the state information satisfies the preset condition; when the state information satisfies the preset condition , to determine the need to focus processing.
  • the preset number of pixels may be set according to an external instruction, and the scene to be photographed is subjected to focusing processing at the initial position to determine whether the mobile terminal needs to perform focusing processing.
  • the initial position is the position of the imaging module in the mobile terminal when the first focus processing is performed on the scene to be photographed.
  • S11 specifically includes:
  • S21 Obtain status information of the focus motor built in the mobile terminal when the mobile terminal performs focusing processing on the photographing scene at the initial position.
  • the status information is the number of round trips of the focus motor.
  • the scene to be photographed is a scene, a person, a scene, or the like that can be recorded by the user using the mobile terminal.
  • the number of round trips of the focus motor built in the mobile terminal is obtained.
  • the preset condition may be that the number of round trips of the focus motor reaches a preset threshold, wherein the preset threshold may be preset by a factory program of the mobile terminal, or the preset threshold may also be set by the user. There is no limit to this.
  • the preset threshold may also be set according to experience or the like.
  • the number of round trips of the focus motor built in the mobile terminal is obtained. If the number of round trips of the focus motor reaches a preset threshold, indicating that the environment is difficult to focus or the focus position is not in the regular cross focus area, focus processing is required. If the number of round trips of the focus motor does not reach the preset threshold, it indicates that the focus position is in the normal cross focus area, and no focus processing is required at this time.
  • the state information of the focus motor built in the mobile terminal determines that the focus processing needs to be performed when the state information satisfies the preset condition, and the focus fails. In the case, the focus processing is triggered to increase the focus accuracy.
  • control imaging module starts from the initial position, moves at least once, and performs focusing processing on the photographed scene at each moved position.
  • the adjacent two moved positions are separated by a preset number of pixels.
  • FIG. 3 is a schematic diagram of a moving area of an imaging module according to an embodiment of the present invention.
  • the number of the to-be-photographed scenes may be divided into numerous times according to a multiple of 4, and the number of preset blocks is obtained, and each block is The moving position of the imaging module, press Move the imaging module clockwise or counterclockwise. After moving to a block, focus on the scene to be photographed after moving, and gradually cover different blocks to realize the complex focus by moving the imaging module. Use until the focus is successful.
  • the entire imaging module is moved, not just the position of the moving imaging sensor. Since the focusing effect is related to the position of the lens, the overall moving imaging module can be improved. Focusing effect.
  • the focus processing method of the mobile terminal further includes:
  • the focus processing is stopped, and the endurance capability of the mobile terminal can be increased.
  • the endurance capability of the mobile terminal can be increased.
  • the above-mentioned steps may be used to perform the focusing process to further increase the number of the focus points and enhance the focusing effect, which is not limited thereto.
  • the focus motor built in the mobile terminal records with respect to the stroke length at the initial position to generate a focus map, and the next time the focus is taken, the focus map can be preferred. Selecting the appropriate target focus position and controlling the imaging module to move from the initial position to the target focus position can effectively improve the focusing efficiency and enhance the user experience, which is not limited.
  • the imaging module when the focusing process needs to be performed, the imaging module is controlled to start from the initial position, move at least once, and the image to be photographed is processed at each moved position, so that the moving imaging module can be realized.
  • the focus is multiplexed to increase focus accuracy.
  • FIG. 5 is a schematic structural diagram of a focus processing apparatus of a mobile terminal according to an embodiment of the present invention.
  • the focus processing apparatus 500 of the mobile terminal includes a first judging module 510 and a control module 520. among them,
  • the first determining module 510 is configured to determine whether a focus process needs to be performed.
  • the control module 520 is configured to control the imaging module to start at least once from the initial position when the focus processing is required, and perform focusing processing on the photographed scene at each moved position.
  • control module 520 is configured to control the imaging module to move in a random direction each time it moves.
  • the adjacent two moved positions are separated by a preset number of pixels.
  • the focus processing apparatus 500 of the mobile terminal further includes:
  • the processing module 530 is configured to perform a focus process on the image to be photographed at an initial position.
  • the first determining module 510 includes:
  • the obtaining sub-module 511 is configured to acquire state information of the focus motor built in the mobile terminal when the mobile terminal performs focusing processing on the image to be photographed at the initial position.
  • the status information is the number of round trips of the focus motor.
  • the first determining sub-module 512 is configured to determine whether the status information meets a preset condition.
  • condition is that the number of round trips of the focus motor reaches a preset threshold.
  • the second determining sub-module 513 is configured to determine that the focusing process needs to be performed when the state information meets the preset condition.
  • the setting module 540 is configured to set a preset number of pixels according to an external instruction.
  • the second determining module 550 is configured to determine whether the focus is successful.
  • the stop module 560 is configured to stop the focusing process when the focus is successful.
  • the imaging module when the focusing process needs to be performed, the imaging module is controlled to start from the initial position, move at least once, and the image to be photographed is processed at each moved position, so that the moving imaging module can be realized.
  • the focus is multiplexed to increase focus accuracy.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 70 includes a housing 71 and an imaging module 72.
  • the imaging module is located in the housing.
  • the imaging module includes: a MEMS 721, an imaging sensor 722, a lens 723, and a processor 724. And a memory 725 for storing executable program code; the processor 724 executing by reading the executable program code stored in the memory 725 to:
  • the condition that the focus processing needs to be performed may be set in advance, and when the condition is satisfied, it is judged that the focus processing is required.
  • the state information of the focus motor built in the mobile terminal when the mobile terminal performs the focus processing on the image to be photographed at the initial position may be acquired; determining whether the state information satisfies the preset condition; when the state information satisfies the preset condition , to determine the need to focus processing.
  • the preset number of pixels may be set according to an external instruction, and the scene to be photographed is subjected to focusing processing at the initial position to determine whether the mobile terminal needs to perform focusing processing.
  • the initial position is the position of the imaging module in the mobile terminal when the first focus processing is performed on the scene to be photographed.
  • the processor runs and executes the executable program by reading executable program code stored in the memory.
  • the program corresponding to the code is used to perform the following steps:
  • S21' acquiring state information of the focus motor built in the mobile terminal when the mobile terminal performs focusing processing on the photographing scene at the initial position.
  • the status information is the number of round trips of the focus motor.
  • the scene to be photographed is a scene, a person, a scene, or the like that can be recorded by the user using the mobile terminal.
  • the number of round trips of the focus motor built in the mobile terminal is obtained.
  • the preset condition may be that the number of round trips of the focus motor reaches a preset threshold, wherein the preset threshold may be preset by a factory program of the mobile terminal, or the preset threshold may also be set by the user. There is no limit to this.
  • the preset threshold may also be set according to experience or the like.
  • the number of round trips of the focus motor built in the mobile terminal is obtained. If the number of round trips of the focus motor reaches a preset threshold, indicating that the environment is difficult to focus or the focus position is not in the regular cross focus area, focus processing is required. If the number of round trips of the focus motor does not reach the preset threshold, it indicates that the focus position is in the normal cross focus area, and no focus processing is required at this time.
  • the state information of the focus motor built in the mobile terminal determines that the focus processing needs to be performed when the state information satisfies the preset condition, and the focus fails. In the case, the focus processing is triggered to increase the focus accuracy.
  • the adjacent two moved positions are separated by a preset number of pixels.
  • FIG. 3 is a schematic diagram of a moving area of an imaging module according to an embodiment of the present invention.
  • the number of the to-be-photographed scenes may be divided into numerous times according to a multiple of 4, and the number of preset blocks is obtained, and each block is
  • the moving position of the imaging module moves the imaging module clockwise or counterclockwise. After moving to a block, the image is taken after the movement.
  • the focus processing is performed to gradually cover different blocks, and the focus is reused by moving the imaging module until the focus is successful.
  • the entire imaging module is moved, not just the position of the moving imaging sensor. Since the focusing effect is related to the position of the lens, the overall moving imaging module can be improved. Focusing effect.
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for performing the following steps:
  • the focus processing is stopped, and the endurance capability of the mobile terminal can be increased.
  • the endurance capability of the mobile terminal can be increased.
  • the above-mentioned steps may be used to perform the focusing process to further increase the number of the focus points and enhance the focusing effect, which is not limited thereto.
  • the focus motor built in the mobile terminal records with respect to the stroke length at the initial position to generate a focus map, and the next time the focus is taken, the focus map can be preferred. Selecting the appropriate target focus position and controlling the imaging module to move from the initial position to the target focus position can effectively improve the focusing efficiency and enhance the user experience, which is not limited.
  • the imaging module when the focusing process needs to be performed, the imaging module is controlled to start from the initial position, move at least once, and the image to be photographed is processed at each moved position, so that the moving imaging module can be realized.
  • the focus is multiplexed to increase focus accuracy.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
  • the module or module of the embodiment of the present invention may be a general-purpose integrated circuit (such as a central processing unit CPU) or a dedicated integrated circuit. Road (ASIC) to achieve.
  • a general-purpose integrated circuit such as a central processing unit CPU
  • ASIC dedicated integrated circuit. Road

Landscapes

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

Abstract

本发明提出一种移动终端的对焦处理方法、装置及移动终端,该方法包括判断是否需要进行对焦处理;在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;其中,相邻的两个移动后的位置间隔预设像素个数。通过本发明能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。

Description

移动终端的对焦处理方法、装置及移动终端
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2016年7月29日提交的、发明名称为“移动终端的对焦处理方法、装置及移动终端”的、中国专利申请号“201610615736.9”的优先权。
技术领域
本发明涉及移动终端技术领域,尤其涉及一种移动终端的对焦处理方法、装置及移动终端。
背景技术
在移动终端对待拍照景象进行拍照的过程中,需要首先对待拍照景象进行对焦处理,相关技术中,除了正常的像素点外,需要嵌入特别的感光元件作为对焦之用,嵌入的相位差感光元件越多,对焦点越多,对焦越精准。
这种方式下,对焦点只能用来进行对焦而不能用来显示图像,过多的对焦点会影响拍照所得图像的质量,对焦点的密度越高,对焦越精准,但是,拍照所得图像的质量越差。
发明内容
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本发明的一个目的在于提出一种移动终端的对焦处理方法,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
本发明的另一个目的在于提出一种移动终端的对焦处理装置。
本发明的另一个目的在于提出一种移动终端。
为达到上述目的,本发明第一方面实施例提出的移动终端的对焦处理方法,包括:判断是否需要进行对焦处理;在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;其中,相邻的两个移动后的位置间隔预设像素个数。
本发明第一方面实施例提出的移动终端的对焦处理方法,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对 焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
为达到上述目的,本发明第二方面实施例提出的移动终端的对焦处理装置,包括:第一判断模块,用于判断是否需要进行对焦处理;控制模块,用于在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;其中,相邻的两个移动后的位置间隔预设像素个数。
本发明第二方面实施例提出的移动终端的对焦处理装置,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
为达到上述目的,本发明第三方面实施例提出的移动终端,包括:壳体和成像模组,所述成像模组位于所述壳体内,所述成像模组包括:MEMS、成像传感器、镜头、处理器和存储器,存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码以执行:判断是否需要进行对焦处理;在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;其中,相邻的两个移动后的位置间隔预设像素个数。
本发明第三方面实施例提出的移动终端,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一实施例提出的移动终端的对焦处理方法的流程示意图;
图2是本发明另一实施例提出的移动终端的对焦处理方法的流程示意图;
图3是本发明实施例中成像模组的移动区域示意图;
图4是本发明另一实施例提出的移动终端的对焦处理方法的流程示意图;
图5是本发明一实施例提出的移动终端的对焦处理装置的结构示意图;
图6是本发明另一实施例提出的移动终端的对焦处理装置的结构示意图;
图7是本发明一实施例提出的移动终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
图1是本发明一实施例提出的移动终端的对焦处理方法的流程示意图。
本实施例以具有拍摄功能的移动终端(如手机)为例,在移动终端内设置有成像模组,以进行拍照。
随着移动终端的发展,移动终端内的硬件也在不断升级,比如,在移动终端内采用了微机电系统(Micro Electro Mechanical System,MEMS)。MEMS可以应用在多种模组中。
当将MEMS应用于成像模组时,成像模组包括:MEMS、成像传感器、镜头等模块。
通常来讲,MEMS是搭载成像传感器的,MEMS在驱动电压的驱动下可以搭载成像传感器进行移动。
而本实施例中,MEMS会搭载成像模组中的所有其他模块,从而成像模组可以以整体进行移动。
参见图1,该移动终端的对焦处理方法包括:
S11:判断是否需要进行对焦处理。
其中,可以预先设置需要进行对焦处理的条件,当满足该条件时判断需要进行对焦处理。
在本发明的实施例中,可以获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息;判断状态信息是否满足预设条件;在状态信息满足预设条件时,判断需要进行对焦处理。
在本发明的实施例中,在判断是否需要进行对焦处理之前,可以根据外部指令设置预设像素个数,在初始位置对待拍照景象进行对焦处理,判断移动终端是否需要进行对焦处理。
其中,初始位置为对待拍照景象进行首次对焦处理时,成像模组在移动终端中的位置。
可选地,一些实施例中,参见图2,S11具体包括:
S21:获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息。
其中,状态信息为对焦马达的往返次数。
在本发明的实施例中,待拍照景象为可以为用户使用移动终端对其进行录制的场景、人物、景物等。
可选地,在初始位置对待拍照景象进行对焦处理时,获取移动终端内置的对焦马达的往返次数。
S22:判断状态信息是否满足预设条件。
在本发明的实施例中,预设条件可以为对焦马达的往返次数达到预设阈值,其中,预设阈值可以由移动终端的出厂程序预先设定,或者,预设阈值也可以由用户进行设置,对此不作限制。
进一步地,预设阈值也可以根据经验等设置。
可选地,获取移动终端内置的对焦马达的往返次数,如果对焦马达的往返次数达到预设阈值,表明此时的环境难以对焦或是对焦的位置不在常规的十字对焦区域,则需要进行对焦处理,如果对焦马达的往返次数未达到预设阈值,表明对焦的位置在常规的十字对焦区域,此时无需进行对焦处理。
S23:在状态信息满足预设条件时,判断需要进行对焦处理。
可选地,在对焦马达的往返次数达到预设阈值时,判断需要进行对焦处理。
本实施例中,通过获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息,在状态信息满足预设条件时,判断需要进行对焦处理,能够在对焦失败的情况下,触发对焦处理,增加对焦精度。
S12:在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理。
其中,相邻的两个移动后的位置间隔预设像素个数。
在本发明的实施例中,可以在每次移动时向一个随机方向进行移动,例如顺时针或者逆时针移动,对此不作限制。
例如,参见图3,图3为本发明实施例中成像模组的移动区域示意图,可以按照4的倍数将待拍照景象进行无数次切分,得到预设区块个数,每个区块为成像模组的移动位置,按 照顺时针或者逆时针移动成像模组,每移动至一个区块后,在移动后的位置对待拍照景象进行对焦处理,逐步覆盖不同的区块,实现通过移动成像模组以对对焦点进行复用,直到对焦成功。
进一步的,本实施例中是对成像模组整体进行移动,而不仅仅是移动成像传感器(sensor)的位置,由于对焦效果与镜头的位置也相关,因此,通过整体移动成像模组,可以提高对焦效果。
一些实施例中,参见图4,该移动终端的对焦处理方法还包括:
S41:判断是否对焦成功。
可选地,判断是否对焦成功,在对焦未成功时,继续进行对焦处理,在对焦成功时,停止进行对焦处理。
S42:在对焦成功时,停止进行对焦处理。
可选地,在对焦成功时,停止进行对焦处理,能够增加移动终端的续航能力。
本实施例中,通过在对焦成功时,停止进行对焦处理,能够增加移动终端的续航能力。
进一步地,在停止进行对焦处理之后,如果用户触发移动终端继续对焦,则可以采用上述的步骤进行对焦处理,以进一步增加对焦点的个数,提升对焦效果,对此不作限制。
进一步地,也可以在每次对焦成功后,将对焦成功时,移动终端内置的对焦马达相对于初始位置处的行程长度进行记录,生成对焦地图,在下一次拍照进行对焦时,可以首选从对焦地图中选取合适的目标对焦位置,并控制成像模组从初始位置移动至目标对焦位置处,能够有效提升对焦效率,提升用户体验,对此不作限制。
本实施例中,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
图5是本发明一实施例提出的移动终端的对焦处理装置的结构示意图。参见图5,该移动终端的对焦处理装置500包括:第一判断模块510和控制模块520。其中,
第一判断模块510,用于判断是否需要进行对焦处理。
控制模块520,用于在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理。
可选地,控制模块520用于,在每次移动时控制成像模组向一个随机方向进行移动。
其中,相邻的两个移动后的位置间隔预设像素个数。
可选地,一些事实例中,参见图6,该移动终端的对焦处理装置500还包括:
处理模块530,用于在初始位置对待拍照景象进行对焦处理。
可选地,第一判断模块510包括:
获取子模块511,用于获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息。
可选地,状态信息为对焦马达的往返次数。
第一判断子模块512,用于判断状态信息是否满足预设条件。
可选地,设条件为对焦马达的往返次数达到预设阈值。
第二判断子模块513,用于在状态信息满足预设条件时,判断需要进行对焦处理。
设置模块540,用于根据外部指令设置预设像素个数。
第二判断模块550,用于判断是否对焦成功。
停止模块560,用于在对焦成功时,停止进行对焦处理。
需要说明的是,前述图1-图4实施例中对移动终端的对焦处理方法实施例的解释说明也适用于该实施例的移动终端的对焦处理装置,其实现原理类似,此处不再赘述。
本实施例中,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
图7是本发明一个实施例提出的移动终端的结构示意图。
参见图7,该移动终端70包括:壳体71和成像模组72,所述成像模组位于所述壳体内,所述成像模组包括:MEMS 721、成像传感器722、镜头723、处理器724和存储器725,存储器725用于存储可执行程序代码;处理器724通过读取存储器725中存储的可执行程序代码以执行:
S11’:判断是否需要进行对焦处理。
其中,可以预先设置需要进行对焦处理的条件,当满足该条件时判断需要进行对焦处理。
在本发明的实施例中,可以获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息;判断状态信息是否满足预设条件;在状态信息满足预设条件时,判断需要进行对焦处理。
在本发明的实施例中,在判断是否需要进行对焦处理之前,可以根据外部指令设置预设像素个数,在初始位置对待拍照景象进行对焦处理,判断移动终端是否需要进行对焦处理。
其中,初始位置为对待拍照景象进行首次对焦处理时,成像模组在移动终端中的位置。
另一实施例中,处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代 码对应的程序,以用于执行以下步骤:
S21’:获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息。
其中,状态信息为对焦马达的往返次数。
在本发明的实施例中,待拍照景象为可以为用户使用移动终端对其进行录制的场景、人物、景物等。
可选地,在初始位置对待拍照景象进行对焦处理时,获取移动终端内置的对焦马达的往返次数。
S22’:判断状态信息是否满足预设条件。
在本发明的实施例中,预设条件可以为对焦马达的往返次数达到预设阈值,其中,预设阈值可以由移动终端的出厂程序预先设定,或者,预设阈值也可以由用户进行设置,对此不作限制。
进一步地,预设阈值也可以根据经验等设置。
可选地,获取移动终端内置的对焦马达的往返次数,如果对焦马达的往返次数达到预设阈值,表明此时的环境难以对焦或是对焦的位置不在常规的十字对焦区域,则需要进行对焦处理,如果对焦马达的往返次数未达到预设阈值,表明对焦的位置在常规的十字对焦区域,此时无需进行对焦处理。
S23’:在状态信息满足预设条件时,判断需要进行对焦处理。
可选地,在对焦马达的往返次数达到预设阈值时,判断需要进行对焦处理。
本实施例中,通过获取移动终端在初始位置对待拍照景象进行对焦处理时,移动终端内置的对焦马达的状态信息,在状态信息满足预设条件时,判断需要进行对焦处理,能够在对焦失败的情况下,触发对焦处理,增加对焦精度。
S12’:在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理。
其中,相邻的两个移动后的位置间隔预设像素个数。
在本发明的实施例中,可以在每次移动时向一个随机方向进行移动,例如顺时针或者逆时针移动,对此不作限制。
例如,参见图3,图3为本发明实施例中成像模组的移动区域示意图,可以按照4的倍数将待拍照景象进行无数次切分,得到预设区块个数,每个区块为成像模组的移动位置,按照顺时针或者逆时针移动成像模组,每移动至一个区块后,在移动后的位置对待拍照景象进 行对焦处理,逐步覆盖不同的区块,实现通过移动成像模组以对对焦点进行复用,直到对焦成功。
进一步的,本实施例中是对成像模组整体进行移动,而不仅仅是移动成像传感器(sensor)的位置,由于对焦效果与镜头的位置也相关,因此,通过整体移动成像模组,可以提高对焦效果。
另一实施例中,处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:
S41’:判断是否对焦成功。
可选地,判断是否对焦成功,在对焦未成功时,继续进行对焦处理,在对焦成功时,停止进行对焦处理。
S42’:在对焦成功时,停止进行对焦处理。
可选地,在对焦成功时,停止进行对焦处理,能够增加移动终端的续航能力。
本实施例中,通过在对焦成功时,停止进行对焦处理,能够增加移动终端的续航能力。
进一步地,在停止进行对焦处理之后,如果用户触发移动终端继续对焦,则可以采用上述的步骤进行对焦处理,以进一步增加对焦点的个数,提升对焦效果,对此不作限制。
进一步地,也可以在每次对焦成功后,将对焦成功时,移动终端内置的对焦马达相对于初始位置处的行程长度进行记录,生成对焦地图,在下一次拍照进行对焦时,可以首选从对焦地图中选取合适的目标对焦位置,并控制成像模组从初始位置移动至目标对焦位置处,能够有效提升对焦效率,提升用户体验,对此不作限制。
本实施例中,通过在需要进行对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理,能够实现通过移动成像模组以对对焦点进行复用,进而增加对焦精度。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。
本发明实施例的模块或模块,可以以通用集成电路(如中央处理器CPU),或以专用集成电 路(ASIC)来实现。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
以上所述的实施方式,并不构成对该技术方案保护范围的限定。任何在上述实施方式的精神和原则之内所作的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。

Claims (17)

  1. 一种移动终端的对焦处理方法,其特征在于,包括以下步骤:
    判断是否需要进行对焦处理;
    在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;
    其中,相邻的两个移动后的位置间隔预设像素个数。
  2. 如权利要求1所述的移动终端的对焦处理方法,其特征在于,所述判断是否需要进行对焦处理之前,还包括:
    在所述初始位置对所述待拍照景象进行对焦处理。
  3. 如权利要求2所述的移动终端的对焦处理方法,其特征在于,所述判断是否需要进行对焦处理,包括:
    获取所述移动终端在所述初始位置对所述待拍照景象进行对焦处理时,所述移动终端内置的对焦马达的状态信息;
    判断所述状态信息是否满足预设条件;
    在所述状态信息满足所述预设条件时,判断需要进行所述对焦处理。
  4. 如权利要求3所述的移动终端的对焦处理方法,其特征在于,所述状态信息为所述对焦马达的往返次数。
  5. 如权利要求3所述的移动终端的对焦处理方法,其特征在于,所述预设条件为所述对焦马达的往返次数达到预设阈值。
  6. 如权利要求1所述的移动终端的对焦处理方法,其特征在于,在判断是否需要进行对焦处理之前,还包括:
    根据外部指令设置所述预设像素个数。
  7. 如权利要求1所述的移动终端的对焦处理方法,其特征在于,在每次移动时向一个随机方向进行移动。
  8. 如权利要求1-7任一项所述的移动终端的对焦处理方法,其特征在于,还包括:
    判断是否对焦成功;
    在对焦成功时,停止进行对焦处理。
  9. 一种移动终端的对焦处理装置,其特征在于,包括:
    第一判断模块,用于判断是否需要进行对焦处理;
    控制模块,用于在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;
    其中,相邻的两个移动后的位置间隔预设像素个数。
  10. 如权利要求9所述的移动终端的对焦处理装置,其特征在于,还包括:
    处理模块,用于在所述初始位置对所述待拍照景象进行对焦处理。
  11. 如权利要求10所述的移动终端的对焦处理装置,其特征在于,所述第一判断模块包括:
    获取子模块,用于获取所述移动终端在所述初始位置对所述待拍照景象进行对焦处理时,所述移动终端内置的对焦马达的状态信息;
    第一判断子模块,用于判断所述状态信息是否满足预设条件;
    第二判断子模块,用于在所述状态信息满足所述预设条件时,判断需要进行所述对焦处理。
  12. 如权利要求11所述的移动终端的对焦处理装置,其特征在于,所述状态信息为所述对焦马达的往返次数。
  13. 如权利要求11所述的移动终端的对焦处理装置,其特征在于,所述预设条件为所述对焦马达的往返次数达到预设阈值。
  14. 如权利要求9所述的移动终端的对焦处理装置,其特征在于,还包括:
    设置模块,用于根据外部指令设置所述预设像素个数。
  15. 如权利要求9所述的移动终端的对焦处理装置,其特征在于,所述控制模块用于,在每次移动时控制所述成像模组向一个随机方向进行移动。
  16. 如权利要求9-16任一项所述的移动终端的对焦处理装置,其特征在于,还包括:
    第二判断模块,用于判断是否对焦成功;
    停止模块,用于在对焦成功时,停止进行对焦处理。
  17. 一种移动终端,其特征在于,包括:壳体和成像模组,所述成像模组位于所述壳体内,所述成像模组包括:MEMS、成像传感器、镜头、处理器和存储器,存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码以执行:
    判断是否需要进行对焦处理;
    在需要进行所述对焦处理时,控制成像模组从初始位置开始,移动至少一次,并在每个移动后的位置对待拍照景象进行对焦处理;
    其中,相邻的两个移动后的位置间隔预设像素个数。
PCT/CN2017/079382 2016-07-29 2017-04-01 移动终端的对焦处理方法、装置及移动终端 Ceased WO2018018928A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610615736.9 2016-07-29
CN201610615736.9A CN106101555B (zh) 2016-07-29 2016-07-29 移动终端的对焦处理方法、装置及移动终端

Publications (1)

Publication Number Publication Date
WO2018018928A1 true WO2018018928A1 (zh) 2018-02-01

Family

ID=57479351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079382 Ceased WO2018018928A1 (zh) 2016-07-29 2017-04-01 移动终端的对焦处理方法、装置及移动终端

Country Status (2)

Country Link
CN (1) CN106101555B (zh)
WO (1) WO2018018928A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101555B (zh) * 2016-07-29 2018-05-29 广东欧珀移动通信有限公司 移动终端的对焦处理方法、装置及移动终端
CN108668080B (zh) * 2018-06-22 2020-09-08 北京小米移动软件有限公司 提示镜头脏污程度的方法及装置、电子设备
CN108919118B (zh) * 2018-06-29 2020-08-07 Oppo广东移动通信有限公司 马达振荡周期测量方法、装置、终端及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101278549A (zh) * 2005-10-04 2008-10-01 卢森特技术有限公司 多次曝光光学成像设备
CN102550010A (zh) * 2009-08-10 2012-07-04 德克索实验室 具有两种工作模式的图像捕捉系统和方法
CN104798364A (zh) * 2012-06-07 2015-07-22 数位光学欧洲有限公司 Mems快速对焦照相机模块
CN106101555A (zh) * 2016-07-29 2016-11-09 广东欧珀移动通信有限公司 移动终端的对焦处理方法、装置及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102068748B1 (ko) * 2013-07-31 2020-02-11 삼성전자주식회사 디지털 촬영 장치, 그 제어 방법, 및 영상 재생 장치 및 방법

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101278549A (zh) * 2005-10-04 2008-10-01 卢森特技术有限公司 多次曝光光学成像设备
CN102550010A (zh) * 2009-08-10 2012-07-04 德克索实验室 具有两种工作模式的图像捕捉系统和方法
CN104798364A (zh) * 2012-06-07 2015-07-22 数位光学欧洲有限公司 Mems快速对焦照相机模块
CN106101555A (zh) * 2016-07-29 2016-11-09 广东欧珀移动通信有限公司 移动终端的对焦处理方法、装置及移动终端

Also Published As

Publication number Publication date
CN106101555A (zh) 2016-11-09
CN106101555B (zh) 2018-05-29

Similar Documents

Publication Publication Date Title
US10659675B2 (en) Terminal, shooting method thereof and computer storage medium
CN108335323B (zh) 一种图像背景的虚化方法及移动终端
US9313419B2 (en) Image processing apparatus and image pickup apparatus where image processing is applied using an acquired depth map
CN110636223B (zh) 防抖处理方法和装置、电子设备、计算机可读存储介质
US9888163B2 (en) Imaging device
CN107690673B (zh) 图像处理方法、装置及服务器
TWI769523B (zh) 圖像處理方法、電子設備和電腦可讀儲存介質
CN108924428A (zh) 一种自动对焦方法、装置及电子设备
CN106254772B (zh) 多帧图像合成方法和装置
CN105827980B (zh) 对焦控制方法及装置、成像控制方法及装置、电子装置
CN106412437B (zh) 终端的对焦方法、装置及终端
CN110830707B (zh) 镜头控制方法、装置及终端
JP6447840B2 (ja) 画像装置、及び画像装置における自動的な焦点合わせのための方法、並びに対応するコンピュータプログラム
KR20110100671A (ko) 자신의 사진들을 자동으로 찍기 위한 방법, 장치 및 컴퓨터 프로그램 제품
KR102450657B1 (ko) 포커스 렌즈 어셈블리의 제어
CN106303222A (zh) 防抖处理方法、装置及终端设备
CN108702456A (zh) 一种对焦方法、设备及可读存储介质
CN101369089B (zh) 图像连拍系统及方法
WO2018018928A1 (zh) 移动终端的对焦处理方法、装置及移动终端
CN109788199B (zh) 一种适用于具有双摄像头终端的对焦方法
JP2009171428A (ja) デジタルカメラ装置および電子ズームの制御方法およびプログラム
JP6431429B2 (ja) 撮像装置およびその制御方法、プログラム、ならびに記憶媒体
CN111885297B (zh) 图像清晰度的确定方法、图像对焦方法及装置
CN104601883B (zh) 一种图像拍摄的方法及装置
CN105068360A (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: 17833234

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17833234

Country of ref document: EP

Kind code of ref document: A1