WO2018019016A1 - 拍摄处理方法、装置及终端设备 - Google Patents

拍摄处理方法、装置及终端设备 Download PDF

Info

Publication number
WO2018019016A1
WO2018019016A1 PCT/CN2017/085407 CN2017085407W WO2018019016A1 WO 2018019016 A1 WO2018019016 A1 WO 2018019016A1 CN 2017085407 W CN2017085407 W CN 2017085407W WO 2018019016 A1 WO2018019016 A1 WO 2018019016A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
terminal device
horizontal position
imaging sensor
mems
Prior art date
Application number
PCT/CN2017/085407
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 WO2018019016A1 publication Critical patent/WO2018019016A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • 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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a photographing processing method, apparatus, and terminal device.
  • the present application aims to solve at least one of the technical problems in the related art to some extent.
  • the first object of the present application is to provide a photographing processing method, which realizes automatic horizontal line calibration by using a MEMS-driven image sensor during photographing, thereby reducing the user's repeated operation process and MEMS control precision. High, ensuring the accuracy of calibration, saving shooting time, improving shooting efficiency and improving user experience.
  • a second object of the present application is to propose a photographing processing apparatus.
  • a third object of the present application is to propose a terminal device.
  • a fourth object of the present application is to propose another terminal device.
  • a fifth object of the present application is to propose a computer program product.
  • a sixth object of the present application is to propose a storage medium.
  • the first aspect of the present application provides a photographing processing method, including:
  • the MEMS system is controlled to drive the camera sensor to rotate to a horizontal position.
  • the photographing processing method provided by the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the microelectromechanical system to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • the second aspect of the present application provides a photographing processing apparatus, including:
  • An acquisition module configured to obtain a shooting calibration request
  • a determining module configured to determine whether the imaging sensor is in a horizontal position, wherein the imaging sensor is connected to the lens
  • control module configured to control the MEMS to drive the imaging sensor to rotate to a horizontal position if the imaging sensor is not in a horizontal position.
  • the photographing processing apparatus provided in the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • the third aspect of the present application provides a terminal device including the above-described photographing processing apparatus.
  • the terminal device in the embodiment of the present application first acquires a shooting calibration request, and then determines whether the shooting sensor connected to the lens is in a horizontal position, and if not, controls the MEMS driving the shooting sensor Rotate to the horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • the fourth aspect of the present application provides a terminal device, including a housing and a camera module, wherein the camera module is located in the housing, and the camera module includes: a MEMS, a camera sensor, A lens, a processor and a memory for storing executable program code; the processor executing by reading executable program code stored in the memory:
  • control MEMS drives the camera sensor to rotate to a horizontal position.
  • the terminal device of the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the micro electro mechanical system to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • an embodiment of the present invention provides a computer program product, when the instruction processor in the computer program product is executed, performing a photographing processing method according to the first aspect.
  • an embodiment of the present invention provides a storage medium that enables a mobile device to perform a photographing processing method according to the first aspect when an instruction in the storage medium is executed by a processor of the mobile terminal.
  • FIG. 1 is a schematic flow chart of a photographing processing method according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of calibration performed by a photographing processing method according to an embodiment of the present application
  • FIG. 3 is a schematic flow chart of a photographing processing method according to another embodiment of the present application.
  • FIG. 4 is a schematic structural view of a MEMS and an imaging sensor in an imaging device
  • FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
  • FIG. 1 is a schematic flow chart of a photographing processing method according to an embodiment of the present application.
  • the shooting processing method includes:
  • Step 101 Acquire a shooting calibration request.
  • the execution subject of the photographing processing method provided in this embodiment is a photographing processing device, and the photographing processing device can be configured as a specific example in a terminal device having an image pickup device.
  • terminal devices which can be selected according to application needs, such as mobile phones, tablet computers, and the like.
  • the embodiments of the present application combine the characteristics of an imaging device with a micro electro-mechanical system (MEMS), and utilize a MEMS and an imaging sensor in an imaging device to provide a camera that is connected to the lens by control. The angle between the sensor and the horizontal line to automatically perform the reference calibration method to reduce the user's calibration operation when shooting sea level or ground plane.
  • MEMS micro electro-mechanical system
  • the photographing processing device can acquire the photographing calibration request in a plurality of manners.
  • a calibration button can be set in the terminal device.
  • the calibration request can be triggered by pressing the calibration button in the terminal device.
  • a shooting calibration request is acquired according to a preset operation performed by the user during the shooting of the terminal device.
  • the preset operation may be set according to requirements, for example, may be: left and right or up and down shaking operation, or may be performed on a display screen of the terminal device, for example, a line may be drawn along the display screen of the terminal device to trigger shooting. Calibration request.
  • the shooting processing device detects that the terminal device has shaken left and right during the shooting process, then the user is considered to have triggered the shooting calibration request, thereby The shooting reference can be calibrated.
  • Step 102 Determine whether the imaging sensor is in a horizontal position, wherein the imaging sensor is connected to the lens.
  • Step 103 if no, controlling the MEMS to drive the imaging sensor to rotate to a horizontal position.
  • the image pickup apparatus in the embodiment of the present application includes a MEMS and an image sensor sensor, wherein the sensor is connected to the lens, because the user holds the terminal device at the time of shooting, or the gravity of the component such as the image sensor itself
  • the camera sensor is difficult to maintain the horizontal position during the actual shooting process, so that the horizontal line in the image captured by the lens is difficult to be flush with the edge of the image, but the Sensor can be moved up and down, left and right or rotated in a plane under the driving of the MEMS. , thereby driving the lens to move to adjust the viewing angle or reference of the camera.
  • the MEMS-driven imaging sensor can be controlled to rotate to a horizontal position, thereby making the lens
  • the horizontal baseline is parallel to the horizontal.
  • the MEMS has high control precision and can accurately control the sensor to return to the horizontal position.
  • FIG. 2 is a schematic diagram of calibration performed by a photographing processing method according to an embodiment of the present application.
  • the photographing processing device receives the photographing calibration request, if Determining that the photographing sensor is in the second position 2 shown in FIG. 2, then the image sensor can be controlled to rotate to rotate to the first position.
  • the photographing processing method provided by the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the microelectromechanical system to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • the MEMS-driven photographing sensor can be automatically used for horizontal calibration according to the user's request during the shooting process.
  • the imaging processing device can determine whether the imaging sensor is in a horizontal position by using various methods. The imaging processing method provided by the present application is further described below with reference to FIG. 3 .
  • FIG. 3 is a schematic flow chart of an image processing method according to another embodiment of the present application.
  • the image processing method includes:
  • Step 301 Acquire a shooting calibration request triggered by a user through a calibration button in the terminal device.
  • Step 302 Determine whether the connection between the MEMS system and the imaging sensor is at a preset position. If yes, execute step 305, otherwise perform step 303.
  • Step 303 Determine an offset of the imaging sensor according to a current position of the connector.
  • the photographing processing device can determine whether the image sensor is in a horizontal position by determining an angle between a lateral center line of the image sensor and a horizontal line, wherein the horizontal center line of the image sensor refers to the horizontal position of the image sensor when the image sensor is in a horizontal position Centerline.
  • the MEMS and the camera sensor can be connected by a deformable connector, such as The deformed wire, such as a silicon wire, is connected, and when the image sensor is offset, the connector is also offset. Therefore, in this example, it can also be judged whether the connection between the MEMS and the image sensor is in advance. Set the position, if the connector is not in the preset position, it can be determined that the camera sensor is in a non-horizontal position.
  • FIG. 4 is a schematic structural diagram of a MEMS and an imaging sensor in an imaging device.
  • the imaging device includes a micro electro-mechanical system (MEMS) 12 and an image sensor 14.
  • the MEMS 12 includes a fixed electrode 122, a movable electrode 124, and a deformable connector 126.
  • the movable electrode 124 is mated with the fixed electrode 122.
  • the connecting member 126 is fixedly connected to the fixed electrode 122 and the movable electrode 124.
  • the fixed electrode 122 and the movable electrode 124 are used to generate an electrostatic force under the action of a driving voltage.
  • the connecting member 126 is configured to deform in a direction in which the movable electrode 124 moves under the action of an electrostatic force to allow the movable electrode 124 to move to drive the imaging sensor 14 to move.
  • the mapping processing device can pre-store the mapping relationship between the different positions of the connector 126 and the different positions of the imaging sensor 14, so that in actual use, according to the position of the connector 126, The position of the imaging sensor 14 is determined, thereby determining the required offset when the imaging sensor 14 returns to the horizontal position, and then the MEMS is controlled to provide a corresponding drive voltage to drive the imaging sensor 14 back to the horizontal position.
  • Step 304 controlling the MEMS to drive the imaging sensor to rotate to a horizontal position.
  • Step 305 controlling the camera to perform shooting.
  • the imaging device can be triggered to perform shooting, thereby obtaining a picture in which the horizontal line in the image is parallel to the lateral edge of the image.
  • the photographing processing method of the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the photographing sensor to rotate according to the direction and angle value of the photographing sensor offset horizontal position. In the horizontal position, after determining that the shooting sensor is in the horizontal position, take the picture. Thereby, it is realized that the MEMS-driven camera transmission is used during the shooting process.
  • the sensor automatically performs horizontal line calibration, which reduces the user's repeated operation process, and the MEMS control precision is high, which ensures the accuracy of calibration, saves shooting time, improves shooting efficiency, and improves user experience.
  • the present application also proposes a photographing processing apparatus.
  • FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present application.
  • the photographing processing apparatus includes:
  • An obtaining module 51 configured to acquire a shooting calibration request
  • the determining module 52 is configured to determine whether the imaging sensor is in a horizontal position, wherein the imaging sensor is connected to the lens;
  • the control module 53 is configured to control the MEMS to drive the imaging sensor to rotate to a horizontal position if the imaging sensor is not in a horizontal position.
  • the imaging processing device provided in this embodiment can be implemented in a terminal device having an imaging device.
  • the obtaining module 51 is specifically configured to:
  • the shooting calibration request is acquired according to a preset operation performed by the user during the shooting of the terminal device.
  • the determining module 52 is specifically configured to:
  • the connector is not in a horizontal position, it is determined that the imaging sensor is in a non-horizontal position.
  • the image processing device further includes:
  • a determining module configured to determine an offset of the imaging sensor according to a current position of the connector.
  • terminal devices which can be selected according to application needs, such as mobile phones, tablet computers, and the like.
  • the camera device in the terminal device is configured with a MEMS and a Sensor, wherein the Sensor is connected to the lens, and the Sensor can be up and down, in a plane, under the driving control of the MEMS. Move, or rotate at an angle to drive the lens to move or rotate in a plane.
  • the MEMS-driven imaging sensor can be controlled to rotate to the horizontal position, thereby calibrating the reference line of the lens, thereby ensuring shooting.
  • the horizontal lines in the image are parallel to the lateral edges of the image, improving the image.
  • the photographing processing apparatus provided by the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the MEMS to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 60 includes a photographing processing device 61, wherein the photographing processing device 61 can employ the photographing processing device provided by the embodiment shown in FIG. 5 of the present invention.
  • the terminal device 60 includes: a mobile phone or a tablet computer.
  • the terminal device of the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the MEMS to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
  • the terminal device may be a mobile phone or the like.
  • the terminal device may include: a housing 71 and a camera module 72.
  • the camera module 72 is located in the housing 71.
  • the camera module 72 includes: a MEMS721, an imaging sensor 722, a lens 723, and processing. 724 and a memory 725 for storing executable program code; 724 executes by reading executable program code stored in memory 725:
  • the MEMS is controlled to drive the camera sensor to rotate to a horizontal position.
  • the terminal device of the embodiment of the present application first acquires a photographing calibration request, and then determines whether the photographing sensor connected to the lens is in a horizontal position, and if not, controls the micro electro mechanical system to drive the photographing sensor to rotate to a horizontal position.
  • the MEMS-driven camera sensor is used to automatically perform horizontal line calibration, which reduces the repeated operation process of the user, and the MEMS control precision is high, the calibration accuracy is ensured, the shooting time is saved, and the shooting is improved. Efficiency and improved user experience.
  • the present invention also provides a computer program product that, when executed by an instruction processor in the computer program product, performs the photographing processing method provided by the foregoing embodiments.
  • the present invention also proposes a storage medium that enables the mobile device to perform the photographing processing method provided by the foregoing embodiments when the instructions in the storage medium are executed by the processor of the mobile terminal.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or dark. Indicates relative importance or implicitly indicates the number of technical features indicated. Thus, features defining “first” or “second” may include at least one of the features, either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
  • portions of the application 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, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one agent 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

本申请提出一种拍摄处理方法、装置及终端设备,其中,该方法包括:获取拍摄校准请求;判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;若否,则控制MEMS驱动所述摄像传感器旋转至水平位置。通过本发明提供的拍摄处理方法、装置及终端设备,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。

Description

拍摄处理方法、装置及终端设备
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2016年07月29日提交的、发明名称为“拍摄处理方法、装置及终端设备”的、中国专利申请号“201610616040.8”的优先权。
技术领域
本申请涉及通信技术领域,尤其涉及一种拍摄处理方法、装置及终端设备。
背景技术
随着终端技术及各种应用的飞速发展,具有摄像功能已成为各种终端设备的标配。
在利用终端设备中的摄像装置进行拍摄时,有需要拍摄海平面、地平线、或者是建筑的线条的场景,经常遇到的问题就是拍摄过程当中与水平线对不齐,或者对不准的问题,这就需要用户反复调整终端,拍摄过程复杂,效率低。
发明内容
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本申请的第一个目的在于提出一种拍摄处理方法,该方法实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
本申请的第二个目的在于提出一种拍摄处理装置。
本申请的第三个目的在于提出一种终端设备。
本申请的第四个目的在于提出另一种终端设备。
本申请的第五个目的在于提出一种计算机程序产品。
本申请的第六个目的在于提出一种存储介质。
为达上述目的,本申请第一方面实施例提出了一种拍摄处理方法,包括:
获取拍摄校准请求;
判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
若否,则控制所微机电系统驱动所述摄像传感器旋转至水平位置。
本申请实施例提供的拍摄处理方法,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制微机电系统驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
为达上述目的,本申请第二方面实施例提出了一种拍摄处理装置,包括:
获取模块,用于获取拍摄校准请求;
判断模块,用于判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
控制模块,用于若摄像传感器不是处于水平位置,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
本申请实施例提供的拍摄处理装置,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
为达上述目的,本申请第三方面实施例提出了一种终端设备,包括:如上所述的拍摄处理装置。
本申请实施例的终端设备,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制微机电系统驱动拍摄传感器 旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
为达上述目的,本申请第四方面实施例提出了一种终端设备,包括壳体和摄像模组,所述摄像模组位于所述壳体内,所述摄像模组包括:MEMS、摄像传感器、镜头、处理器和存储器,存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码以执行:
获取拍摄校准请求;
判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
若否,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
本申请实施例的终端设备,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制微机电系统驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
第五方面,本发明实施例提供一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种第一方面所述的拍摄处理方法。
第六方面,本发明实施例提供一种存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动设备能够执行一种第一方面所述的拍摄处理方法。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是本申请一个实施例的拍摄处理方法的流程示意图;
图2为根据本申请实施例提供的拍摄处理方法进行校准的示意图;
图3是本申请另一个实施例的拍摄处理方法的流程示意图;
图4为摄像装置中MEMS与摄像传感器的结构示意图;
图5是本申请一个实施例的拍摄处理装置的结构示意图;
图6是本申请一个实施例的终端设备的结构示意图;
图7是本申请另一个实施例的终端设备的结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。
下面参考附图描述本申请实施例的拍摄处理方法、装置及终端设备。
图1是本申请一个实施例的拍摄处理方法的流程示意图。
如图1所示,该拍摄处理方法包括:
步骤101,获取拍摄校准请求。
具体地,本实施例提供的拍摄处理方法的执行主体为拍摄处理装置,该拍摄处理装置可以被配置在具有摄像装置的终端设备中为例进行具体说明。
需要注意的是,终端设备的类型很多,可以根据应用需要进行选择,例如:手机、平板电脑等。
具体来说,用户利用终端设备中的摄像装置进行拍摄时,若希望拍摄海平面或者地平线,通常需要反复调整终端设备,来使得拍摄的图像与水平线平齐,但是用户反复调整终端设备的过程较长,使得拍摄效率较低。因此,本申请各实施例结合带有微机电系统(micro electro-mechanical system,简称MEMS)的摄像装置的特点,利用摄像装置中的MEMS及摄像传感器Sensor,提出一种通过控制与镜头连接的摄像传感器与水平线之间的夹角,来自动进行参照校准的方法,来减少用户在拍摄海平面或地平面时的校准操作。
具体的,拍摄处理装置,可以通过多种方式,获取拍摄校准请求。
示例一:
获取用户通过终端设备中的校准按钮,触发的拍摄校准请求。
举例来说,可以在终端设备中设置一个校准按钮,当用户在拍摄过程中,若需要进行参照校准时,可通过按压终端设备中的校准按钮,触发校准请求。
示例二:
根据用户在终端设备拍摄过程中执行的预设的操作,获取拍摄校准请求。
其中,预设的操作可以根据需要进行设置,比如可以为:左右或上下摇晃操作、或者可以为在终端设备的显示屏幕上进行滑动操作,比如可以沿终端设备的显示屏幕水平画线来触发拍摄校准请求。
举例来说,若预设的操作为将终端进行左右摇晃操作,那么在拍摄过程中,若拍摄处理装置检测到终端设备发生了左右摇晃的操作,那么即可认为用户触发了拍摄校准请求,从而即可对拍摄基准进行校准。
步骤102,判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接。
步骤103,若否,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
具体而言,本申请实施例中的摄像装置中,包括MEMS及摄像传感器Sensor,其中Sensor与镜头连接,由于用户在拍摄时持握终端设备的方式、或者摄像传感器等部件自身的重力作用,使得摄像传感器在实际拍摄过程中很难保持水平位置,从而使镜头拍摄的图像中的水平线很难与图像的边沿齐平,但Sensor在MEMS的驱动下,可以在一个平面内上下、左右或旋转移动,从而带动镜头进行移动,以调整摄像的视角或者基准。
因此,本实施例中,在收到拍摄校准请求后,即可判断摄像传感器是否处于水平位置,若确定摄像传感器不是处于水平位置,则可以控制MEMS驱动摄像传感器旋转至水平位置,从而使镜头的水平基准线与水平线平行。而且MEMS的控制精度高,可以精确的控制sensor回复至水平位置。
举例来说,图2为根据本申请实施例提供的拍摄处理方法进行校准的示意图。如图2所示,若摄像传感器处于图2中所示的第一位置1时,镜头拍摄的图像中的水平面与图像的水平边缘齐平,那么拍摄处理装置在收到拍摄校准请求后,若确定拍摄传感器处于图2中所示的第二位置2,那么即可控制摄像传感器进行旋转,使其旋转至第一位置。
本申请实施例提供的拍摄处理方法,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制微机电系统驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
通过上述分析可知,本申请实施例中,可以在拍摄过程中,根据用户的请求,利用MEMS驱动拍摄传感器自动进行水平校准。其中拍摄处理装置可以通过多种方式,判断摄像传感器是否处于水平位置,下面结合图3对本申请提供的摄像处理方法进行进一步说明。
图3是本申请另一个实施例的摄像处理方法的流程示意图。
如图3所示,该摄像处理方法,包括:
步骤301,获取用户通过终端设备中的校准按钮,触发的拍摄校准请求。
步骤302,判断微机电系统与所述摄像传感器之间的连接件是否处于预设位置,若是,则执行步骤305,否则执行步骤303。
步骤303,根据所述连接件当前的位置,确定所述摄像传感器的偏移量。
具体的,拍摄处理装置,可以通过判断摄像传感器的横向中心线与水平线的夹角,来确定摄像传感器是否处于水平位置,其中,摄像传感器的横向中心线指摄像传感器处于水平位置时,与水平线平行的中心线。
或者判断摄像传感器的底部边缘是否平行于水平面,来确定摄像传感器是否处于水平位置。
或者,由于MEMS与摄像传感器可以通过可形变的连接件连接,比如通过可 形变的线材,如硅线等连接,而当摄像传感器发生偏移时,连接件也会发生偏移,因此,本实例中,还可以判断微机电系统与所述摄像传感器的连接件是否处于预设位置,若连接件不处于预设位置,则可以确定摄像传感器处于非水平位置。
举例来说,图4为摄像装置中MEMS与摄像传感器的结构示意图。如图4所示,摄像装置包括微机电系统(micro electro-mechanical system,MEMS)12及图像传感器14。MEMS 12包括固定电极122、活动电极124及可形变连接件126。活动电极124与固定电极122配合。连接件126固定连接固定电极122及活动电极124。固定电极122及活动电极124用于在驱动电压的作用下产生静电力。连接件126用于在静电力的作用下沿活动电极124移动的方向形变以允许活动电极124移动从而带动摄像传感器14移动。
通常,当摄像传感器14处于水平位置时,连接件126位于图4所示的预设位置,当摄像传感器14偏离水平位置时,连接件126的位置也会发生变化,摄像传感器14的每一位置状态都对应连接件126的一个位置,因此拍摄处理装置中可以预先存储连接件126的不同位置与摄像传感器14的不同位置的映射关系,从而在实际使用时,即可根据连接件126的位置,确定摄像传感器14的位置,进而确定摄像传感器14返回水平位置时,需要的偏移量,然后控制MEMS提供相应的驱动电压,以驱动摄像传感器14返回至水平位置。
步骤304,控制微机电系统驱动所述摄像传感器旋转至水平位置。
步骤305,控制摄像装置进行拍摄。
具体的,在确定摄像传感器旋转至水平位置后,即可触发摄像装置进行拍摄,从而即可得到图像中的水平线与图像横向边缘平行的图片。
本申请实施例的拍摄处理方法,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则根据摄像传感器偏移水平位置的方向和角度值,控制拍摄传感器旋转至水平位置,在确定拍摄传感器处于水平位置后,再进行拍摄。由此,实现了在拍摄过程中,利用MEMS驱动摄像传 感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
为了实现上述实施例,本申请还提出一种拍摄处理装置。
图5是本申请一个实施例的拍摄处理装置的结构示意图。
如图5所示,该拍摄处理装置包括:
获取模块51,用于获取拍摄校准请求;
判断模块52,用于判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
控制模块53,用于若摄像传感器不是处于水平位置,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
具体地,本实施例提供的摄像处理装置,可以被配置在具有摄像装置的终端设备中实现。
其中,所述获取模块51,具体用于:
获取用户通过终端设备中的校准按钮,触发的拍摄校准请求;
或者,根据用户在终端设备拍摄过程中执行的预设的操作,获取拍摄校准请求。
在本实施例一种可能的实现形式中,所述判断模块52,具体用于:
判断微机电系统与所述摄像传感器之间的连接件是否处于预设位置;
若所述连接件不是处于水平位置,则确定所述摄像传感器处于非水平位置。
在本实施例一种可能的实现形式中,该摄像处理装置,还包括::
确定模块,用于根据所述连接件当前的位置,确定所述摄像传感器的偏移量。
需要注意的是,终端设备的类型很多,可以根据应用需要进行选择,例如:手机、平板电脑等。
具体而言,终端设备中的摄像装置中配置有MEMS和Sensor,其中Sensor与镜头连接,而Sensor在MEMS的驱动控制下,可以在一个平面内上下、左右 移动、或以一定角度旋转,从而带动镜头在一个平面内进行移动或旋转。
因此,本实施例中,在收到拍摄校准请求后,若确定摄像传感器不是处于水平位置,那么就可以控制MEMS驱动摄像传感器旋转至水平位置,从而对镜头的基准线进行校准,以此保证拍摄的图像中的水平线与图像的横向边缘平行,改善了图像的效果。
需要说明的是,前述对拍摄处理方法实施例的解释说明也适用于该实施例的拍摄处理装置,此处不再赘述。
本申请实施例提供的拍摄处理装置,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制MEMS驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
图6是本申请一个实施例的终端设备的结构示意图。
如图6所示,该终端设备60包括:拍摄处理装置61,其中,拍摄处理装置61可以采用本发明上述图5所示的实施例提供的拍摄处理装置。
其中,所述终端设备60包括:手机或平板电脑。
本申请实施例的终端设备,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制MEMS驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
图7是本申请另一个实施例的终端设备的结构示意图。例如,终端设备可以是移动电话等。
参见图7,终端设备可以包括:壳体71和摄像模组72,所述摄像模组72位于所述壳体71内,所述摄像模组72包括:MEMS721、摄像传感器722、镜头723、处理器724和存储器725,存储器725用于存储可执行程序代码;处理器 724通过读取存储器725中存储的可执行程序代码以执行:
获取拍摄校准请求;
判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
若否,则控制MEMS驱动所述摄像传感器旋转至水平位置。
需要说明的是,前述对图1和图3所示的拍摄处理方法实施例的解释说明也适用于该实施例的终端设备,其实现原理类似,此处不再赘述。
本申请实施例的终端设备,首先获取拍摄校准请求,然后判断与镜头连接的拍摄传感器是否处于水平位置,若不是,则控制微机电系统驱动拍摄传感器旋转至水平位置。由此,实现了在拍摄过程中,利用MEMS驱动摄像传感器,自动进行水平线校准,减少了用户的反复操作过程,且MEMS控制精度高,保证了校准的准确性,节省了拍摄时间,提高了拍摄效率,改善了用户体验。
为了实现上述实施例,本发明还提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行前述实施例所提供的拍摄处理方法。
为了实现上述实施例,本发明还提出了一种存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动设备能够执行前述实施例所提供的拍摄处理方法。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗 示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个代理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理 解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (10)

  1. 一种拍摄处理方法,其特征在于,包括以下步骤:
    获取拍摄校准请求;
    判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
    若否,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
  2. 根据权利要求1所述的方法,其特征在于,所述判断摄像传感器是否处于水平位置,包括:
    判断微机电系统与所述摄像传感器之间的连接件是否处于预设位置;
    若否,则确定所述摄像传感器处于非水平位置。
  3. 根据权利要求2所述的方法,其特征在于,所述控制微机电系统驱动所述摄像传感器旋转至水平位置之前,还包括:
    根据所述连接件当前的位置,确定所述摄像传感器的偏移量。
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述获取拍摄校准请求,包括:
    获取用户通过终端设备中的校准按钮,触发的拍摄校准请求;
    或者,根据用户在终端设备拍摄过程中执行的预设的操作,获取拍摄校准请求。
  5. 一种终端设备,其特征在于,包括:壳体和摄像模组,所述摄像模组位于所述壳体内,所述摄像模组包括:MEMS、摄像传感器、镜头、处理器和存储器,存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码以执行:
    获取拍摄校准请求;
    判断摄像传感器是否处于水平位置,其中所述摄像传感器与镜头连接;
    若否,则控制微机电系统驱动所述摄像传感器旋转至水平位置。
  6. 根据权利要求5所述的终端设备,其特征在于,所述处理器,具体用于:
    判断微机电系统与所述摄像传感器之间的连接件是否处于预设位置;
    若否,则确定所述摄像传感器处于非水平位置。
  7. 根据权利要求6所述的终端设备,其特征在于,所述处理器,还用于:根据所述连接件当前的位置,确定所述摄像传感器的偏移量。
  8. 根据权利要求5-7任一所述的终端设备,其特征在于,所述处理器,具体用于:
    获取用户通过终端设备中的校准按钮,触发的拍摄校准请求;
    或者,根据用户在终端设备拍摄过程中执行的预设的操作,获取拍摄校准请求。
  9. 一种计算机程序产品,其特征在于,当所述计算机程序产品中的指令处理器执行时,执行如权利要求1-4任一项所述的拍摄处理方法。
  10. 一种存储介质,其特征在于,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动设备能够执行如权利要求1-4任一项所述的拍摄处理方法。
PCT/CN2017/085407 2016-07-29 2017-05-22 拍摄处理方法、装置及终端设备 WO2018019016A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610616040.8 2016-07-29
CN201610616040.8A CN106060536B (zh) 2016-07-29 2016-07-29 拍摄处理方法、装置及终端设备

Publications (1)

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

Family

ID=57196029

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085407 WO2018019016A1 (zh) 2016-07-29 2017-05-22 拍摄处理方法、装置及终端设备

Country Status (2)

Country Link
CN (1) CN106060536B (zh)
WO (1) WO2018019016A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612907A (zh) * 2021-07-30 2021-11-05 维沃移动通信(杭州)有限公司 拍摄方法及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060536B (zh) * 2016-07-29 2017-09-26 广东欧珀移动通信有限公司 拍摄处理方法、装置及终端设备
CN106767654B (zh) * 2016-12-21 2019-10-25 广州视源电子科技股份有限公司 相机水平偏角的检测方法及系统
CN106713557A (zh) * 2017-03-31 2017-05-24 努比亚技术有限公司 移动终端及其控制方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100693585B1 (ko) * 2006-04-25 2007-03-14 주식회사 팬택앤큐리텔 이동 통신 단말기에서 이미지 촬영 방법
CN104704804A (zh) * 2013-01-24 2015-06-10 松下知识产权经营株式会社 摄像装置、检测装置
CN104869298A (zh) * 2014-02-21 2015-08-26 联想(北京)有限公司 一种数据处理方法及电子设备
CN106060536A (zh) * 2016-07-29 2016-10-26 广东欧珀移动通信有限公司 拍摄处理方法、装置及终端设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060076477A (ko) * 2004-12-29 2006-07-04 엘지전자 주식회사 Pdp 경사 조정 장치 및 그 방법
CN101998047A (zh) * 2009-08-25 2011-03-30 鸿富锦精密工业(深圳)有限公司 在拍照设备中调节水平位置的方法和系统
CN102347755B (zh) * 2011-06-29 2013-12-25 广东威创视讯科技股份有限公司 微动开关触发装置
CN105791703A (zh) * 2016-04-29 2016-07-20 深圳市金立通信设备有限公司 一种拍摄方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100693585B1 (ko) * 2006-04-25 2007-03-14 주식회사 팬택앤큐리텔 이동 통신 단말기에서 이미지 촬영 방법
CN104704804A (zh) * 2013-01-24 2015-06-10 松下知识产权经营株式会社 摄像装置、检测装置
CN104869298A (zh) * 2014-02-21 2015-08-26 联想(北京)有限公司 一种数据处理方法及电子设备
CN106060536A (zh) * 2016-07-29 2016-10-26 广东欧珀移动通信有限公司 拍摄处理方法、装置及终端设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612907A (zh) * 2021-07-30 2021-11-05 维沃移动通信(杭州)有限公司 拍摄方法及电子设备
CN113612907B (zh) * 2021-07-30 2023-11-28 维沃移动通信(杭州)有限公司 拍摄方法及电子设备

Also Published As

Publication number Publication date
CN106060536A (zh) 2016-10-26
CN106060536B (zh) 2017-09-26

Similar Documents

Publication Publication Date Title
WO2018019016A1 (zh) 拍摄处理方法、装置及终端设备
US10798299B2 (en) Digital photographing apparatus, methods of controlling the same, and computer-readable storage medium to increase success rates in panoramic photography
US9568806B2 (en) Digital photographing system and method of operating digital photographing system
US10158798B2 (en) Imaging apparatus and method of controlling the same
US9549126B2 (en) Digital photographing apparatus and control method thereof
WO2018019012A1 (zh) 全景拍照时的处理方法、装置和移动终端
US9111129B2 (en) Subject detecting method and apparatus, and digital photographing apparatus
JP2018528631A (ja) ステレオオートフォーカス
WO2018018930A1 (zh) 图像变焦处理方法、装置及终端设备
WO2020051831A1 (zh) 手持云台的控制方法及手持云台、手持设备
CN111133355B (zh) 摄像装置、摄像装置的控制方法及存储介质
JP2008054062A (ja) 撮像装置
US8547454B2 (en) Digital image photographing apparatuses and methods of controlling the same to provide location information
WO2018019013A1 (zh) 拍照控制方法和装置
JP2016148832A (ja) カメラ本体及び撮像装置
JP6300569B2 (ja) 撮像装置及びその制御方法
KR102122472B1 (ko) 렌즈 분리형 카메라의 동작 방법 및 장치
CN108476290B (zh) 用于提供全景图像的电子装置及其控制方法
JP6218911B2 (ja) 撮影制御装置および撮像制御装置の制御方法
US9467550B2 (en) Communication apparatus, external apparatus, and control method therefor
US9467549B2 (en) External apparatus, communication apparatus, and control method therefor
JP6231768B2 (ja) 撮像装置及びその制御方法
JP7200792B2 (ja) 撮像装置、撮像方法、及び撮像プログラム
JP6824061B2 (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: 17833321

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

Country of ref document: EP

Kind code of ref document: A1