CN106101506A - Camera control method and device - Google Patents
- ️Wed Nov 09 2016
CN106101506A - Camera control method and device - Google Patents
Camera control method and device Download PDFInfo
-
Publication number
- CN106101506A CN106101506A CN201610616087.4A CN201610616087A CN106101506A CN 106101506 A CN106101506 A CN 106101506A CN 201610616087 A CN201610616087 A CN 201610616087A CN 106101506 A CN106101506 A CN 106101506A Authority
- CN
- China Prior art keywords
- coordinate position
- mems
- image
- exposal model
- spliced Prior art date
- 2016-07-29 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/617—Upgrading or updating of programs or applications for camera control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
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在每个坐标位置上进行拍照,以得到多个图像;对多个图像进行合成处理,以得到合成后的照片。本发明实施例提供的拍照控制方法,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。
The present invention discloses a photographing control method and device, the method comprising: receiving a photographing mode input by a user; determining whether the photographing mode is a preset photographing mode; if so, obtaining a coordinate position queue corresponding to the photographing mode; moving MEMS according to the coordinate position queue, and controlling MEMS to take photos at each coordinate position to obtain multiple images; synthesizing the multiple images to obtain synthesized photos. The photographing control method provided by the embodiment of the present invention enables the user to obtain the required photos without manually moving the terminal when the user needs photos with a larger viewing angle or a larger frame, thereby reducing the influence of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photo.
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及一种拍照控制方法和装置。The present invention relates to the technical field of mobile terminals, in particular to a photographing control method and device.
背景技术Background technique
如今,人们通过拍照的方式来记录生活的点点滴滴已成为一种时尚。随着移动通讯技术的发展,可用于拍照的移动终端越来越多,如智能的手机、平板电脑等。相比于相机,由于手机更加便携,特别是可以方便地进行自拍,使得用户对手机的依赖程度增加,同时也对手机拍照功能的要求越来越高。Nowadays, it has become a fashion for people to record every bit of life by taking pictures. With the development of mobile communication technology, there are more and more mobile terminals that can be used for taking pictures, such as smart mobile phones and tablet computers. Compared with cameras, mobile phones are more portable, especially because they can take selfies conveniently, making users more dependent on mobile phones, and at the same time have higher and higher requirements for mobile phone camera functions.
目前,在用户使用移动终端的过程中,在用户需要视角更大或者加大画幅的照片(例如全景图像)时,用户需要手动移动移动终端,在移动过程中摄像头进行拍摄,移动终端再将所拍摄的图像拼接起来,以获得全景图像。然而,全景图像受到移动终端的移动速度、角度、抖动的影响,导致全景图像的成像质量较差。At present, in the process of using a mobile terminal, when the user needs a photo with a larger viewing angle or a larger format (such as a panoramic image), the user needs to manually move the mobile terminal. The captured images are stitched together to obtain a panoramic image. However, the panoramic image is affected by the moving speed, angle, and shaking of the mobile terminal, resulting in poor imaging quality of the panoramic image.
发明内容Contents of the invention
本发明的目的旨在至少在一定程度上解决上述的技术问题之一。The object of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.
为此,本发明的第一个目的在于提出一种拍照控制方法,该方法使得用户在一个比较习惯的亮度环境下使用该应用程序,避免了用户在使用该应用程序时手动调整屏幕亮度的麻烦,使得用户在一个比较习惯的亮度环境下使用该应用程序,满足了用户对不同应用程序所使用的亮度值不同的需求。For this reason, the first object of the present invention is to propose a method for photographing control, which enables the user to use the application program in a more accustomed brightness environment, avoiding the trouble of manually adjusting the brightness of the screen when the user uses the application program , so that the user can use the application program in a more accustomed brightness environment, which satisfies the user's requirements for different brightness values used by different application programs.
本发明的第二个目的在于提出一种拍照控制装置。The second object of the present invention is to provide a camera control device.
本发明的第三个目的在于提出一种移动终端。The 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.
为了实现上述目的,本发明第一方面实施例的拍照控制方法,包括:接收用户输入的拍照模式;判断所述拍照模式是否为预设拍照模式;若是,则获取所述拍照模式对应的坐标位置队列;根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;对所述多个图像进行合成处理,以得到合成后的照片。In order to achieve the above purpose, the photographing control method of the embodiment of the first aspect of the present invention includes: receiving the photographing mode input by the user; judging whether the photographing mode is a preset photographing mode; if so, obtaining the coordinate position corresponding to the photographing mode queue; move the MEMS according to the coordinate position queue, and control the MEMS to take pictures at each coordinate position to obtain multiple images; perform composite processing on the multiple images to obtain composite photos.
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take photos on the Internet to obtain multiple images, and perform composite processing on multiple images to obtain composite photos, so that users do not need to manually move the terminal when they need photos with a larger viewing angle or larger format Obtaining the required photos reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
根据本发明的一个实施例,所述对所述多个图像进行合成处理,以得到合成后的照片,包括:According to an embodiment of the present invention, the synthesizing the multiple images to obtain a synthesized photo includes:
按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。According to the sequence of photographing, the images acquired by the MEMS at different coordinate positions are spliced to obtain a synthesized photograph.
根据本发明的一个实施例,所述获取所述拍照模式对应的坐标位置队列,包括:According to an embodiment of the present invention, the obtaining the coordinate position queue corresponding to the photographing mode includes:
根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。According to the pre-stored correspondence between the photographing mode and the coordinate position queue, the coordinate position queue corresponding to the photographing mode is acquired.
根据本发明的一个实施例,所述按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片,包括:According to an embodiment of the present invention, according to the order of taking pictures, the images acquired by the MEMS at different coordinate positions are spliced to obtain a synthesized photo, including:
在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。In the process of splicing images according to the order of photographing, for two frames of images to be spliced with overlapping regions, the identifiers of the two frames of images to be spliced are obtained respectively, and when the two frames of images to be spliced are spliced, the overlapping regions are sorted using the identifiers first images to be stitched.
根据本发明的一个实施例,所述坐标位置队列中的每个坐标位置均处于同一个平面内。According to an embodiment of the present invention, each coordinate position in the coordinate position queue is in the same plane.
为了实现上述目的,本发明第二方面实施例的拍照控制装置,包括:接收模块,用于接收用户输入的拍照模式;判断模块,用于判断所述拍照模式是否为预设拍照模式;获取模块,用于在判断出所述拍照模式为预设拍照模式时,则获取所述拍照模式对应的坐标位置队列;处理模块,用于根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;合成模块,用于对所述多个图像进行合成处理,以得到合成后的照片。In order to achieve the above object, 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; a judging module, configured to judge whether the photographing mode is a preset photographing mode; an acquisition module , for when it is determined that the photographing mode is a preset photographing mode, then obtain the coordinate position queue corresponding to the photographing mode; the processing module is used for moving the MEMS according to the coordinate position queue, and controlling the MEMS at each Taking photos at coordinate positions to obtain multiple images; the synthesis module is used to perform synthesis processing on the multiple images to obtain synthesized photos.
根据本发明实施例的拍照控制装置,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take photos on the Internet to obtain multiple images, and perform composite processing on multiple images to obtain composite photos, so that users do not need to manually move the terminal when they need photos with a larger viewing angle or larger format Obtaining the required photos reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
根据本发明的一个实施例,所述合成模块,具体用于:According to an embodiment of the present invention, the synthesis module is specifically used for:
按照拍照顺序,将所述MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。According to the sequence of photographing, the images acquired by the MEMS at different coordinate positions are spliced to obtain a synthesized photograph.
根据本发明的一个实施例,所述获取模块,具体用于:According to an embodiment of the present invention, the acquisition module is specifically used for:
根据预存的拍照模式与坐标位置队列的对应关系,获取所述拍照模式对应的坐标位置队列。According to the pre-stored correspondence between the photographing mode and the coordinate position queue, the coordinate position queue corresponding to the photographing mode is acquired.
根据本发明的一个实施例,所述合成模块,具体用于:According to an embodiment of the present invention, the synthesis module is specifically used for:
在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接所述两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。In the process of splicing images according to the order of photographing, for two frames of images to be spliced with overlapping regions, the identifiers of the two frames of images to be spliced are obtained respectively, and when the two frames of images to be spliced are spliced, the overlapping regions are sorted using the identifiers first images to be stitched.
根据本发明的一个实施例,所述坐标位置队列中的每个坐标位置均处于同一个平面内。According to an embodiment of the present invention, each coordinate position in the coordinate position queue is in the same plane.
为了实现上述目的,本发明第三方面实施例的移动终端,包括本发明第二方面实施例的拍照控制装置。In order to achieve the above object, the mobile terminal of the embodiment of the third aspect of the present invention includes the camera control device of the embodiment of the second aspect of the present invention.
根据本发明实施例移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled to carry out the process at each coordinate position. Take pictures to obtain multiple images, and perform synthesis processing on multiple images to obtain a synthesized photo, so that when users need photos with a larger viewing angle or enlarged format, they can obtain all the photos without manually moving the terminal. The required photos can reduce the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
为了实现上述目的,本发明第四方面实施例的移动终端,所述移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:接收用户输入的拍照模式;判断所述拍照模式是否为预设拍照模式;若是,则获取所述拍照模式对应的坐标位置队列;根据所述坐标位置队列移动MEMS,并控制所述MEMS在每个坐标位置上进行拍照,以得到多个图像;对所述多个图像进行合成处理,以得到合成后的照片。In order to achieve the above object, the mobile terminal according to the fourth aspect of the present invention includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is placed in the enclosure surrounded by the housing. Inside the space, the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the mobile terminal; the memory is used to store executable program codes; The processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to perform the following steps: receiving the photographing mode input by the user; judging whether the photographing mode is Preset photographing mode; if so, obtain the coordinate position queue corresponding to the photographing mode; move the MEMS according to the coordinate position queue, and control the MEMS to take pictures at each coordinate position to obtain multiple images; The plurality of images are synthesized to obtain a synthesized photo.
根据本发明实施例移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled to carry out the process at each coordinate position. Take pictures to obtain multiple images, and perform synthesis processing on multiple images to obtain a synthesized photo, so that when users need photos with a larger viewing angle or enlarged format, they can obtain all the photos without manually moving the terminal. The required photos can reduce the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein,
图1是根据本发明一个实施例的拍照控制方法的流程图;FIG. 1 is a flow chart of a photographing control method according to an embodiment of the present invention;
图2是根据本发明另一个实施例的拍照控制方法的流程图;Fig. 2 is a flowchart of a photographing control method according to another embodiment of the present invention;
图3是包含第一图像、第二图像和第三图像的示例图;Fig. 3 is an example diagram including a first image, a second image and a third image;
图4是根据本发明一个实施例的拍照控制装置的结构示意图。Fig. 4 is a schematic structural diagram of a photographing control device according to an embodiment of the present invention.
附图标记:Reference signs:
接收模块110、判断模块120、获取模块130、处理模块140和合成模块150。A receiving module 110 , a judging module 120 , an acquiring module 130 , a processing module 140 and a combining module 150 .
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
随着移动终端的发展,移动终端内的硬件也在不断升级,比如,在移动终端内采用了微机电系统(Micro Electro Mechanical System,MEMS)。具体的,MEMS可以应用在多种模组中,比如应用在成像模组中。成像模组包括镜头、MEMS、图像传感器(Sensor)等,MEMS能够带动图像传感器在同一个平面内沿不同方向移动。With the development of the mobile terminal, the hardware in the mobile terminal is also continuously upgraded, for example, a micro electromechanical system (Micro Electro Mechanical System, MEMS) is used in the mobile terminal. Specifically, MEMS can be applied in various modules, for example, in imaging modules. The imaging module includes lens, MEMS, image sensor (Sensor), etc. MEMS can drive the image sensor to move in different directions in the same plane.
图1是根据本发明一个实施例的拍照控制方法的流程图。其中,需要说明的是,该拍照控制方法可以应用于具有成像模组的移动终端中,其中,移动终端可以是手机、平板电脑等具有各种操作的硬件设备。Fig. 1 is a flowchart of a photographing control method according to an embodiment of the present invention. Wherein, it should be noted that the photographing control method can be applied to a mobile terminal with an imaging module, wherein the mobile terminal can be a hardware device with various operations such as a mobile phone and a tablet computer.
如图1所示,该拍照控制方法包括以下步骤:As shown in Figure 1, the photographing control method includes the following steps:
S11,接收用户输入的拍照模式。S11. Receive a photographing mode input by a user.
S12,判断拍照模式是否为预设拍照模式。S12, judging whether the photographing mode is a preset photographing mode.
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。Wherein, the preset shooting mode may be, for example, a panorama mode, an enlarged frame mode, an enlarged viewing angle mode, and the like.
S13,若是,则获取拍照模式对应的坐标位置队列。S13, if yes, acquire the coordinate position queue corresponding to the photographing mode.
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。In one implementation of the present invention, when it is determined that the photographing mode selected by the user is a preset photographing mode (for example, panoramic mode), the coordinates corresponding to the photographing mode can be obtained according to the correspondence between the pre-stored photographing mode and the coordinate position queue position queue.
其中,坐标位置队列中的每个坐标位置处于同一个平面内。Wherein, each coordinate position in the coordinate position queue is in the same plane.
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。Wherein, it should be understood that each coordinate position is preset and calculated according to the physical properties of the lens and the image sensor.
S14,根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。S14, moving the MEMS according to the queue of coordinate positions, and controlling the MEMS to take pictures at each coordinate position, so as to obtain multiple images.
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。Wherein, the MEMS is movable, for example, the MEMS is connected with a driving circuit, and moves under the drive of the driving voltage output by the driving circuit.
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。For example, suppose there are three coordinate positions (A0, A1 and A2) in the coordinate position queue corresponding to the current photographing mode, A0 represents the coordinates of the initial position of MEMS, if the two coordinate positions of A1 and A2 are the same as the initial position of MEMS The vertical coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, take pictures at the initial position A0, after the first image is obtained, the MEMS can be controlled to move to A1, and the MEMS can be controlled to take pictures at A1 to The second image is obtained, and then the MEMS is controlled to move to A2, and the MEMS is controlled to take pictures at A2 to obtain the third image.
S15,对多个图像进行合成处理,以得到合成后的照片。S15. Perform synthesis processing on the multiple images to obtain a synthesized photo.
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置所获得的图像进行合成处理,并为用户提供合成的照片。Specifically, after the images taken by the MEMS at different coordinate positions are obtained, the images obtained by the MEMS at different positions can be synthesized and the synthesized photos can be provided to the user.
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。To sum up, it can be seen that in this embodiment, the MEMS moves to different positions to take pictures, combines the images obtained by the MEMS at different positions, and provides the user with a synthesized photo. As a result, when a user needs a photo with a larger viewing angle or a larger format, the user can obtain the desired photo without manually moving the terminal, which reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the composite image quality. Image quality of photos.
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take photos on the Internet to obtain multiple images, and perform composite processing on multiple images to obtain composite photos, so that users do not need to manually move the terminal when they need photos with a larger viewing angle or larger format Obtaining the required photos reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
图2是根据本发明另一个实施例的拍照控制方法的流程图。Fig. 2 is a flowchart of a photographing control method according to another embodiment of the present invention.
如图2所示,该拍照控制方法包括以下步骤:As shown in Figure 2, the photographing control method includes the following steps:
S21,接收用户输入的拍照模式。S21. Receive a photographing mode input by a user.
S22,判断拍照模式是否为预设拍照模式。S22. Determine whether the photographing mode is a preset photographing mode.
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。Wherein, the preset shooting mode may be, for example, a panorama mode, an enlarged frame mode, an enlarged viewing angle mode, and the like.
S23,若是,则获取拍照模式对应的坐标位置队列。S23, if yes, acquire the coordinate position queue corresponding to the photographing mode.
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。In one implementation of the present invention, when it is determined that the photographing mode selected by the user is a preset photographing mode (for example, panoramic mode), the coordinates corresponding to the photographing mode can be obtained according to the correspondence between the pre-stored photographing mode and the coordinate position queue position queue.
其中,坐标位置队列中的每个坐标位置处于同一个平面内。Wherein, each coordinate position in the coordinate position queue is in the same plane.
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。Wherein, it should be understood that each coordinate position is preset and calculated according to the physical properties of the lens and the image sensor.
S24,根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。S24. Move the MEMS according to the queue of coordinate positions, and control the MEMS to take pictures at each coordinate position, so as to obtain multiple images.
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。Wherein, the MEMS is movable, for example, the MEMS is connected with a driving circuit, and moves under the drive of the driving voltage output by the driving circuit.
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。For example, suppose there are three coordinate positions (A0, A1 and A2) in the coordinate position queue corresponding to the current photographing mode, A0 represents the coordinates of the initial position of MEMS, if the two coordinate positions of A1 and A2 are the same as the initial position of MEMS The vertical coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, take pictures at the initial position A0, after the first image is obtained, the MEMS can be controlled to move to A1, and the MEMS can be controlled to take pictures at A1 to The second image is obtained, and then the MEMS is controlled to move to A2, and the MEMS is controlled to take pictures at A2 to obtain the third image.
S25,按照拍照顺序,将MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。S25. According to the sequence of taking photos, stitch the images acquired by the MEMS at different coordinate positions to obtain a synthesized photo.
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置所获得的图像进行拼接处理,并为用户提供合成的照片。Specifically, after the images captured by the MEMS at different coordinate positions are obtained, the images obtained by the MEMS at different positions can be stitched together, and a synthesized photo can be provided to the user.
在本发明的一个实施例中,在按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,分别获取两帧待拼接图像的标识,在拼接两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。In one embodiment of the present invention, during the process of splicing images according to the sequence of photographing, for two frames of images to be spliced with overlapping regions, the identifications of the two frames of images to be spliced are obtained respectively, and when splicing two frames of images to be spliced, for Overlapping areas use to identify the images to be stitched that are sorted first.
例如,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。包含第一图像、第二图像和第三图像的示例图,如图3所示,在按照拍照顺序拼接第一图像和第二图像时,对于重叠区域1所包含的图像以第一图像中的为准,在第一图像和第二图像拼接完成后,在拼接第三图像时,对于重叠区域2所包含的图像以第二图像中的为准。For example, assuming that there are three coordinate positions (A0, A1 and A2) in the coordinate position queue corresponding to the current photographing mode, A0 represents the coordinates of the initial position of the MEMS, if the two coordinate positions of A1 and A2 are the same as the coordinates of the initial position of the MEMS The vertical coordinates are the same, the distance between A1 and A2 and the initial position is 150um, take pictures at the initial position A0, after obtaining the first image, control the MEMS to move to A1, and control the MEMS to take pictures at A1 to obtain the first image second image, and then control the MEMS to move to A2, and control the MEMS to take pictures at A2 to obtain the third image. An example diagram containing the first image, the second image and the third image, as shown in Figure 3, when stitching the first image and the second image according to the photographing order, for the images contained in the overlapping area 1, use the After the splicing of the first image and the second image is completed, when splicing the third image, the images included in the overlapping area 2 are subject to the second image.
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。To sum up, it can be seen that in this embodiment, the MEMS moves to different positions to take pictures, combines the images obtained by the MEMS at different positions, and provides the user with a synthesized photo. As a result, when a user needs a photo with a larger viewing angle or a larger format, the user can obtain the desired photo without manually moving the terminal, which reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the composite image quality. Image quality of photos.
根据本发明实施例的拍照控制方法,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take photos on the Internet to obtain multiple images, and perform composite processing on multiple images to obtain composite photos, so that users do not need to manually move the terminal when they need photos with a larger viewing angle or larger format Obtaining the required photos reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
为了实现上述实施例,本发明还提出了一种本发明实施例的拍照控制装置。In order to realize the above embodiments, the present invention also proposes a camera control device according to the embodiments of the present invention.
图4是根据本发明一个实施例的拍照控制装置的结构示意图。Fig. 4 is a schematic structural diagram of a photographing control device according to an embodiment of the present invention.
如图4所示,该本发明实施例的拍照控制装置可以包括接收模块110、判断模块120、获取模块130、处理模块140和合成模块150,其中:As shown in Figure 4, the camera control device in this embodiment of the present invention may include a receiving module 110, a judging module 120, an acquiring module 130, a processing module 140 and a combining module 150, wherein:
具体地,接收模块110用于接收用户输入的拍照模式。Specifically, the receiving module 110 is configured to receive a photographing mode input by a user.
判断模块120用于判断拍照模式是否为预设拍照模式。The judging module 120 is used for judging whether the photographing mode is a preset photographing mode.
获取模块130用于在判断出拍照模式为预设拍照模式时,则获取拍照模式对应的坐标位置队列。The acquiring module 130 is configured to acquire the coordinate position queue corresponding to the photographing mode when it is determined that the photographing mode is a preset photographing mode.
在本本发明的一个实施例中,获取模块130具体用于:根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。In an embodiment of the present invention, the acquiring module 130 is specifically configured to: acquire the coordinate position queue corresponding to the photographing mode according to the pre-stored correspondence between the photographing mode and the coordinate position queue.
其中,坐标位置队列中的每个坐标位置均处于同一个平面内。Wherein, each coordinate position in the coordinate position queue is in the same plane.
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。Wherein, it should be understood that each coordinate position is preset and calculated according to the physical properties of the lens and the image sensor.
处理模块140用于根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。The processing module 140 is used to move the MEMS according to the coordinate position queue, and control the MEMS to take pictures at each coordinate position to obtain multiple images.
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。Wherein, the MEMS is movable, for example, the MEMS is connected with a driving circuit, and moves under the drive of the driving voltage output by the driving circuit.
合成模块150用于对多个图像进行合成处理,以得到合成后的照片。The synthesizing module 150 is used for synthesizing multiple images to obtain a synthesized photo.
在本发明的一个实施例中,合成模块150具体用于:按照拍照顺序,将MEMS在不同坐标位置所获取的图像进行拼接,以得到合成后的照片。In one embodiment of the present invention, the synthesizing module 150 is specifically configured to: stitch together the images acquired by the MEMS at different coordinate positions according to the photographing sequence to obtain a synthesized photo.
在本发明的一个实施例中,在合成模块150按照拍照顺序拼接图像的过程中,对于具有重叠区域的两帧待拼接图像,合成模块150分别获取两帧待拼接图像的标识,在拼接两帧待拼接图像时,对于重叠区域使用标识排序在前的待拼接图像。In one embodiment of the present invention, during the process of splicing images by the composition module 150 according to the sequence of photographing, for two frames of images to be spliced with overlapping regions, the composition module 150 respectively obtains the identifications of the two frames of images to be spliced, and when splicing the two frames When the image to be stitched, use the image to be stitched that is sorted first for the overlapping area.
其中,需要说明的是,前述对拍照控制方法实施例的解释说明也适用于该实施例的拍照控制装置,其实现原理类似,此处不再赘述。Wherein, it should be noted that the foregoing explanations on the embodiment of the photographing control method are also applicable to the photographing control device of this embodiment, and its implementation principles are similar, so details are not repeated here.
根据本发明实施例的拍照控制装置,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take photos on the Internet to obtain multiple images, and perform composite processing on multiple images to obtain composite photos, so that users do not need to manually move the terminal when they need photos with a larger viewing angle or larger format Obtaining the required photos reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
为了实现上述实施例,本发明还提出一种移动终端。In order to realize the above embodiments, the present invention also proposes a mobile terminal.
一种移动终端,包括本发明第二方面实施例的拍照控制装置。A mobile terminal includes the camera control device according to the embodiment of the second aspect of the present invention.
根据本发明实施例的移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take pictures to obtain multiple images, and synthesize multiple images to obtain a composite photo, so that when users need photos with a larger viewing angle or enlarged format, they can obtain them without manually moving the terminal The required photos reduce the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
为了实现上述实施例,本发明还提出一种移动终端,该移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为移动终端的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:In order to realize the above-mentioned embodiments, the present invention also proposes a mobile terminal, which includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and The memory is set on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the mobile terminal; the memory is used to store executable program code; the processor runs and executes the program by reading the executable program code stored in the memory A program corresponding to the code to perform the following steps:
S11',接收用户输入的拍照模式。S11', receiving a photographing mode input by a user.
S12',判断拍照模式是否为预设拍照模式。S12', judging whether the photographing mode is a preset photographing mode.
其中,预设拍摄模式可以例如是全景模式、加大画幅模式、扩大视角模式等。Wherein, the preset shooting mode may be, for example, a panorama mode, an enlarged frame mode, an enlarged viewing angle mode, and the like.
S13',若是,则获取拍照模式对应的坐标位置队列。S13', if yes, acquire the coordinate position queue corresponding to the photographing mode.
在本发明的一个实施中,在判断出用户所选择的拍照模式为预设拍照模式(例如,全景模式)时,可根据预存的拍照模式与坐标位置队列的对应关系,获取拍照模式对应的坐标位置队列。In one implementation of the present invention, when it is determined that the photographing mode selected by the user is a preset photographing mode (for example, panoramic mode), the coordinates corresponding to the photographing mode can be obtained according to the correspondence between the pre-stored photographing mode and the coordinate position queue position queue.
其中,坐标位置队列中的每个坐标位置处于同一个平面内。Wherein, each coordinate position in the coordinate position queue is in the same plane.
其中,需要理解的是,每个坐标位置是根据镜头和图像传感器的物理属性预设计算出来的。Wherein, it should be understood that each coordinate position is preset and calculated according to the physical properties of the lens and the image sensor.
S14',根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像。S14', moving the MEMS according to the coordinate position queue, and controlling the MEMS to take pictures at each coordinate position to obtain multiple images.
其中,MEMS是可移动的,例如,MEMS与驱动电路连接,在驱动电路输出的驱动电压的驱动下进行移动。Wherein, the MEMS is movable, for example, the MEMS is connected with a driving circuit, and moves under the drive of the driving voltage output by the driving circuit.
举例而言,假设当前拍照模式所对应的坐标位置队列中有三个坐标位置(A0、A1和A2),A0表示MEMS的初始位置的坐标,如果A1和A2这两个坐标位置与MEMS的初始位置的坐标的纵坐标相同,A1和A2与初始位置之间的距离为150um,在初始位置A0拍照,得到第一图像后,可控制MEMS移动至A1处,并控制MEMS在A1处进行拍照,以得到第二图像,然后,控制MEMS移动至A2处,并控制MEMS在A2处进行拍照,以得到第三图像。For example, suppose there are three coordinate positions (A0, A1 and A2) in the coordinate position queue corresponding to the current photographing mode, A0 represents the coordinates of the initial position of MEMS, if the two coordinate positions of A1 and A2 are the same as the initial position of MEMS The vertical coordinates of the coordinates are the same, the distance between A1 and A2 and the initial position is 150um, take pictures at the initial position A0, after the first image is obtained, the MEMS can be controlled to move to A1, and the MEMS can be controlled to take pictures at A1 to The second image is obtained, and then the MEMS is controlled to move to A2, and the MEMS is controlled to take pictures at A2 to obtain the third image.
S15',对多个图像进行合成处理,以得到合成后的照片。S15', performing synthesis processing on multiple images to obtain a synthesized photo.
具体地,在获得MEMS在不同坐标位置上所拍摄的图像后,可将MEMS在不同位置所获得的图像进行合成处理,并为用户提供合成的照片。Specifically, after the images taken by the MEMS at different coordinate positions are obtained, the images obtained by the MEMS at different positions can be synthesized and the synthesized photos can be provided to the user.
综上可以看出,该实施例通过MEMS移动到不同位置进行拍照,并将MEMS在不同位置所获得的图像进行合并,并为用户提供合成的照片。由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。To sum up, it can be seen that in this embodiment, the MEMS moves to different positions to take pictures, combines the images obtained by the MEMS at different positions, and provides the user with a synthesized photo. As a result, when a user needs a photo with a larger viewing angle or a larger format, the user can obtain the desired photo without manually moving the terminal, which reduces the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the composite image quality. Image quality of photos.
根据本发明实施例的移动终端,在判断出用户输入的拍照模式为预设拍照模式时,获取拍照模式对应的坐标位置队列,并根据坐标位置队列移动MEMS,并控制MEMS在每个坐标位置上进行拍照,以得到多个图像,以及对多个图像进行合成处理,以得到合成后的照片,由此,使得用户在需要视角更大或者加大画幅的照片时,无需手动移动终端即可获得所需的照片,减少了手动移动终端对初始图像的成像质量的影响,进而可提高合成后的照片的成像质量。According to 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 obtained, and the MEMS is moved according to the coordinate position queue, and the MEMS is controlled at each coordinate position Take pictures to obtain multiple images, and synthesize multiple images to obtain a composite photo, so that when users need photos with a larger viewing angle or enlarged format, they can obtain them without manually moving the terminal The required photos reduce the impact of manually moving the terminal on the imaging quality of the initial image, thereby improving the imaging quality of the synthesized photos.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by 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 known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
Claims (10)
1. a camera control method, it is characterised in that comprise the following steps:
Receive the exposal model of user's input;
Judge whether described exposal model is to preset exposal model;
The most then obtain the coordinate position queue that described exposal model is corresponding;
Move MEMS according to described coordinate position queue, and control described MEMS and take pictures on each coordinate position, with To multiple images;
The plurality of image is carried out synthesis process, with the photo after being synthesized.
2. camera control method as claimed in claim 1, it is characterised in that described the plurality of image is carried out at synthesis Reason, with the photo after being synthesized, including:
According to order of taking pictures, described MEMS is spliced, after being synthesized at the image acquired in different coordinate positions Photo.
3. camera control method as claimed in claim 1, it is characterised in that the coordinate that the described exposal model of described acquisition is corresponding Position queue, including:
According to the corresponding relation of the exposal model prestored Yu coordinate position queue, obtain the coordinate position that described exposal model is corresponding Queue.
4. camera control method as claimed in claim 2, it is characterised in that described according to order of taking pictures, exists described MEMS Different images acquired in coordinate position splice, with the photo after being synthesized, including:
During according to sequential concatenation image of taking pictures, for having two frame images to be spliced of overlapping region, obtain respectively The mark of two frame images to be spliced, when splicing described two frame image to be spliced, uses mark sequence front for overlapping region Image to be spliced.
5. the camera control method as according to any one of claim 1-4, it is characterised in that in described coordinate position queue Each coordinate position is in approximately the same plane.
6. a photographing control device, it is characterised in that including:
Receiver module, for receiving the exposal model of user's input;
Judge module, is used for judging whether described exposal model is to preset exposal model;
Acquisition module, for when judging described exposal model for presetting exposal model, then obtains described exposal model corresponding Coordinate position queue;
Processing module, for moving MEMS according to described coordinate position queue, and controls described MEMS on each coordinate position Take pictures, to obtain multiple image;
Synthesis module, for carrying out synthesis process to the plurality of image, with the photo after being synthesized.
7. photographing control device as claimed in claim 6, it is characterised in that described synthesis module, specifically for:
According to order of taking pictures, described MEMS is spliced, after being synthesized at the image acquired in different coordinate positions Photo.
8. photographing control device as claimed in claim 6, it is characterised in that described acquisition module, specifically for:
According to the corresponding relation of the exposal model prestored Yu coordinate position queue, obtain the coordinate position that described exposal model is corresponding Queue.
9. photographing control device as claimed in claim 8, it is characterised in that described synthesis module, specifically for:
During according to sequential concatenation image of taking pictures, for having two frame images to be spliced of overlapping region, obtain respectively The mark of two frame images to be spliced, when splicing described two frame image to be spliced, uses mark sequence front for overlapping region Image to be spliced.
10. the photographing control device as according to any one of claim 6-9, it is characterised in that in described coordinate position queue Each coordinate position be in approximately the same plane.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610616087.4A CN106101506A (en) | 2016-07-29 | 2016-07-29 | Camera control method and device |
PCT/CN2017/085206 WO2018019013A1 (en) | 2016-07-29 | 2017-05-19 | Photographing control method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610616087.4A CN106101506A (en) | 2016-07-29 | 2016-07-29 | Camera control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106101506A true CN106101506A (en) | 2016-11-09 |
Family
ID=57478465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610616087.4A Pending CN106101506A (en) | 2016-07-29 | 2016-07-29 | Camera control method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106101506A (en) |
WO (1) | WO2018019013A1 (en) |
Cited By (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506965A (en) * | 2016-11-29 | 2017-03-15 | 努比亚技术有限公司 | A kind of image pickup method and terminal |
CN106791422A (en) * | 2016-12-30 | 2017-05-31 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
WO2018019013A1 (en) * | 2016-07-29 | 2018-02-01 | 广东欧珀移动通信有限公司 | Photographing control method and apparatus |
CN108449546A (en) * | 2018-04-04 | 2018-08-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Citations (4)
* Cited by examiner, † Cited by third partyPublication 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 (en) * | 2003-10-28 | 2006-12-06 | 皇家飞利浦电子股份有限公司 | Digital camera with panorama or mosaic functionality |
CN103534726A (en) * | 2011-05-17 | 2014-01-22 | 苹果公司 | Positional sensor-assisted image registration for panoramic photography |
Family Cites Families (1)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101506A (en) * | 2016-07-29 | 2016-11-09 | 广东欧珀移动通信有限公司 | Camera control method and device |
-
2016
- 2016-07-29 CN CN201610616087.4A patent/CN106101506A/en active Pending
-
2017
- 2017-05-19 WO PCT/CN2017/085206 patent/WO2018019013A1/en active Application Filing
Patent Citations (4)
* Cited by examiner, † Cited by third partyPublication 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 (en) * | 2003-10-28 | 2006-12-06 | 皇家飞利浦电子股份有限公司 | Digital camera with panorama or mosaic functionality |
CN103534726A (en) * | 2011-05-17 | 2014-01-22 | 苹果公司 | Positional sensor-assisted image registration for panoramic photography |
Cited By (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018019013A1 (en) * | 2016-07-29 | 2018-02-01 | 广东欧珀移动通信有限公司 | Photographing control method and apparatus |
CN106506965A (en) * | 2016-11-29 | 2017-03-15 | 努比亚技术有限公司 | A kind of image pickup method and terminal |
CN106791422A (en) * | 2016-12-30 | 2017-05-31 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108449546A (en) * | 2018-04-04 | 2018-08-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2018019013A1 (en) | 2018-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102338576B1 (en) | 2021-12-14 | Electronic device which stores depth information associating with image in accordance with Property of depth information acquired using image and the controlling method thereof |
CN106605403B (en) | 2020-02-14 | Shooting method and electronic equipment |
CN106254772B (en) | 2017-11-07 | Multiple image synthetic method and device |
CN104410783B (en) | 2018-02-02 | A kind of focusing method and terminal |
CN110035228B (en) | 2021-09-07 | Camera anti-shake system, method, electronic device and computer-readable storage medium |
JP6192940B2 (en) | 2017-09-06 | Photography equipment and cooperative photography method |
CN105791701B (en) | 2019-04-16 | Image capturing device and method |
CN107465856B (en) | 2020-01-14 | Image pickup method and device and terminal equipment |
US10158798B2 (en) | 2018-12-18 | Imaging apparatus and method of controlling the same |
CN106416224A (en) | 2017-02-15 | Panoramic shooting method, terminal, rotation assembly and panoramic shooting device |
CN102207674A (en) | 2011-10-05 | Panorama image shooting apparatus and method |
CN104980659A (en) | 2015-10-14 | Electronic terminal for controlling shooting display and control method thereof |
CN110581956A (en) | 2019-12-17 | Image processing method, device, storage medium and electronic device |
KR102668233B1 (en) | 2024-05-23 | Electronic device for obtaining images by controlling frame rate for external object moving through point ofinterest and operating method thereof |
WO2019011091A1 (en) | 2019-01-17 | Photographing reminding method and device, terminal and computer storage medium |
CN105847673B (en) | 2019-05-14 | Photo display methods, device and mobile terminal |
CN107637063B (en) | 2021-04-09 | Method and camera for controlling functions based on user's gestures |
CN104539843A (en) | 2015-04-22 | Terminal shooting method |
JP2015186021A (en) | 2015-10-22 | Imaging apparatus, imaging observation apparatus, image comparison and display method, image comparison and display program, and image comparison and display system |
CN106101506A (en) | 2016-11-09 | Camera control method and device |
CN112655194A (en) | 2021-04-13 | Electronic device and method for capturing views |
CN106791390B (en) | 2022-02-11 | Wide-angle self-timer real-time preview method and user terminal |
US20150189151A1 (en) | 2015-07-02 | Information processing apparatus, imaging apparatus, information processing method, information processing program, and imaging system |
KR20190075292A (en) | 2019-07-01 | Method of generating composite image using a plurality of images with different exposure values and electronic device supporting the same |
JP2007183826A (en) | 2007-07-19 | Electronic appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2016-11-09 | C06 | Publication | |
2016-11-09 | PB01 | Publication | |
2016-12-07 | C10 | Entry into substantive examination | |
2016-12-07 | SE01 | Entry into force of request for substantive examination | |
2018-08-14 | RJ01 | Rejection of invention patent application after publication | |
2018-08-14 | RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |