[go: up one dir, main page]

CN104601880B - A kind of method and mobile terminal for generating distant view photograph - Google Patents

A kind of method and mobile terminal for generating distant view photograph Download PDF

Info

Publication number
CN104601880B
CN104601880B CN201410767945.6A CN201410767945A CN104601880B CN 104601880 B CN104601880 B CN 104601880B CN 201410767945 A CN201410767945 A CN 201410767945A CN 104601880 B CN104601880 B CN 104601880B
Authority
CN
China
Prior art keywords
information
photo
panoramic photo
scene information
panoramic
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.)
Expired - Fee Related
Application number
CN201410767945.6A
Other languages
Chinese (zh)
Other versions
CN104601880A (en
Inventor
姜小刚
刘博�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410767945.6A priority Critical patent/CN104601880B/en
Publication of CN104601880A publication Critical patent/CN104601880A/en
Application granted granted Critical
Publication of CN104601880B publication Critical patent/CN104601880B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

本发明实施例提供一种生成全景照片的方法,其中所述方法包括:拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息,所述N为正整数;对所述N张照片进行合成操作以得到合成照片;基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片。本发明实施例能够准确地体现出全景照片拍摄过程相关的场景信息,将记录者所要表达的内容完全地传达给用户。

An embodiment of the present invention provides a method for generating a panoramic photo, wherein the method includes: taking N photos and recording scene information during the shooting of the N photos, where the scene information includes sound information, and N is A positive integer; perform a composite operation on the N photos to obtain a composite photo; create a first panoramic photo containing the scene information based on the scene information and the composite photo. The embodiment of the present invention can accurately reflect the scene information related to the shooting process of the panoramic photo, and completely convey the content that the recorder wants to express to the user.

Description

一种生成全景照片的方法及移动终端A method and mobile terminal for generating panoramic photos

技术领域technical field

本发明涉及终端领域,尤其涉及一种生成全景照片的方法及移动终端。The invention relates to the field of terminals, in particular to a method for generating panoramic photos and a mobile terminal.

背景技术Background technique

随着技术的发展,全景照片由于不受尺寸的限制,受到用户的青睐。在生成全景照片后,通常要将全景照片存储起来,并加上一定的文字说明来记录与全景照片相关的内容。记录的方案可以为:修改全景照片文件名以及全景照片所在文件夹名称,或者在全景照片所在文件夹中配置用于解说的文档。With the development of technology, panoramic photos are favored by users because they are not limited by size. After the panorama photo is generated, it is usually necessary to store the panorama photo and add a certain text description to record the content related to the panorama photo. The recording solution may be: modify the file name of the panoramic photo and the name of the folder where the panoramic photo is located, or configure a document for explanation in the folder where the panoramic photo is located.

文件名、文件夹名、或者文档中的解说内容都只是记录者的记忆、按照记录者的视角写下的,采用这些记录方式,用户在查阅全景照片时,只能根据记录者的文字,通过记录者的视角来体味拍下全景照片的过程,各个记录者在拍摄时的感受也有所不同,为全景照片写下的记录也与真实场景之间存在差异,无法准确地体现出全景照片相关的场景信息,另外,文字的表现力较差,记录者无法将自己的感受完全地传达给用户,用户也无法感同身受地知晓记录者所要表达的内容。The file name, folder name, or the content of the explanation in the document are just the memory of the recorder and written down from the perspective of the recorder. With these recording methods, when the user consults the panoramic photos, he can only use the words of the recorder, through From the perspective of the recorder to appreciate the process of taking panoramic photos, each recorder has different feelings when shooting, and there are differences between the records written for the panoramic photos and the real scene, which cannot accurately reflect the relevant aspects of the panoramic photos. Scene information, in addition, the expressive power of the text is poor, the recorder cannot fully convey his feelings to the user, and the user cannot empathize with what the recorder wants to express.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种生成全景照片的方法及移动终端,能够准确地体现出全景照片拍摄过程相关的场景信息,将全景照片所要表达的内容完全地传达给用户。In view of this, the embodiments of the present invention provide a method for generating a panoramic photo and a mobile terminal, which can accurately reflect the scene information related to the shooting process of the panoramic photo, and completely convey the content to be expressed by the panoramic photo to the user.

第一方面,提供了一种生成全景照片的方法,其可包括:In a first aspect, a method for generating a panoramic photo is provided, which may include:

拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息,所述N为正整数;Taking N photos and recording the scene information during the shooting of the N photos, the scene information includes sound information, and the N is a positive integer;

对所述N张照片进行合成操作以得到合成照片;performing a composite operation on the N photos to obtain a composite photo;

基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片。A first panoramic photo containing the scene information is created based on the scene information and the synthesized photo.

结合第一方面,在第一方面的第一种可能的实现方式中,所述拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the taking N photos and recording the scene information during the shooting of the N photos includes:

拍摄N张照片,并在从拍摄所述N张照片中的第一张照片到拍摄所述N张照片中的第N张照片的时段内进行录音操作;taking N photos, and performing a recording operation during the period from taking the first photo of the N photos to taking the Nth photo of the N photos;

保存所述录音操作得到的声音信息。The sound information obtained by the recording operation is saved.

结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the creating a first panoramic photo that includes the scene information based on the scene information and the synthesized photo After that, also include:

当接收到用户查看所述第一全景照片的指令时,解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;When receiving an instruction from the user to view the first panoramic photo, decoding the first panoramic photo to obtain the sound information included in the first panoramic photo;

显示所述第一全景照片并播放所述解码所得到的所述声音信息。displaying the first panoramic photo and playing the sound information obtained by the decoding.

结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:With reference to the first possible implementation of the first aspect, in a third possible implementation of the first aspect, the creating a first panoramic photo that includes the scene information based on the scene information and the synthesized photo After that, also include:

将所述第一全景照片保存于存储器中;storing the first panoramic photo in memory;

接收搜索指令,所述搜索指令包含索引;receiving a search command, the search command comprising an index;

基于所述索引在所述存储器中搜索与所述索引相关联的全景照片;searching the memory for panoramas associated with the index based on the index;

若搜索到所述索引相关联的全景照片为所述第一全景照片,提供搜索出的所述第一全景照片。If it is found that the panoramic photo associated with the index is the first panoramic photo, the searched first panoramic photo is provided.

结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述基于所述索引在所述存储器中搜索与所述索引相关联的全景照片包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the searching the storage for the panoramic photos associated with the index based on the index includes:

将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对;comparing the index with the scene information in each panoramic photo stored in the memory;

筛选出所包含场景信息与所述索引相匹配的全景照片。Filter out the panoramic photos whose scene information matches the index.

结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述索引为第一声音片段,所述将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对包括:With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the index is the first sound clip, and the combination of the index and each The comparison of scene information in panoramic photos includes:

判断所述存储器中保存的各个全景照片中的场景信息中声音信息是否包含所述第一声音片段;Judging whether the sound information in the scene information in each panoramic photo stored in the memory contains the first sound segment;

若判断出所述存储器中保存的第二全景照片中的场景信息中的声音信息包含所述第一声音片段,则确定所述索引与第二全景照片中的场景信息相匹配。If it is determined that the sound information in the scene information in the second panoramic photo stored in the memory includes the first sound segment, then it is determined that the index matches the scene information in the second panoramic photo.

结合第一方面的第四种可能的实现方式,在第一方面的第六种可能的实现方式中,所述索引为第一文字,所述将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对包括:With reference to the fourth possible implementation of the first aspect, in a sixth possible implementation of the first aspect, the index is the first text, and the combination of the index and each panoramic photo stored in the memory The comparison of scene information in includes:

将所述第一文字转换为第二声音片段;converting the first text into a second sound clip;

判断所述声音信息是否包含所述第二声音片段;judging whether the sound information includes the second sound segment;

若判断出所述存储器中保存的第三全景照片中的场景信息中的声音信息包含所述第二声音片段,则确定所述索引与第三全景照片中的场景信息相匹配。If it is determined that the sound information in the scene information in the third panoramic photo stored in the memory includes the second sound segment, then it is determined that the index matches the scene information in the third panoramic photo.

结合第一方面的第一种可能的实现方式,在第一方面的第七种可能的实现方式中,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:With reference to the first possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the creating a first panoramic photo that includes the scene information based on the scene information and the synthesized photo After that, also include:

当接收到用户查看所述第一全景照片的指令时,解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;When receiving an instruction from the user to view the first panoramic photo, decoding the first panoramic photo to obtain the sound information included in the first panoramic photo;

将所述解码所得的所述声音信息转换为第二文字;converting the sound information obtained by the decoding into a second text;

显示所述第一全景照片并在移动终端的显示界面上显示所述第二文字。displaying the first panoramic photo and displaying the second text on the display interface of the mobile terminal.

第二方面,提供了一种移动终端,其特征在于,包括:In a second aspect, a mobile terminal is provided, characterized in that it includes:

拍摄记录模块,用于拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息,所述N为正整数;A shooting and recording module, configured to take N photos and record scene information during the shooting of the N photos, where the scene information includes sound information, and N is a positive integer;

合成模块,用于对所述N张照片进行合成操作以得到合成照片;A synthesis module, configured to perform a synthesis operation on the N photos to obtain a synthesized photo;

创建模块,用于基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片。A creating module, configured to create a first panoramic photo containing the scene information based on the scene information and the synthesized photo.

结合第二方面,在第一方面的第二种可能的实现方式中,所述拍摄记录模块包括:With reference to the second aspect, in a second possible implementation manner of the first aspect, the shooting and recording module includes:

拍摄单元,用于拍摄N张照片;a shooting unit, configured to take N photos;

录音单元,用于所述拍摄单元在从拍摄所述N张照片中的第一张照片到拍摄所述N张照片中的第N张照片的时段内进行录音操作;a recording unit, used for the recording unit to perform recording operation during the period from taking the first photo of the N photos to taking the Nth photo of the N photos;

保存单元,用于保存所述录音操作得到的声音信息。The saving unit is used for saving the sound information obtained by the recording operation.

结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,还包括:In combination with the first possible implementation of the second aspect, the second possible implementation of the second aspect further includes:

第一解码模块,当接收到用户查看所述第一全景照片的指令时,用于解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;The first decoding module is configured to decode the first panoramic photo to obtain the sound information included in the first panoramic photo when receiving an instruction from the user to view the first panoramic photo;

显示播放模块,用于显示所述第一全景照片并播放所述解码所得到的所述声音信息。The display and playback module is configured to display the first panoramic photo and play the sound information obtained by the decoding.

结合第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,还包括:In combination with the first possible implementation of the second aspect, the third possible implementation of the second aspect further includes:

保存模块,用于将所述第一全景照片保存于存储器中;A saving module, configured to save the first panoramic photo in a memory;

接收模块,用于接收搜索指令,所述搜索指令包含索引;A receiving module, configured to receive a search instruction, where the search instruction includes an index;

搜索模块,用于基于所述索引在所述存储器中搜索与所述索引相关联的全景照片;a search module for searching the memory for panoramas associated with the index based on the index;

提供模块,用于所述搜索模块搜索到所述索引相关联的全景照片为所述第一全景照片时,提供搜索出的所述第一全景照片。A module is provided for providing the searched first panoramic photo when the search module finds that the panoramic photo associated with the index is the first panoramic photo.

结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述搜索模块包括:With reference to the third possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the search module includes:

比对单元,用于将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对;A comparing unit, configured to compare the index with the scene information in each panoramic photo stored in the memory;

筛选单元,用于筛选出所包含场景信息与所述索引相匹配的全景照片。A filtering unit, configured to filter out panoramic photos whose scene information matches the index.

结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述索引为第一声音片段,所述比对单元包括:With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation of the second aspect, the index is the first sound segment, and the comparison unit includes:

第一判断单元,用于判断所述存储器中保存的各个全景照片中的场景信息中声音信息是否包含所述第一声音片段;A first judging unit, configured to judge whether the sound information in the scene information in each panoramic photo stored in the memory contains the first sound segment;

第一确定单元,用于所述第一判断单元判断出所述存储器中保存的第二全景照片中的场景信息中的声音信息包含所述第一声音片段时,确定所述索引与第二全景照片中的场景信息相匹配。The first determining unit is used for determining the index and the second panoramic photo when the first judging unit judges that the sound information in the scene information in the second panoramic photo stored in the memory contains the first sound segment Match the scene information in the photo.

结合第二方面的第四种可能的实现方式,在第二方面的第六种可能的实现方式中,所述索引为第一文字,所述比对单元包括:With reference to the fourth possible implementation of the second aspect, in the sixth possible implementation of the second aspect, the index is the first text, and the comparison unit includes:

转换单元,用于将所述第一文字转换为第二声音片段;a conversion unit, configured to convert the first text into a second sound clip;

第二判断单元,用于判断所述声音信息是否包含所述第二声音片段;a second judging unit, configured to judge whether the sound information includes the second sound segment;

第二确定单元,用于所述第二判断单元判断出所述存储器中保存的第三全景照片中的场景信息中的声音信息包含所述第二声音片段时,确定所述索引与第三全景照片中的场景信息相匹配。The second determination unit is used for determining the index and the third panorama when the second determination unit determines that the sound information in the scene information in the third panoramic photo stored in the memory contains the second sound segment Match the scene information in the photo.

结合第二方面的第一种可能的实现方式,在第二方面的第七种可能的实现方式中,第二解码模块,当接收到用户查看所述第一全景照片的指令时,用于解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;With reference to the first possible implementation of the second aspect, in a seventh possible implementation of the second aspect, the second decoding module, when receiving an instruction from the user to view the first panoramic photo, is configured to decode the first panoramic photo to obtain the sound information included in the first panoramic photo;

第二转换模块,用于将所述解码所得的所述声音信息转换为第二文字;a second conversion module, configured to convert the decoded sound information into a second text;

显示模块,用于显示所述第一全景照片并在移动终端的显示界面上显示所述第二文字。A display module, configured to display the first panoramic photo and display the second text on the display interface of the mobile terminal.

本发明实施例提供的方法,能够准确地体现出全景照片拍摄过程相关的场景信息,将全景照片所要表达的内容完全地传达给用户。The method provided by the embodiment of the present invention can accurately reflect the scene information related to the shooting process of the panoramic photo, and completely convey the content to be expressed by the panoramic photo to the user.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明的一种生成全景照片的方法的一实施例流程示意图;Fig. 1 is a schematic flow chart of an embodiment of a method for generating panoramic photos of the present invention;

图2a为本发明第一实施例中提供的一种移动终端的结构示意图;FIG. 2a is a schematic structural diagram of a mobile terminal provided in the first embodiment of the present invention;

图2b为本发明第二实施例中提供的一种移动终端的结构示意图;FIG. 2b is a schematic structural diagram of a mobile terminal provided in a second embodiment of the present invention;

图2c为本发明第三实施例中提供的一种移动终端的结构示意图;FIG. 2c is a schematic structural diagram of a mobile terminal provided in a third embodiment of the present invention;

图2d为本发明第四实施例中提供的一种移动终端的结构示意图;FIG. 2d is a schematic structural diagram of a mobile terminal provided in a fourth embodiment of the present invention;

图2e为本发明第五实施例中提供的一种移动终端的结构示意图;FIG. 2e is a schematic structural diagram of a mobile terminal provided in a fifth embodiment of the present invention;

图2f为本发明第六实施例中提供的一种移动终端的结构示意图;Fig. 2f is a schematic structural diagram of a mobile terminal provided in the sixth embodiment of the present invention;

图2g为本发明第七实施例中提供的一种移动终端的结构示意图;FIG. 2g is a schematic structural diagram of a mobile terminal provided in a seventh embodiment of the present invention;

图2h为本发明第八实施例中提供的一种移动终端的结构示意图。Fig. 2h is a schematic structural diagram of a mobile terminal provided in an eighth embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

基于此,本发明实施例提供一种生成全景照片的方法,其可包括:拍摄至少一张照片,同时记录拍摄过程中的场景信息,所述场景信息包括声音信息;合成所述至少一张照片,生成合成的照片;基于所述场景信息和所述合成的照片,创建包含所述场景信息的全景照片。本发明实施例能够准确地体现出全景照片拍摄过程相关的场景信息,将全景照片所要表达的内容完全地传达给用户。Based on this, an embodiment of the present invention provides a method for generating a panoramic photo, which may include: taking at least one photo, and simultaneously recording scene information during the shooting, where the scene information includes sound information; synthesizing the at least one photo , generating a synthesized photo; creating a panoramic photo including the scene information based on the scene information and the synthesized photo. The embodiment of the present invention can accurately reflect the scene information related to the shooting process of the panoramic photo, and completely convey the content to be expressed by the panoramic photo to the user.

下面结合附图及具体实施方式,对本发明实施例的技术方案进行详细说明。The technical solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

如图1所示,本发明提供的一种生成全景照片的方法的一实施例可以包括以下步骤:As shown in Figure 1, an embodiment of a method for generating a panoramic photo provided by the present invention may include the following steps:

步骤S110,拍摄N张照片并记录N张照片的拍摄过程中的场景信息,其中,场景信息包括声音信息,N为正整数。Step S110, taking N photos and recording scene information during the shooting of the N photos, wherein the scene information includes sound information, and N is a positive integer.

步骤S111,对N张照片进行合成操作以得到合成照片。In step S111, a composite operation is performed on the N photos to obtain a composite photo.

步骤S112,基于场景信息和合成照片创建包含场景信息的第一全景照片。Step S112, creating a first panoramic photo containing scene information based on the scene information and the synthesized photo.

本发明实施例中,步骤S110拍摄的N张照片用于合成全景照片,数目不作限制。记录的场景信息可以为声音信息、时间信息、天气信息、温度信息、方位信息、地理信息等等,可以是其中一种,也可以为多种,这些信息可以通过移动终端自带的传感器获取,也可以通过外连接的传感器装置获取。In the embodiment of the present invention, the N photos taken in step S110 are used to synthesize panoramic photos, and the number is not limited. The recorded scene information can be sound information, time information, weather information, temperature information, orientation information, geographic information, etc., which can be one of them or multiple. These information can be obtained through the sensors that come with the mobile terminal. It can also be acquired by an externally connected sensor device.

进一步可选地,当移动终端记录的场景信息为声音信息时,步骤S110拍摄N张用于组成全景照片的照片,具体实施可以包括:拍摄N张照片,并在从拍摄N张照片中的第一张照片到拍摄N张照片中的第N张照片的时段内进行录音操作;保存录音操作得到的声音信息。由此可知,本发明实施例记录的是拍摄整个过程中所在的场景信息,当场景信息为时间信息、天气信息、温度信息、方位信息、地理信息时,也可以按照上述方案进行获取。例如,以拍摄第一张照片的拍摄时间为基准开始记录,拍摄完最后一张照片时终止记录场景信息。Further optionally, when the scene information recorded by the mobile terminal is sound information, step S110 takes N photos for composing a panoramic photo, and the specific implementation may include: taking N photos, and taking the first N photos from the N photos The recording operation is performed during the period from one photo to the shooting of the Nth photo in the N photos; the sound information obtained by the recording operation is saved. It can be seen that the embodiment of the present invention records the scene information during the whole shooting process. When the scene information is time information, weather information, temperature information, orientation information, and geographical information, it can also be obtained according to the above scheme. For example, recording starts based on the shooting time of the first photo, and stops recording scene information when the last photo is taken.

进一步可选地,移动终端可以基于其中的应用程序对步骤S110拍摄的N张照片进行合成操作以得到合成照片,本步骤可以通过移动终端自动拼接合成,也可以是用户手动进行合成。Further optionally, the mobile terminal may perform a composite operation on the N photos taken in step S110 based on the application therein to obtain a composite photo. This step may be automatically stitched and composited by the mobile terminal, or may be manually composited by the user.

进一步可选地,移动终端可以预设用于组成全景照片的照片数目为N,这样,可以将拍摄第N张照片的拍摄信号作为停止记录场景信息的停止触发信号,达到自动控制的效果。Further optionally, the mobile terminal can preset the number of photos used to form the panorama photo as N, so that the shooting signal of the Nth photo can be used as a stop trigger signal to stop recording scene information to achieve the effect of automatic control.

进一步可选地,在创建包含场景信息的全景照片之后,用户可以查看生成的全景照片,生成的全景照片可以包含有前述的各类场景信息,例如声音信息、时间信息、天气信息、温度信息、方位信息、地理信息等等,在展示全景照片的同时,本发明实施例的移动终端同步地展示这些场景信息。以声音信息为例,查看包含声音信息的全景照片,具体可以包括:当接收到用户查看第一全景照片的指令时,解码第一全景照片以得到第一全景照片包含的声音信息;显示第一全景照片并播放解码所得到的声音信息。Further optionally, after creating a panoramic photo containing scene information, the user can view the generated panoramic photo, which may contain the aforementioned various scene information, such as sound information, time information, weather information, temperature information, Orientation information, geographical information, etc., while displaying panoramic photos, the mobile terminal in the embodiment of the present invention displays these scene information synchronously. Taking sound information as an example, viewing a panoramic photo containing sound information may specifically include: when receiving an instruction from the user to view the first panoramic photo, decoding the first panoramic photo to obtain the sound information contained in the first panoramic photo; displaying the first panoramic photo panoramic photos and play the decoded sound information.

进一步可选地,当场景信息还包含时间信息、天气信息、温度信息、方位信息、地理信息时,本发明实施例显示全景照片的同时,移动终端可以同时展现这些场景信息,例如,当拍摄时记录的时间信息为下午19点至20点之间,则显示全景照片时,移动终端的边框及主题可以根据时间信息调整为黄昏的背景;当拍摄时记录的天气信息为小雪时,移动终端的边框及主题可以根据天气信息调整为下雪的背景;当拍摄时记录的温度信息为零度时,移动终端的边框及主题可以根据温度信息调整为结冰的背景。以上实施例可以单独实施,也可以组合实施,本发明实施例对场景信息的表现形式不作限制。Further optionally, when the scene information also includes time information, weather information, temperature information, orientation information, and geographical information, while the embodiment of the present invention displays the panorama photo, the mobile terminal can display these scene information at the same time, for example, when shooting If the recorded time information is between 19:00 and 20:00 in the afternoon, when the panoramic photo is displayed, the frame and theme of the mobile terminal can be adjusted to the background of dusk according to the time information; when the weather information recorded during shooting is light snow, the mobile terminal's The frame and theme can be adjusted to a snowy background according to the weather information; when the temperature information recorded during shooting is zero degrees, the frame and theme of the mobile terminal can be adjusted to a icy background according to the temperature information. The above embodiments may be implemented alone or in combination, and the embodiment of the present invention does not limit the expression form of the scene information.

进一步可选地,创建的全景照片可存储至存储器,当移动终端中照片过多时,还可以通过场景信息来支持用户搜索全景照片,具体实施可以包括:接收搜索指令,搜索指令包含索引;基于索引在存储器中搜索与索引相关联的全景照片;若搜索到索引相关联的全景照片为第一全景照片,提供搜索出的第一全景照片。Further optionally, the created panoramic photos can be stored in the memory. When there are too many photos in the mobile terminal, the scene information can also be used to support the user to search for the panoramic photos. The specific implementation can include: receiving a search instruction, the search instruction includes an index; Search the memory for the panoramic photo associated with the index; if the searched panoramic photo associated with the index is the first panoramic photo, provide the searched first panoramic photo.

进一步可选地,搜索与索引相关联的全景照片,具体实施可以包括:将索引与存储器中保存的各个全景照片中的场景信息相比对;筛选出所包含场景信息与索引相匹配的全景照片。Further optionally, searching for the panoramic photos associated with the index may include: comparing the index with the scene information in each panoramic photo stored in the memory; and filtering out the panoramic photos whose scene information matches the index.

进一步可选地,可以以声音为例,用户可以说出一个词或句作为索引,移动终端获取用户的第一声音片段后,可以将这个第一声音片段作为搜索指令的索引,此时可根据各个全景照片中的声音信息来搜索用户想要搜索的全景照片,相应地,将索引与各个全景照片中的场景信息相比对的具体实施可包括:判断存储器中保存的各个全景照片中的场景信息中声音信息是否包含第一声音片段;若判断出存储器中保存的第二全景照片中的场景信息中的声音信息包含第一声音片段,则确定索引与第二全景照片中的场景信息相匹配。Further optionally, sound can be taken as an example. The user can say a word or sentence as an index. After the mobile terminal acquires the user's first sound segment, it can use this first sound segment as the index of the search command. At this time, it can be based on The audio information in each panoramic photo is used to search for the panoramic photo that the user wants to search. Correspondingly, the specific implementation of comparing the index with the scene information in each panoramic photo may include: judging the scene in each panoramic photo stored in the memory Whether the sound information in the information contains the first sound clip; if it is judged that the sound information in the scene information in the second panoramic photo stored in the memory contains the first sound clip, then it is determined that the index matches the scene information in the second panoramic photo .

进一步可选地,用户也可以在对话框中输入一个词或者一段话,移动终端获取用户的第一文字作为索引,此时仍可根据各个全景照片中的声音信息来搜索用户想要搜索的全景照片,相应地,将索引与各个全景照片中的场景信息相比对的具体实施可包括:将第一文字转换为第二声音片段;判断声音信息是否包含第二声音片段;若判断出存储器中保存的第三全景照片中的场景信息中的声音信息包含第二声音片段,则确定索引与第三全景照片中的场景信息相匹配。Further optionally, the user can also input a word or a paragraph in the dialog box, and the mobile terminal obtains the user's first text as an index, and at this time, the panoramic photos that the user wants to search can still be searched according to the sound information in each panoramic photo , correspondingly, the specific implementation of comparing the index with the scene information in each panoramic photo may include: converting the first text into a second sound segment; judging whether the sound information contains the second sound segment; If the sound information in the scene information in the third panoramic photo contains the second sound clip, it is determined that the index matches the scene information in the third panoramic photo.

进一步可选地,将第一文字转换为第二声音片段的具体实施方案可以包括:在语音信息数据库中查找与第一文字相匹配的声音数据(声音频率或声纹),基于查找出的声音数据生成第二声音片段。Further optionally, the specific implementation of converting the first text into the second sound clip may include: searching for sound data (sound frequency or voiceprint) matching the first text in the speech information database, and generating a sound clip based on the found sound data. Second sound clip.

进一步可选地,当场景信息包含声音信息时,若用户不方便通过播放声音来查看场景信息时,本发明实施例还提供另一种查看的方案:当接收到用户查看第一全景照片的指令时,解码第一全景照片以得到第一全景照片包含的声音信息;将解码所得的声音信息转换为第二文字;显示第一全景照片并在移动移动终端的显示界面上显示第二文字。Further optionally, when the scene information includes sound information, if it is inconvenient for the user to view the scene information by playing the sound, the embodiment of the present invention also provides another viewing solution: when receiving an instruction from the user to view the first panoramic photo At this time, the first panoramic photo is decoded to obtain the sound information contained in the first panoramic photo; the decoded sound information is converted into a second text; the first panoramic photo is displayed and the second text is displayed on the display interface of the mobile terminal.

进一步可选地,将解码所得的声音信息转换为第二文字的具体实施方案可以包括:分析解码所得的声音信息的声音频率或声纹,在语音信息数据库中查找与分析出的声音频率或声纹相匹配的第二文字。其中,由于各类语言均有同音字,上述查找出的第二文字很可能存在多个同音字,此时还需要根据词库(包括词组、例句)来分析说话意图并选取第二文字。Further optionally, the specific implementation of converting the decoded sound information into the second text may include: analyzing the sound frequency or voiceprint of the decoded sound information, searching and analyzing the sound frequency or voice print in the voice information database. pattern matches the second text. Wherein, since all kinds of languages have homophones, the above-mentioned searched second characters may have multiple homophones. At this time, it is necessary to analyze the speaking intention and select the second characters according to the thesaurus (including phrases and example sentences).

通过上述实施例,在拍摄全景照片的同时记录与拍摄过程相关的场景信息,大大地提高全景照片的表现力,将拍摄当时的情形准确的传达给用户,本发明实施例提高了照片的表现力,提高了用户体验。Through the above-mentioned embodiment, the scene information related to the shooting process is recorded while shooting the panoramic photo, which greatly improves the expressiveness of the panoramic photo, and accurately conveys the situation at the time of shooting to the user. The embodiment of the present invention improves the expressiveness of the photo , improving the user experience.

相应地,本发明实施例还提供一种移动终端用于实施生成全景照片的方法,其可包括:拍摄记录模块,用于拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息,所述N为正整数;合成模块,用于对所述N张照片进行合成操作以得到合成照片;创建模块,用于基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片。Correspondingly, an embodiment of the present invention also provides a mobile terminal for implementing a method for generating panoramic photos, which may include: a shooting and recording module, configured to take N photos and record scene information during the shooting of the N photos , the scene information includes sound information, and the N is a positive integer; a synthesis module is used to perform a synthesis operation on the N photos to obtain a composite photo; a creation module is used to create a composite photo based on the scene information and the composite photo A first panoramic photo containing the scene information is created.

下面结合附图及具体实施方式,对本发明实施例中装置的技术方案进行详细说明。The technical solution of the device in the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

图2a为本发明实施例的移动终端的结构组成示意图。该实施例的装置可用于执行图1所示的办法,具体的,该实施例的装置包括:拍摄记录模块21、合成模块22和创建模块23,还可以包括第一解码模块24、显示播放模块25、保存模块26、接收模块27、搜索模块28、提供模块29、第二解码模块210、转换模块211和显示模块212,本实施例的拍摄记录模块21又可以进一步包括拍摄单元2101、录音单元2102和保存单元2103,本实施例的搜索单元28又可以进一步包括比对单元2801和筛选单元2802,本实施例的比对单元2801又可以进一步包括第一判断单元28011、第一确定单元28012、转换单元28013、第二判断单元28014和第二确定单元28015,其中:Fig. 2a is a schematic diagram of the structural composition of a mobile terminal according to an embodiment of the present invention. The device of this embodiment can be used to implement the approach shown in Figure 1. Specifically, the device of this embodiment includes: a shooting and recording module 21, a synthesis module 22 and a creation module 23, and can also include a first decoding module 24, a display and playback module 25. The saving module 26, the receiving module 27, the searching module 28, the providing module 29, the second decoding module 210, the conversion module 211 and the display module 212. The shooting and recording module 21 of this embodiment may further include a shooting unit 2101 and a recording unit 2102 and saving unit 2103, the search unit 28 of this embodiment may further include a comparison unit 2801 and a screening unit 2802, and the comparison unit 2801 of this embodiment may further include a first judgment unit 28011, a first determination unit 28012, The converting unit 28013, the second judging unit 28014 and the second determining unit 28015, wherein:

拍摄记录模块21,用于拍摄N张照片并记录N张照片的拍摄过程中的场景信息,其中,场景信息包括声音信息,N为正整数;The shooting and recording module 21 is used to take N photos and record the scene information in the shooting process of the N photos, wherein the scene information includes sound information, and N is a positive integer;

合成模块22,用于对N张照片进行合成操作以得到合成照片;Synthesizing module 22, is used for carrying out the synthesizing operation to N photos to obtain synthetic photos;

创建模块23,用于基于场景信息和合成照片创建包含场景信息的第一全景照片。The creating module 23 is configured to create a first panoramic photo containing scene information based on the scene information and the synthesized photo.

本发明实施例中,拍摄记录模块21拍摄的N张照片用于合成全景照片,数目不作限制。记录的场景信息可以为声音信息、时间信息、天气信息、温度信息、方位信息、地理信息等等,可以是其中一种,也可以为多种,这些信息可以通过移动终端自带的传感器获取,也可以通过外连接的传感器装置获取。进一步可选地,请一并参照图2b,当移动终端记录的场景信息为声音信息时,拍摄记录模块21可通过拍摄单元2101、录音单元2102和保存单元2103具体实施拍摄N张用于组成全景照片的照片的拍摄操作:In the embodiment of the present invention, the N photos taken by the shooting and recording module 21 are used to synthesize panoramic photos, and the number is not limited. The recorded scene information can be sound information, time information, weather information, temperature information, orientation information, geographic information, etc., which can be one of them or multiple. These information can be obtained through the sensors that come with the mobile terminal. It can also be acquired by an externally connected sensor device. Further optionally, please refer to FIG. 2b together. When the scene information recorded by the mobile terminal is sound information, the shooting and recording module 21 can use the shooting unit 2101, the recording unit 2102 and the storage unit 2103 to specifically implement shooting N pictures for composing a panorama The photo shooting operation of the photo:

拍摄单元2101,用于拍摄N张照片,A shooting unit 2101, configured to take N photos,

录音单元2102,用于拍摄单元2101在从拍摄N张照片中的第一张照片到拍摄N张照片中的第N张照片的时段内进行录音操作;The recording unit 2102 is used for the recording unit 2101 to perform recording operation during the period from taking the first photo in the N photos to taking the Nth photo in the N photos;

保存单元2103,用于保存录音操作得到的声音信息。The saving unit 2103 is configured to save the sound information obtained by the recording operation.

由此可知,本发明实施例的拍摄记录模块21记录的是拍摄整个过程中所在的场景信息,当场景信息为时间信息、天气信息、温度信息、方位信息、地理信息时,拍摄记录模块21也可以按照上述方案进行获取。例如,以拍摄第一张照片的拍摄时间为基准开始记录,拍摄完最后一张照片时终止记录场景信息。It can be seen that what the shooting and recording module 21 of the embodiment of the present invention records is the scene information in the whole shooting process. When the scene information is time information, weather information, temperature information, orientation information, and geographical information, the shooting and recording module 21 also It can be obtained according to the above scheme. For example, recording starts based on the shooting time of the first photo, and stops recording scene information when the last photo is taken.

进一步可选地,本发明实施例的合成模块22可以进一步通过基于其中的应用程序对拍摄记录模块21拍摄的N张照片进行合成操作以得到合成照片,合成模块22可以通过移动终端自动拼接合成,也可以是用户手动进行合成。Further optionally, the composition module 22 of the embodiment of the present invention can further perform a composition operation on the N photos taken by the shooting and recording module 21 based on the application program therein to obtain a composite photo, and the composition module 22 can be automatically spliced and composed by the mobile terminal, It is also possible that the user manually performs the synthesis.

本发明实施例的移动终端可以进一步预设用于组成全景照片的照片数目为N,这样,可以将拍摄第N张照片的拍摄信号作为停止记录场景信息的停止触发信号,达到自动控制的效果。The mobile terminal in the embodiment of the present invention can further preset the number of photos used to form a panoramic photo as N, so that the shooting signal of the Nth photo can be used as a stop trigger signal to stop recording scene information, so as to achieve the effect of automatic control.

进一步可选地,请一并参照图2c,用户可以查看生成的全景照片,生成的全景照片可以包含有前述的各类场景信息,例如声音信息、时间信息、天气信息、温度信息、方位信息、地理信息等等,在展示全景照片的同时,本发明实施例的移动终端同步地展示这些场景信息。以声音信息为例,本发明实施例的移动终端可以进一步通过第一解码模块24和显示播放模块25支持用户查看包含声音信息的全景照片:Further optionally, please refer to Figure 2c together, the user can view the generated panoramic photo, which may contain the aforementioned various scene information, such as sound information, time information, weather information, temperature information, orientation information, Geographical information, etc., while displaying panoramic photos, the mobile terminal in the embodiment of the present invention displays these scene information synchronously. Taking sound information as an example, the mobile terminal in the embodiment of the present invention can further support the user to view panoramic photos containing sound information through the first decoding module 24 and the display and playback module 25:

第一解码模块24,用于当接收到用户查看第一全景照片的指令时,用于解码第一全景照片以得到第一全景照片包含的声音信息;The first decoding module 24 is configured to decode the first panoramic photo to obtain the sound information contained in the first panoramic photo when receiving an instruction from the user to view the first panoramic photo;

显示播放模块25,用于显示第一全景照片并播放解码所得到的声音信息。The display and playback module 25 is configured to display the first panoramic photo and play the decoded sound information.

进一步可选地,当场景信息还包含时间信息、天气信息、温度信息、方位信息、地理信息时,本发明实施例显示全景照片的同时,移动终端可以同时展现这些场景信息,例如,当拍摄时记录的时间信息为下午19点至20点之间,则显示全景照片时,移动终端的边框及主题可以根据时间信息调整为黄昏的背景;当拍摄时记录的天气信息为小雪时,移动终端的边框及主题可以根据天气信息调整为下雪的背景;当拍摄时记录的温度信息为零度时,移动终端的边框及主题可以根据温度信息调整为结冰的背景。以上实施例可以单独实施,也可以组合实施,本发明实施例对场景信息的表现形式不作限制。Further optionally, when the scene information also includes time information, weather information, temperature information, orientation information, and geographical information, while the embodiment of the present invention displays the panorama photo, the mobile terminal can display these scene information at the same time, for example, when shooting If the recorded time information is between 19:00 and 20:00 in the afternoon, when the panoramic photo is displayed, the frame and theme of the mobile terminal can be adjusted to the background of dusk according to the time information; when the weather information recorded during shooting is light snow, the mobile terminal's The frame and theme can be adjusted to a snowy background according to the weather information; when the temperature information recorded during shooting is zero degrees, the frame and theme of the mobile terminal can be adjusted to a icy background according to the temperature information. The above embodiments may be implemented alone or in combination, and the embodiment of the present invention does not limit the expression form of the scene information.

进一步可选地,请一并参照图2d,本发明实施例的移动终端还可以进一步包括保存模块26,用于将创建的全景照片存储至存储器,当移动终端中照片过多时,还可以通过场景信息来支持用户搜索全景照片,具体的,本发明实施例的移动终端可以通过接收模块27、搜索模块28和提供模块29来具体实现:Further optionally, please refer to FIG. 2d together. The mobile terminal in the embodiment of the present invention may further include a saving module 26, which is used to store the created panorama photo in the memory. Information to support the user to search for panoramic photos. Specifically, the mobile terminal in the embodiment of the present invention can be implemented through the receiving module 27, the searching module 28 and the providing module 29:

保存模块26,用于将第一全景照片保存于存储器中;Preservation module 26, for storing the first panoramic photo in the memory;

接收模块27,用于接收搜索指令,其中,搜索指令包含索引;The receiving module 27 is configured to receive a search instruction, wherein the search instruction includes an index;

搜索模块28,用于基于索引在存储器中搜索与索引相关联的全景照片;A search module 28, configured to search the memory for panorama photos associated with the index based on the index;

提供模块29,用于搜索模块28搜索到索引相关联的全景照片为第一全景照片时,提供搜索出的第一全景照片。A module 29 is provided, configured to provide the searched first panoramic photo when the search module 28 finds that the panoramic photo associated with the index is the first panoramic photo.

进一步可选地,请一并参照图2e,搜索单元28可以进一步包括比对单元2801和筛选单元2802:Further optionally, please refer to FIG. 2e together, the search unit 28 may further include a comparison unit 2801 and a screening unit 2802:

比对单元2801,用于将索引与存储器中保存的各个全景照片中的场景信息相比对;A comparing unit 2801, configured to compare the index with the scene information in each panoramic photo stored in the memory;

筛选单元2802,用于筛选出所包含场景信息与索引相匹配的全景照片。The filtering unit 2802 is configured to filter out the panoramic photos whose scene information matches the index.

进一步可选地,请一并参照图2f,可以以声音为例,用户可以说出一个词或句作为索引,移动终端获取用户的第一声音片段后,可以将这个第一声音片段作为搜索指令的索引,此时可根据各个全景照片中的声音信息来搜索用户想要搜索的全景照片,相应地,比对单元2801可以通过第一判断单元28011和第一确定单元28012具体实施将索引与各个全景照片中的场景信息相比对的操作:Further optionally, please refer to Figure 2f together. Taking voice as an example, the user can speak a word or sentence as an index, and after the mobile terminal obtains the user's first voice clip, it can use this first voice clip as a search command At this time, the panoramic photos that the user wants to search can be searched according to the sound information in each panoramic photo. Correspondingly, the comparison unit 2801 can use the first judgment unit 28011 and the first determination unit 28012 to specifically implement the index and each The operation of comparing the scene information in the panorama photo:

第一判断单元28011,用于判断存储器中保存的各个全景照片中的场景信息中声音信息是否包含第一声音片段;The first judging unit 28011 is used to judge whether the sound information in the scene information of each panoramic photo stored in the memory contains the first sound segment;

第一确定单元28012,用于第一判断单元28011判断出存储器中保存的第二全景照片中的场景信息中的声音信息包含第一声音片段时,确定索引与第二全景照片中的场景信息相匹配。The first determining unit 28012 is configured to determine that the index is consistent with the scene information in the second panoramic photo when the first judging unit 28011 judges that the sound information in the scene information in the second panoramic photo stored in the memory contains the first sound segment. match.

进一步可选地,请一并参照图2g,用户也可以在对话框中输入一个词或者一段话,移动终端获取用户的第一文字作为索引,此时仍可根据各个全景照片中的声音信息来搜索用户想要搜索的全景照片,相应地,比对单元2801可以通过转换单元28013、第二判断单元28014和第二确定单元28015具体实施将索引与各个全景照片中的场景信息相比对的操作:Further optionally, please refer to Figure 2g together. The user can also input a word or a paragraph in the dialog box, and the mobile terminal obtains the user's first text as an index. At this time, it can still search according to the sound information in each panoramic photo. The panoramic photo that the user wants to search, correspondingly, the comparison unit 2801 can implement the operation of comparing the index with the scene information in each panoramic photo through the conversion unit 28013, the second judgment unit 28014 and the second determination unit 28015:

转换单元28013,用于将第一文字转换为第二声音片段;A conversion unit 28013, configured to convert the first text into a second sound clip;

第二判断单元28014,用于判断声音信息是否包含第二声音片段;The second judging unit 28014 is used to judge whether the sound information contains the second sound segment;

第二确定单元28015,用于第二判断单元28014判断出存储器中保存的第三全景照片中的场景信息中的声音信息包含第二声音片段时,确定索引与第三全景照片中的场景信息相匹配。The second determining unit 28015 is configured to determine that the index is consistent with the scene information in the third panoramic photo when the second judging unit 28014 judges that the sound information in the scene information in the third panoramic photo stored in the memory contains the second sound segment. match.

进一步可选地,转换单元28013将第一文字转换为第二声音片段的具体实施方案可以包括:在语音信息数据库中查找与第一文字相匹配的声音数据(声音频率或声纹),基于查找出的声音数据生成第二声音片段。Further optionally, the conversion unit 28013 may convert the first text into the second sound segment in a specific implementation manner may include: searching for sound data (sound frequency or voiceprint) matching the first text in the speech information database, and based on the found The sound data generates a second sound segment.

进一步可选地,请一并参照图2h,当场景信息包含声音信息时,若用户不方便通过播放声音来查看场景信息时,本发明实施例的移动终端还可以通过第二解码模块210、转换模块211和显示模块212来为用户提供另一种查看的方案:Further optionally, please refer to FIG. 2h together. When the scene information includes sound information, if it is inconvenient for the user to view the scene information by playing the sound, the mobile terminal in the embodiment of the present invention can also use the second decoding module 210 to convert Module 211 and display module 212 to provide users with another viewing solution:

第二解码模块210,当接收到用户查看第一全景照片的指令时,用于解码第一全景照片以得到第一全景照片包含的声音信息;The second decoding module 210, when receiving an instruction from the user to view the first panoramic photo, is used to decode the first panoramic photo to obtain the sound information contained in the first panoramic photo;

转换模块211,用于将解码所得的声音信息转换为第二文字;A conversion module 211, configured to convert the decoded sound information into a second text;

显示模块212,用于显示第一全景照片并在移动终端的显示界面上显示第二文字。The display module 212 is configured to display the first panoramic photo and display the second text on the display interface of the mobile terminal.

进一步可选地,转换模块211将解码所得的声音信息转换为第二文字的具体实施方案可以包括:分析解码所得的声音信息的声音频率或声纹,在语音信息数据库中查找与分析出的声音频率或声纹相匹配的第二文字。其中,由于各类语言均有同音字,上述查找出的第二文字很可能存在多个同音字,此时还需要根据词库(包括词组、例句)来分析说话意图并选取第二文字。Further optionally, the conversion module 211 converts the decoded sound information into the second text. The specific implementation may include: analyzing the sound frequency or voiceprint of the decoded sound information, searching and analyzing the sound information in the voice information database. The frequency or voiceprint matches the second text. Wherein, since all kinds of languages have homophones, the above-mentioned searched second characters may have multiple homophones. At this time, it is necessary to analyze the speaking intention and select the second characters according to the thesaurus (including phrases and example sentences).

本发明实施例提供的移动终端在拍摄全景照片的同时记录与拍摄过程相关的场景信息,大大提高全景照片的表现力,将拍摄当时的情形准确的传达给用户,本发明实施例提高了照片的表现力,提高了用户体验。The mobile terminal provided by the embodiment of the present invention records scene information related to the shooting process while taking panoramic photos, greatly improves the expressiveness of the panoramic photos, and accurately conveys the situation at the time of shooting to the user. Expressiveness improves user experience.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.

本发明实施例中模块或单元,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The modules or units in the embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所用到的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs used can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), and the like.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and certainly cannot limit the scope of rights of the present invention with this. Those of ordinary skill in the art can understand the whole or part of the process of realizing the above-mentioned embodiment, and make according to the claims of the present invention The equivalent changes still belong to the scope covered by the invention.

Claims (16)

1.一种生成全景照片的方法,其特征在于,包括:1. A method for generating panoramic photos, comprising: 拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息、时间信息、天气信息、温度信息、方位信息、地理信息的一种或多种,所述场景信息通过移动终端自带的传感器获取,也可以通过外连接的所述传感器获取,所述N为正整数;Take N photos and record the scene information during the shooting of the N photos, the scene information includes one or more of sound information, time information, weather information, temperature information, orientation information, geographic information, the The scene information is obtained through the sensor provided by the mobile terminal, or obtained through the externally connected sensor, and the N is a positive integer; 对所述N张照片进行合成操作以得到合成照片,所述合成通过所述移动终端自动拼接或用户手动进行,所述移动终端预设用于组成所述全景照片的照片数目为N,从而将拍摄第N张照片的拍摄信号作为停止记录所述场景信息的停止触发信号,达到自动控制的目的;Perform a synthesis operation on the N photos to obtain a composite photo. The synthesis is automatically stitched by the mobile terminal or manually by the user. The mobile terminal presets the number of photos used to form the panoramic photo as N, so that the The shooting signal of the Nth photo is used as a stop trigger signal to stop recording the scene information, so as to achieve the purpose of automatic control; 基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片;所述第一全景照片能够展现,并且所述移动终端同时展现所述场景信息;其中,当所述场景信息为时间信息、天气信息或温度信息时,所述移动终端的边框及主题根据这些场景信息进行相应调整,具体为:当拍摄时记录的时间信息为下午19点至20点之间显示所述全景照片时,所述移动终端的边框及主题根据所述时间信息调整为黄昏的背景;当拍摄时记录的天气信息为小雪显示所述全景照片时,所述移动终端的边框及主题根据所述天气信息调整为下雪的背景;当拍摄时记录的温度信息为零度显示所述全景照片时,所述移动终端的边框及主题根据所述温度信息调整为结冰的背景。Create a first panoramic photo containing the scene information based on the scene information and the synthesized photo; the first panoramic photo can be presented, and the mobile terminal simultaneously presents the scene information; wherein, when the scene information When it is time information, weather information or temperature information, the frame and theme of the mobile terminal are adjusted accordingly according to these scene information, specifically: when the time information recorded during shooting is between 19:00 and 20:00 in the afternoon, the panorama is displayed When taking pictures, the frame and theme of the mobile terminal are adjusted to the background of dusk according to the time information; The information is adjusted to a snowy background; when the temperature information recorded during shooting is zero degrees and the panoramic photo is displayed, the frame and theme of the mobile terminal are adjusted to a icy background according to the temperature information. 2.如权利要求1所述的方法,其特征在于,所述拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息包括:2. The method according to claim 1, wherein said taking N photos and recording scene information during the shooting of said N photos comprises: 拍摄N张照片,并在从拍摄所述N张照片中的第一张照片到拍摄所述N张照片中的第N张照片的时段内进行录音操作;taking N photos, and performing a recording operation during the period from taking the first photo of the N photos to taking the Nth photo of the N photos; 保存所述录音操作得到的声音信息。The sound information obtained by the recording operation is saved. 3.如权利要求2所述的方法,其特征在于,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:3. The method according to claim 2, wherein, after creating the first panoramic photo containing the scene information based on the scene information and the composite photo, further comprising: 当接收到用户查看所述第一全景照片的指令时,解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;When receiving an instruction from the user to view the first panoramic photo, decoding the first panoramic photo to obtain the sound information included in the first panoramic photo; 显示所述第一全景照片并播放所述解码所得到的所述声音信息。displaying the first panoramic photo and playing the sound information obtained by the decoding. 4.如权利要求2所述的方法,其特征在于,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:4. The method according to claim 2, wherein, after creating the first panoramic photo containing the scene information based on the scene information and the composite photo, further comprising: 将所述第一全景照片保存于存储器中;storing the first panoramic photo in memory; 接收搜索指令,所述搜索指令包含索引;receiving a search command, the search command comprising an index; 基于所述索引在所述存储器中搜索与所述索引相关联的全景照片;若搜索到所述索引相关联的全景照片为所述第一全景照片,提供搜索出的所述第一全景照片。Searching the memory for a panoramic photo associated with the index based on the index; if it is found that the panoramic photo associated with the index is the first panoramic photo, providing the searched first panoramic photo. 5.如权利要求4所述的方法,其特征在于,所述基于所述索引在所述存储器中搜索与所述索引相关联的全景照片包括:5. The method of claim 4, wherein said searching the memory for panoramic photos associated with the index based on the index comprises: 将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对;comparing the index with the scene information in each panoramic photo stored in the memory; 筛选出所包含场景信息与所述索引相匹配的全景照片。Filter out the panoramic photos whose scene information matches the index. 6.如权利要求5所述的方法,其特征在于,所述索引为第一声音片段,所述将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对包括:6. The method according to claim 5, wherein the index is a first sound clip, and comparing the index with the scene information in each panoramic photo stored in the memory comprises: 判断所述存储器中保存的各个全景照片中的场景信息中声音信息是否包含所述第一声音片段;Judging whether the sound information in the scene information in each panoramic photo stored in the memory contains the first sound segment; 若判断出所述存储器中保存的第二全景照片中的场景信息中的声音信息包含所述第一声音片段,则确定所述索引与第二全景照片中的场景信息相匹配。If it is determined that the sound information in the scene information in the second panoramic photo stored in the memory includes the first sound segment, then it is determined that the index matches the scene information in the second panoramic photo. 7.如权利要求5所述的方法,其特征在于,所述索引为第一文字,所述将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对包括:7. The method according to claim 5, wherein the index is the first text, and comparing the index with the scene information in each panoramic photo stored in the memory comprises: 将所述第一文字转换为第二声音片段;converting the first text into a second sound clip; 判断所述声音信息是否包含所述第二声音片段;judging whether the sound information includes the second sound segment; 若判断出所述存储器中保存的第三全景照片中的场景信息中的声音信息包含所述第二声音片段,则确定所述索引与第三全景照片中的场景信息相匹配。If it is determined that the sound information in the scene information in the third panoramic photo stored in the memory includes the second sound segment, then it is determined that the index matches the scene information in the third panoramic photo. 8.如权利要求2所述的方法,其特征在于,所述基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片之后,还包括:8. The method according to claim 2, wherein, after creating the first panoramic photo containing the scene information based on the scene information and the composite photo, further comprising: 当接收到用户查看所述第一全景照片的指令时,解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;When receiving an instruction from the user to view the first panoramic photo, decoding the first panoramic photo to obtain the sound information included in the first panoramic photo; 将所述解码所得的所述声音信息转换为第二文字;converting the sound information obtained by the decoding into a second text; 显示所述第一全景照片并在移动终端的显示界面上显示所述第二文字。displaying the first panoramic photo and displaying the second text on the display interface of the mobile terminal. 9.一种移动终端,其特征在于,包括:9. A mobile terminal, characterized in that, comprising: 拍摄记录模块,用于拍摄N张照片并记录所述N张照片的拍摄过程中的场景信息,所述场景信息包括声音信息、时间信息、天气信息、温度信息、方位信息、地理信息的一种或多种,所述场景信息通过移动终端自带的传感器获取,也可以通过外连接的所述传感器获取,所述N为正整数;The shooting and recording module is used to take N photos and record the scene information during the shooting of the N photos. The scene information includes sound information, time information, weather information, temperature information, orientation information, and geographical information. or more, the scene information is obtained through a sensor that comes with the mobile terminal, or through an externally connected sensor, and the N is a positive integer; 合成模块,用于对所述N张照片进行合成操作以得到合成照片,所述合成通过所述移动终端自动拼接或用户手动进行,所述移动终端预设用于组成全景照片的照片数目为N,从而将拍摄第N张照片的拍摄信号作为停止记录所述场景信息的停止触发信号,达到自动控制的目的;A composition module, configured to perform a composition operation on the N photos to obtain a composite photo, the composition is automatically spliced by the mobile terminal or manually performed by the user, and the number of photos used to form the panorama photo is preset by the mobile terminal to be N , thereby taking the shooting signal of the Nth photo as the stop trigger signal to stop recording the scene information, so as to achieve the purpose of automatic control; 创建模块,用于基于所述场景信息和所述合成照片创建包含所述场景信息的第一全景照片;显示播放模块,用于展现所述第一全景照片,并且所述移动终端同时展现所述场景信息;其中,当所述场景信息为时间信息、天气信息或温度信息时,所述移动终端的边框及主题根据这些场景信息进行相应调整,具体为:当拍摄时记录的时间信息为下午19点至20点之间显示所述全景照片时,所述移动终端的边框及主题根据所述时间信息调整为黄昏的背景;当拍摄时记录的天气信息为小雪显示所述全景照片时,所述移动终端的边框及主题根据所述天气信息调整为下雪的背景;当拍摄时记录的温度信息为零度显示所述全景照片时,所述移动终端的边框及主题根据所述温度信息调整为结冰的背景。A creating module, configured to create a first panoramic photo containing the scene information based on the scene information and the synthesized photo; a display and playback module, configured to present the first panoramic photo, and the mobile terminal simultaneously presents the Scene information; wherein, when the scene information is time information, weather information or temperature information, the frame and theme of the mobile terminal are adjusted accordingly according to these scene information, specifically: the time information recorded when shooting is 19:00 When displaying the panoramic photo between 1:00 and 20:00, the frame and theme of the mobile terminal are adjusted to the background of dusk according to the time information; The frame and theme of the mobile terminal are adjusted to a snowy background according to the weather information; when the temperature information recorded during shooting is zero degrees to display the panoramic photo, the frame and theme of the mobile terminal are adjusted to a snowy background according to the temperature information. Ice background. 10.如权利要求9所述的移动终端,其特征在于,所述拍摄记录模块包括:10. The mobile terminal according to claim 9, wherein the shooting and recording module comprises: 拍摄单元,用于拍摄N张照片;a shooting unit, configured to take N photos; 录音单元,用于所述拍摄单元在从拍摄所述N张照片中的第一张照片到拍摄所述N张照片中的第N张照片的时段内进行录音操作;a recording unit, used for the recording unit to perform recording operation during the period from taking the first photo of the N photos to taking the Nth photo of the N photos; 保存单元,用于保存所述录音操作得到的声音信息。The saving unit is used for saving the sound information obtained by the recording operation. 11.如权利要求10所述的移动终端,其特征在于,还包括:11. The mobile terminal according to claim 10, further comprising: 第一解码模块,当接收到用户查看所述第一全景照片的指令时,用于解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;The first decoding module is configured to decode the first panoramic photo to obtain the sound information included in the first panoramic photo when receiving an instruction from the user to view the first panoramic photo; 所述显示播放模块显示所述第一全景照片并播放所述解码所得到的所述声音信息。The display and playback module displays the first panoramic photo and plays the sound information obtained by the decoding. 12.如权利要求10所述的移动终端,其特征在于,还包括:12. The mobile terminal according to claim 10, further comprising: 保存模块,用于将所述第一全景照片保存于存储器中;A saving module, configured to save the first panoramic photo in a memory; 接收模块,用于接收搜索指令,所述搜索指令包含索引;A receiving module, configured to receive a search instruction, where the search instruction includes an index; 搜索模块,用于基于所述索引在所述存储器中搜索与所述索引相关联的全景照片;a search module for searching the memory for panoramas associated with the index based on the index; 提供模块,用于所述搜索模块搜索到所述索引相关联的全景照片为所述第一全景照片时,提供搜索出的所述第一全景照片。A module is provided for providing the searched first panoramic photo when the search module finds that the panoramic photo associated with the index is the first panoramic photo. 13.如权利要求12所述的移动终端,其特征在于,所述搜索模块包括:13. The mobile terminal according to claim 12, wherein the search module comprises: 比对单元,用于将所述索引与所述存储器中保存的各个全景照片中的场景信息相比对;A comparing unit, configured to compare the index with the scene information in each panoramic photo stored in the memory; 筛选单元,用于筛选出所包含场景信息与所述索引相匹配的全景照片。A filtering unit, configured to filter out panoramic photos whose scene information matches the index. 14.如权利要求13所述的移动终端,其特征在于,所述索引为第一声音片段,所述比对单元包括:14. The mobile terminal according to claim 13, wherein the index is a first sound segment, and the comparing unit comprises: 第一判断单元,用于判断所述存储器中保存的各个全景照片中的场景信息中声音信息是否包含所述第一声音片段;A first judging unit, configured to judge whether the sound information in the scene information in each panoramic photo stored in the memory contains the first sound segment; 第一确定单元,用于所述第一判断单元判断出所述存储器中保存的第二全景照片中的场景信息中的声音信息包含所述第一声音片段时,确定所述索引与第二全景照片中的场景信息相匹配。The first determining unit is used for determining the index and the second panoramic photo when the first judging unit judges that the sound information in the scene information in the second panoramic photo stored in the memory contains the first sound segment Match the scene information in the photo. 15.如权利要求13所述的移动终端,其特征在于,所述索引为第一文字,所述比对单元包括:15. The mobile terminal according to claim 13, wherein the index is the first text, and the comparing unit comprises: 转换单元,用于将所述第一文字转换为第二声音片段;a conversion unit, configured to convert the first text into a second sound clip; 第二判断单元,用于判断所述声音信息是否包含所述第二声音片段;a second judging unit, configured to judge whether the sound information includes the second sound segment; 第二确定单元,用于所述第二判断单元判断出所述存储器中保存的第三全景照片中的场景信息中的声音信息包含所述第二声音片段时,确定所述索引与第三全景照片中的场景信息相匹配。The second determination unit is used for determining the index and the third panorama when the second determination unit determines that the sound information in the scene information in the third panoramic photo stored in the memory contains the second sound segment Match the scene information in the photo. 16.如权利要求10所述的移动终端,其特征在于,还包括:16. The mobile terminal of claim 10, further comprising: 第二解码模块,当接收到用户查看所述第一全景照片的指令时,用于解码所述第一全景照片以得到所述第一全景照片包含的所述声音信息;The second decoding module is configured to decode the first panoramic photo to obtain the sound information included in the first panoramic photo when receiving an instruction from the user to view the first panoramic photo; 第二转换模块,用于将所述解码所得的所述声音信息转换为第二文字;a second conversion module, configured to convert the decoded sound information into a second text; 显示模块,用于显示所述第一全景照片并在移动终端的显示界面上显示所述第二文字。A display module, configured to display the first panoramic photo and display the second text on the display interface of the mobile terminal.
CN201410767945.6A 2014-12-11 2014-12-11 A kind of method and mobile terminal for generating distant view photograph Expired - Fee Related CN104601880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410767945.6A CN104601880B (en) 2014-12-11 2014-12-11 A kind of method and mobile terminal for generating distant view photograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410767945.6A CN104601880B (en) 2014-12-11 2014-12-11 A kind of method and mobile terminal for generating distant view photograph

Publications (2)

Publication Number Publication Date
CN104601880A CN104601880A (en) 2015-05-06
CN104601880B true CN104601880B (en) 2018-03-27

Family

ID=53127347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410767945.6A Expired - Fee Related CN104601880B (en) 2014-12-11 2014-12-11 A kind of method and mobile terminal for generating distant view photograph

Country Status (1)

Country Link
CN (1) CN104601880B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139340B (en) * 2015-09-15 2019-02-19 Oppo广东移动通信有限公司 A kind of joining method and device of distant view photograph
CN106296589B (en) * 2016-08-26 2020-12-04 北京疯景科技有限公司 Panoramic image processing method and device
CN108270951B (en) * 2017-07-07 2021-07-30 李丹 Method for generating panoramic photo by intelligent electronic equipment and corresponding intelligent electronic equipment
CN112422808B (en) * 2019-08-23 2023-05-19 阿里巴巴集团控股有限公司 Photo acquisition method, media object processing device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681088A (en) * 2007-05-29 2010-03-24 汤姆森许可贸易公司 Method of creating and reproducing a panoramic sound image, and apparatus for reproducing such an image
CN101753941A (en) * 2008-12-19 2010-06-23 康佳集团股份有限公司 Method for realizing markup information in imaging device and imaging device
CN102014252A (en) * 2010-12-06 2011-04-13 无敌科技(西安)有限公司 Display system and method for converting image video into pictures with image illustration
CN202475605U (en) * 2012-03-01 2012-10-03 山西智光科技有限公司 Intelligent digital photographic equipment
CN103870491A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information matching method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143256A (en) * 2001-10-30 2003-05-16 Nec Corp Terminal and communication control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681088A (en) * 2007-05-29 2010-03-24 汤姆森许可贸易公司 Method of creating and reproducing a panoramic sound image, and apparatus for reproducing such an image
CN101753941A (en) * 2008-12-19 2010-06-23 康佳集团股份有限公司 Method for realizing markup information in imaging device and imaging device
CN102014252A (en) * 2010-12-06 2011-04-13 无敌科技(西安)有限公司 Display system and method for converting image video into pictures with image illustration
CN202475605U (en) * 2012-03-01 2012-10-03 山西智光科技有限公司 Intelligent digital photographic equipment
CN103870491A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information matching method and electronic device

Also Published As

Publication number Publication date
CN104601880A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
US9898847B2 (en) Multimedia picture generating method, device and electronic device
CN106960051B (en) Audio playing method and device based on electronic book and terminal equipment
WO2020098115A1 (en) Subtitle adding method, apparatus, electronic device, and computer readable storage medium
US20200058288A1 (en) Timbre-selectable human voice playback system, playback method thereof and computer-readable recording medium
WO2021083071A1 (en) Method, device, and medium for speech conversion, file generation, broadcasting, and voice processing
KR101513847B1 (en) Method and apparatus for playing pictures
CN105893419A (en) Generation device, device and equipment of multimedia photo, and mobile phone
WO2014161282A1 (en) Method and device for adjusting playback progress of video file
CN109859298B (en) Image processing method and device, equipment and storage medium thereof
US20120196260A1 (en) Electronic Comic (E-Comic) Metadata Processing
US11595591B2 (en) Method and apparatus for triggering special image effects and hardware device
CN110781328A (en) Video generation method, system, device and storage medium based on voice recognition
US10347300B2 (en) Correlation of recorded video presentations and associated slides
CN104601880B (en) A kind of method and mobile terminal for generating distant view photograph
CN111050201A (en) Data processing method, device, electronic device and storage medium
US9645985B2 (en) Systems and methods for customizing text in media content
JP6095381B2 (en) Data processing apparatus, data processing method, and program
WO2021031733A1 (en) Method for generating video special effect, and terminal
WO2014154097A1 (en) Automatic page content reading-aloud method and device thereof
KR20200045852A (en) Speech and image service platform and method for providing advertisement service
CN108242238A (en) Audio file generation method and device and terminal equipment
WO2018120819A1 (en) Method and device for producing presentation
KR101567449B1 (en) E-Book Apparatus Capable of Playing Animation on the Basis of Voice Recognition and Method thereof
CN104994404A (en) Method and device for obtaining keywords for video
JP2009519538A (en) Method and apparatus for accessing a digital file from a collection of digital files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180327