[go: up one dir, main page]

CN105847583A - Method and apparatus for image processing on mobile terminal - Google Patents

Method and apparatus for image processing on mobile terminal Download PDF

Info

Publication number
CN105847583A
CN105847583A CN201610305543.3A CN201610305543A CN105847583A CN 105847583 A CN105847583 A CN 105847583A CN 201610305543 A CN201610305543 A CN 201610305543A CN 105847583 A CN105847583 A CN 105847583A
Authority
CN
China
Prior art keywords
mobile terminal
physical object
specified physical
virtual
image
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
CN201610305543.3A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610305543.3A priority Critical patent/CN105847583A/en
Publication of CN105847583A publication Critical patent/CN105847583A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明提供了一种在移动终端上进行图像处理的方法及装置。该方法包括:调用移动终端的图像采集器,并利用图像采集器采集指定实物上包含的图片;在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像;在移动终端的显示界面上呈现合成图像。由此可见,本发明实施例可以将增强现实技术与日常生活中存在的具体实物进行结合,从而大大增加了日常用品的趣味性,同时有助于增强现实技术更广泛的发展。

The invention provides a method and device for image processing on a mobile terminal. The method includes: calling an image collector of the mobile terminal, and using the image collector to collect pictures contained in a specified physical object; searching for one or more virtual objects corresponding to the collected pictures in a preset virtual object library, wherein, The corresponding relationship between pictures and one or more virtual objects is stored in the virtual object library; the specified physical object, the pictures contained on the specified physical object, and one or more virtual objects are superimposed to generate a composite image; on the display interface of the mobile terminal Renders a composite image. It can be seen that the embodiments of the present invention can combine augmented reality technology with specific objects in daily life, thereby greatly increasing the interest of daily necessities, and at the same time contributing to the broader development of augmented reality technology.

Description

在移动终端上进行图像处理的方法及装置Method and device for image processing on mobile terminal

技术领域technical field

本发明涉及计算机应用领域,特别是涉及一种在移动终端上进行图像处理的方法及装置。The invention relates to the field of computer applications, in particular to a method and device for image processing on a mobile terminal.

背景技术Background technique

增强现实(Augmented Reality,简称AR),是一种将真实世界信息和虚拟世界信息进行“无缝”集成的新技术,是把原本在现实世界的一定时间或空间范围内很难体验到的实体信息(例如:视觉信息、声音信息、味道信息、触觉信息等),通过计算机等科学技术进行模拟仿真,然后再将虚拟的信息和真实世界叠加。将虚拟的信息应用到真实的世界,被人类感官所感知,从而达到超越现实的感官体验。Augmented reality (Augmented Reality, referred to as AR), is a new technology that "seamlessly" integrates real world information and virtual world information. Information (such as visual information, sound information, taste information, tactile information, etc.) is simulated by computer and other science and technology, and then the virtual information is superimposed on the real world. Apply virtual information to the real world and be perceived by human senses, so as to achieve a sensory experience beyond reality.

目前,对于增强现实技术的应用,大多数都是在现实场景中的画面进行效果的增强,通过采用增强现实技术,使人们看到的现实场景更加丰富多彩。然而,在现有技术中,将增强现实的技术和生活中存在的具体实物相结合的方式并不多见,使得增强现实技术的应用领域受到了一定的限制。如果将增强现实的技术应用于日常生活、学习、办公用品中,则可以大大增加日常用品的趣味性。因此,将增强现实技术与实物进行结合,对于增强现实技术能够更广泛的发展很有必要。At present, for the application of augmented reality technology, most of them are to enhance the effect of the picture in the real scene. By adopting the augmented reality technology, the real scene seen by people is more colorful. However, in the prior art, there are few ways to combine augmented reality technology with concrete objects in life, which limits the application field of augmented reality technology to a certain extent. If the technology of augmented reality is applied in daily life, study, office supplies, then can greatly increase the interest of daily supplies. Therefore, combining augmented reality technology with physical objects is necessary for the wider development of augmented reality technology.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的在移动终端上进行图像处理的方法及装置。In view of the above problems, the present invention is proposed to provide a method and device for image processing on a mobile terminal that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种在移动终端上进行图像处理的方法,包括:According to one aspect of the present invention, a method for image processing on a mobile terminal is provided, including:

调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;Calling the image collector of the mobile terminal, and using the image collector to collect pictures contained in the specified object;

在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;In the preset virtual object library, one or more virtual objects corresponding to the collected pictures are searched, wherein the corresponding relationship between the picture and one or more virtual objects is stored in the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image;

在所述移动终端的显示界面上呈现所述合成图像。presenting the synthesized image on a display interface of the mobile terminal.

可选地,所述虚拟物体库位于所述移动终端或云端服务器。Optionally, the virtual object library is located in the mobile terminal or a cloud server.

可选地,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,包括:Optionally, superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects includes:

从所述虚拟物体库中加载所述指定实物上包含的图片所对应的一个或多个虚拟物体;Loading one or more virtual objects corresponding to the pictures contained on the specified physical object from the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理。superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects.

可选地,调用所述移动终端的图像采集器之前,所述方法还包括:Optionally, before invoking the image collector of the mobile terminal, the method further includes:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

获取所述移动终端的标识,并将所述指定实物上的标识与所述移动终端的标识发送至云端服务器,以验证所述移动终端是否具备在所述移动终端上进行图像处理的权限。Obtaining the identification of the mobile terminal, and sending the identification on the specified physical object and the identification of the mobile terminal to a cloud server, so as to verify whether the mobile terminal has the authority to perform image processing on the mobile terminal.

可选地,在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体之前,所述方法还包括:Optionally, before searching for one or more virtual objects corresponding to the collected pictures in the preset virtual object library, the method further includes:

获取与所述指定实物对应的所述虚拟物体库。The virtual object library corresponding to the specified physical object is acquired.

可选地,获取与所述指定实物对应的所述虚拟物体库,包括:Optionally, obtaining the virtual object library corresponding to the specified physical object includes:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

根据所述指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找所述指定实物上的标识对应的所述虚拟物体库。According to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, the virtual object library corresponding to the identification on the specified physical object is searched.

可选地,当所述图片对应的一个或多个虚拟物体是多个时,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像,包括:Optionally, when there are multiple one or more virtual objects corresponding to the picture, superimpose the specified real object, the picture contained on the specified real object, and the one or more virtual objects to generate a composite images, including:

将每个虚拟物体分别与所述指定实物、所述指定实物上包含的图片进行叠加处理,生成多个合成图像。Each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple synthetic images.

可选地,当生成多个合成图像时,在所述移动终端的显示界面上呈现所述合成图像,包括:Optionally, when generating multiple composite images, presenting the composite images on the display interface of the mobile terminal includes:

将生成的所述多个合成图像按照指定的顺序,依次轮流呈现在所述移动终端的显示界面上。The plurality of generated synthetic images are sequentially presented on the display interface of the mobile terminal in a specified order.

可选地,在所述移动终端的显示界面上呈现所述合成图像之后,所述方法还包括:分享所述合成图像。Optionally, after the composite image is presented on the display interface of the mobile terminal, the method further includes: sharing the composite image.

可选地,当所述一个或多个虚拟物体是动态的,所述合成图像为动态图像时,所述分享所述合成图像,包括:Optionally, when the one or more virtual objects are dynamic and the composite image is a dynamic image, the sharing of the composite image includes:

截取所述合成图像中的至少一帧图片,并分享。Intercepting at least one frame of the composite image and sharing it.

可选地,在所述移动终端的显示界面上呈现所述合成图像之后,所述方法还包括:Optionally, after the composite image is presented on the display interface of the mobile terminal, the method further includes:

接收来自用户对所述合成图像中的虚拟物体的操作指令;receiving an operation instruction from a user on the virtual object in the synthesized image;

响应所述操作指令对所述虚拟物体执行相应的操作,得到操作后的虚拟物体;performing a corresponding operation on the virtual object in response to the operation instruction to obtain the operated virtual object;

将所述操作后的虚拟物体与所述指定实物进行叠加处理,得到叠加处理后的合成图像;superimposing the operated virtual object and the specified physical object to obtain a superimposed composite image;

将所述叠加处理后的合成图像呈现在所述移动终端的显示界面上。and presenting the superimposed composite image on a display interface of the mobile terminal.

依据本发明的另一方面,还提供了一种在移动终端上进行图像处理的装置,包括:According to another aspect of the present invention, a device for image processing on a mobile terminal is also provided, including:

采集模块,适于调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;The collection module is adapted to call the image collector of the mobile terminal, and use the image collector to collect the pictures contained in the specified object;

查找模块,适于在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;The search module is adapted to search for one or more virtual objects corresponding to the collected pictures in a preset virtual object library, wherein the virtual object library stores correspondences between pictures and one or more virtual objects relation;

第一处理模块,适于将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;The first processing module is adapted to superimpose the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image;

第一显示模块,适于在所述移动终端的显示界面上呈现所述合成图像。The first display module is adapted to present the synthesized image on a display interface of the mobile terminal.

可选地,所述虚拟物体库位于所述移动终端或云端服务器。Optionally, the virtual object library is located in the mobile terminal or a cloud server.

可选地,所述第一处理模块还适于:Optionally, the first processing module is also suitable for:

从所述虚拟物体库中加载所述指定实物上包含的图片所对应的一个或多个虚拟物体;Loading one or more virtual objects corresponding to the pictures contained on the specified physical object from the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理。superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects.

可选地,在所述采集模块调用所述移动终端的图像采集器之前,所述装置还包括:Optionally, before the collection module invokes the image collector of the mobile terminal, the device further includes:

识别模块,适于扫描并识别指定实物上的标识;The identification module is suitable for scanning and identifying the identification on the specified physical object;

验证模块,适于获取所述移动终端的标识,并将所述指定实物上的标识与所述移动终端的标识发送至云端服务器,以验证所述移动终端是否具备在所述移动终端上进行图像处理的权限。The verification module is adapted to obtain the identification of the mobile terminal, and send the identification on the specified physical object and the identification of the mobile terminal to the cloud server to verify whether the mobile terminal is capable of performing image processing on the mobile terminal. processing rights.

可选地,所述查找模块在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体之前,所述装置还包括:Optionally, before the search module searches the preset virtual object library for one or more virtual objects corresponding to the collected pictures, the device further includes:

获取模块,适于获取与所述指定实物对应的所述虚拟物体库。The acquisition module is adapted to acquire the virtual object library corresponding to the specified physical object.

可选地,所述获取模块还适于:Optionally, the acquisition module is also suitable for:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

根据所述指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找所述指定实物上的标识对应的所述虚拟物体库。According to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, the virtual object library corresponding to the identification on the specified physical object is searched.

可选地,当所述图片对应的一个或多个虚拟物体是多个时,所述第一处理模块还适于:Optionally, when there are multiple one or more virtual objects corresponding to the picture, the first processing module is further adapted to:

将每个虚拟物体分别与所述指定实物、所述指定实物上包含的图片进行叠加处理,生成多个合成图像。Each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple synthetic images.

可选地,当生成多个合成图像时,所述第一显示模块还适于:Optionally, when generating multiple synthetic images, the first display module is further adapted to:

将生成的所述多个合成图像按照指定的顺序,依次轮流呈现在所述移动终端的显示界面上。The plurality of generated synthetic images are sequentially presented on the display interface of the mobile terminal in a specified order.

可选地,所述第一显示模块在所述移动终端的显示界面上呈现所述合成图像之后,所述装置还包括:Optionally, after the first display module presents the synthesized image on the display interface of the mobile terminal, the device further includes:

分享模块,适于分享所述合成图像。A sharing module, adapted to share the synthesized image.

可选地,当所述一个或多个虚拟物体是动态的,所述合成图像为动态图像时,所述分享模块还适于:Optionally, when the one or more virtual objects are dynamic and the composite image is a dynamic image, the sharing module is further adapted to:

截取所述合成图像中的至少一帧图片,并分享。Intercepting at least one frame of the composite image and sharing it.

可选地,所述第一显示模块在所述移动终端的显示界面上呈现所述合成图像之后,所述装置还包括:Optionally, after the first display module presents the synthesized image on the display interface of the mobile terminal, the device further includes:

接收模块,适于接收来自用户对所述合成图像中的虚拟物体的操作指令;A receiving module, adapted to receive an operation instruction from a user on the virtual object in the synthesized image;

响应模块,适于响应所述操作指令对所述虚拟物体执行相应的操作,得到操作后的虚拟物体;A response module, adapted to perform a corresponding operation on the virtual object in response to the operation instruction, to obtain the operated virtual object;

第二处理模块,适于将所述操作后的虚拟物体与所述指定实物进行叠加处理,得到叠加处理后的合成图像;The second processing module is adapted to perform superposition processing on the operated virtual object and the specified physical object to obtain a superimposed composite image;

第二显示模块,适于将所述叠加处理后的合成图像呈现在所述移动终端的显示界面上。The second display module is adapted to present the superimposed composite image on a display interface of the mobile terminal.

在本发明实施例中,当调用移动终端的图像采集器采集到指定实物上包含的图片时,从预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系,进而,将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像,并将该合成图像显示在移动终端的显示界面上。由此可见,本发明实施例可以将虚拟的物体与采集到的指定实物上包含的图片进行叠加处理,并生成合成图像显示在移动终端的显示界面上,使增强现实技术与日常生活中存在的具体实物进行结合,从而大大增加了日常用品的趣味性,同时有助于增强现实技术更广泛的发展。In the embodiment of the present invention, when the image collector of the mobile terminal is called to collect the pictures contained in the specified physical objects, one or more virtual objects corresponding to the collected pictures are searched from the preset virtual object library, wherein, The corresponding relationship between pictures and one or more virtual objects is stored in the virtual object library, and then, the specified physical object, the pictures contained in the specified physical object, and one or more virtual objects are superimposed to generate a composite image, and the composite image displayed on the display interface of the mobile terminal. It can be seen that the embodiment of the present invention can superimpose the virtual object and the pictures contained in the collected specified real object, and generate a composite image to be displayed on the display interface of the mobile terminal, so that the augmented reality technology can be combined with the existing in daily life. The combination of specific objects greatly increases the interest of daily necessities, and at the same time contributes to the broader development of augmented reality technology.

进一步地,通过将指定实物上的标识和移动终端的标识发送至云端,可以验证移动终端是否具备利用采集到的图片进行图像处理的权限,只有在移动终端具有图像处理的权限时,才可以利用指定实物上包含的图片进行图像处理,从而有效地保证了指定实物上的图片的使用权限。Furthermore, by sending the identification on the specified physical object and the identification of the mobile terminal to the cloud, it can be verified whether the mobile terminal has the authority to use the collected pictures for image processing. Only when the mobile terminal has the authority to process images can it be used Image processing is performed on the pictures contained in the specified physical objects, thus effectively guaranteeing the use rights of the pictures on the specified physical objects.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

根据下文结合附图对本发明具体实施例的详细描述,本领域技术人员将会更加明了本发明的上述以及其他目的、优点和特征。Those skilled in the art will be more aware of the above and other objects, advantages and features of the present invention according to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1是根据本发明一个实施例的在移动终端上进行图像处理的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for image processing on a mobile terminal according to an embodiment of the present invention;

图2是根据本发明一个实施例的在移动终端上进行图像处理的第一个显示界面示意图;FIG. 2 is a schematic diagram of a first display interface for performing image processing on a mobile terminal according to an embodiment of the present invention;

图3是根据本发明一个实施例的在移动终端上进行图像处理的第二个显示界面示意图;FIG. 3 is a schematic diagram of a second display interface for performing image processing on a mobile terminal according to an embodiment of the present invention;

图4是根据本发明一个实施例的在移动终端上进行图像处理的第三个显示界面示意图;FIG. 4 is a schematic diagram of a third display interface for performing image processing on a mobile terminal according to an embodiment of the present invention;

图5是根据本发明一个实施例的在移动终端上进行图像处理的第四个显示界面示意图;Fig. 5 is a schematic diagram of a fourth display interface for performing image processing on a mobile terminal according to an embodiment of the present invention;

图6是根据本发明一个实施例的在移动终端上进行图像处理的第五个显示界面示意图;6 is a schematic diagram of a fifth display interface for performing image processing on a mobile terminal according to an embodiment of the present invention;

图7是根据本发明另一个实施例的在移动终端上进行图像处理的方法的流程示意图;FIG. 7 is a schematic flowchart of a method for image processing on a mobile terminal according to another embodiment of the present invention;

图8是根据本发明一个实施例的在移动终端上进行图像处理的装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to an embodiment of the present invention;

图9是根据本发明另一个实施例的在移动终端上进行图像处理的装置的结构示意图;以及FIG. 9 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to another embodiment of the present invention; and

图10是根据本发明又一个实施例的在移动终端上进行图像处理的装置的结构示意图。Fig. 10 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to yet another embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

为解决上述技术问题,本发明实施例提供了一种在移动终端上进行图像处理的方法,该方法应用于客户端,该移动终端可以是智能手机、平板电脑、智能手表等终端设备。图1是根据本发明一个实施例的在移动终端上进行图像处理的方法的流程示意图。参见图1,该方法至少可以包括步骤S102至步骤S108。In order to solve the above technical problems, an embodiment of the present invention provides a method for image processing on a mobile terminal, the method is applied to a client, and the mobile terminal may be a terminal device such as a smart phone, a tablet computer, or a smart watch. Fig. 1 is a schematic flowchart of a method for image processing on a mobile terminal according to an embodiment of the present invention. Referring to Fig. 1, the method may at least include step S102 to step S108.

步骤S102,调用移动终端的图像采集器,并利用图像采集器采集指定实物上包含的图片。Step S102, call the image collector of the mobile terminal, and use the image collector to collect pictures included in the specified object.

在该步骤中,指定实物可以是日常生活用品、办公物品、各种玩具或者文具等。In this step, the specified object may be daily necessities, office items, various toys or stationery, etc.

步骤S104,在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系。Step S104, searching for one or more virtual objects corresponding to the collected picture in the preset virtual object library, wherein the virtual object library stores the corresponding relationship between the picture and one or more virtual objects.

在该步骤中,虚拟物体库中提前预置了至少一张图片、与每张照片相对应的一个或者多个虚拟物体、以及每张照片与一个或者多个虚拟物体的对应关系。该虚拟物体库可以位于移动终端本地,也可以位于云端服务器。In this step, at least one picture, one or more virtual objects corresponding to each picture, and the corresponding relationship between each picture and one or more virtual objects are preset in the virtual object library in advance. The virtual object library can be located locally on the mobile terminal or on a cloud server.

步骤S106,将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像。Step S106, superimposing the designated real object, the picture contained on the designated real object, and one or more virtual objects to generate a composite image.

在该步骤中,可先从虚拟物体库中加载指定实物上包含的图片所对应的一个或多个虚拟物体,然后再将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,并生成合成图像。并且,在该步骤中,虚拟物体库中存储的虚拟物体,包括静态的虚拟物体和动态的虚拟物体。In this step, one or more virtual objects corresponding to the pictures contained on the specified physical object can be loaded from the virtual object library first, and then the specified physical object, the pictures contained on the specified physical object, and one or more virtual objects can be superimposed processed and generate composite images. Moreover, in this step, the virtual objects stored in the virtual object library include static virtual objects and dynamic virtual objects.

步骤S108,在移动终端的显示界面上呈现合成图像。Step S108, presenting the synthesized image on the display interface of the mobile terminal.

当调用移动终端的图像采集器采集到指定实物上包含的图片时,从预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系,进而,将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像,并将该合成图像显示在移动终端的显示界面上。由此可见,本发明实施例可以将虚拟的物体与采集到的指定实物上包含的图片进行叠加处理,并生成合成图像显示在移动终端的显示界面上,使增强现实技术与日常生活中存在的具体实物进行结合,从而大大增加了日常用品的趣味性,同时有助于增强现实技术更广泛的发展。When the image collector of the mobile terminal is called to collect the pictures contained in the specified physical objects, one or more virtual objects corresponding to the collected pictures are searched from the preset virtual object library, wherein the pictures are stored in the virtual object library Correspondence with one or more virtual objects, and then superimpose the specified physical object, the pictures contained on the specified physical object, and one or more virtual objects to generate a composite image, and display the composite image on the display interface of the mobile terminal superior. It can be seen that the embodiment of the present invention can superimpose the virtual object and the pictures contained in the collected specified real object, and generate a composite image to be displayed on the display interface of the mobile terminal, so that the augmented reality technology can be combined with the existing in daily life. The combination of specific objects greatly increases the interest of daily necessities, and at the same time contributes to the broader development of augmented reality technology.

在上文步骤S102调用移动终端的图像采集器,并利用图像采集器采集指定实物上包含的图片之前,在本发明一实施例中,先调用移动终端的图像采集器扫描并识别指定实物上的标识(标识可以是二维码、条形码等识别标志),并获取移动终端的标识,进而,将指定实物上的标识与移动终端的标识发送至云端服务器,以验证移动终端是否具备在移动终端上进行图像处理的权限。例如,该权限可以是指定实物只允许五个不同的移动终端利用该指定实物上的图片进行图像处理,当五个不同的移动终端扫描并识别指定实物上的标识之后,该指定实物上的标识就会失效,党第六个移动终端去扫描该指定实物上的标识时,则第六个移动终端不能验证通过,即不能够进行图像处理。Before the above step S102 calls the image collector of the mobile terminal and uses the image collector to collect the pictures contained on the specified object, in one embodiment of the present invention, the image collector of the mobile terminal is first called to scan and identify the pictures on the specified object. identification (the identification can be a two-dimensional code, a bar code and other identification marks), and obtain the identification of the mobile terminal, and then send the identification on the specified physical object and the identification of the mobile terminal to the cloud server to verify whether the mobile terminal has Permission to perform image processing. For example, the authority may be that the specified physical object only allows five different mobile terminals to use the pictures on the specified physical object for image processing. After five different mobile terminals scan and recognize the identification on the specified physical object, the identification on the specified physical object will become invalid, and when the sixth mobile terminal scans the identification on the specified object, the sixth mobile terminal cannot be verified, that is, image processing cannot be performed.

通过将指定实物上的标识和移动终端的标识发送至云端,可以验证移动终端是否具备利用采集到的图片进行图像处理的权限,只有在移动终端具有图像处理的权限时,才可以利用指定实物上包含的图片进行图像处理,从而有效地保证了指定实物上的图片的使用权限。By sending the identification on the specified physical object and the identification of the mobile terminal to the cloud, it can be verified whether the mobile terminal has the authority to use the collected pictures for image processing. The included pictures are subjected to image processing, thus effectively guaranteeing the use rights of the pictures on the specified physical objects.

在上述步骤S108中,在移动终端的显示界面上呈现合成图像之后,在本发明一实施例中,还可以对该合成图像进行分享,可以将合成图像分享至微信好友、朋友圈或者微博好友等。从而可以与朋友、家人、同事等分享合成后的图像,进而增进彼此之间的沟通和交流。In the above step S108, after the composite image is presented on the display interface of the mobile terminal, in an embodiment of the present invention, the composite image can also be shared, and the composite image can be shared with WeChat friends, Moments or Weibo friends Wait. In this way, the synthesized image can be shared with friends, family members, colleagues, etc., thereby enhancing mutual communication and communication.

在本发明一实施例中,可以截取合成图像中的至少一帧图像,以照片的形式分享合成图像,也可以截取合成图像中的一段录像,以视频的形式分享合成图像。如果采集到的图片在虚拟物体库中对应静态的虚拟物体,在合成图像之后,则可以优选截取合成图像中的至少一帧图像,以照片的形式分享合成图像;如果采集到的图片在虚拟物体库中对应动态的虚拟物体,在合成图像之后,则可以优选截取合成图像中的一段录像,以视频的形式分享合成图像。In an embodiment of the present invention, at least one frame of the composite image can be intercepted, and the composite image can be shared in the form of a photo, or a video of the composite image can be intercepted, and the composite image can be shared in the form of a video. If the captured picture corresponds to a static virtual object in the virtual object library, after compositing the image, it is preferable to intercept at least one frame of the composite image and share the composite image in the form of a photo; if the collected picture is in the virtual object Corresponding to the dynamic virtual objects in the library, after synthesizing the image, you can preferably intercept a video in the synthesizing image, and share the synthesizing image in the form of video.

为了更加清楚地体现本发明实施例,现以一具体实例进行详细介绍,在该实施例中,移动终端为手机终端,客户端安装在该手机终端上,指定实物为包含有多张花朵图片的笔记本。In order to reflect the embodiment of the present invention more clearly, a specific example is used to introduce in detail. In this embodiment, the mobile terminal is a mobile phone terminal, the client is installed on the mobile terminal, and the specified object is a mobile phone that contains multiple flower pictures. notebook.

参见图2,用户点击客户端界面上的“立即体验”按钮,启用该客户端。Referring to Fig. 2, the user clicks the "Experience Now" button on the client interface to activate the client.

参见图3,当启用该客户端的同时,安装有该客户端的手机终端自动调起摄像头,利用摄像头采集笔记本上任意一张花朵图片,采集到花朵图片后,客户端在预置的虚拟物体库中查找与采集到的花朵图片对应的一束虚拟立体花,并将笔记本、笔记本上包含的花朵图片以及虚拟立体花进行叠加处理,生成合成图像。See Figure 3. When the client is enabled, the mobile phone terminal installed with the client automatically activates the camera, and uses the camera to capture any picture of a flower on the notebook. Find a bunch of virtual three-dimensional flowers corresponding to the collected flower pictures, and superimpose the notebook, the flower pictures contained in the notebook and the virtual three-dimensional flowers to generate a composite image.

参见图4,客户端将由笔记本、笔记本上包含的花朵图片以及虚拟立体花生成的合成图像显示在手机终端的显示屏幕上。用户可以通过点击显示屏幕上的录像按钮或者拍照按钮,对显示在手机显示屏幕上的合成图像进行录像或者拍照。Referring to FIG. 4 , the client displays the composite image generated by the notebook, the picture of flowers contained in the notebook and the virtual three-dimensional flower on the display screen of the mobile terminal. The user can record or take pictures of the synthesized image displayed on the display screen of the mobile phone by clicking the video recording button or the photographing button on the display screen.

参见图5,当点击录像按钮时,对显示在手机显示屏幕上的合成图像进行录像,用户可以根据自己的需要选择录像时间的长短。Referring to Fig. 5, when the video recording button is clicked, the synthesized image displayed on the display screen of the mobile phone is recorded, and the user can select the length of recording time according to his needs.

参见图6,当录像完成之后,手机显示屏幕上会自动显示出“取消”和“分享”两个按钮,如果用户点击“取消”,则可以重新对手机显示屏幕上的合成图像进行录像,如果用户点击“分享”,则可以将上述完成的一段录像分享至微信好友、朋友圈或者微博等。Referring to Figure 6, after the recording is completed, two buttons "Cancel" and "Share" will be automatically displayed on the display screen of the mobile phone. If the user clicks "Cancel", the composite image on the display screen of the mobile phone can be re-recorded. When the user clicks "Share", the above completed video can be shared with WeChat friends, circle of friends or Weibo.

本发明一实施例中,当图像采集器采集的指定实物上包含的图片,在预置的虚拟物体库中对应多个虚拟物体的情况下,本发明实施例还提供了另一种在移动终端上进行图像处理的方法,该方法应用于客户端,该移动终端可以是智能手机、平板电脑、智能手表等终端设备。In one embodiment of the present invention, when the pictures contained in the specified physical object collected by the image collector correspond to multiple virtual objects in the preset virtual object library, the embodiment of the present invention also provides another A method for image processing on the Internet, the method is applied to a client, and the mobile terminal may be a terminal device such as a smart phone, a tablet computer, or a smart watch.

图7是根据本发明另一个实施例的在移动终端上进行图像处理的方法的流程示意图。参见图7,该方法至少可以包括步骤S202至步骤S208。Fig. 7 is a schematic flowchart of a method for image processing on a mobile terminal according to another embodiment of the present invention. Referring to Fig. 7, the method may at least include step S202 to step S208.

步骤S202,调用移动终端的图像采集器,并利用图像采集器采集指定实物上包含的图片。Step S202, call the image collector of the mobile terminal, and use the image collector to collect pictures included in the specified object.

步骤S204,在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系。Step S204, searching for one or more virtual objects corresponding to the collected picture in the preset virtual object library, wherein the virtual object library stores the corresponding relationship between the picture and the one or more virtual objects.

步骤S206,当图片对应的一个或多个虚拟物体是多个时,将每个虚拟物体分别与指定实物、指定实物上包含的图片进行叠加处理,生成多个合成图像。Step S206, when there are multiple one or more virtual objects corresponding to the picture, each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple composite images.

步骤S208,将生成的多个合成图像按照指定的顺序,依次轮流呈现在移动终端的显示界面上。In step S208, the multiple generated synthetic images are presented in turn on the display interface of the mobile terminal in a specified order.

在上文步骤S204中,在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体之前,在本发明一实施例中,可以先获取与指定实物对应的虚拟物体库。例如,可以利用移动终端的图像采集装置扫描并识别指定实物上的标识,根据指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找与指定实物上的标识对应的虚拟物体库。In the above step S204, before searching for one or more virtual objects corresponding to the captured pictures in the preset virtual object library, in an embodiment of the present invention, the virtual object library corresponding to the specified physical object can be obtained first . For example, the image acquisition device of the mobile terminal can be used to scan and identify the identification on the specified physical object, and according to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, find the correspondence between the identification on the specified physical object library of virtual objects.

参见上文步骤S206,在本发明一实施例中,若图片对应的一个或多个虚拟物体是多个,当将生成的多个合成图像按照指定的顺序,依次轮流呈现在移动终端的显示界面上时,还可以同时播放音乐,从而丰富最终合成图像的效果。音乐可以以音频文件的形式提前预置在虚拟物体库中,并在音频文件和虚拟物体之间建立对应关系,在将指定实物、指定实物上包含的图片和每个虚拟物体分别进行叠加处理时,同时加载相应的音频文件。Referring to step S206 above, in one embodiment of the present invention, if there are multiple virtual objects corresponding to the picture, the generated composite images will be presented in turn on the display interface of the mobile terminal in turn in accordance with the specified order When uploaded, music can also be played at the same time, thereby enriching the effect of the final composite image. Music can be preset in the virtual object library in the form of audio files in advance, and a corresponding relationship between audio files and virtual objects is established. When superimposing the specified physical object, the pictures contained on the specified physical object, and each virtual object, respectively , while loading the corresponding audio file.

在本发明一实施例中,当图片对应的一个或多个虚拟物体是多个时,还可以将多个虚拟物体同时显示在移动终端的显示界面上。In an embodiment of the present invention, when there are multiple one or more virtual objects corresponding to the picture, multiple virtual objects can also be displayed on the display interface of the mobile terminal at the same time.

在上文步骤S208中,在移动终端的显示界面上呈现合成图像之后,在本发明一实施例中,客户端还可以接收来自用户对合成图像中的虚拟物体的操作指令,并响应操作指令对虚拟物体执行相应的操作,得到操作后的虚拟物体,最后,将操作后的虚拟物体与指定实物进行叠加处理,得到叠加处理后的合成图像,并将合成图像呈现在移动终端的显示界面上。用户的操作指令可以是放大、缩小、旋转、位移等。以移动终端为触屏式手机为例,当移动终端在显示界面上呈现合成图像之后,用户可以利用手指在手机屏上进行滑动操作以对合成图像中的虚拟物体进行相应的操作。In step S208 above, after the composite image is presented on the display interface of the mobile terminal, in an embodiment of the present invention, the client may also receive an operation instruction from the user on the virtual object in the composite image, and respond to the operation instruction to The virtual object performs corresponding operations to obtain the operated virtual object. Finally, the operated virtual object is superimposed on the specified physical object to obtain a superimposed composite image, and the composite image is presented on the display interface of the mobile terminal. The user's operation instruction may be zoom in, zoom out, rotate, shift, etc. Taking the mobile terminal as a touch-screen mobile phone as an example, after the mobile terminal presents a synthesized image on the display interface, the user can use a finger to perform a sliding operation on the screen of the mobile phone to perform corresponding operations on the virtual objects in the synthesized image.

需要说明,每一个操作指令所对应的用户的实际操作,需要将其之间的对应关系预置在客户端中。例如,单指滑动代表位移操作、两个合并的手指分离代表放大操作,两个分开的手指合并代表缩小操作、一个手指顺时针旋转的同时,另一个手指逆时针旋转代表旋转操作等。It should be noted that for the actual operation of the user corresponding to each operation instruction, the corresponding relationship between them needs to be preset in the client. For example, a single finger slide represents a displacement operation, two merged fingers separate represents a zoom in operation, two separated fingers merge represents a zoom out operation, one finger rotates clockwise while the other finger rotates counterclockwise represents a rotate operation, etc.

基于同一发明构思,本发明还提供了一种在移动终端上进行图像处理的装置。图8是根据本发明一个实施例的在移动终端上进行图像处理的装置的结构示意图。参见图8,在移动终端上进行图像处理的装置800至少可以包括:采集模块8010、查找模块8020、第一处理模块8030以及第一显示模块8040。Based on the same inventive concept, the present invention also provides an image processing device on a mobile terminal. Fig. 8 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to an embodiment of the present invention. Referring to FIG. 8 , an apparatus 800 for image processing on a mobile terminal may at least include: an acquisition module 8010 , a search module 8020 , a first processing module 8030 and a first display module 8040 .

现介绍本发明实施例的在移动终端上进行图像处理的装置800的各组成或器件的功能以及各部分间的连接关系:The functions of each component or device of the device 800 for image processing on a mobile terminal according to the embodiment of the present invention and the connection relationship between each part are introduced now:

采集模块8010,适于调用移动终端的图像采集器,并利用图像采集器采集指定实物上包含的图片;The collection module 8010 is suitable for invoking the image collector of the mobile terminal, and using the image collector to collect the pictures contained in the specified object;

查找模块8020,与采集模块8010耦合,适于在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;The search module 8020, coupled with the acquisition module 8010, is adapted to search for one or more virtual objects corresponding to the collected pictures in the preset virtual object library, wherein the virtual object library stores pictures and one or more virtual objects Correspondence of objects;

第一处理模块8030,与查找模块8020耦合,适于将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像;The first processing module 8030, coupled with the search module 8020, is suitable for superimposing the specified object, the picture contained on the specified object, and one or more virtual objects to generate a composite image;

第一显示模块8040,与第一处理模块8030耦合,适于在移动终端的显示界面上呈现合成图像。The first display module 8040, coupled with the first processing module 8030, is adapted to present the synthesized image on the display interface of the mobile terminal.

在本发明一实施例中,虚拟物体库可以位于移动终端本地,也可以位于云端服务器。In an embodiment of the present invention, the virtual object library can be located locally on the mobile terminal or on a cloud server.

在本发明一实施例中,第一处理模块8030还适于,从虚拟物体库中加载指定实物上包含的图片所对应的一个或多个虚拟物体,并将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理。In an embodiment of the present invention, the first processing module 8030 is also adapted to load one or more virtual objects corresponding to the pictures contained in the specified physical object from the virtual object library, and convert the specified physical object, the picture contained in the specified physical object And one or more virtual objects are superimposed.

本发明还提供了另一种在移动终端上进行图像处理的装置。图9是根据本发明另一个实施例的在移动终端上进行图像处理的装置的结构示意图。参见图9,在移动终端上进行图像处理的装置800除了包括图8中所示的各个模块之外,还可以包括:识别模块8050、验证模块8060以及获取模块8070。The invention also provides another device for image processing on the mobile terminal. Fig. 9 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to another embodiment of the present invention. Referring to FIG. 9 , an apparatus 800 for image processing on a mobile terminal may include, in addition to the various modules shown in FIG. 8 , an identification module 8050 , a verification module 8060 and an acquisition module 8070 .

识别模块8050,适于在采集模块8010调用移动终端的图像采集器之前,扫描并识别指定实物上的标识。The identification module 8050 is adapted to scan and identify the identification on the specified object before the collection module 8010 invokes the image collector of the mobile terminal.

验证模块8060,与识别模块8050耦合,适于获取移动终端的标识,并将指定实物上的标识与移动终端的标识发送至云端服务器,以验证移动终端是否具备在移动终端上进行图像处理的权限。The verification module 8060, coupled with the identification module 8050, is adapted to obtain the identification of the mobile terminal, and send the identification on the specified physical object and the identification of the mobile terminal to the cloud server to verify whether the mobile terminal has the authority to perform image processing on the mobile terminal .

获取模块8070,与采集模块8010耦合,适于在查找模块8020在预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体之前,获取与指定实物对应的虚拟物体库。The acquisition module 8070, coupled with the acquisition module 8010, is adapted to acquire the virtual object library corresponding to the specified real object before the search module 8020 searches the preset virtual object library for one or more virtual objects corresponding to the collected pictures.

在本发明一实施例中,获取模块8070还适于,扫描并识别指定实物上的标识,并根据指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找指定实物上的标识对应的虚拟物体库。In an embodiment of the present invention, the acquisition module 8070 is also adapted to scan and identify the identification on the specified object, and search for the specified object in the pre-established correspondence between the identification of the physical object and the virtual object library according to the identification on the specified object. The virtual object library corresponding to the identification on the physical object.

当图片对应的一个或多个虚拟物体是多个时,第一处理模块8030还适于,将每个虚拟物体分别与指定实物、指定实物上包含的图片进行叠加处理,生成多个合成图像。When there are multiple one or more virtual objects corresponding to the picture, the first processing module 8030 is further adapted to superimpose each virtual object with the designated physical object and the pictures contained in the designated physical object to generate multiple composite images.

在本发明一实施例中,当生成多个合成图像时,第一显示模块8040还适于,将生成的多个合成图像按照指定的顺序,依次轮流呈现在移动终端的显示界面上。In an embodiment of the present invention, when generating multiple composite images, the first display module 8040 is further adapted to present the multiple generated composite images on the display interface of the mobile terminal in turn in a specified order.

本发明还提供了又一种在移动终端上进行图像处理的装置。图10是根据本发明又一个实施例的在移动终端上进行图像处理的装置的结构示意图。参见图10,在移动终端上进行图像处理的装置800除了包括图9中所示的各个模块之外,还可以包括:分享模块8080、接收模块8090、响应模块8100、第二处理模块8110以及第二显示模块8120。The invention also provides another device for image processing on the mobile terminal. Fig. 10 is a schematic structural diagram of an apparatus for image processing on a mobile terminal according to yet another embodiment of the present invention. Referring to FIG. 10 , in addition to the various modules shown in FIG. 9 , the device 800 for image processing on a mobile terminal may also include: a sharing module 8080 , a receiving module 8090 , a response module 8100 , a second processing module 8110 and a second processing module 8110 . Two display modules 8120.

分享模块8080,与第一显示模块8040耦合,适于在第一显示模块8040在移动终端的显示界面上呈现合成图像之后,分享合成图像。The sharing module 8080, coupled with the first display module 8040, is adapted to share the composite image after the first display module 8040 presents the composite image on the display interface of the mobile terminal.

接收模块8090,与第一显示模块8040耦合,适于第一显示模块8040在移动终端的显示界面上呈现合成图像之后,接收来自用户对合成图像中的虚拟物体的操作指令。The receiving module 8090, coupled with the first display module 8040, is suitable for the first display module 8040 to receive an operation instruction from the user on the virtual object in the composite image after presenting the composite image on the display interface of the mobile terminal.

响应模块8100,与接收模块8090耦合,适于响应操作指令对虚拟物体执行相应的操作,得到操作后的虚拟物体。The response module 8100, coupled with the receiving module 8090, is adapted to perform corresponding operations on the virtual object in response to the operation instruction, and obtain the operated virtual object.

第二处理模块8110,与响应模块8100耦合,适于将操作后的虚拟物体与指定实物进行叠加处理,得到叠加处理后的合成图像。The second processing module 8110, coupled with the response module 8100, is suitable for superimposing the operated virtual object and the specified physical object to obtain a superimposed composite image.

第二显示模块8120,与第二处理模块8110耦合,适于将叠加处理后的合成图像呈现在移动终端的显示界面上。The second display module 8120, coupled with the second processing module 8110, is adapted to present the superimposed composite image on the display interface of the mobile terminal.

在本发明一实施例中,当一个或多个虚拟物体是动态的,合成图像为动态图像时,分享模块8080还适于,截取合成图像中的至少一帧图片,并分享。In an embodiment of the present invention, when one or more virtual objects are dynamic and the composite image is a dynamic image, the sharing module 8080 is also adapted to capture at least one frame of the composite image and share it.

根据上述任意一个优选实施例或多个优选实施例的组合,本发明实施例能够达到如下有益效果:According to any one of the above preferred embodiments or a combination of multiple preferred embodiments, the embodiments of the present invention can achieve the following beneficial effects:

在本发明实施例中,当调用移动终端的图像采集器采集到指定实物上包含的图片时,从预置的虚拟物体库中,查找与采集的图片对应的一个或多个虚拟物体,其中,虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系,进而,将指定实物、指定实物上包含的图片以及一个或多个虚拟物体进行叠加处理,生成合成图像,并将该合成图像显示在移动终端的显示界面上。由此可见,本发明实施例可以将虚拟的物体与采集到的指定实物上包含的图片进行叠加处理,并生成合成图像显示在移动终端的显示界面上,使增强现实技术与日常生活中存在的具体实物进行结合,从而大大增加了日常用品的趣味性,同时有助于增强现实技术更广泛的发展。In the embodiment of the present invention, when the image collector of the mobile terminal is called to collect the pictures contained in the specified physical objects, one or more virtual objects corresponding to the collected pictures are searched from the preset virtual object library, wherein, The corresponding relationship between pictures and one or more virtual objects is stored in the virtual object library, and then, the specified physical object, the pictures contained in the specified physical object, and one or more virtual objects are superimposed to generate a composite image, and the composite image displayed on the display interface of the mobile terminal. It can be seen that the embodiment of the present invention can superimpose the virtual object and the pictures contained in the collected specified real object, and generate a composite image to be displayed on the display interface of the mobile terminal, so that the augmented reality technology can be combined with the existing in daily life. The combination of specific objects greatly increases the interest of daily necessities, and at the same time contributes to the broader development of augmented reality technology.

进一步地,通过将指定实物上的标识和移动终端的标识发送至云端,可以验证移动终端是否具备利用采集到的图片进行图像处理的权限,只有在移动终端具有图像处理的权限时,才可以利用指定实物上包含的图片进行图像处理,从而有效地保证了指定实物上的图片的使用权限。Furthermore, by sending the identification on the specified physical object and the identification of the mobile terminal to the cloud, it can be verified whether the mobile terminal has the authority to use the collected pictures for image processing. Only when the mobile terminal has the authority to process images can it be used Image processing is performed on the pictures contained in the specified physical objects, thus effectively guaranteeing the use rights of the pictures on the specified physical objects.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的在移动终端上进行图像处理的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components in the device for image processing on a mobile terminal according to an embodiment of the present invention. Full functionality. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

至此,本领域技术人员应认识到,虽然本文已详尽示出和描述了本发明的多个示例性实施例,但是,在不脱离本发明精神和范围的情况下,仍可根据本发明公开的内容直接确定或推导出符合本发明原理的许多其他变型或修改。因此,本发明的范围应被理解和认定为覆盖了所有这些其他变型或修改。So far, those skilled in the art should appreciate that, although a number of exemplary embodiments of the present invention have been shown and described in detail herein, without departing from the spirit and scope of the present invention, the disclosed embodiments of the present invention can still be used. Many other variations or modifications consistent with the principles of the invention are directly identified or derived from the content. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

本发明实施例还提供了A1、一种在移动终端上进行图像处理的方法,包括:The embodiment of the present invention also provides A1, a method for image processing on a mobile terminal, including:

调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;Calling the image collector of the mobile terminal, and using the image collector to collect pictures contained in the specified object;

在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;In the preset virtual object library, one or more virtual objects corresponding to the collected pictures are searched, wherein the corresponding relationship between the picture and one or more virtual objects is stored in the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image;

在所述移动终端的显示界面上呈现所述合成图像。presenting the synthesized image on a display interface of the mobile terminal.

A2、根据A1所述的方法,其中,所述虚拟物体库位于所述移动终端或云端服务器。A2. The method according to A1, wherein the virtual object library is located in the mobile terminal or a cloud server.

A3、根据A2所述的方法,其中,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,包括:A3. The method according to A2, wherein superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects includes:

从所述虚拟物体库中加载所述指定实物上包含的图片所对应的一个或多个虚拟物体;Loading one or more virtual objects corresponding to the pictures contained on the specified physical object from the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理。superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects.

A4、根据A1-A3中任一项所述的方法,其中,调用所述移动终端的图像采集器之前,所述方法还包括:A4. The method according to any one of A1-A3, wherein, before invoking the image collector of the mobile terminal, the method further includes:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

获取所述移动终端的标识,并将所述指定实物上的标识与所述移动终端的标识发送至云端服务器,以验证所述移动终端是否具备在所述移动终端上进行图像处理的权限。Obtaining the identification of the mobile terminal, and sending the identification on the specified physical object and the identification of the mobile terminal to a cloud server, so as to verify whether the mobile terminal has the authority to perform image processing on the mobile terminal.

A5、根据A1-A4中任一项所述的方法,其中,在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体之前,所述方法还包括:A5. The method according to any one of A1-A4, wherein, in the preset virtual object library, before searching for one or more virtual objects corresponding to the collected pictures, the method further includes:

获取与所述指定实物对应的所述虚拟物体库。The virtual object library corresponding to the specified physical object is acquired.

A6、根据A5所述的方法,其中,获取与所述指定实物对应的所述虚拟物体库,包括:A6. The method according to A5, wherein obtaining the virtual object library corresponding to the specified physical object includes:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

根据所述指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找所述指定实物上的标识对应的所述虚拟物体库。According to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, the virtual object library corresponding to the identification on the specified physical object is searched.

A7、根据A1-A6中任一项所述的方法,其中,当所述图片对应的一个或多个虚拟物体是多个时,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像,包括:A7. The method according to any one of A1-A6, wherein, when there are multiple one or more virtual objects corresponding to the picture, the specified physical object, the picture contained on the specified physical object, and the The above-mentioned one or more virtual objects are superimposed to generate a composite image, including:

将每个虚拟物体分别与所述指定实物、所述指定实物上包含的图片进行叠加处理,生成多个合成图像。Each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple synthetic images.

A8、根据A7所述的方法,其中,当生成多个合成图像时,在所述移动终端的显示界面上呈现所述合成图像,包括:A8. The method according to A7, wherein, when generating multiple composite images, presenting the composite images on the display interface of the mobile terminal includes:

将生成的所述多个合成图像按照指定的顺序,依次轮流呈现在所述移动终端的显示界面上。The plurality of generated synthetic images are sequentially presented on the display interface of the mobile terminal in a specified order.

A9、根据A1-A8中任一项所述的方法,其中,在所述移动终端的显示界面上呈现所述合成图像之后,所述方法还包括:分享所述合成图像。A9. The method according to any one of A1-A8, wherein after the composite image is presented on the display interface of the mobile terminal, the method further includes: sharing the composite image.

A10、根据A9所述的方法,其中,当所述一个或多个虚拟物体是动态的,所述合成图像为动态图像时,所述分享所述合成图像,包括:A10. The method according to A9, wherein, when the one or more virtual objects are dynamic and the composite image is a dynamic image, the sharing of the composite image includes:

截取所述合成图像中的至少一帧图片,并分享。Intercepting at least one frame of the composite image and sharing it.

A11、根据A1-A10中任一项所述的方法,其中,在所述移动终端的显示界面上呈现所述合成图像之后,所述方法还包括:A11. The method according to any one of A1-A10, wherein, after presenting the synthesized image on the display interface of the mobile terminal, the method further includes:

接收来自用户对所述合成图像中的虚拟物体的操作指令;receiving an operation instruction from a user on the virtual object in the synthesized image;

响应所述操作指令对所述虚拟物体执行相应的操作,得到操作后的虚拟物体;performing a corresponding operation on the virtual object in response to the operation instruction to obtain the operated virtual object;

将所述操作后的虚拟物体与所述指定实物进行叠加处理,得到叠加处理后的合成图像;superimposing the operated virtual object and the specified physical object to obtain a superimposed composite image;

将所述叠加处理后的合成图像呈现在所述移动终端的显示界面上。and presenting the superimposed composite image on a display interface of the mobile terminal.

本发明实施例还提供了B12、一种在移动终端上进行图像处理的装置,包括:The embodiment of the present invention also provides B12, a device for image processing on a mobile terminal, including:

采集模块,适于调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;The collection module is adapted to call the image collector of the mobile terminal, and use the image collector to collect the pictures contained in the specified object;

查找模块,适于在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;The search module is adapted to search for one or more virtual objects corresponding to the collected pictures in a preset virtual object library, wherein the virtual object library stores correspondences between pictures and one or more virtual objects relation;

第一处理模块,适于将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;The first processing module is adapted to superimpose the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image;

第一显示模块,适于在所述移动终端的显示界面上呈现所述合成图像。The first display module is adapted to present the synthesized image on a display interface of the mobile terminal.

B13、根据B12所述的装置,其中,所述虚拟物体库位于所述移动终端或云端服务器。B13. The device according to B12, wherein the virtual object library is located in the mobile terminal or a cloud server.

B14、根据B13所述的装置,其中,所述第一处理模块还适于:B14. The device according to B13, wherein the first processing module is further adapted to:

从所述虚拟物体库中加载所述指定实物上包含的图片所对应的一个或多个虚拟物体;Loading one or more virtual objects corresponding to the pictures contained on the specified physical object from the virtual object library;

将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理。superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects.

B15、根据B12-B14中任一项所述的装置,其中,在所述采集模块调用所述移动终端的图像采集器之前,所述装置还包括:B15. The device according to any one of B12-B14, wherein, before the acquisition module invokes the image collector of the mobile terminal, the device further includes:

识别模块,适于扫描并识别指定实物上的标识;The identification module is suitable for scanning and identifying the identification on the specified physical object;

验证模块,适于获取所述移动终端的标识,并将所述指定实物上的标识与所述移动终端的标识发送至云端服务器,以验证所述移动终端是否具备在所述移动终端上进行图像处理的权限。The verification module is adapted to obtain the identification of the mobile terminal, and send the identification on the specified physical object and the identification of the mobile terminal to the cloud server to verify whether the mobile terminal is capable of performing image processing on the mobile terminal. processing rights.

B16、根据B12-B15中任一项所述的装置,其中,所述查找模块在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体之前,所述装置还包括:B16. The device according to any one of B12-B15, wherein, before the search module searches for one or more virtual objects corresponding to the collected pictures in the preset virtual object library, the device Also includes:

获取模块,适于获取与所述指定实物对应的所述虚拟物体库。The acquisition module is adapted to acquire the virtual object library corresponding to the specified physical object.

B17、根据B16所述的装置,其中,所述获取模块还适于:B17. The device according to B16, wherein the acquisition module is further adapted to:

扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object;

根据所述指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找所述指定实物上的标识对应的所述虚拟物体库。According to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, the virtual object library corresponding to the identification on the specified physical object is searched.

B18、根据B12-B17中任一项所述的装置,其中,当所述图片对应的一个或多个虚拟物体是多个时,所述第一处理模块还适于:B18. The device according to any one of B12-B17, wherein when there are multiple one or more virtual objects corresponding to the picture, the first processing module is further adapted to:

将每个虚拟物体分别与所述指定实物、所述指定实物上包含的图片进行叠加处理,生成多个合成图像。Each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple synthetic images.

B19、根据B18所述的装置,其中,当生成多个合成图像时,所述第一显示模块还适于:B19. The device according to B18, wherein when generating a plurality of composite images, the first display module is further adapted to:

将生成的所述多个合成图像按照指定的顺序,依次轮流呈现在所述移动终端的显示界面上。The plurality of generated synthetic images are sequentially presented on the display interface of the mobile terminal in a specified order.

B20、根据B12-B19中任一项所述的装置,其中,所述第一显示模块在所述移动终端的显示界面上呈现所述合成图像之后,所述装置还包括:B20. The device according to any one of B12-B19, wherein, after the first display module presents the synthesized image on the display interface of the mobile terminal, the device further includes:

分享模块,适于分享所述合成图像。A sharing module, adapted to share the synthesized image.

B21、根据B20所述的装置,其中,当所述一个或多个虚拟物体是动态的,所述合成图像为动态图像时,所述分享模块还适于:B21. The device according to B20, wherein, when the one or more virtual objects are dynamic and the composite image is a dynamic image, the sharing module is further adapted to:

截取所述合成图像中的至少一帧图片,并分享。Intercepting at least one frame of the composite image and sharing it.

B22、根据B12-B21中任一项所述的装置,其中,所述第一显示模块在所述移动终端的显示界面上呈现所述合成图像之后,所述装置还包括:B22. The device according to any one of B12-B21, wherein, after the first display module presents the synthesized image on the display interface of the mobile terminal, the device further includes:

接收模块,适于接收来自用户对所述合成图像中的虚拟物体的操作指令;A receiving module, adapted to receive an operation instruction from a user on the virtual object in the synthesized image;

响应模块,适于响应所述操作指令对所述虚拟物体执行相应的操作,得到操作后的虚拟物体;A response module, adapted to perform a corresponding operation on the virtual object in response to the operation instruction, to obtain the operated virtual object;

第二处理模块,适于将所述操作后的虚拟物体与所述指定实物进行叠加处理,得到叠加处理后的合成图像;The second processing module is adapted to perform superposition processing on the operated virtual object and the specified physical object to obtain a superimposed composite image;

第二显示模块,适于将所述叠加处理后的合成图像呈现在所述移动终端的显示界面上。The second display module is adapted to present the superimposed composite image on a display interface of the mobile terminal.

Claims (10)

1.一种在移动终端上进行图像处理的方法,包括:1. A method for image processing on a mobile terminal, comprising: 调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;Calling the image collector of the mobile terminal, and using the image collector to collect pictures contained in the specified object; 在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;In the preset virtual object library, one or more virtual objects corresponding to the collected pictures are searched, wherein the corresponding relationship between the picture and one or more virtual objects is stored in the virtual object library; 将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image; 在所述移动终端的显示界面上呈现所述合成图像。presenting the synthesized image on a display interface of the mobile terminal. 2.根据权利要求1所述的方法,其中,所述虚拟物体库位于所述移动终端或云端服务器。2. The method according to claim 1, wherein the virtual object library is located in the mobile terminal or a cloud server. 3.根据权利要求2所述的方法,其中,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,包括:3. The method according to claim 2, wherein superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects includes: 从所述虚拟物体库中加载所述指定实物上包含的图片所对应的一个或多个虚拟物体;Loading one or more virtual objects corresponding to the pictures contained on the specified physical object from the virtual object library; 将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理。superimposing the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects. 4.根据权利要求1-3中任一项所述的方法,其中,调用所述移动终端的图像采集器之前,所述方法还包括:4. The method according to any one of claims 1-3, wherein, before invoking the image collector of the mobile terminal, the method further comprises: 扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object; 获取所述移动终端的标识,并将所述指定实物上的标识与所述移动终端的标识发送至云端服务器,以验证所述移动终端是否具备在所述移动终端上进行图像处理的权限。Obtaining the identification of the mobile terminal, and sending the identification on the specified physical object and the identification of the mobile terminal to a cloud server, so as to verify whether the mobile terminal has the authority to perform image processing on the mobile terminal. 5.根据权利要求1-4中任一项所述的方法,其中,在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体之前,所述方法还包括:5. The method according to any one of claims 1-4, wherein, in the preset virtual object library, before searching for one or more virtual objects corresponding to the collected pictures, the method further comprises : 获取与所述指定实物对应的所述虚拟物体库。The virtual object library corresponding to the specified physical object is acquired. 6.根据权利要求5所述的方法,其中,获取与所述指定实物对应的所述虚拟物体库,包括:6. The method according to claim 5, wherein obtaining the virtual object library corresponding to the specified physical object comprises: 扫描并识别指定实物上的标识;Scan and identify the logo on the specified physical object; 根据所述指定实物上的标识,在预先建立的实物的标识与虚拟物体库的对应关系中,查找所述指定实物上的标识对应的所述虚拟物体库。According to the identification on the specified physical object, in the pre-established corresponding relationship between the identification of the physical object and the virtual object library, the virtual object library corresponding to the identification on the specified physical object is searched. 7.根据权利要求1-6中任一项所述的方法,其中,当所述图片对应的一个或多个虚拟物体是多个时,将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像,包括:7. The method according to any one of claims 1-6, wherein, when there are multiple one or more virtual objects corresponding to the picture, the designated real object, the picture contained on the designated real object And the one or more virtual objects are superimposed to generate a composite image, including: 将每个虚拟物体分别与所述指定实物、所述指定实物上包含的图片进行叠加处理,生成多个合成图像。Each virtual object is superimposed on the specified physical object and the pictures included on the specified physical object to generate multiple synthetic images. 8.根据权利要求7所述的方法,其中,当生成多个合成图像时,在所述移动终端的显示界面上呈现所述合成图像,包括:8. The method according to claim 7, wherein, when generating a plurality of composite images, presenting the composite images on a display interface of the mobile terminal comprises: 将生成的所述多个合成图像按照指定的顺序,依次轮流呈现在所述移动终端的显示界面上。The plurality of generated synthetic images are sequentially presented on the display interface of the mobile terminal in a specified order. 9.根据权利要求1-8中任一项所述的方法,其中,在所述移动终端的显示界面上呈现所述合成图像之后,所述方法还包括:分享所述合成图像。9. The method according to any one of claims 1-8, wherein after the composite image is presented on the display interface of the mobile terminal, the method further comprises: sharing the composite image. 10.一种在移动终端上进行图像处理的装置,包括:10. A device for image processing on a mobile terminal, comprising: 采集模块,适于调用所述移动终端的图像采集器,并利用所述图像采集器采集指定实物上包含的图片;The collection module is adapted to call the image collector of the mobile terminal, and use the image collector to collect the pictures contained in the specified object; 查找模块,适于在预置的虚拟物体库中,查找与采集的所述图片对应的一个或多个虚拟物体,其中,所述虚拟物体库中存储了图片与一个或多个虚拟物体的对应关系;The search module is adapted to search for one or more virtual objects corresponding to the collected pictures in a preset virtual object library, wherein the virtual object library stores correspondences between pictures and one or more virtual objects relation; 第一处理模块,适于将所述指定实物、所述指定实物上包含的图片以及所述一个或多个虚拟物体进行叠加处理,生成合成图像;The first processing module is adapted to superimpose the specified physical object, the picture contained on the specified physical object, and the one or more virtual objects to generate a composite image; 第一显示模块,适于在所述移动终端的显示界面上呈现所述合成图像。The first display module is adapted to present the synthesized image on a display interface of the mobile terminal.
CN201610305543.3A 2016-05-10 2016-05-10 Method and apparatus for image processing on mobile terminal Pending CN105847583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610305543.3A CN105847583A (en) 2016-05-10 2016-05-10 Method and apparatus for image processing on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610305543.3A CN105847583A (en) 2016-05-10 2016-05-10 Method and apparatus for image processing on mobile terminal

Publications (1)

Publication Number Publication Date
CN105847583A true CN105847583A (en) 2016-08-10

Family

ID=56591088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610305543.3A Pending CN105847583A (en) 2016-05-10 2016-05-10 Method and apparatus for image processing on mobile terminal

Country Status (1)

Country Link
CN (1) CN105847583A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100983A (en) * 2016-08-30 2016-11-09 黄在鑫 A kind of mobile social networking system based on augmented reality Yu GPS location technology
CN107608729A (en) * 2017-09-14 2018-01-19 光锐恒宇(北京)科技有限公司 A kind of method and apparatus for showing dynamic effect in the application
CN107728349A (en) * 2016-08-12 2018-02-23 深圳市掌网科技股份有限公司 The interactive device and method of changeable displaying content
CN107817897A (en) * 2017-10-30 2018-03-20 努比亚技术有限公司 A kind of information intelligent display methods and mobile terminal
CN109525538A (en) * 2017-09-20 2019-03-26 丰盛数位有限公司 Interactive approach and system for augmented reality certification
CN110390537A (en) * 2019-07-29 2019-10-29 深圳市鸣智电子科技有限公司 A kind of commodity counterfeit prevention implementation method that actual situation combines
CN111782035A (en) * 2020-06-12 2020-10-16 深圳增强现实技术有限公司 Remote operation guidance method and system based on augmented reality technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207728A (en) * 2012-01-12 2013-07-17 三星电子株式会社 Method Of Providing Augmented Reality And Terminal Supporting The Same
CN104134229A (en) * 2014-08-08 2014-11-05 李成 Real-time interaction reality augmenting system and method
EP2836899A2 (en) * 2012-04-11 2015-02-18 Sony Corporation Augmented reality system to selectively improve the visibility of the desired information
JP2016021096A (en) * 2014-07-11 2016-02-04 Kddi株式会社 Image processing apparatus, image processing method, and program
CN105491365A (en) * 2015-11-25 2016-04-13 罗军 Image processing method, device and system based on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207728A (en) * 2012-01-12 2013-07-17 三星电子株式会社 Method Of Providing Augmented Reality And Terminal Supporting The Same
EP2836899A2 (en) * 2012-04-11 2015-02-18 Sony Corporation Augmented reality system to selectively improve the visibility of the desired information
JP2016021096A (en) * 2014-07-11 2016-02-04 Kddi株式会社 Image processing apparatus, image processing method, and program
CN104134229A (en) * 2014-08-08 2014-11-05 李成 Real-time interaction reality augmenting system and method
CN105491365A (en) * 2015-11-25 2016-04-13 罗军 Image processing method, device and system based on mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728349A (en) * 2016-08-12 2018-02-23 深圳市掌网科技股份有限公司 The interactive device and method of changeable displaying content
CN106100983A (en) * 2016-08-30 2016-11-09 黄在鑫 A kind of mobile social networking system based on augmented reality Yu GPS location technology
CN107608729A (en) * 2017-09-14 2018-01-19 光锐恒宇(北京)科技有限公司 A kind of method and apparatus for showing dynamic effect in the application
CN109525538A (en) * 2017-09-20 2019-03-26 丰盛数位有限公司 Interactive approach and system for augmented reality certification
CN109525538B (en) * 2017-09-20 2021-08-24 丰盛数位有限公司 Interaction method and system for augmented reality authentication
CN107817897A (en) * 2017-10-30 2018-03-20 努比亚技术有限公司 A kind of information intelligent display methods and mobile terminal
CN110390537A (en) * 2019-07-29 2019-10-29 深圳市鸣智电子科技有限公司 A kind of commodity counterfeit prevention implementation method that actual situation combines
CN111782035A (en) * 2020-06-12 2020-10-16 深圳增强现实技术有限公司 Remote operation guidance method and system based on augmented reality technology

Similar Documents

Publication Publication Date Title
US11488355B2 (en) Virtual world generation engine
CN105847583A (en) Method and apparatus for image processing on mobile terminal
CN105681684A (en) Image real-time processing method and device based on mobile terminal
CN108140263B (en) AR display system and method applied to image or video
CN108377334B (en) Short video shooting method and device and electronic terminal
CN105657294A (en) Method and device for presenting virtual special effect on mobile terminal
CN111787242A (en) Method and apparatus for virtual fitting
JP6120467B1 (en) Server device, terminal device, information processing method, and program
CN105824412A (en) Method and device for presenting customized virtual special effects on mobile terminal
US11836847B2 (en) Systems and methods for creating and displaying interactive 3D representations of real objects
WO2019114328A1 (en) Augmented reality-based video processing method and device thereof
US9600720B1 (en) Using available data to assist in object recognition
WO2022048373A1 (en) Image processing method, mobile terminal, and storage medium
TWI579731B (en) Combined with the reality of the scene and virtual components of the interactive system and methods
US10282904B1 (en) Providing augmented reality view of objects
CN110210494A (en) Image processing method and computer installation
CN106101576B (en) A method, device and mobile terminal for taking augmented reality photos
CN111652986B (en) Stage effect presentation method and device, electronic equipment and storage medium
US20130050190A1 (en) Dressing simulation system and method
TW201222476A (en) Image processing system and method thereof, computer readable storage media and computer program product
CN112288877B (en) Video playback method, device, electronic device and storage medium
CN112511815B (en) Image or video generation method and device
CN106909264A (en) The method and device of switch groups figure on mobile terminals
CN108182228A (en) User social contact method, device and the computing device realized using augmented reality
WO2018126440A1 (en) Three-dimensional image generation method and system

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

RJ01 Rejection of invention patent application after publication