WO2018019013A1 - 拍照控制方法和装置 - Google Patents

拍照控制方法和装置 Download PDF

Info

Publication number
WO2018019013A1
WO2018019013A1 PCT/CN2017/085206 CN2017085206W WO2018019013A1 WO 2018019013 A1 WO2018019013 A1 WO 2018019013A1 CN 2017085206 W CN2017085206 W CN 2017085206W WO 2018019013 A1 WO2018019013 A1 WO 2018019013A1
Authority
WO
WIPO (PCT)
Prior art keywords
photographing
images
coordinate position
photographing mode
mems
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/085206
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 WO2018019013A1 publication Critical patent/WO2018019013A1/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/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • 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
    • 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/617Upgrading or updating of programs or applications for camera control
    • 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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a camera control method and apparatus.
  • the user when the user needs a larger viewing angle or a larger frame of the photo (for example, a panoramic image), the user needs to manually move the mobile terminal, and the camera takes a picture during the movement, and the mobile terminal takes the picture again.
  • the images are stitched together to obtain a panoramic image.
  • the imaging quality of the panoramic image is affected by the moving speed, angle, and jitter of the mobile terminal, and if jitter occurs during the manual movement of the mobile terminal, the image quality of the obtained panoramic image is poor.
  • the object of the present invention is to solve at least one of the above technical problems to some extent.
  • the first object of the present invention is to provide a photographing control method which enables a user to obtain a desired photograph without manually moving the mobile terminal when a photograph having a larger viewing angle or a larger format is required, which is reduced.
  • the effect of manually moving the mobile terminal on the imaging quality of the initial image can further improve the imaging quality of the synthesized photo.
  • a second object of the present invention is to provide a photographing control device.
  • a third object of the present invention is to provide a mobile terminal.
  • a fourth object of the present invention is to provide a mobile terminal.
  • a fifth object of the present invention is to provide a non-volatile computer storage medium.
  • the photographing control method of the first aspect of the present invention includes: receiving a photographing mode input by a user; determining whether the photographing mode is a preset photographing mode; if yes, acquiring a photographing mode corresponding to the sitting Marking a position queue; moving the MEMS according to the coordinate position queue, and controlling the MEMS to take a picture at each coordinate position to obtain a plurality of images; and synthesizing the plurality of images to obtain a synthesized picture.
  • the photographing control method of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required The desired photo can be obtained, which reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photo.
  • the synthesizing the plurality of images to obtain the synthesized photo comprises:
  • the images acquired by the MEMS at different coordinate positions are spliced to obtain a synthesized photograph.
  • the acquiring a coordinate position queue corresponding to the photographing mode includes:
  • the images acquired by the MEMS at different coordinate positions are stitched according to a photographing sequence to obtain a synthesized photograph, including:
  • each coordinate position in the coordinate position queue is in the same plane.
  • the preset photographing mode includes a panoramic mode, an enlarged frame mode, and an enlarged view mode.
  • the photographing control device of the second aspect of the present invention includes: a receiving module, configured to receive a photographing mode input by a user; and a determining module, configured to determine whether the photographing mode is a preset photographing mode; For determining that the photographing mode is a preset photographing mode, acquiring a coordinate position queue corresponding to the photographing mode; and processing a module, configured to move the MEMS according to the coordinate position queue, and control the MEMS in each Taking photographs at coordinate positions to obtain a plurality of images; and a synthesizing module for synthesizing the plurality of images to obtain a synthesized photograph.
  • the photographing control device of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a composite image The photos, thereby enabling the user to obtain the desired photos without manually moving the mobile terminal when the photos with larger viewing angles or larger frames are needed, thereby reducing the influence of the manual mobile terminal on the image quality of the initial image, and thus Improves the image quality of the synthesized photos.
  • the synthesizing module is specifically configured to:
  • the images acquired by the MEMS at different coordinate positions are spliced to obtain a synthesized photograph.
  • the acquiring module is specifically configured to:
  • the synthesizing module is specifically configured to:
  • each coordinate position in the coordinate position queue is in the same plane.
  • the preset photographing mode includes a panoramic mode, an enlarged frame mode, and an enlarged view mode.
  • a mobile terminal includes the photographing control apparatus of the second aspect of the present invention.
  • the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position.
  • a mobile terminal includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed in the housing Inside the space, the processor and the memory are disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the mobile terminal; the memory is configured to store executable program code;
  • 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: receiving a photographing mode input by a user; determining whether the photographing mode is Presetting a photographing mode; if yes, acquiring a coordinate position queue corresponding to the photographing mode; moving the MEMS according to the coordinate position queue, and controlling the MEMS to take a photograph at each coordinate position to obtain a plurality of images; Multiple images are combined and processed to obtain a combination After the photo.
  • the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position.
  • a fifth aspect of the present invention provides a nonvolatile computer storage medium storing one or more programs, when the one or more programs are executed by one device, causing the device to execute according to the present
  • the first aspect of the invention implements the photographing control method provided.
  • FIG. 1 is a flow chart of a photographing control method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a photographing control method according to another embodiment of the present invention.
  • 3 is an exemplary diagram including a first image, a second image, and a third image
  • FIG. 4 is a schematic structural view of a photographing control apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing the structure of a mobile terminal 50 according to an embodiment of the present invention.
  • MEMS micro electro mechanical system
  • the imaging module includes a lens, a MEMS, an image sensor, and the like.
  • MEMS can drive image sensors to move in different directions in the same plane.
  • FIG. 1 is a flow chart of a photographing control method in accordance with one embodiment of the present invention. It should be noted that the camera control method can be applied to a mobile terminal having an imaging module, wherein the mobile terminal can be a hardware device having various operating systems, such as a mobile phone or a tablet computer.
  • the photographing control method includes the following steps:
  • the preset shooting mode may be, for example, a panoramic mode, an enlarged frame mode, an enlarged viewing mode, or the like.
  • the coordinates corresponding to the photographing mode may be acquired according to the corresponding relationship between the pre-stored photographing mode and the coordinate position queue. Location queue.
  • each coordinate position in the coordinate position queue is in the same plane.
  • each coordinate position is calculated based on the physical properties of the lens and the image sensor.
  • the MEMS is movable, for example, the MEMS is connected to the driving circuit and is driven by the driving voltage outputted by the driving circuit.
  • A0 represents the coordinates of the initial position of the MEMS
  • A1 and A2 and the initial position of the MEMS The coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, and the image is taken at the initial position A0.
  • the MEMS can be controlled to move to A1, and the MEMS is controlled to take a picture at A1.
  • a second image is obtained, then the MEMS is controlled to move to A2, and the MEMS is controlled to take a picture at A2 to obtain a third image.
  • the images obtained by the MEMS at different positions can be synthesized and the synthesized photos are provided to the user.
  • this embodiment takes photos by moving the MEMS to different locations, and merges the images obtained by the MEMS at different locations, and provides the user with a composite photo.
  • the user can obtain the required photos without manually moving the mobile terminal when the photos with larger viewing angles or larger frames are needed, thereby reducing the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the synthesis.
  • the quality of the image after the photo is a simple photo of the image.
  • the photographing control method of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required The desired photo can be obtained, which reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photo.
  • FIG. 2 is a flow chart of a photographing control method according to another embodiment of the present invention.
  • the photographing control method includes the following steps:
  • the preset shooting mode may be, for example, a panoramic mode, an enlarged frame mode, an enlarged viewing mode, or the like.
  • the coordinates corresponding to the photographing mode may be acquired according to the corresponding relationship between the pre-stored photographing mode and the coordinate position queue. Location queue.
  • each coordinate position in the coordinate position queue is in the same plane.
  • each coordinate position is calculated based on the physical properties of the lens and the image sensor.
  • the MEMS is movable, for example, the MEMS is connected to the driving circuit and is driven by the driving voltage outputted by the driving circuit.
  • A0 represents the coordinates of the initial position of the MEMS
  • A1 and A2 and the initial position of the MEMS The coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, and the image is taken at the initial position A0.
  • the MEMS can be controlled to move to A1, and the MEMS is controlled to take a picture at A1.
  • a second image is obtained, then the MEMS is controlled to move to A2, and the MEMS is controlled to take a picture at A2 to obtain a third image.
  • the MEMS can be in different positions.
  • the obtained image is stitched and a synthetic photograph is provided to the user.
  • the overlapping area uses the identifier to sort the previous image to be stitched.
  • A0 represents the coordinates of the initial position of the MEMS
  • A1 represents the coordinates of the initial position of the MEMS
  • the MEMS can be controlled to move to A1
  • the MEMS is controlled to take a picture at A1 to obtain the first Two images, then, control the MEMS to move to A2, and control the MEMS to take a photo at A2 to get a third image.
  • FIG. 3 An example diagram including the first image, the second image, and the third image, as shown in FIG. 3, when the first image and the second image are stitched in the photographing order, the image included in the overlap region 1 is in the first image As a result, after the splicing of the first image and the second image is completed, when the third image is spliced, the image included in the overlap region 2 is subject to the second image.
  • this embodiment takes photos by moving the MEMS to different locations, and merges the images obtained by the MEMS at different locations, and provides the user with a composite photo.
  • the user can obtain the required photos without manually moving the mobile terminal when the photos with larger viewing angles or larger frames are needed, thereby reducing the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the synthesis.
  • the quality of the image after the photo is a simple photo of the image.
  • the photographing control method of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required The desired photo can be obtained, which reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photo.
  • the present invention also proposes a photographing control apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural view of a photographing control apparatus according to an embodiment of the present invention.
  • the photographing control apparatus of the embodiment of the present invention may include a receiving module 110, a determining module 120, an obtaining module 130, a processing module 140, and a synthesizing module 150, where:
  • the receiving module 110 is configured to receive a photographing mode input by a user.
  • the determining module 120 is configured to determine whether the photographing mode is a preset photographing mode.
  • the obtaining module 130 is configured to acquire a coordinate position queue corresponding to the photographing mode when it is determined that the photographing mode is the preset photographing mode.
  • the obtaining module 130 is configured to: obtain a coordinate position queue corresponding to the photographing mode according to the corresponding relationship between the pre-stored photographing mode and the coordinate position queue.
  • each coordinate position in the coordinate position queue is in the same plane.
  • each coordinate position is calculated based on the physical properties of the lens and the image sensor.
  • the processing module 140 is configured to move the MEMS according to the coordinate position queue, and control the MEMS to take a photo at each coordinate position to obtain a plurality of images.
  • the MEMS is movable, for example, the MEMS is connected to the driving circuit and is driven by the driving voltage outputted by the driving circuit.
  • the synthesizing module 150 is configured to synthesize a plurality of images to obtain a synthesized photo.
  • the synthesizing module 150 is specifically configured to: splicing images acquired by the MEMS at different coordinate positions according to a photographing sequence to obtain a synthesized photograph.
  • the synthesizing module 150 in the process of the splicing image by the compositing module 150 according to the photographing sequence, for the two frames to be spliced with overlapping regions, respectively obtains the identifiers of the two images to be spliced, and splicing the two frames.
  • the image to be stitched is used, the image to be stitched is sorted using the identifier for the overlapping area.
  • the photographing control device of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required The desired photo can be obtained, which reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photo.
  • the present invention also proposes a mobile terminal.
  • a mobile terminal comprising the photographing control device of the second aspect of the present invention.
  • the mobile terminal of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required Obtaining the required photos reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
  • the present invention also proposes a mobile terminal.
  • FIG. 5 is a block diagram showing the structure of a mobile terminal 50 according to an embodiment of the present invention.
  • the mobile terminal 50 includes a housing 501, a processor 502, a memory 503, a circuit board 504, and a power supply circuit 505, wherein the circuit board 504 is disposed inside a space enclosed by the housing 501, and the processor 502 and The memory 503 is disposed on the circuit board 504; the power supply circuit 505 is configured to supply power to various circuits or devices of the mobile terminal; the memory 503 is used to store executable program code; and the processor 502 reads the executable program code stored in the memory 503 by reading To run the program corresponding to the executable code for performing the following steps:
  • the preset shooting mode may be, for example, a panoramic mode, an enlarged frame mode, an enlarged viewing mode, or the like.
  • the coordinates corresponding to the photographing mode may be acquired according to the corresponding relationship between the pre-stored photographing mode and the coordinate position queue. Location queue.
  • each coordinate position in the coordinate position queue is in the same plane.
  • each coordinate position is calculated based on the physical properties of the lens and the image sensor.
  • the MEMS is movable, for example, the MEMS is connected to the driving circuit and is driven by the driving voltage outputted by the driving circuit.
  • A0 represents the coordinates of the initial position of the MEMS
  • A1 and A2 and the initial position of the MEMS The coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, and the image is taken at the initial position A0.
  • the MEMS can be controlled to move to A1, and the MEMS is controlled to take a picture at A1.
  • a second image is obtained, then the MEMS is controlled to move to A2, and the MEMS is controlled to take a picture at A2 to obtain a third image.
  • the images obtained by the MEMS at different positions can be synthesized and the synthesized photos are provided to the user.
  • this embodiment takes photos by moving the MEMS to different locations, and merges the images obtained by the MEMS at different locations, and provides the user with a composite photo.
  • the user can obtain the desired photo without manually moving the mobile terminal when the photo with larger viewing angle or larger format is needed, and the manual movement shift is reduced.
  • the influence of the moving terminal on the imaging quality of the initial image can further improve the imaging quality of the synthesized photo.
  • the mobile terminal of the embodiment of the present invention when it is determined that the photographing mode input by the user is the preset photographing mode, the coordinate position queue corresponding to the photographing mode is acquired, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position. Taking a picture to obtain a plurality of images, and synthesizing a plurality of images to obtain a synthesized photo, thereby enabling the user to manually move the mobile terminal when a photo with a larger viewing angle or a larger frame is required Obtaining the required photos reduces the influence of the manual mobile terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
  • 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” or “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 a 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 invention may 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 invention 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种拍照控制方法和装置,该方法包括:接收用户输入的拍照模式;判断拍照模式是否为预设拍照模式;若是,则获取拍照模式对应的坐标位置队列;根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像;对多个图像进行合成处理,以得到合成后的照片。本发明实施例提供的拍照控制方法,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。

Description

拍照控制方法和装置
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2016年07月29日提交的、发明名称为“拍照控制方法和装置”的、中国专利申请号“201610616087.4”的优先权。
技术领域
本发明涉及移动终端技术领域,尤其涉及一种拍照控制方法和装置。
背景技术
如今,人们通过拍照的方式来记录生活的点点滴滴已成为一种时尚。随着移动通讯技术的发展,可用于拍照的移动终端越来越多,如智能的手机、平板电脑等。相比于相机,由于手机更加便携,特别是可以方便地进行自拍,使得用户对手机的依赖程度增加,同时也对手机拍照功能的要求越来越高。
目前,在使用移动终端的过程中,在用户需要视角更大或者加大画幅的照片(例如全景图像)时,用户需要手动移动移动终端,在移动过程中摄像头进行拍摄,移动终端再将所拍摄的图像拼接起来,以获得全景图像。然而,全景图像的成像质量受移动终端的移动速度、角度、抖动的影响,如果在手动移动移动终端的过程中,出现抖动,所获得的全景图像的图像质量较差。
发明内容
本发明的目的旨在至少在一定程度上解决上述的技术问题之一。
为此,本发明的第一个目的在于提出一种拍照控制方法,该方法使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
本发明的第二个目的在于提出一种拍照控制装置。
本发明的第三个目的在于提出一种移动终端。
本发明的第四个目的在于提出一种移动终端。
本发明的第五个目的在于提出一种非易失性计算机存储介质。
为了实现上述目的,本发明第一方面实施例的拍照控制方法,包括:接收用户输入的拍照模式;判断所述拍照模式是否为预设拍照模式;若是,则获取所述拍照模式对应的坐 标位置队列;根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;对所述多个图像进行合成处理,以得到合成后的照片。
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
根据本发明的一个实施例,所述对所述多个图像进行合成处理,以得到合成后的照片,包括:
按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
根据本发明的一个实施例,所述获取所述拍照模式对应的坐标位置队列,包括:
根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。
根据本发明的一个实施例,所述按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片,包括:
在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
根据本发明的一个实施例,所述坐标位置队列中的每个坐标位置均处于同一个平面内。
根据本发明的一个实施例,所述预设拍照模式包括全景模式、加大画幅模式和扩大视角模式。
为了实现上述目的,本发明第二方面实施例的拍照控制装置,包括:接收模块,用于接收用户输入的拍照模式;判断模块,用于判断所述拍照模式是否为预设拍照模式;获取模块,用于在判断出所述拍照模式为预设拍照模式时,则获取所述拍照模式对应的坐标位置队列;处理模块,用于根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;合成模块,用于对所述多个图像进行合成处理,以得到合成后的照片。
根据本发明实施例的拍照控制装置,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后 的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
根据本发明的一个实施例,所述合成模块,具体用于:
按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
根据本发明的一个实施例,所述获取模块,具体用于:
根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。
根据本发明的一个实施例,所述合成模块,具体用于:
在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
根据本发明的一个实施例,所述坐标位置队列中的每个坐标位置均处于同一个平面内。
根据本发明的一个实施例,所述预设拍照模式包括全景模式、加大画幅模式和扩大视角模式。
为了实现上述目的,本发明第三方面实施例的移动终端,包括本发明第二方面实施例的拍照控制装置。
根据本发明实施例移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
为了实现上述目的,本发明第四方面实施例的移动终端,所述移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:接收用户输入的拍照模式;判断所述拍照模式是否为预设拍照模式;若是,则获取所述拍照模式对应的坐标位置队列;根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;对所述多个图像进行合成处理,以得到合 成后的照片。
根据本发明实施例移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
本发明第五方面提供一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行根据本发明第一方面实施提供的拍照控制方法。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,
图1是根据本发明一个实施例的拍照控制方法的流程图;
图2是根据本发明另一个实施例的拍照控制方法的流程图;
图3是包含第一图像、第二图像和第三图像的示例图;
图4是根据本发明一个实施例的拍照控制装置的结构示意图。
图5是根据本发明一个实施例的移动终端50的结构示意图。
附图标记:
接收模块110、判断模块120、获取模块130、处理模块140、合成模块150、移动终端50、壳体501、处理器502、存储器503、电路板504和电源电路505。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。
随着移动终端的发展,移动终端内的硬件也在不断升级,比如,在移动终端内采用了微机电系统(Micro Electro Mechanical System,MEMS)。具体的,MEMS可以应用在多种模组中,比如应用在成像模组中。成像模组包括镜头、MEMS、图像传感器(Sensor)等, MEMS能够带动图像传感器在同一个平面内沿不同方向移动。
图1是根据本发明一个实施例的拍照控制方法的流程图。其中,需要说明的是,该拍照控制方法可以应用于具有成像模组的移动终端中,其中,移动终端可以是手机、平板电脑等具有各种操作系统的硬件设备。
如图1所示,该拍照控制方法包括以下步骤:
S11,接收用户输入的拍照模式。
S12,判断拍照模式是否为预设拍照模式。
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。
S13,若是,则获取拍照模式对应的坐标位置队列。
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。
其中,坐标位置队列中的每个坐标位置处于同一个平面内。
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。
S14,根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。
S15,对多个图像进行合成处理,以得到合成后的照片。
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置所获得的图像进行合成处理,并为用户提供合成的照片。
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
图2是根据本发明另一个实施例的拍照控制方法的流程图。
如图2所示,该拍照控制方法包括以下步骤:
S21,接收用户输入的拍照模式。
S22,判断拍照模式是否为预设拍照模式。
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。
S23,若是,则获取拍照模式对应的坐标位置队列。
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。
其中,坐标位置队列中的每个坐标位置处于同一个平面内。
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。
S24,根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。
S25,按照拍照顺序,将MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置 所获得的图像进行拼接处理,并为用户提供合成的照片。
在本发明的一个实施例中,在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
例如,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。包含第一图像、第二图像和第三图像的示例图,如图3所示,在按照拍照顺序拼接第一图像和第二图像时,对于重叠区域1所包含的图像以第一图像中的为准,在第一图像和第二图像拼接完成后,在拼接第三图像时,对于重叠区域2所包含的图像以第二图像中的为准。
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
为了实现上述实施例,本发明还提出了一种本发明实施例的拍照控制装置。
图4是根据本发明一个实施例的拍照控制装置的结构示意图。
如图4所示,该本发明实施例的拍照控制装置可以包括接收模块110、判断模块120、获取模块130、处理模块140和合成模块150,其中:
具体地,接收模块110用于接收用户输入的拍照模式。
判断模块120用于判断拍照模式是否为预设拍照模式。
获取模块130用于在判断出拍照模式为预设拍照模式时,则获取拍照模式对应的坐标位置队列。
在本本发明的一个实施例中,获取模块130具体用于:根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。
其中,坐标位置队列中的每个坐标位置均处于同一个平面内。
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。
处理模块140用于根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。
合成模块150用于对多个图像进行合成处理,以得到合成后的照片。
在本发明的一个实施例中,合成模块150具体用于:按照拍照顺序,将MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
在本发明的一个实施例中,在合成模块150按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,合成模块150分别获取两帧待拼接图像的标识,在拼接两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
其中,需要说明的是,前述对拍照控制方法实施例的解释说明也适用于该实施例的拍照控制装置,其实现原理类似,此处不再赘述。
根据本发明实施例的拍照控制装置,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
为了实现上述实施例,本发明还提出一种移动终端。
一种移动终端,包括本发明第二方面实施例的拍照控制装置。
根据本发明实施例的移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
为了实现上述实施例,本发明还提出一种移动终端。
图5是根据本发明一个实施例的移动终端50的结构示意图。如图5所示,该移动终端50包括壳体501、处理器502、存储器503、电路板504和电源电路505,其中,电路板504安置在壳体501围成的空间内部,处理器502和存储器503设置在电路板504上;电源电路505,用于为移动终端的各个电路或器件供电;存储器503用于存储可执行程序代码;处理器502通过读取存储器503中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:
S11',接收用户输入的拍照模式。
S12',判断拍照模式是否为预设拍照模式。
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。
S13',若是,则获取拍照模式对应的坐标位置队列。
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。
其中,坐标位置队列中的每个坐标位置处于同一个平面内。
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。
S14',根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。
S15',对多个图像进行合成处理,以得到合成后的照片。
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置所获得的图像进行合成处理,并为用户提供合成的照片。
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移 动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
根据本发明实施例的移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动移动终端即可获得所需的照片,减少了手动移动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置, 以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (14)

  1. 一种拍照控制方法,其特征在于,包括以下步骤:
    接收用户输入的拍照模式;
    判断所述拍照模式是否为预设拍照模式;
    若是,则获取所述拍照模式对应的坐标位置队列;
    根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;
    对所述多个图像进行合成处理,以得到合成后的照片。
  2. 如权利要求1所述的拍照控制方法,其特征在于,所述对所述多个图像进行合成处理,以得到合成后的照片,包括:
    按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
  3. 如权利要求1或2所述的拍照控制方法,其特征在于,所述获取所述拍照模式对应的坐标位置队列,包括:
    根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。
  4. 如权利要求2所述的拍照控制方法,其特征在于,所述按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片,包括:
    在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
  5. 如权利要求1-4中任一项所述的拍照控制方法,其特征在于,所述坐标位置队列中的每个坐标位置均处于同一个平面内。
  6. 如权利要求1-5中任一项所述的拍照控制方法,其特征在于,所述预设拍照模式包括全景模式、加大画幅模式和扩大视角模式。
  7. 一种拍照控制装置,其特征在于,包括:
    接收模块,用于接收用户输入的拍照模式;
    判断模块,用于判断所述拍照模式是否为预设拍照模式;
    获取模块,用于在判断出所述拍照模式为预设拍照模式时,则获取所述拍照模式对应的坐标位置队列;
    处理模块,用于根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位 置上进行拍照,以得到多个图像;
    合成模块,用于对所述多个图像进行合成处理,以得到合成后的照片。
  8. 如权利要求7所述的拍照控制装置,其特征在于,所述合成模块,具体用于:
    按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。
  9. 如权利要求7或8所述的拍照控制装置,其特征在于,所述获取模块,具体用于:
    根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。
  10. 如权利要求9所述的拍照控制装置,其特征在于,所述合成模块,具体用于:
    在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。
  11. 如权利要求7-10中任一项所述的拍照控制装置,其特征在于,所述坐标位置队列中的每个坐标位置均处于同一个平面内。
  12. 如权利要求7-11中任一项所述的拍照控制装置,其特征在于,所述预设拍照模式包括全景模式、加大画幅模式和扩大视角模式。
  13. 一种移动终端,其特征在于,所述移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:
    接收用户输入的拍照模式;
    判断所述拍照模式是否为预设拍照模式;
    若是,则获取所述拍照模式对应的坐标位置队列;
    根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;
    对所述多个图像进行合成处理,以得到合成后的照片。
  14. 一种非易失性计算机存储介质,其特征在于,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行如权利要求1-6任一项所述的拍照控制方法。
PCT/CN2017/085206 2016-07-29 2017-05-19 拍照控制方法和装置 Ceased WO2018019013A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610616087.4A CN106101506A (zh) 2016-07-29 2016-07-29 拍照控制方法和装置
CN201610616087.4 2016-07-29

Publications (1)

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

Family

ID=57478465

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085206 Ceased WO2018019013A1 (zh) 2016-07-29 2017-05-19 拍照控制方法和装置

Country Status (2)

Country Link
CN (1) CN106101506A (zh)
WO (1) WO2018019013A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101506A (zh) * 2016-07-29 2016-11-09 广东欧珀移动通信有限公司 拍照控制方法和装置
CN106506965A (zh) * 2016-11-29 2017-03-15 努比亚技术有限公司 一种拍摄方法及终端
CN106791422A (zh) * 2016-12-30 2017-05-31 维沃移动通信有限公司 一种图像处理方法及移动终端
CN108449546B (zh) * 2018-04-04 2020-03-31 维沃移动通信有限公司 一种拍照方法及移动终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030095193A1 (en) * 1998-12-31 2003-05-22 Michael J. May Producing panoramic digital images by digital camera systems
US20040189849A1 (en) * 2003-03-31 2004-09-30 Hofer Gregory V. Panoramic sequence guide
CN1875618A (zh) * 2003-10-28 2006-12-06 皇家飞利浦电子股份有限公司 具有全景摄影或镶嵌功能的数字照相机
CN103534726A (zh) * 2011-05-17 2014-01-22 苹果公司 用于全景摄影的位置传感器辅助的图像配准
CN106101506A (zh) * 2016-07-29 2016-11-09 广东欧珀移动通信有限公司 拍照控制方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030095193A1 (en) * 1998-12-31 2003-05-22 Michael J. May Producing panoramic digital images by digital camera systems
US20040189849A1 (en) * 2003-03-31 2004-09-30 Hofer Gregory V. Panoramic sequence guide
CN1875618A (zh) * 2003-10-28 2006-12-06 皇家飞利浦电子股份有限公司 具有全景摄影或镶嵌功能的数字照相机
CN103534726A (zh) * 2011-05-17 2014-01-22 苹果公司 用于全景摄影的位置传感器辅助的图像配准
CN106101506A (zh) * 2016-07-29 2016-11-09 广东欧珀移动通信有限公司 拍照控制方法和装置

Also Published As

Publication number Publication date
CN106101506A (zh) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106605403B (zh) 拍摄方法和电子设备
WO2018018927A1 (zh) 多帧图像合成方法和装置
CN110035228B (zh) 摄像头防抖系统、方法、电子设备和计算机可读存储介质
CN104410783B (zh) 一种对焦方法及终端
CN105894455B (zh) 拍照方法、装置及电子设备
CN103795924B (zh) 全景拍照装置及方法
US8462215B2 (en) Photographing control method and apparatus according to motion of digital photographing apparatus
CN107465856B (zh) 摄像方法、装置及终端设备
US20170085794A1 (en) Digital photographing apparatus, methods of controlling the same, and computer-readable storage medium to increase success rates in panoramic photography
CN105827980B (zh) 对焦控制方法及装置、成像控制方法及装置、电子装置
WO2019011091A1 (zh) 拍照提醒方法、装置、终端和计算机存储介质
WO2018019013A1 (zh) 拍照控制方法和装置
CN107241549A (zh) 双摄像头的成像方法和成像装置
CN105847673A (zh) 照片显示方法、装置和移动终端
WO2020051831A1 (zh) 手持云台的控制方法及手持云台、手持设备
WO2018019012A1 (zh) 全景拍照时的处理方法、装置和移动终端
CN106303272B (zh) 控制方法及控制装置
CN106210527A (zh) 基于mems移动的pdaf校准方法和装置
CN105611161A (zh) 拍照控制方法、拍照控制装置及拍照系统
JP2012194487A (ja) 撮像装置、撮像方法及びプログラム
CN105657274A (zh) 控制方法、控制装置及电子装置
CN106101559B (zh) 控制方法、控制装置及电子装置
CN105827932A (zh) 一种图像合成方法和移动终端
CN105827968B (zh) 控制方法、控制装置及电子装置
CN106027889A (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: 17833318

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

Country of ref document: EP

Kind code of ref document: A1