[go: up one dir, main page]

CN105827932A - Image synthesis method and mobile terminal - Google Patents

Image synthesis method and mobile terminal Download PDF

Info

Publication number
CN105827932A
CN105827932A CN201510378697.0A CN201510378697A CN105827932A CN 105827932 A CN105827932 A CN 105827932A CN 201510378697 A CN201510378697 A CN 201510378697A CN 105827932 A CN105827932 A CN 105827932A
Authority
CN
China
Prior art keywords
image
camera
shooting angle
target
focal length
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.)
Pending
Application number
CN201510378697.0A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510378697.0A priority Critical patent/CN105827932A/en
Publication of CN105827932A publication Critical patent/CN105827932A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

本发明实施例提供了一种图像合成方法和移动终端,涉及信号处理技术,以解决用户需要根据不同角度重新拍摄照片,造成拍照操作繁琐的问题。技术方案应用于包含第一摄像头和第二摄像头的移动终端,包括:同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,第一图像由第一摄像头以第一拍摄角度采用第一焦距拍摄获得,第二图像由第二摄像头以第二拍摄角度采用第二焦距拍摄获得,第二拍摄角度大于第一拍摄角度;获取用户输入的目标拍摄角度,其中,目标拍摄角度在第一拍摄角度和第二拍摄角度之间;根据第一图像和第二图像,以及目标拍摄角度合成目标图像。本发明实施例提供的技术方案可以应用在拍照过程中。

Embodiments of the present invention provide an image synthesis method and a mobile terminal, which relate to signal processing technology, so as to solve the problem that users need to re-take photos according to different angles, which causes cumbersome photo-taking operations. The technical solution is applied to a mobile terminal including a first camera and a second camera, including: simultaneously using the first camera and the second camera to shoot the target subject, and acquiring the first image and the second image, wherein the first image is obtained by the first The camera is obtained by shooting at the first shooting angle with the first focal length, and the second image is obtained by shooting with the second camera at the second shooting angle and using the second focal length, and the second shooting angle is greater than the first shooting angle; obtaining the target shooting angle input by the user, Wherein, the target shooting angle is between the first shooting angle and the second shooting angle; the target image is synthesized according to the first image, the second image, and the target shooting angle. The technical solutions provided by the embodiments of the present invention can be applied in the process of taking pictures.

Description

一种图像合成方法和移动终端An image synthesis method and mobile terminal

技术领域technical field

本发明涉及信号处理技术领域,特别是涉及一种图像合成方法和移动终端。The invention relates to the technical field of signal processing, in particular to an image synthesis method and a mobile terminal.

背景技术Background technique

目前,越来越多的人喜欢通过手机等便携式终端设备拍摄照片,用以记录生活的精彩片段。然而,由于用户的摄像技术问题,拍摄出的照片经常因为角度不佳使得用户对照片效果不满意。At present, more and more people like to take photos with portable terminal devices such as mobile phones to record wonderful moments of life. However, due to the technical problem of the user's camera, the photos taken are often not satisfied with the effect of the photos because of poor angles.

在实现本发明的过程中,发明人发现,在现有技术中,当用户对已拍摄的照片角度不满意时,只能通过重新拍摄的方法选取适合的角度,获取对应的照片。使得用户拍照操作繁琐,并且在反复拍照的过程中很可能错过精彩瞬间。In the process of realizing the present invention, the inventor found that in the prior art, when the user is not satisfied with the angle of the photographed photos, he can only select a suitable angle by re-shooting to obtain the corresponding photos. It makes the user's camera operation cumbersome, and it is likely to miss a wonderful moment in the process of repeatedly taking pictures.

发明内容Contents of the invention

本发明实施例所要解决的技术问题是提供一种图像合成方法,能够根据用户选择的角度合成满足需求的图像。The technical problem to be solved by the embodiments of the present invention is to provide an image synthesis method capable of synthesizing images satisfying requirements according to an angle selected by a user.

相应的,本发明实施例还提供了一种移动终端,用以保证上述方法的实现及应用。Correspondingly, the embodiment of the present invention also provides a mobile terminal to ensure the implementation and application of the above method.

为了解决上述问题,本发明公开了一种图像合成方法,应用于包含第一摄像头和第二摄像头的移动终端,包括:同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,所述第一图像由所述第一摄像头以第一拍摄角度采用第一焦距拍摄获得,所述第二图像由所述第二摄像头以第二拍摄角度采用第二焦距拍摄获得,所述第二拍摄角度大于所述第一拍摄角度;获取用户输入的目标拍摄角度,其中,所述目标拍摄角度在所述第一拍摄角度和第二拍摄角度之间;根据所述第一图像和所述第二图像,以及所述目标拍摄角度合成目标图像。In order to solve the above problems, the present invention discloses an image synthesis method, which is applied to a mobile terminal including a first camera and a second camera. and a second image, wherein the first image is captured by the first camera at a first shooting angle with a first focal length, and the second image is obtained by the second camera at a second shooting angle with a second focal length Obtaining shooting, the second shooting angle is greater than the first shooting angle; obtaining a target shooting angle input by the user, wherein the target shooting angle is between the first shooting angle and the second shooting angle; according to the Combining the first image, the second image, and the shooting angle of the target into a target image.

进一步地,所述根据所述第一图像和所述第二图像,合成所述目标拍摄角度对应的目标图像包括:根据所述第一拍摄角度和第一焦距,获取所述第一图像对应所述目标拍摄角度的第一图像合成参数;根据所述第二拍摄角度和第二焦距,合成所述第二图像对应所述目标拍摄角度的第二图像合成参数;根据所述第一图像合成参数和第二图像合成参数,合成所述目标拍摄角度对应的目标图像。Further, the synthesizing the target image corresponding to the target shooting angle according to the first image and the second image includes: acquiring the target image corresponding to the first image according to the first shooting angle and the first focal length. The first image synthesis parameter of the target shooting angle; according to the second shooting angle and the second focal length, synthesize the second image corresponding to the second image synthesis parameter of the target shooting angle; according to the first image synthesis parameter Combining the target image corresponding to the target shooting angle with the second image compositing parameter.

进一步地,所述第一焦距和第二焦距相同。Further, the first focal length and the second focal length are the same.

进一步地,所述第一摄像头和第二摄像头中至少一个为可转动摄像头。Further, at least one of the first camera and the second camera is a rotatable camera.

进一步地,所述第一摄像头和第二摄像头的相对位置根据所述第一摄像头和第二摄像头的可视角度设置。Further, the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera.

为了解决上述问题,本发明公开了一种移动终端,包括第一摄像头和第二摄像头,所述移动终端包括:In order to solve the above problems, the present invention discloses a mobile terminal, including a first camera and a second camera, and the mobile terminal includes:

第一获取模块,用于同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,所述第一图像由所述第一摄像头以第一拍摄角度采用第一焦距拍摄获得,所述第二图像由所述第二摄像头以第二拍摄角度采用第二焦距拍摄获得,所述第二拍摄角度大于所述第一拍摄角度;The first acquisition module is configured to simultaneously adopt the first camera and the second camera to shoot the target subject, and acquire the first image and the second image, wherein the first image is adopted by the first camera at a first shooting angle The second image is obtained by shooting with a first focal length, and the second image is obtained by shooting with a second focal length at a second shooting angle by the second camera, and the second shooting angle is larger than the first shooting angle;

第二获取模块,用于获取用户输入的目标拍摄角度,其中,所述目标拍摄角度在所述第一拍摄角度和第二拍摄角度之间;A second acquiring module, configured to acquire a target shooting angle input by a user, wherein the target shooting angle is between the first shooting angle and the second shooting angle;

图像合成模块,用于根据所述第一获取模块获取的第一图像和第二图像,以及所述第二获取模块获取的目标拍摄角度合成目标图像。An image synthesis module, configured to synthesize a target image according to the first image and the second image acquired by the first acquisition module, and the target shooting angle acquired by the second acquisition module.

进一步地,所述图像合成模块包括:Further, the image synthesis module includes:

第一合成子模块,用于根据所述第一拍摄角度和第一焦距,获取所述第一图像对应所述目标拍摄角度的第一图像合成参数;The first synthesizing sub-module is used to obtain the first image synthesizing parameters corresponding to the target shooting angle of the first image according to the first shooting angle and the first focal length;

第二合成子模块,用于根据所述第二拍摄角度和第二焦距,合成所述第二图像对应所述目标拍摄角度的第二图像合成参数;The second synthesis sub-module is used to synthesize the second image synthesis parameters of the second image corresponding to the target shooting angle according to the second shooting angle and the second focal length;

第三合成子模块,用于根据所述第一合成子模块获取的第一图像合成参数和所述第二合成子模块获取的第二图像合成参数,合成所述目标拍摄角度对应的目标图像。The third synthesis sub-module is configured to synthesize the target image corresponding to the target shooting angle according to the first image synthesis parameters acquired by the first synthesis sub-module and the second image synthesis parameters acquired by the second synthesis sub-module.

进一步地,所述第一焦距和第二焦距相同。Further, the first focal length and the second focal length are the same.

进一步地,所述第一摄像头和第二摄像头中至少一个为可转动摄像头。Further, at least one of the first camera and the second camera is a rotatable camera.

进一步地,所述第一摄像头和第二摄像头的相对位置根据所述第一摄像头和第二摄像头的可视角度设置。Further, the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera.

本发明实施例提供的图像合成方法和移动终端,能够通过第一摄像头以第一拍摄角度采用第一焦距获取第一图像,通过第二摄像头以第二拍摄角度采用第二焦距获取第二图像,根据第一图像和第二图像合成用户输入的目标拍摄角度对应的目标图像。解决了现有技术,用户变换角度时,需要重新拍摄照片,造成拍照操作繁琐的问题。本发明实施例提供的技术方案可以自动根据双摄像头拍摄的不同角度的图像合成用户需要的目标拍摄角度对应的目标图像,操作简单,易于实现。The image synthesis method and the mobile terminal provided by the embodiments of the present invention can acquire a first image at a first shooting angle and a first focal length through a first camera, and acquire a second image at a second shooting angle and a second focal length through a second camera, A target image corresponding to the target shooting angle input by the user is synthesized according to the first image and the second image. The present invention solves the problem that in the prior art, when the user changes the angle, the photo needs to be taken again, resulting in cumbersome photographing operations. The technical solution provided by the embodiment of the present invention can automatically synthesize the target image corresponding to the target shooting angle required by the user according to the images of different angles captured by the dual cameras, and the operation is simple and easy to implement.

附图说明Description of drawings

图1是本发明实施例提供的一种图像合成方法步骤流程图;FIG. 1 is a flow chart of the steps of an image synthesis method provided by an embodiment of the present invention;

图2是图1所示的一种图像合成方法中步骤103的流程图;Fig. 2 is the flowchart of step 103 in a kind of image synthesis method shown in Fig. 1;

图3是本发明实施例提供的一种移动终端结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;

图4是图3所示的一种移动终端中图像合成模块303的结构示意图。FIG. 4 is a schematic structural diagram of an image synthesis module 303 in a mobile terminal shown in FIG. 3 .

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

为了解决现有技术用户需要根据不同角度重新拍摄照片,造成拍照操作繁琐的问题,本发明实施例提供一种图像合成方法和移动终端。In order to solve the problem in the prior art that a user needs to re-take photos according to different angles, resulting in cumbersome photo-taking operations, embodiments of the present invention provide an image synthesis method and a mobile terminal.

如图1所示,本发明实施例提供的图像合成方法,应用于包含第一摄像头和第二摄像头的移动终端,包括:As shown in Figure 1, the image synthesis method provided by the embodiment of the present invention is applied to a mobile terminal including a first camera and a second camera, including:

步骤101,同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,第一图像由第一摄像头以第一拍摄角度采用第一焦距拍摄获得,第二图像由第二摄像头以第二拍摄角度采用第二焦距拍摄获得,第二拍摄角度大于第一拍摄角度。Step 101, using the first camera and the second camera to shoot the target subject at the same time to obtain the first image and the second image, wherein the first image is obtained by the first camera at the first shooting angle and the first focal length, and the second The image is captured by the second camera at a second shooting angle with a second focal length, and the second shooting angle is larger than the first shooting angle.

其中,第一焦距和第二焦距可以不同,优选地,为了使后续步骤中目标图像合成操作更方便,在本实施例中,第一焦距和第二焦距相同。Wherein, the first focal length and the second focal length may be different. Preferably, in order to make the target image synthesis operation more convenient in the subsequent steps, in this embodiment, the first focal length and the second focal length are the same.

需要说明的是,本实施例并不对第一拍摄角度和第二拍摄角度的具体形成方式进行限定,第一拍摄角度和第二拍摄角度可以由第一摄像头和第二摄像头分别与水平面之间的夹角形成,也可以由第一摄像头和第二摄像头分别与垂直方向之间的夹角形成,当然,在实际的使用过程中,还可以由第一摄像头和第二摄像头分别与其他任意一个指定平面之间的夹角形成,此处不作一一赘述。It should be noted that this embodiment does not limit the specific way of forming the first shooting angle and the second shooting angle, and the first shooting angle and the second shooting angle can be determined by the distance between the first camera and the second camera The included angle can also be formed by the angle between the first camera and the second camera and the vertical direction. Of course, in actual use, it can also be specified by the first camera and the second camera respectively and any other The included angles between the planes are formed, which will not be detailed here.

步骤102,获取用户输入的目标拍摄角度,其中,目标拍摄角度在第一拍摄角度和第二拍摄角度之间。Step 102, acquiring a target shooting angle input by a user, wherein the target shooting angle is between the first shooting angle and the second shooting angle.

在本实施例中,用户可以通过输入具体角度值的方式,输入目标拍摄角度,也可以通过转动第一图像和第二图像的方式,输入目标拍摄角度。当然,在实际的使用过程中,用户还可以通过其他任何可实现的方式输入目标拍摄角度,此处不做一一赘述。In this embodiment, the user may input the target shooting angle by inputting a specific angle value, or may input the target shooting angle by rotating the first image and the second image. Of course, in the actual use process, the user can also input the target shooting angle in any other achievable way, which will not be repeated here.

步骤103,根据第一图像和第二图像,以及目标拍摄角度合成目标图像。In step 103, the target image is synthesized according to the first image, the second image, and the shooting angle of the target.

具体地,如图2所示,步骤103可以包括:Specifically, as shown in Figure 2, step 103 may include:

步骤1031,根据第一拍摄角度和第一焦距,获取第一图像对应目标拍摄角度的第一图像合成参数。Step 1031, according to the first shooting angle and the first focal length, acquire the first image composition parameters corresponding to the target shooting angle of the first image.

步骤1032,根据第二拍摄角度和第二焦距,合成第二图像对应目标拍摄角度的第二图像合成参数。Step 1032, according to the second shooting angle and the second focal length, synthesize the second image synthesis parameters corresponding to the target shooting angle of the second image.

步骤1033,根据第一图像合成参数和第二图像合成参数,合成目标拍摄角度对应的目标图像。Step 1033: Synthesize the target image corresponding to the target shooting angle according to the first image synthesis parameter and the second image synthesis parameter.

需要说明的是,本实施例所述的第一图像合成参数和第二图像合成参数可以包括:颜色、形状、纹理等相关参数,此处不做赘述。It should be noted that, the first image composition parameter and the second image composition parameter described in this embodiment may include related parameters such as color, shape, texture, etc., which will not be described in detail here.

优选地,在以上图1和2所示的图像合成方法中,为了进一步扩大图像采集范围,第一摄像头和第二摄像头中至少一个为可转动摄像头。Preferably, in the above image synthesis method shown in FIGS. 1 and 2 , in order to further expand the range of image acquisition, at least one of the first camera and the second camera is a rotatable camera.

进一步地,在以上图1和2所示的图像合成方法中,第一摄像头和第二摄像头的相对位置根据第一摄像头和第二摄像头的可视角度设置。具体地,当第一摄像头和第二摄像头的可是角度较小时,设置第一摄像头和第二摄像头的相对位置较近,反之,当第一摄像头和第二摄像头的可是角度较大时,可以将第一摄像头和第二摄像头的相对位置设置的较远。Further, in the image synthesis method shown in FIGS. 1 and 2 above, the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera. Specifically, when the possible angles of the first camera and the second camera are small, the relative positions of the first camera and the second camera are set closer; on the contrary, when the possible angles of the first camera and the second camera are large, the The relative positions of the first camera and the second camera are set far away.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

本发明实施例提供的图像合成方法,能够通过第一摄像头以第一拍摄角度采用第一焦距获取第一图像,通过第二摄像头以第二拍摄角度采用第二焦距获取第二图像,根据第一图像和第二图像合成用户输入的目标拍摄角度对应的目标图像。解决了现有技术,用户变换角度时,需要重新拍摄照片,造成拍照操作繁琐的问题。本发明实施例提供的技术方案可以自动根据双摄像头拍摄的不同角度的图像合成用户需要的目标拍摄角度对应的目标图像,操作简单,易于实现。In the image synthesis method provided by the embodiment of the present invention, the first image can be acquired by the first camera at the first shooting angle and the first focal length, and the second image can be obtained by the second camera at the second shooting angle and the second focal length. According to the first The image and the second image are synthesized into a target image corresponding to the target shooting angle input by the user. The present invention solves the problem that in the prior art, when the user changes the angle, the photo needs to be taken again, resulting in cumbersome photographing operations. The technical solution provided by the embodiment of the present invention can automatically synthesize the target image corresponding to the target shooting angle required by the user according to the images of different angles captured by the dual cameras, and the operation is simple and easy to implement.

如图3所示,本发明实施例还提供一种移动终端,包括第一摄像头和第二摄像头,该移动终端还包括:As shown in FIG. 3, an embodiment of the present invention also provides a mobile terminal, including a first camera and a second camera, and the mobile terminal further includes:

第一获取模块301,用于同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,第一图像由第一摄像头以第一拍摄角度采用第一焦距拍摄获得,第二图像由第二摄像头以第二拍摄角度采用第二焦距拍摄获得,第二拍摄角度大于第一拍摄角度;The first acquisition module 301 is configured to simultaneously adopt the first camera and the second camera to shoot the target subject, and acquire the first image and the second image, wherein the first image is taken by the first camera at a first shooting angle with a first focal length Obtained by shooting, the second image is obtained by the second camera at a second shooting angle with a second focal length, and the second shooting angle is greater than the first shooting angle;

第二获取模块302,用于获取用户输入的目标拍摄角度,其中,目标拍摄角度在第一拍摄角度和第二拍摄角度之间;The second acquiring module 302 is configured to acquire a target shooting angle input by the user, wherein the target shooting angle is between the first shooting angle and the second shooting angle;

图像合成模块303,用于根据第一获取模块301获取的第一图像和第二图像,以及第二获取模块302获取的目标拍摄角度合成目标图像。The image synthesis module 303 is configured to synthesize the target image according to the first image and the second image acquired by the first acquisition module 301 and the target shooting angle acquired by the second acquisition module 302 .

进一步地,如图4所示,图像合成模块303可以包括:Further, as shown in Figure 4, the image synthesis module 303 may include:

第一合成子模块3031,用于根据第一拍摄角度和第一焦距,获取第一图像对应目标拍摄角度的第一图像合成参数;The first synthesizing sub-module 3031 is configured to acquire the first image synthesizing parameters corresponding to the target shooting angle of the first image according to the first shooting angle and the first focal length;

第二合成子模块3032,用于根据第二拍摄角度和第二焦距,合成第二图像对应目标拍摄角度的第二图像合成参数;The second synthesis sub-module 3032 is used to synthesize the second image synthesis parameters of the second image corresponding to the target shooting angle according to the second shooting angle and the second focal length;

第三合成子模块3033,用于根据第一合成子模块3031获取的第一图像合成参数和第二合成子模块3032获取的第二图像合成参数,合成目标拍摄角度对应的目标图像。The third synthesis sub-module 3033 is configured to synthesize the target image corresponding to the target shooting angle according to the first image synthesis parameters acquired by the first synthesis sub-module 3031 and the second image synthesis parameters acquired by the second synthesis sub-module 3032 .

进一步地,第一焦距和第二焦距相同。Further, the first focal length and the second focal length are the same.

进一步地,第一摄像头和第二摄像头中至少一个为可转动摄像头。Further, at least one of the first camera and the second camera is a rotatable camera.

进一步地,第一摄像头和第二摄像头的相对位置根据第一摄像头和第二摄像头的可视角度设置。Further, the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

本发明实施例提供的移动终端,能够通过第一摄像头以第一拍摄角度采用第一焦距获取第一图像,通过第二摄像头以第二拍摄角度采用第二焦距获取第二图像,根据第一图像和第二图像合成用户输入的目标拍摄角度对应的目标图像。解决了现有技术,用户变换角度时,需要重新拍摄照片,造成拍照操作繁琐的问题。本发明实施例提供的技术方案可以自动根据双摄像头拍摄的不同角度的图像合成用户需要的目标拍摄角度对应的目标图像,操作简单,易于实现。The mobile terminal provided by the embodiment of the present invention can acquire a first image with a first shooting angle and a first focal length through a first camera, and obtain a second image with a second shooting angle and a second focal length through a second camera. According to the first image A target image corresponding to the target shooting angle input by the user is synthesized with the second image. The present invention solves the problem that in the prior art, when the user changes the angle, the photo needs to be taken again, resulting in cumbersome photographing operations. The technical solution provided by the embodiment of the present invention can automatically synthesize the target image corresponding to the target shooting angle required by the user according to the images of different angles captured by the dual cameras, and the operation is simple and easy to implement.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.

以上对本发明所提供的一种调整充电电路发热量的方法和装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for adjusting the heating value of the charging circuit provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention.

Claims (10)

1.一种图像合成方法,应用于包含第一摄像头和第二摄像头的移动终端,其特征在于,包括:1. A method for image synthesis, applied to a mobile terminal comprising a first camera and a second camera, characterized in that, comprising: 同时采用所述第一摄像头和第二摄像头对被摄对象进行拍摄,获取第一图像和第二图像,其中,所述第一图像由所述第一摄像头以第一拍摄角度采用第一焦距拍摄获得,所述第二图像由所述第二摄像头以第二拍摄角度采用第二焦距拍摄获得,所述第二拍摄角度大于所述第一拍摄角度;At the same time, the first camera and the second camera are used to shoot the subject, and the first image and the second image are obtained, wherein the first image is taken by the first camera at a first shooting angle and a first focal length Obtaining, the second image is captured by the second camera at a second shooting angle with a second focal length, and the second shooting angle is larger than the first shooting angle; 获取用户输入的目标拍摄角度,其中,所述目标拍摄角度在所述第一拍摄角度和第二拍摄角度之间;acquiring a target shooting angle input by the user, wherein the target shooting angle is between the first shooting angle and the second shooting angle; 根据所述第一图像和所述第二图像,以及所述目标拍摄角度合成目标图像。Synthesizing a target image according to the first image, the second image, and the shooting angle of the target. 2.根据权利要求1所述的方法,其特征在于,所述根据所述第一图像和所述第二图像,合成所述目标拍摄角度对应的目标图像包括:2. The method according to claim 1, wherein said synthesizing the target image corresponding to the target shooting angle according to the first image and the second image comprises: 根据所述第一拍摄角度和第一焦距,获取所述第一图像对应所述目标拍摄角度的第一图像合成参数;According to the first shooting angle and the first focal length, acquiring a first image synthesis parameter corresponding to the target shooting angle of the first image; 根据所述第二拍摄角度和第二焦距,合成所述第二图像对应所述目标拍摄角度的第二图像合成参数;According to the second shooting angle and the second focal length, synthesizing the second image corresponding to the second image synthesis parameters of the target shooting angle; 根据所述第一图像合成参数和第二图像合成参数,合成所述目标拍摄角度对应的目标图像。Combining the target image corresponding to the target shooting angle according to the first image compositing parameter and the second image compositing parameter. 3.根据权利要求1或2所述的方法,其特征在于,所述第一焦距和第二焦距相同。3. The method according to claim 1 or 2, wherein the first focal length and the second focal length are the same. 4.根据权利要求1或2所述的方法,其特征在于,所述第一摄像头和第二摄像头中至少一个为可转动摄像头。4. The method according to claim 1 or 2, wherein at least one of the first camera and the second camera is a rotatable camera. 5.根据权利要求1或2所述的方法,其特征在于,所述第一摄像头和第二摄像头的相对位置根据所述第一摄像头和第二摄像头的可视角度设置。5. The method according to claim 1 or 2, wherein the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera. 6.一种移动终端,包括第一摄像头和第二摄像头,其特征在于,所述移动终端包括:6. A mobile terminal comprising a first camera and a second camera, characterized in that the mobile terminal comprises: 第一获取模块,用于同时采用第一摄像头和第二摄像头对目标主体进行拍摄,获取第一图像和第二图像,其中,所述第一图像由所述第一摄像头以第一拍摄角度采用第一焦距拍摄获得,所述第二图像由所述第二摄像头以第二拍摄角度采用第二焦距拍摄获得,所述第二拍摄角度大于所述第一拍摄角度;The first acquisition module is configured to simultaneously adopt the first camera and the second camera to shoot the target subject, and acquire the first image and the second image, wherein the first image is adopted by the first camera at a first shooting angle The second image is obtained by shooting with a first focal length, and the second image is obtained by shooting with a second focal length at a second shooting angle by the second camera, and the second shooting angle is larger than the first shooting angle; 第二获取模块,用于获取用户输入的目标拍摄角度,其中,所述目标拍摄角度在所述第一拍摄角度和第二拍摄角度之间;A second acquiring module, configured to acquire a target shooting angle input by a user, wherein the target shooting angle is between the first shooting angle and the second shooting angle; 图像合成模块,用于根据所述第一获取模块获取的第一图像和第二图像,以及所述第二获取模块获取的目标拍摄角度合成目标图像。An image synthesis module, configured to synthesize a target image according to the first image and the second image acquired by the first acquisition module, and the target shooting angle acquired by the second acquisition module. 7.根据权利要求6所述的移动终端,其特征在于,所述图像合成模块包括:7. The mobile terminal according to claim 6, wherein the image synthesis module comprises: 第一合成子模块,用于根据所述第一拍摄角度和第一焦距,获取所述第一图像对应所述目标拍摄角度的第一图像合成参数;The first synthesizing sub-module is used to obtain the first image synthesizing parameters corresponding to the target shooting angle of the first image according to the first shooting angle and the first focal length; 第二合成子模块,用于根据所述第二拍摄角度和第二焦距,合成所述第二图像对应所述目标拍摄角度的第二图像合成参数;A second synthesis sub-module, configured to synthesize a second image synthesis parameter of the second image corresponding to the target shooting angle according to the second shooting angle and the second focal length; 第三合成子模块,用于根据所述第一合成子模块获取的第一图像合成参数和所述第二合成子模块获取的第二图像合成参数,以及所述目标拍摄角度合成目标图像。The third synthesis sub-module is configured to synthesize the target image according to the first image synthesis parameters acquired by the first synthesis sub-module, the second image synthesis parameters acquired by the second synthesis sub-module, and the target shooting angle. 8.根据权利要求6或7所述的移动终端,其特征在于,所述第一焦距和第二焦距相同。8. The mobile terminal according to claim 6 or 7, wherein the first focal length and the second focal length are the same. 9.根据权利要求6或7所述的移动终端,其特征在于,所述第一摄像头和第二摄像头中至少一个为可转动摄像头。9. The mobile terminal according to claim 6 or 7, wherein at least one of the first camera and the second camera is a rotatable camera. 10.根据权利要求6或7所述的移动终端,其特征在于,所述第一摄像头和第二摄像头的相对位置根据所述第一摄像头和第二摄像头的可视角度设置。10. The mobile terminal according to claim 6 or 7, wherein the relative positions of the first camera and the second camera are set according to the viewing angles of the first camera and the second camera.
CN201510378697.0A 2015-06-30 2015-06-30 Image synthesis method and mobile terminal Pending CN105827932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510378697.0A CN105827932A (en) 2015-06-30 2015-06-30 Image synthesis method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510378697.0A CN105827932A (en) 2015-06-30 2015-06-30 Image synthesis method and mobile terminal

Publications (1)

Publication Number Publication Date
CN105827932A true CN105827932A (en) 2016-08-03

Family

ID=56514467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510378697.0A Pending CN105827932A (en) 2015-06-30 2015-06-30 Image synthesis method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105827932A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888333A (en) * 2017-03-31 2017-06-23 珠海市魅族科技有限公司 A kind of image pickup method and device
CN109996002A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of method and electronic equipment
CN112601023A (en) * 2020-12-15 2021-04-02 展讯通信(天津)有限公司 Terminal device, variable-angle imaging method, electronic device, and storage medium
CN112804453A (en) * 2021-01-07 2021-05-14 深圳市君航品牌策划管理有限公司 Panoramic image edge processing method and device
WO2022017069A1 (en) * 2020-07-23 2022-01-27 宁波舜宇光电信息有限公司 Multi-shot image capture module, image capture system, electronic device, and imaging method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263926A (en) * 2010-05-31 2011-11-30 鸿富锦精密工业(深圳)有限公司 Electronic device and image processing method thereof
CN103873753A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Shooting method and electronic device
CN103959802A (en) * 2012-08-10 2014-07-30 松下电器产业株式会社 Video provision method, transmission device, and reception device
CN104349044A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Panoramic image shooting method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263926A (en) * 2010-05-31 2011-11-30 鸿富锦精密工业(深圳)有限公司 Electronic device and image processing method thereof
CN103959802A (en) * 2012-08-10 2014-07-30 松下电器产业株式会社 Video provision method, transmission device, and reception device
CN103873753A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Shooting method and electronic device
CN104349044A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Panoramic image shooting method and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888333A (en) * 2017-03-31 2017-06-23 珠海市魅族科技有限公司 A kind of image pickup method and device
CN109996002A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of method and electronic equipment
WO2022017069A1 (en) * 2020-07-23 2022-01-27 宁波舜宇光电信息有限公司 Multi-shot image capture module, image capture system, electronic device, and imaging method
CN112601023A (en) * 2020-12-15 2021-04-02 展讯通信(天津)有限公司 Terminal device, variable-angle imaging method, electronic device, and storage medium
CN112804453A (en) * 2021-01-07 2021-05-14 深圳市君航品牌策划管理有限公司 Panoramic image edge processing method and device

Similar Documents

Publication Publication Date Title
CN104363379B (en) The method and terminal taken pictures using different focal camera
CN105847664B (en) A kind of method and apparatus that mobile terminal is taken pictures
CN107509037B (en) Method and terminal for taking pictures using cameras with different field of view
CN105812650B (en) A kind of image acquiring method and electronic equipment
CN104394308B (en) Method and terminal that dual camera is taken pictures with different visual angles
CN104780315A (en) Method and system for photographing by camera device
CN104853091B (en) A kind of method taken pictures and mobile terminal
CN105827932A (en) Image synthesis method and mobile terminal
CN105847673B (en) Photo display methods, device and mobile terminal
CN104102421B (en) Replace the method and system of content of shooting using screenshotss content
CN104346157A (en) Picture processing method and device and terminal equipment
CN104853094A (en) Photographing method and device
CN108616733A (en) A kind of joining method and panorama camera of full-view video image
CN104836957A (en) Photo shooting processing method and device
KR20160111757A (en) Image photographing apparatus and method for photographing thereof
CN105847659A (en) Method, device and intelligent terminal for generating watermark image
CN103049933A (en) Image processing apparatus and method thereof
CN105467741B (en) A kind of panorama photographic method and terminal
JP6290038B2 (en) Electronic device, method and program
CN105516594A (en) Image capturing method and device
CN114390206A (en) Shooting method, device and electronic device
CN105068360A (en) Continuous camera method and system
Kaufman et al. Reverse engineering using close range photogrammetry for additive manufactured reproduction of Egyptian artifacts and other objets d'art
CN104935815B (en) Method, device and the camera and mobile terminal taken pictures
WO2017096859A1 (en) Photo processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803

RJ01 Rejection of invention patent application after publication