CN105513030A - Information processing method and apparatus, and electronic equipment - Google Patents

Information processing method and apparatus, and electronic equipment Download PDF

Info

Publication number
CN105513030A
CN105513030A CN 201410493939 CN201410493939A CN105513030A CN 105513030 A CN105513030 A CN 105513030A CN 201410493939 CN201410493939 CN 201410493939 CN 201410493939 A CN201410493939 A CN 201410493939A CN 105513030 A CN105513030 A CN 105513030A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
image
background
target
module
portion
Prior art date
Application number
CN 201410493939
Other languages
Chinese (zh)
Inventor
林金强
郑煊
Original Assignee
联想(北京)有限公司
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

Links

Abstract

The invention provides an information processing method. The information processing method is applied to electronic equipment with an image acquisition module, and comprises determining a target object in the images acquired by the image acquisition module, wherein the target object is a target figure to shoot; according to the target object, dividing the target object into a foreground part and a background part, and filtering the content which moves in the background part, wherein the content is an irrelevant personnel who enters the shooting area and moves; and after filtering the background part of the image, and obtaining a background image without interference and only leaving the static environment, and at this time, combining the target figure to shoot in the foreground part with the background image to obtain a target image, wherein the background of the target image is clean. Therefore, the shot photo according to the target image has no interference from other people, and highlights the dominant role of the target object to shoot in the photo so that the user experience is improved.

Description

一种信息处理方法、装置及电子设备 An information processing method, apparatus, and an electronic device

技术领域 FIELD

[0001] 本发明涉及电子设备领域,更具体的说,是涉及一种信息处理方法、装置及电子设备。 [0001] The present invention relates to the field of electronic devices, and more particularly, relates to an information processing method, apparatus, and an electronic device.

背景技术 Background technique

[0002] 随着电子技术的发展,大量的电子设备中添加了拍照功能。 [0002] With the development of electronic technology, a large number of electronic devices have been added to the camera function.

[0003] 但是用户在使用电子设备拍照过程中,尤其在周围游人较多的环境中,由于其他人物进入拍照区域,最终拍摄出的照片中除了目标拍摄人物外,背景中还有其他人物形成的干扰图像,导致照片背景混乱,不能突出目标拍摄人物在照片中的主体地位,用户体验较差。 [0003] However, in the use of electronic equipment user photo camera process, especially in the environment around more visitors, because the other characters into the camera area, in addition to the final shoot-out target shooting people, but there are other characters to form the background of interference image, resulting in chaos photo background, not prominent figure in the target position of the subject in the photo, a poor user experience.

发明内容 SUMMARY

[0004] 有鉴于此,本发明提供了一种信息处理方法,解决了现有技术中由于拍摄照片时进入场景的其他人物的干扰,导致照片背景混乱的问题。 [0004] Accordingly, the present invention provides an information processing method to solve the problems of the prior art due to the interference of other characters enter the scene when taking pictures, photo background leading to confusion.

[0005] 为实现上述目的,本发明提供如下技术方案: [0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] 一种信息处理方法,应用于具有图像采集模组的电子设备,所述方法包括: [0006] An information processing method applied to an electronic apparatus having an image acquisition module, the method comprising:

[0007] 接收所述图像采集模组输出的图像; [0007] The image acquisition module receives an image output;

[0008] 确定目标对象; [0008] determining a target object;

[0009] 依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0009] the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0010] 依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0010] according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0011] 将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0011] The composition of the foreground portion and the background image to obtain the target, and displaying the target image.

[0012] 上述的方法,优选的,所述接收所述图像采集模组输出的图像包括: [0012] In the above method, preferably, the image acquisition module receiving the output from the image comprises:

[0013] 依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 [0013] group of sequentially receiving the image acquisition module real-time acquisition of images, the image group by a composition of at least two successive images.

[0014] 上述的方法,优选的,所述依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割包括: [0014] The above-described method, preferably, the target object based on the preset image processing rule and the foreground and background portions of the image segmentation section comprises:

[0015] 依据所述目标对象确定所述电子设备拍摄区域中的目标区域; [0015] determining a target region in the electronic device according to the photographing region of the target object;

[0016] 将所述目标区域作为前景部分,并为所述前景部分添加前景标识; [0016] The target region as a foreground portion, said foreground portion and added to the foreground identifier;

[0017] 依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割。 [0017] identifier according to the foreground, to the first frame image in the image group as a starting sequentially dividing the image group in the foreground portion and a background portion of each frame of image.

[0018] 上述的方法,优选的,所述依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图包括: [0018] The above-described method, preferably, the filter according to a preset rule, occurs in the moved content filtering in the background portion of the imaging region to obtain background comprising:

[0019] 依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; [0019] Each successively superimposed background portion of the frame image, determining the content movement occurs in the background portion;

[0020] 为所述发生移动的内容添加删除标识; [0020] Add deletion flag for the content of said movement occurs;

[0021] 依据所述删除标识,将所述发生移动的内容滤除; [0021] identifier according to the deletion, the content was filtered off movement of the occurrence;

[0022] 将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图。 After moving the contents of the [0022] background portion of each filtered frame image overlap occurs remaining image obtained by combining the background image.

[0023] 上述的方法,优选的,所述将所述前景部分和背景图组合得到目标图像包括: [0023] The above-described method, preferably, the foreground portion and the background in combination to obtain target image comprises:

[0024] 依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; [0024] According to the image receiving time, obtaining a final foreground image portion of the image group;

[0025] 将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 [0025] The last portion of a foreground image and the background image is a combination of a complete image, the complete image is referred to as a target image, and displaying the target image.

[0026] 上述的方法,优选的,所述显示所述目标图像之后还包括: [0026] The above-described method, preferably, after the display of the target image further comprising:

[0027] 依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 [0027] The operation according to a preset operation start storing operation, the object image stored in the preset memory area.

[0028] 上述的方法,优选的,所述电子设备设置有触摸检测模块时,则所述确定目标对象,包括: [0028] The above-described method, preferably, when the electronic apparatus is provided with a touch detecting module, the determining target object, comprising:

[0029] 检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; [0029] The contact detection information generated according to a user touch on the touch operation detection module;

[0030] 依据所述触点信息确定目标对象。 [0030] The target object is determined according to the contact information.

[0031] 一种信息处理装置,应用于具有图像采集模组的电子设备,所述装置包括: [0031] An information processing apparatus applied to an electronic apparatus having an image acquisition module, the apparatus comprising:

[0032] 接收模块,用于接收所述图像采集模组输出的图像; [0032] The receiving means for receiving image output from the image acquisition module;

[0033] 确定模块,用于确定目标对象; [0033] determining means for determining a target object;

[0034] 分割模块,用于依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0034] The segmentation module for the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0035] 背景模块,用于依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0035] BACKGROUND module for filtration according to a preset rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0036] 组合模块,用于将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0036] The combination module, combinations of the foreground portion and a background object image obtained, and displaying the target image.

[0037] 上述的装置,优选的,所述接收模块具体用于: [0037] The apparatus, preferably, the receiving module is specifically configured to:

[0038] 依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 [0038] group of sequentially receiving the image acquisition module real-time acquisition of images, the image group by a composition of at least two successive images.

[0039] 上述的装置,优选的,所述分割模块包括: [0039] The apparatus, preferably, the splitting module comprises:

[0040]目标区域单元,依据所述目标对象确定所述电子设备拍摄区域中的目标区域; [0040] The target unit area, determine a target area in the shooting area of ​​the electronic device according to the target object;

[0041] 标识单元,用于将所述目标区域作为前景部分,并为所述前景部分添加前景标识; [0041] identification unit, as a target area for the foreground portion, said foreground portion and added to the foreground identifier;

[0042] 分割单元,用于依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割。 [0042] dividing unit for identification according to the foreground, to the first image group as a starting frame image sequentially dividing the image group foreground portion and a background portion of each frame of image.

[0043] 上述的装置,优选的,所述背景模块包括: [0043] The apparatus, preferably, the background module comprises:

[0044] 移动内容单元,用于依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; [0044] SUMMARY mobile unit sequentially for each frame image of the background portion is superimposed, determining the content movement occurs in the background portion;

[0045] 删除单元,用于为所述发生移动的内容添加删除标识,并依据所述删除标识,将所述发生移动的内容滤除; [0045] The deleting unit configured to add the content movement occurs deletion flag, and the deletion flag based on the movement of the occurrence of filtered content;

[0046] 过滤单元,用于将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图。 [0046] The filtering unit for the residual content after the moving image superimposed combination of the background portion of each frame image in the background image obtained was filtered off occurs.

[0047] 上述的装置,优选的,所述组合模块包括: [0047] The apparatus, preferably, the combining module comprises:

[0048] 获取单元,用于依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; [0048] acquiring unit, according to the time of receiving the image, acquiring an image of the last part of the foreground of the image group;

[0049] 组合单元,用于将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 [0049] The combining unit, for the last part of a foreground image and the background image combined into a complete image, the complete image is referred to as a target image, and displaying the target image.

[0050] 上述的装置,优选的,还包括: [0050] The above-described device, preferably, further comprising:

[0051] 存储模块,用于依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 [0051] The storage module is configured to operate according to a preset operation start storing operation, the object image stored in the preset memory area.

[0052] 上述的装置,优选的,所述电子设备设置有触摸检测模块时,则所述确定模块,包括: [0052] The apparatus, preferably, when the electronic apparatus is provided with a touch detecting module, the determining module, comprising:

[0053] 检测单元,用于检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; [0053] The detection unit for detecting contact information generated according to a user touch on the touch operation detection module;

[0054]目标对象单元,用于依据所述触点信息确定目标对象。 [0054] Audience unit, according to the contact information for determining the target object.

[0055] 一种电子设备,包括:图像采集模组和如上述任一项所述的信息处理装置。 [0055] An electronic apparatus, comprising: image acquisition module and the information processing apparatus as described in any of the above.

[0056] 经由上述的技术方案可知,与现有技术相比,本发明提供了一种信息处理方法,应用于具有图像采集模组的电子设备,采用该方法,首先确定图像采集模组采集的图像中的目标对象,该目标对象就是目标拍摄人物,然后,根据该目标对象将该图像分割为前景部分和背景部分,并且,对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0056] via the known technical solution, compared with the prior art, the present invention provides an information processing method, applied to an electronic apparatus having an image acquisition module, with this method, the image acquisition module first determines acquisition a target object in an image, the imaging target object is the target character, then, dividing the image of the foreground portion and a background portion based on the target object, and, the content moves in the background portion is filtered, the occurrence of the moved content is after entering the photographing area and the independent movement of personnel, filter the background portion of the image is obtained without background interference only static environment, in which case, the foreground portion of the target captured people and combining the background to give the target image, the target image background clean, according to the target image capture photos without others interfering, highlighting the dominant position of the target subject in the photo, and improve the user experience.

附图说明 BRIEF DESCRIPTION

[0057] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。 [0057] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only examples of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive other drawings from the accompanying drawings provided.

[0058] 图1为本发明提供的一种信息处理方法实施例1的流程图; 1 is a flowchart of an information processing method [0058] FIG. 1 embodiment of the present invention provides;

[0059] 图2为本发明提供的一种信息处理方法实施例2的流程图; 2 is a flow diagram [0059] FIG 2 An information processing method provided by the embodiment of the present invention;

[0060] 图3为本发明提供的一种信息处理方法实施例3的流程图; 3 is a flow diagram [0060] FIG. 3 An information processing method provided by the embodiment of the present invention;

[0061] 图4为本发明提供的一种信息处理方法实施例4的流程图; 4 is a flowchart of an information processing method [0061] FIG. 4 embodiment of the present invention provides;

[0062] 图5为本发明提供的一种信息处理方法实施例5的流程图; 5 is a flow diagram [0062] Figure 5 An information processing method provided by the embodiment of the present invention;

[0063] 图6为本发明提供的一种信息处理方法实施例6的流程图; 6 is a flowchart of an information processing method [0063] FIG. 6 embodiment of the present invention provides;

[0064] 图7为本发明提供的一种信息处理方法实施例7的流程图; 7 is a flowchart of an information processing method [0064] FIG. 7 embodiment of the present invention provides;

[0065] 图8为本发明提供的一种信息处理装置实施例1的结构示意图; [0065] FIG. 8 provides an information processing apparatus 1 is a schematic structural diagram of the embodiment of the present invention;

[0066] 图9为本发明提供的一种信息处理装置实施例2的结构示意图; 2 is a schematic diagram of the structure [0066] FIG. 9 of the present invention, an information processing apparatus provided by the embodiment;

[0067] 图10为本发明提供的一种信息处理装置实施例3的结构示意图; 3 is a schematic diagram of the structure of an information processing apparatus [0067] 10 embodiment of the present invention provides;

[0068] 图11为本发明提供的一种信息处理装置实施例4的结构示意图; 4 is schematic structural diagram of an information processing apparatus of the present invention provides [0068] Figure 11 embodiment;

[0069] 图12为本发明提供的一种信息处理装置实施例5的结构示意图; [0069] Figure 12 provides an information processing apparatus 5 a schematic structural diagram of the embodiment of the present invention;

[0070] 图13为本发明提供的一种信息处理装置实施例6的结构示意图; [0070] An information processing apparatus in FIG. 13 provides a schematic structural diagram of Embodiment 6 of the present invention;

[0071] 图14为本发明提供的一种信息处理装置实施例7的结构示意图。 7 is a schematic diagram of the structure of an information processing apparatus of the present invention provides [0071] FIG. 14 embodiment.

具体实施方式 detailed description

[0072] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0072] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0073] 如图1所示的为本发明提供的一种信息处理方法实施例1的流程图,该方法应用于电子设备,该电子设备具体可以为台式机、笔记本、平板电脑、手机、智能电视、智能手表、穿戴式设备等电子设备,所述电子设备中具有图像采集模组,该图像采集模组可以对外界环境光线进行采集生成图像。 [0073] FIG. 1 is an information processing method of the present provides a flow diagram of the embodiment of the invention, the method is applied to an electronic device, the electronic device may be a particular desktop, laptop, tablet computer, cell phone, smart television, smart watch, wearable devices and other electronic device, the electronic device having an image acquisition module, the image acquisition module can collect the generated image of ambient light.

[0074] 该方法可通过以下步骤实现: [0074] The method may be implemented by the following steps:

[0075] 步骤SlOl:接收所述图像采集模组输出的图像; [0075] Step SlOl: receiving an image output from the image acquisition module;

[0076] 其中,该图像采集模组实时对外界环境光线进行采集生成图像并输出至电子设备中的图像缓存区域。 [0076] wherein the real-time image acquisition module to collect ambient light and generating an image output to the image buffer area of ​​the electronic device.

[0077] 具体的,接收该图像采集模组输出的图像,该接收动作可以为接收该图像采集模组输出图像值缓存区域时执行;也可以为该图像采集模组输出图像值缓存区域后执行,从该缓存区域获取得到该图像。 [0077] Specifically, the image acquisition module receives the output of the receiving operation may be performed when the image capture module to receive the output value of the image buffer area; may be performed after image acquisition module for the value of an output image buffer area acquired from the buffer region of the image obtained.

[0078] 步骤S102:确定目标对象; [0078] the step S102: determining a target object;

[0079] 其中,该目标对象为拍摄目标。 [0079] wherein the target object is a target shooting.

[0080] 具体的,当用户拍照时,由于拍摄区域中可能会出现经过的无关人员,而该无关人员并不是想要拍摄的,需要将其滤除,而目标拍摄人物作为想要拍摄的内容则需要保留,因此,确定该目标拍摄人物的图像作为拍摄目标需要保留在图像中。 [0080] Specifically, when the user takes a picture, because it may appear unrelated persons after the shooting area, and this is not unrelated persons want to shoot, you need to filter out, and target shooting people as the content you want to shoot you need to retain, therefore, determined that the image of the target shooting people as you want to keep the subject in the image.

[0081 ] 具体实施中,该确定目标对象可依据对焦信息进行确定。 [0081] In particular embodiments, the determination target object can be determined based on the focus information.

[0082] 需要说明的是,采用该电子设备拍照时,显示屏幕中可显示对焦框,用户可通过该对焦框选定的目标拍摄人物,具体为将该对焦框确定选择显示图像中的某一区域。 [0082] Incidentally, when using the electronic photographing apparatus, the display screen can display the focus frame, the user can select the target captured by the people-focus frame, specifically to determine the in-focus frame display image of a selected area. 而当该对焦框选定某一区域时,电子设备内的处理器为该区域设置对焦标识,并在后接收到的图像时,为每一帧图像添加该对焦标识,以使得后续的每一帧图像都在该区域具有对焦标识,该对焦标识对应的区域就是目标对象。 When a selected region of the focus frame, the processor in the electronic device disposed within the region identified focus, and upon receiving the image after adding the in-focus image identification for each frame, so that each subsequent identifying the frame image having a focus in the region corresponding to the in-focus area is identified audiences.

[0083] 其中,该目标对象可以为一个,也可为多个。 [0083] wherein, the target object may be one, or may be a plurality.

[0084] 具体的,当该目标对象为多个时,可进行多次对焦,以实现确定多个目标对象。 [0084] Specifically, when the target object is a plurality of focus can be repeated in order to achieve a plurality of target objects is determined.

[0085] 步骤S103:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0085] Step S103: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0086] 其中,该图像处理规则可以采用阿尔法抠图a技术,采用该技术,将目标对象对应的部分图像和该图像中的剩余部分进行抠图处理,得到该图像的前景部分和背景部分,将该前景部分和背景部分分割开。 [0086] wherein the alpha image processing rule may be employed a matting technique, using this technique, the remaining portion of the image and the image of the target object corresponding to the matting process is performed to obtain the foreground portion and a background portion of the image, the foreground portion and the background portion separated.

[0087] 其中,该前景部分为该目标对象对应的区域,该背景部分为图像中的剩余区域。 [0087] wherein, for the portion of the target object corresponding to the foreground area, the background portion of the remaining area of ​​the image.

[0088] 具体实施中,该背景部分中包含有静态的建筑、树木等静态环境内容,也包含有在拍摄区域经过的无关人员内容。 [0088] In particular embodiments, the background portion contains static content static environment buildings, trees, etc., regardless of the art are also included in the contents through the photographing region.

[0089] 步骤S104:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0089] Step S104: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0090] 其中,当将图像分割出背景部分后,需要将该背景部分中的干扰图像去除,以保证最终的背景图为无干扰只剩静态环境。 [0090] wherein, when the background portion of an image is divided, the need to disturb the image of the background portion is removed, to ensure that the final background picture shows only a static environment without interference.

[0091] 其中,采用预设的过滤规则,对背景部分中发生移动的内容进行过滤,剩余静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 [0091] wherein, using a preset filtering rule, the content in the background section moved by filtration, the remaining contents of the static environment, only the static background of the environment clean, and no other person interference.

[0092] 具体的,该过滤规则可以为将任一帧图像与其上一帧图像进行比对,将其中背景部分中位置发生变化的内容过滤,并将该过滤掉的区域用其他图像中对应的内容补充。 [0092] Specifically, the filter rules may be any of an image on which an image for comparison, in which the content in the background section changes the position of the filter, and the filtered image in a region corresponding to the other content supplement. 当然,也可采用其他的过滤方式过滤移动的内容,得到干净的背景图。 Of course, other filtering may be employed to move the contents of the filter, to obtain a clean background.

[0093] 需要说明的是,在后续的实施例中会对得到背景图的过程进行详细说明,本实施例不再详述。 [0093] Incidentally, in the subsequent embodiment examples will give a background process is described in detail, the present embodiment not described in detail.

[0094] 步骤S105:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0094] Step S105: the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0095] 其中,该步骤S103中分割得到了前景部分,并且该步骤S104中得到了干净的背景图,将该前景部分和背景图组合,得到背景干净、目标拍摄对象无影响的目标图像,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0095] wherein the step of dividing the foreground portion obtained in S103, and step S104 in FIG obtained a clean background, foreground portion and the background composition, to give clean background, no effect of certain target subject image, the target image is displayed on the display screen of the electronic device, the image displayed and no other person interference, highlighting the dominant position of the target subject in the photo.

[0096] 具体实施中,该将前景部分和背景部分组合得到目标图像的时间,可以为得到干净的背景图时,自动将当前采集的图像的前景部分与该背景图组合得到目标图像,并将该目标图像在显示屏幕中显示,以方便拍摄者查看,拍摄者直接从电子设备显示的预览图像中,查看具有较干净的背景图以及目标拍摄对象的图像。 [0096] In particular embodiments, the foreground portion and a background portion of the resulting composition time of the target image, may be obtained when FIG clean background, foreground automatically currently acquired partial image with the background image to obtain the target composition, and the object image on the display screen, the photographer to easily view, from the preview image captured by the electronic device in the display, to see an image having a relatively clean background and target subject directly.

[0097] 具体实施中,该将前景部分和背景部分组合得到目标图像的时间,也可为接收到拍照指令时,将该前景部分和背景图组合得到目标图像,直接将该目标图像作为拍摄得到的图像进行显示,拍摄者和被拍摄对象可以对拍摄得到的图像进行查看,该拍摄得到的图像中具有干净的背景图以及目标拍摄对象。 [0097] In particular embodiments, the foreground portion and a background portion of the resulting composition time of the target image, also when receiving the photographing instruction, the combination of background and foreground portion to obtain a target image, the target image is obtained directly as an imaging the image is displayed, and the photographer can view the subject image obtained by imaging, the captured image obtained having clean background and target subject FIG.

[0098] 综上,本实施例提供的一种信息处理方法,应用于具有图像采集模组的电子设备,包括:首先确定图像采集模组采集的图像中的目标对象,该目标对象就是目标拍摄人物,然后,根据该目标对象将该图像分割为前景部分和背景部分,并且,对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 The [0098] Fully, an information processing method provided in the present embodiment, is applied to an electronic apparatus having an image capture module, comprising: first determination target image acquisition module object image acquired in the imaging target object is the target character, then, based on the target object image is divided into the foreground portion and a background portion, and moves the content in the background portion is filtered, the occurrence of the contents is moved into the shot area regardless of the art and is moved, the background portion of the image after filtering, obtained as a non-interfering background only static environment, in which case, the foreground portion of the target and the background photographing people combination, to obtain the target image, the target image is clean background, pictures taken out according to the target image, no other human interference, highlighting the dominant position of the target subject in the photo, and improve the user experience.

[0099] 如图2所示的为本发明提供的一种信息处理方法实施例2的流程图,该方法可通过以下步骤实现: 2 is a flowchart of an information processing method of the present invention shown in [0099] FIG. 2 provides embodiments, the method may be achieved by the following steps:

[0100] 步骤S201:依次接收所述图像采集模组实时采集的图像组; [0100] Step S201: sequentially receiving the image group captured in real-time image acquisition module;

[0101] 其中,该图像采集模组实时对外界环境光线进行采集生成图像,依次接收该图像组成的图像组。 [0101] wherein the real-time image acquisition module to collect ambient light to generate an image, sequentially receives image group of the image thereof.

[0102] 其中,图像组由至少两帧连续图像组成。 [0102] wherein the image group composed of at least two successive images.

[0103] 具体的,图像采集模组依据预设的频率对外界环境光线进行采集并生成一帧图像,每一帧图像为反映当前该图像采集模组的拍摄区域的影像。 [0103] Specifically, the image acquisition module according to a preset frequency to collect ambient light and generating an image, each frame of image to reflect the current image pickup area of ​​the image acquisition module.

[0104] 因此,连续两帧或者多帧的图像能够表示一段时间中,该图像采集模组的拍摄区域中的动态影像。 [0104] Thus, two successive image frames or multiple frames of dynamic images can be represented in a period of time, the captured region of the image acquisition module.

[0105] 并且,后续的步骤S204中可根据该图像组中各个图像的差异,确定拍摄区域中发生移动的内容。 [0105] Then, in subsequent step S204 may be based on the difference of each image in the image group determined content movement takes place in the shooting area.

[0106] 具体的,该连续图像组成的图像组可以视为一段预览视频流,该视频流不存储到存储器中,只是对其中的几帧图像进行缓存,当超出该缓存设置的图像帧数时,删除最先缓存的一帧图像,并缓存最新的一帧图像。 [0106] Specifically, the successive image group composed of images can be treated as a single preview video stream, the video stream is not stored in the memory, only a few of which the frame image cache, when the cache exceeds the number of pictures arranged delete an image first cache, and cache the latest one image.

[0107] 步骤S202:确定目标对象; [0107] Step S202: determining a target object;

[0108] 步骤S203:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0108] Step S203: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0109] 步骤S204:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0109] Step S204: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0110] 步骤S205:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0110] Step S205: the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0111] 其中,步骤S202-205与实施例1中的步骤S102-105 —致,本实施例不做赘述。 [0111] wherein, in step S202-205 Example 1 Step embodiment S102-105 - induced, for example, the present embodiment is not repeated.

[0112] 综上,本实施例提供的一种信息处理方法中,对图像采集模组采集的若干帧图像进行获取,为后续的图像分割和背景处理中提供多帧图像,实现对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0112] In summary, an information processing method provided in this embodiment, a plurality of frame images captured image acquisition module acquiring were provided for subsequent multi-frame image and the background image segmentation process, implemented in the background section content filtering movement occurs, the contents of which is moved or unauthorized personnel to enter and move in the shot area after filter the background portion of the image is obtained without background interference only static environment, in which case, the photos target shooting the foreground part of the character and the combination of the background to give the target image, the target image background clean, take out according to the target image, and no other person interference, prominent target subject dominant position in the photo, improve the user experience.

[0113] 其中,电子设备还可设置有触摸检测模块。 [0113] wherein, the electronic device may be provided with a touch detecting module.

[0114] 如图3所示的为本发明提供的一种信息处理方法实施例3的流程图,该方法可通过以下步骤实现: 3 is a flowchart of Example [0114] An information processing method of the present invention as shown in FIG. 3 provided in this embodiment, the method may be achieved by the following steps:

[0115] 步骤S301:接收所述图像采集模组输出的图像; [0115] Step S301: receiving an image output from the image acquisition module;

[0116] 其中,步骤S301与实施例1中的步骤SlOl —致,本实施例不做赘述。 [0116] wherein, in the step S301 and step Example 1 SlOl - induced, for example, the present embodiment is not repeated.

[0117] 步骤S302:检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; [0117] Step S302: detecting contact information generated according to a user touch on the touch operation detection module;

[0118] 其中,该电子设备中设置的触摸检测模块,用于接收用户的触摸操作。 [0118] wherein the electronic device is provided touch detection module configured to receive a user's touch operation.

[0119] 具体的,该触摸检测模块体现在电子设备的显示屏幕中,该显示屏幕为触摸屏,用户可通过在触摸屏上点击执行触摸操作。 [0119] Specifically, the touch detection module embodied in a display screen of the electronic device, the display screen is a touch screen, a user may click touch operation is performed on the touch screen.

[0120] 其中,检测用户在该触摸检测模块上的触摸操作时,可检测得到多点触摸操作对应的触点信息。 [0120] wherein, upon detecting a user touch on the touch operation detection module, the multi-point contacts may be detected to obtain information corresponding to a touch operation.

[0121] 具体实施中,拍摄者可根据多个被拍摄对象在电子设备的触摸屏中点击不同位置,则可接收该多个触点信息。 [0121] In particular embodiments, the photographer can click on different positions in the touch screen of the electronic device according to a plurality of subjects, the plurality of contacts information may be received.

[0122] 具体的,该接收到的触点信息中包含有触点坐标。 [0122] Specifically, the received contact information contains contact coordinates.

[0123] 具体实施中,为了防止出现误操作的情况,可首先对用户的触摸操作进行判断,具体对触摸操作的压力强度或者针对某一点是否满足预设的触摸次数等,当满足条件时,才依据该触摸操作生成触点信息,否则忽略该触摸操作。 [0123] In particular embodiments, in order to prevent erroneous operation occurs, the user may first touch operation is judged, the specific strength of the pressure or the touch operation for touching a predetermined number of times whether a point satisfying the like, when the condition is satisfied, contact information was generated according to the touch operation, or ignore the touch operation. 例如,针对某一点对应的区域,用户在触摸屏中连续点击两次,则将该点击操作作为正确的触摸操作,并采集该点击操作对应的位置生成相应的触点信息。 For example, for a region corresponding to a certain point, the user clicks on the touch screen continuously twice, then the right click operation as the touch operation, and acquiring a position corresponding to the click operation to form the corresponding contact information.

[0124] 步骤S303:依据所述触点信息确定目标对象; [0124] Step S303: determining based on said contact information of the target object;

[0125] 其中,该触点信息中携带有触点坐标,依据该触点坐标可确定该触摸操作在该触摸屏中的位置,在该位置处生成对焦框,该对焦框确定选择电子设备显示图像中的某一区域。 [0125] wherein the contact coordinate information carries the contacts, can determine the position of the touch operation of the touch panel according to the contact point coordinates, generate a position at which the AF frame, the AF frame is determined to select the electronic device displays an image in a certain area.

[0126] 其中,当该触点信息为多个触点的坐标时,根据该触点信息确定多个目标对象。 [0126] wherein, when the contact information for the coordinates of a plurality of contacts, a plurality of target objects is determined based on the contact information.

[0127] 具体实施中,该电子设备中可设置有自动对焦按键,用户对该按键执行自动对焦,当该自动对焦选中的区域有误时,用户可手动补充操作,纠正误选的区域,保留目标区域。 [0127] In particular embodiments, the electronic device may be provided with an automatic focusing button, the button the user performed autofocus, AF when the selected area is incorrect, the user can manually replenishing operation, to correct the mistake selected area, reserved target area.

[0128] 具体实施中,电子设备的显示屏幕为非触摸屏时,该电子设备中可设置有自动对焦按键,用户对该按键执行按动操作,可选择并确定目标对象。 [0128] In particular embodiments, the display screen of the electronic device is a non-touch screen, the electronic device may be provided with an automatic focusing button, the user presses the button to execute the operation, select and determine the target object.

[0129] 步骤S304:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0129] Step S304: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0130] 步骤S305:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0130] Step S305: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0131] 步骤S306:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0131] Step S306: the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0132] 其中,步骤S304-306与实施例1中的步骤S103-105 —致,本实施例不做赘述。 [0132] wherein, in step S304-306 Example 1 Step embodiment S103-105 - induced, for example, the present embodiment is not repeated.

[0133] 综上,本实施例提供的一种信息处理方法中,当电子设备设置有触摸检测模块时,则所述确定目标对象,包括:检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息;依据所述触点信息确定目标对象。 The [0133] Fully, the present embodiment provides an information processing method of the embodiment, when the electronic device provided with a touch detecting module, the determining target object, comprising: detecting a user touch on the touch operation detection module generating contact information; determining a target object according to the contact information. 采用该方法,用户在触摸检测模块上接触选择确定目标对象,能够快速准确确定目标对象,并根据该确定的目标对象进行后续将图像分割为前景部分和背景部分,并且,对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 With this method, the user touches on the touch detection module selects determines a target object, can be quickly and accurately determine the target object, and subsequently an image is divided into a foreground portion and a background portion based on the identified target object, and moved to the background section filtering the content, the content is moved into the occurrence of the shot area regardless of the art and is moved, after filtration of the background portion of the image, the resulting interference-free environment as only background, the foreground portion photos target shooting people and the background combination, obtain the target image, the image in the background and clean the target, shoot according to the target image, and no other person interference, prominent target subject dominant position in the photo, improve the user experience.

[0134] 如图4所示的为本发明提供的一种信息处理方法实施例4的流程图,该方法可通过以下步骤实现: 4 is a flowchart of an information processing method of the present invention shown in [0134] FIG 4 provides embodiments, the method may be achieved by the following steps:

[0135] 步骤S401:依次接收所述图像采集模组实时采集的图像组; [0135] Step S401: sequentially receiving the image group captured in real-time image acquisition module;

[0136] 步骤S402:确定目标对象; [0136] Step S402: determining a target object;

[0137] 其中,步骤S401-402与实施例2中的步骤S201-202 —致,本实施例不做赘述。 [0137] wherein the step S401-402 step in Example 2 S201-202 - induced, for example, the present embodiment is not repeated.

[0138] 步骤S403:依据所述目标对象确定所述电子设备的拍摄区域中的目标区域; [0138] Step S403: determining a target area of ​​the imaging area of ​​the electronic device according to the target object;

[0139] 其中,该电子设备的拍摄区域是指电子设备的图像采集模组能够采集到的图像对应的区域。 [0139] wherein the photographing region of the electronic device refers to an image acquisition module to an electronic device capable of capturing an image corresponding areas.

[0140] 其中,该目标对象是指拍摄目标,根据确定的拍摄目标,在该电子设备图像采集模组能够采集到的图像的区域中中将该目标对象对应区域记为目标区域。 [0140] wherein, the target object refers to the subject, the subject according to the determined, the electronic device can be acquired in the image acquisition module in the target object to the area of ​​the image corresponding to the region referred to as the target region.

[0141] 具体的,当确定该目标对象时,在图像采集模组同时采集的一帧图像中划分出与该目标对象对应的目标区域。 [0141] Specifically, when it is determined that the target object, the target area is divided corresponding to the target object in an image capture module of simultaneously acquired. 例如,当目标拍摄对象a时,根据对焦操作等操作动作控制电子设备当前在其对焦框中选择包含有该拍摄对象a的一区域,该区域与目标对象相应,是在电子设备的拍摄区域中的目标区域,当然,该目标区域为电子设备拍摄区域的一部分。 For example, when a target subject, a focusing operation and other operations according to the operation of the electronic control device is currently in its selection focus frame includes a region of a subject that, in the region corresponding to the target object, is in the shooting area of ​​the electronic device target area, of course, that the target area is part of the photographing region of the electronic device.

[0142] 步骤S404:将所述目标区域作为前景部分,并为所述前景部分添加前景标识; [0142] Step S404: the target region as a foreground portion, said foreground portion and added to the foreground identifier;

[0143] 其中,当确定得到目标区域后,由于该目标区域中有拍摄目标,则将该目标区域记为前景部分,并且为该前景部分添加前景标识。 [0143] wherein, when the target region is determined to obtain, since the target area with the shooting target, the target area is referred to as the foreground portion and the portion for adding identification foreground foreground.

[0144] 具体的,该为前景部分添加标识的过程具体包括:对电子设备图像采集模组的视野范围设置直角坐标系,在该直角坐标系中确定该目标区域的坐标范围,为该坐标范围对应的区域对应设置前景标识。 [0144] Specifically, the addition portion identified as foreground process specifically includes: the field of view of the image acquisition module is an electronic device provided Cartesian coordinate system, determining the coordinates of the target area in the range of the rectangular coordinate system, the range of coordinates that provided corresponding to the foreground area corresponding to identification. 当该图像采集模组采集到一帧图像后,根据该坐标范围,确定该帧图像中的前景部分,并为该帧图像添加一前景标识。 When the image capture module to capture an image, based on the coordinate range, determining foreground portion of the image frame, and adds an identifier for the frame image foreground.

[0145] 需要说明的是,每一帧图像中的前景部分包含有多个像素,具体实施中,可对该坐标范围内的像素添加相应的前景标识。 [0145] Incidentally, the foreground part of the image of each frame contains a plurality of pixels, in particular embodiments, can be added to the corresponding pixels in the foreground identifying the coordinate range.

[0146] 步骤S405:依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割; [0146] Step S405: the foreground identified according to the starting image the first frame image group, the image group dividing sequentially foreground portion and a background portion in each frame image;

[0147] 其中,该前景标识在每一帧图像中标识出了其前景部分。 [0147] wherein, the foreground image in each frame identifies the identified foreground portion thereof.

[0148] 具体的,采用预设的阿尔法抠图a技术,对该图像组中第一帧图像进行抠图处理,将该图像前景部分抠出,剩余部分为背景部分,实现了将该图像的前景部分和背景部分分割。 [0148] Specifically, using a predetermined alpha matting technique performs image processing on the group matting first frame image, the foreground image cutout portion, the remaining portion of the background portion of the image to achieve the foreground portion and the background portion of the split.

[0149] 具体的,根据对第一帧图像的处理条件,依次对该图像组中后续的每一帧图像进行前景部分和背景部分的分割。 [0149] Specifically, according to the processing conditions of the first frame image is sequentially segmented foreground portion and a background portion of the image group in each subsequent frame image.

[0150] 步骤S406:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0150] Step S406: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0151] 步骤S407:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0151] Step S407: the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0152] 其中,步骤S406-407与实施例2中的步骤S204-205 —致,本实施例不做赘述。 [0152] wherein, in step S406-407 steps of Example 2 S204-205 - induced, for example, the present embodiment is not repeated.

[0153] 综上,本实施例提供的一种信息处理方法中,通过确定的目标对象对电子设备视野中的目标区域进行确定,进而将该目标区域作为前景部分,并根据该前景部分添加的标识为图像采集模组后续采集到的每一帧图像进行前景部分和背景部分的分割,以为后续的对背景部分中发生移动的内容进行过滤提供依据,而该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0153] In summary, an information processing method provided in this embodiment, the target object is determined by the target area of ​​the field of view of the electronic device is determined, and thus the target area as the foreground portion and the portion added in accordance with the foreground each frame of image acquisition module identified as the image to be collected subsequent division foreground portion and a background portion, moving the contents that occurs subsequent to the background portion by filtration to provide the basis of the occurrence and the content is moved into the camera area after the movement of personnel and independent, filter the background portion of the image is obtained without background interference only static environment, in which case, the foreground portion of the target and the background photographing people combination, to give the object image the target image clean background, photo shoot out according to the target image, no other human interference, highlighting the dominant position of the target subject in the photo, and improve the user experience.

[0154] 如图5所示的为本发明提供的一种信息处理方法实施例5的流程图,该方法可通过以下步骤实现: 5 is a flowchart of an information processing method of the present invention shown in [0154] FIG. 5 embodiment provided, the method may be achieved by the following steps:

[0155] 步骤S501:依次接收所述图像采集模组实时采集的图像组; [0155] Step S501: sequentially receiving the image group captured in real-time image acquisition module;

[0156] 步骤S502:确定目标对象; [0156] Step S502: determining a target object;

[0157] 步骤S503:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0157] Step S503: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0158] 其中,步骤S501-503与实施例2中的步骤S201-203 —致,本实施例不做赘述。 [0158] wherein, in step S501-503 steps of Example 2 S201-203 - induced, for example, the present embodiment is not repeated.

[0159] 步骤S504:依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; [0159] Step S504: the background portion of each frame are sequentially superimposed image, determining the content movement occurs in the background portion;

[0160] 需要说明的是,由于图像采集模组的工作原理就是间隔较短的预设时间段采集一次拍摄区域中的内容,并将该内容生成一帧图像,一般情况下静态的建筑、树木等静态环境内容在几帧角度不变的图像中,其位置也保持不变,而当图像采集模组的拍摄区域中出现经过的无关人员时,由于无关人员的移动,使得采集到的几帧连续的图像中该人员在图像中的位置发生了移动。 [0160] Incidentally, since the working principle of the image acquisition module is spaced a predetermined short period of time acquired in the content area imaging, and generates an image of the content, generally static buildings, trees etc. contents in the static environment angle of several frames in the same image, its position remains unchanged, regardless of when the person appears through the photographing region of the image pickup module, since the movement of unrelated persons, so collected few frames consecutive images of the person has moved in the image position.

[0161] 因此,将图像组中的每一帧图像的前景部分和背景部分分割后,将该背景部分叠加,根据叠加产生的效果,确定其中发生移动的内容,如在图像采集模组的拍摄区域中经过的无关人员,其位置依次发生移动,将该无关人员对应的图像内容确定为背景部分发生移动的内容。 [0161] Accordingly, the foreground of each frame image of the image group dividing portion and the background portion, the background portion is superimposed, the effect according to the superposition, in which the content movement occurs is determined, as captured in the image capture module unrelated persons through the area, which in turn moves the position, regardless of the person corresponding to the image contents content movement occurs is determined as the background portion.

[0162] 具体实施中,为简化该确定的过程,还可对图像采集模组采集的图像组中间隔获取其中的几帧图像,将这几帧图像作为采样图像进行叠加,也可确定其中背景部分中发生移动的内容,而无需对所有的图像进行叠加,减少数据处理量。 [0162] In particular embodiments, to simplify the determination process, several frames may be acquired image in which the image group acquired in the image acquisition module spacing, these several frame image as a sample image to be superimposed, wherein the background may be determined content moving section occurs without superposition of all the images, to reduce the amount of data processing.

[0163] 步骤S505:为所述发生移动的内容添加删除标识,并依据所述删除标识,将所述发生移动的内容滤除; [0163] Step S505: adding the content movement occurs deletion flag, and the deletion flag based on the movement of the occurrence of filtered content;

[0164] 其中,当步骤S504中确定背景部分中发生移动的内容后,在每一帧图像中对应的该内容添加删除标识,并根据该删除标识,对每一帧图像中对应的内容滤除。 [0164] wherein, when the content movement determination step S504 the occurrence of the background portion, corresponding to the content in each frame of image deletion flag add, delete and based on the identification, the content of each frame corresponding filtered .

[0165] 步骤S506:将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图; [0165] Step S506: After the background portion of each frame of the moving image content remaining image overlap occurs composition was filtered to give the background image;

[0166] 其中,对每一帧图像中发生移动的内容滤除后,每一帧图像中对应该内容的区域无图像内容,需要对该区域对应的静态环境内容进行添加,以保证得到的背景图为完整的。 [0166] wherein, after the occurrence of each frame of the moving image content was filtered off, each frame of the image area with no image content to be required to add the static environment of the content area corresponding to the content to ensure BACKGROUND obtained Pictured complete.

[0167] 具体的,将每一帧图像中滤除发生移动的内容后的背景部分重叠,各个背景部分中的内容相互补充,得到完整的背景图。 After the background portion of the content of the mobile [0167] Specifically, each frame image overlap was filtered off, the contents of each of the background portion is complementary to give a complete background.

[0168] 需要说明的是,该背景图中已经对背景部分中发生移动的内容进行过滤,剩余静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 [0168] Incidentally, the background has been moved to the content in the background portion is filtered, the contents of the remaining static environment, only the static background of the environment clean, and no other person interference.

[0169] 步骤S507:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0169] Step S507: the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0170] 其中,步骤S507与实施例2中的步骤S205 —致,本实施例不做赘述。 [0170] wherein, step S507 in the procedure of Example 2 S205 - induced, for example, the present embodiment is not repeated.

[0171] 综上,本实施例中提供的一种信息处理方法中,将进行前景部分和背景部分进行分割处理后的每一帧图像的背景部分进行叠加,确定该背景部分中发生移动的内容并将该内容滤除,然后将每一帧图像中滤除发生移动的内容后的背景部分进行叠加,组合得到无发生移动的内容,只有静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 Each part of the background image after the frame [0171] In summary, the present embodiment an information processing method provided in the embodiment, will be the foreground portion and the background portion is superimposed division processing to determine the content movement occurring background section and the content was filtered off, and then move the contents of the background portion after the occurrence of each frame of the filtered images are superimposed to obtain a combination of content occurred without moving, only the content of the static environment, only the static background clean environment no other people interfering. 而此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提闻了用户体验。 By this time, the foreground portion of the target and the background photographing people combination, to obtain the target image, the target image clean background, based on a photograph of the target image, and no other person interference projection target subject in the picture the dominant position of the user experience to mention the smell.

[0172] 如图6所示的为本发明提供的一种信息处理方法实施例6的流程图,该方法可通过以下步骤实现: [0172] Example 6 is a flowchart of an information processing method of the present invention shown in FIG. 6 provided in this embodiment, the method may be achieved by the following steps:

[0173] 步骤S601:依次接收所述图像采集模组实时采集的图像组; [0173] Step S601: sequentially receiving the image group captured in real-time image acquisition module;

[0174] 步骤S602:确定目标对象; [0174] Step S602: determining a target object;

[0175] 步骤S603:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0175] Step S603: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0176] 步骤S604:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0176] Step S604: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0177] 其中,步骤S601-604与实施例2中的步骤S201-204 —致,本实施例不做赘述。 [0177] wherein, in step S601-604 steps of Example 2 S201-204 - induced, for example, the present embodiment is not repeated.

[0178] 步骤S605:依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; [0178] Step S605: the image based on the received time, obtaining a final foreground image portion of the image group;

[0179] 其中,步骤S604中已确定得到干净的背景图,此时还需要对前景部分进行确定。 [0179] wherein, in the step S604 has determined to give a clean background, this case needs to be determined foreground portion.

[0180] 其中,该图像组中最新的一帧图像表示了电子设备拍摄区域中最新的状态。 [0180] where, the latest group of pictures showing an image photographing electronic device in the region up to date.

[0181] 具体的,根据该图像中每一帧图像接收的时间,确定其中最后接收到的一帧图像,即最新的一帧图像,获取该帧图像的前景部分,该前景部分就是被拍摄者的最新状态。 [0181] Specifically, according to the image each time the received frame image, wherein determining the last received one frame of image, i.e., the latest one-frame image, the frame image obtaining foreground portion, the foreground portion is to be photographed by the latest status.

[0182] 步骤S606:将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 [0182] Step S606: the last one portion of the foreground image and the background image combined into a complete image, the complete image is referred to as a target image, and displaying the target image.

[0183] 其中,步骤S604中已确定只剩静态环境的背景图,而步骤S605中确定了前景部分,对该背后头和前景部分进行组合,即可得到一帧完整图像,该完整图像就是目标图像,该目标图像中背景干净、目标拍摄对象无影响,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0183] wherein, in step S604, the determined background only static environment, and the step S605 is determined foreground portion, combining the foreground portion and the back of the head, to obtain a complete image, the complete image is the goal the image of the target image, clean background, target subjects had no effect, the target image on the display screen of the electronic device, the image displayed and no other person interference, highlighting the dominant position of the target subject in the photo.

[0184] 需要说明的是,本实施例中提供的组合方式是在预览模式下,自动完成图像处理,得到目标图像,在该过程中,可对预设时间段采集的若干帧图像作为图像组进行处理,而当该图像组中图像帧数达到上限值时,可对最早采集的一帧图像进行删除,并添加一帧最新采集的图像,具体实施中,可对根据最先的图像组确定的目标图像与该最新采集的图像进行处理,将进行目标图像确定过程中使用的前景部分和背景部分分割采用的处理条件,对该最新采集的一帧图像进行分割,后续步骤如604-606所述,不再赘述。 [0184] Incidentally, the present embodiment combination embodiment is provided in the preview mode, the image processing automatically to give the target image, a plurality of frame image in the process, can be acquired for a preset period of time as an image group processing, when the image group reaches the upper limit number of image frames may be acquired for a first image is deleted, and add a latest image acquisition, in particular embodiments, it may be in accordance with the first image of the group target image determination is performed with the latest image acquisition processing, the processing conditions foreground portion and a background portion of the object image determination process using division employed, the latest one-frame image acquisition is divided, as subsequent steps 604-606 the, not repeated.

[0185] 综上,本实施例提供的一种信息处理方法中,依据接收到的图像组中每一帧图像的接收时间,确定最后一帧图像并获取该最后一帧图像的前景部分,将该前景部分与前面得到的背景图组合得到一帧完整图像,该完整图像就是目标图像,该目标图像中背景干净、目标拍摄对象无影响,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0185] In summary, an information processing method provided in the present embodiment, each frame of image based on the reception time of the received image group, to determine the final image and acquires a foreground portion of the image of the last frame, the background of the foreground portion in FIG combination with the previously obtained to obtain a complete image, the complete image is the target image, the target image clean background, the subject had no effect on the target, the target image displayed on the display screen of the electronic device, which the image displayed no interference others, highlighting the dominant position of the target subject in the photo.

[0186] 如图7所示的为本发明提供的一种信息处理方法实施例7的流程图,该方法可通过以下步骤实现: 7 is a flowchart [0186] An information processing method of the present invention shown in FIG. 7 embodiment provided, the method may be achieved by the following steps:

[0187] 步骤S701:接收所述图像采集模组输出的图像; [0187] Step S701: receiving an image output from the image acquisition module;

[0188] 步骤S702:确定目标对象; [0188] Step S702: determining a target object;

[0189] 步骤S703:依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0189] Step S703: the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0190] 步骤S704:依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0190] Step S704: according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0191] 步骤S705:将所述前景部分和背景图组合得到目标图像,并显示所述目标图像; [0191] Step S705: the combination of background and foreground portion to obtain a target image, and displays the target image;

[0192] 其中,步骤S701-705与实施例1中的步骤S101-105 —致,本实施例不做赘述。 [0192] wherein, in step S701-705 Example 1 Step embodiment S101-105 - induced, for example, the present embodiment is not repeated.

[0193] 步骤S706:依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 [0193] Step S706: the operation according to a preset operation start storing operation, the object image stored in the preset memory area.

[0194] 其中,该操作动作是启动存储动作的触发操作。 [0194] wherein the operation is a trigger operation to start operation of the memory operation.

[0195] 具体实施中,该操作动作可以为拍摄者对电子设备执行的拍照动作,即执行按动拍摄按键等动作。 [0195] In particular embodiments, the operation of the photographing operation can be performed by operation of the electronic apparatus, i.e., performing camera button press operation of the photographer and the like.

[0196] 其中,当接收到该操作动作时,确定拍摄者目的为对当前电子设备拍摄区域中对应的图像进行保存,则根据该操作动作启动存储操作,将当前得到的目标图像存储到预设的存储区域,完成拍照动作。 [0196] wherein, when receiving the motion operation, the photographer is determined for the object image corresponding to the current imaging area of ​​the electronic device is saved, the operation according to the operation to start storing operation, the current obtained image is stored into a preset target storage area, complete camera action.

[0197] 具体的,在执行步骤S706时,首先可依据该操作动作对应的信息,判断该对电子设备接收到的操作动作是否为预设的操作动作,如果时,则执行步骤S706 ;否则,判断其是否满足其他操作的要求,如果满足,根据其他操作的响应规则响应该操作动作;否则,忽略该操作动作。 [0197] Specifically, when executing step S706, the first action may be based on the information corresponding to the operation, the electronic device determines the received operation is a predefined operation of the operation action, if, the step S706 is executed; otherwise, determining whether it meets the requirements of other operations, if so, the operation in response to the operation of the rules according to the response of other operations; otherwise, the operation is ignored operation.

[0198] 综上,本实施例提供的一种信息处理方法中,还包括:依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 The [0198] Fully, the present embodiment provides an information processing method of the embodiment, further comprising: an operation according to a preset operation start storing operation, the object image stored in the preset memory area. 采用该方法,能够在接收到预设的拍照动作后,启动相关的存储动作,将该目标存储,完成拍照动作,该拍照得到的照片中背景干净,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 Using this method, after receiving the pre-camera action, start the associated storage action, the target storage, complete action pictures, photos of the pictures obtained clean background, no other human interference, target prominent subject in the photo in dominant position, improve the user experience.

[0199] 上述本发明提供的实施例中详细描述了信息处理方法,对于本发明的信息处理方法可采用多种形式的信息处理装置实现,因此本发明还提供了一种信息处理装置,下面给出具体的实施例进行详细说明。 [0199] Example embodiments of the present invention to provide a detailed description of the information processing method for an information processing method of the present invention can be implemented in various forms of the information processing apparatus, the present invention also provides an information processing apparatus, to the following the specific embodiments described in detail.

[0200] 如图8,示出了本申请提供的一种信息处理装置实施例1的结构示意图,该装置应用于一电子设备,该电子设备具体可以为台式机、笔记本、平板电脑、手机、智能电视、智能手表、穿戴式设备等电子设备,所述电子设备中具有图像采集模组,该图像采集模组可以对外界环境光线进行采集生成图像。 [0200] FIG. 8 shows an information processing apparatus according to the present application provides a schematic structural diagram of an embodiment, the apparatus is applied to an electronic device, the electronic device may be a particular desktop, laptop, tablet computer, mobile phone, smart TV, smart watch, wearable devices and other electronic device, the electronic device having an image acquisition module, the image acquisition module can collect the generated image of ambient light.

[0201] 该装置包括以下结构:接收模块801、确定模块802、分割模块803、背景模块804和组合模块805 ; [0201] The device structure comprising: a receiving module 801, a determining module 802, a segmentation module 803, module 804 and the background composition module 805;

[0202] 其中,接收模块801,用于接收所述图像采集模组输出的图像; [0202] wherein, the receiving module 801, for receiving the image output from the image acquisition module;

[0203] 其中,该图像采集模组实时对外界环境光线进行采集生成图像并输出至电子设备中的图像缓存区域。 [0203] wherein the real-time image acquisition module to collect ambient light and generating an image output to the image buffer area of ​​the electronic device.

[0204] 具体的,接收模块801接收该图像采集模组输出的图像,该接收动作可以为接收该图像采集模组输出图像值缓存区域时执行;也可以为该图像采集模组输出图像值缓存区域后执行,从该缓存区域获取得到该图像。 [0204] Specifically, the receiving module 801 receives the output from the image capture module, the receiving operation may be performed when the image capture module to receive the output value of the image buffer area; an image acquisition module may be cached value for the output image after the execution area, acquiring from the buffer region of the image obtained.

[0205] 其中,确定模块802,用于确定目标对象; [0205] wherein the determining module 802 for determining a target object;

[0206] 其中,该目标对象为拍摄目标。 [0206] wherein the target object is a target shooting.

[0207] 具体的,当用户拍照时,由于拍摄区域中可能会出现经过的无关人员,而该无关人员并不是想要拍摄的,需要将其滤除,而目标拍摄人物作为想要拍摄的内容则需要保留,因此,确定该目标拍摄人物的图像作为拍摄目标需要保留在图像中。 [0207] Specifically, when the user takes a picture, because it may appear unrelated persons after the shooting area, and this is not unrelated persons want to shoot, you need to filter out, and target shooting people as the content you want to shoot you need to retain, therefore, determined that the image of the target shooting people as you want to keep the subject in the image.

[0208] 具体实施中,该确定目标对象可依据对焦信息进行确定。 [0208] In particular embodiments, the determination target object can be determined based on the focus information.

[0209] 需要说明的是,采用该电子设备拍照时,显示屏幕中可显示对焦框,用户可通过该对焦框选定的目标拍摄人物,具体为将该对焦框确定选择显示图像中的某一区域。 [0209] Incidentally, when using the electronic photographing apparatus, the display screen can display the focus frame, the user can select the target captured by the people-focus frame, specifically to determine the in-focus frame display image of a selected area. 而当该对焦框选定某一区域时,电子设备内的处理器为该区域设置对焦标识,并在后接收到的图像时,为每一帧图像添加该对焦标识,以使得后续的每一帧图像都在该区域具有对焦标识,该对焦标识对应的区域就是目标对象。 When a selected region of the focus frame, the processor in the electronic device disposed within the region identified focus, and upon receiving the image after adding the in-focus image identification for each frame, so that each subsequent identifying the frame image having a focus in the region corresponding to the in-focus area is identified audiences.

[0210] 其中,该目标对象可以为一个,也可为多个。 [0210] wherein, the target object may be one, or may be a plurality.

[0211] 具体的,当该目标对象为多个时,可进行多次对焦,以实现确定多个目标对象。 [0211] Specifically, when the target object is a plurality of focus can be repeated in order to achieve a plurality of target objects is determined.

[0212] 其中,分割模块803,用于依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; [0212] wherein the segmentation module 803, for the target object based on image processing and a preset rule, the foreground and background portions of the image segmentation section;

[0213] 其中,该图像处理规则可以采用阿尔法抠图a技术,分割模块803采用该技术,将目标对象对应的部分图像和该图像中的剩余部分进行抠图处理,得到该图像的前景部分和背景部分,将该前景部分和背景部分分割开。 [0213] wherein the image processing rule may be employed a technique alpha matting, the segmentation module 803 uses this technique, the remaining portion of the image corresponding to the target object and the image processing is performed matting, to obtain the foreground portion of the image and background section, part of the foreground and background portions separated.

[0214] 其中,该前景部分为该目标对象对应的区域,该背景部分为图像中的剩余区域。 [0214] wherein, for the portion of the target object corresponding to the foreground area, the background portion of the remaining area of ​​the image.

[0215] 具体实施中,该背景部分中包含有静态的建筑、树木等静态环境内容,也包含有在拍摄区域经过的无关人员内容。 [0215] In particular embodiments, the background portion contains static content static environment buildings, trees, etc., regardless of the art are also included in the contents through the photographing region.

[0216] 其中,背景模块804,用于依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; [0216] wherein BACKGROUND module 804, according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image;

[0217] 其中,当将图像分割出背景部分后,需要将该背景部分中的干扰图像去除,以保证最终的背景图为无干扰只剩静态环境。 [0217] wherein, when the background portion of an image is divided, the need to disturb the image of the background portion is removed, to ensure that the final background picture shows only a static environment without interference.

[0218] 其中,背景模块804采用预设的过滤规则,对背景部分中发生移动的内容进行过滤,剩余静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 [0218] wherein the background filter module 804 using a preset rule, the content in the background section moved by filtration, the remaining contents of the static environment, only the static background of the environment clean, and no other person interference.

[0219] 具体的,该过滤规则可以为将任一帧图像与其上一帧图像进行比对,将其中背景部分中位置发生变化的内容过滤,并将该过滤掉的区域用其他图像中对应的内容补充。 [0219] Specifically, the filter rules may be any of an image on which an image for comparison, in which the content in the background section changes the position of the filter, and the filtered image in a region corresponding to the other content supplement. 当然,也可采用其他的过滤方式过滤移动的内容,得到干净的背景图。 Of course, other filtering may be employed to move the contents of the filter, to obtain a clean background.

[0220] 需要说明的是,在后续的实施例中会对得到背景图的过程进行详细说明,本实施例不再详述。 [0220] Incidentally, in the subsequent embodiment examples will give a background process is described in detail, the present embodiment not described in detail.

[0221] 其中,组合模块805,用于将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 [0221] wherein the combination module 805, for the combination of background and foreground portion to obtain a target image, and displaying the target image.

[0222] 其中,该分割模块803中分割得到了前景部分,并且该背景模块804中得到了干净的背景图,组合模块805将该前景部分和背景图组合,得到背景干净、目标拍摄对象无影响的目标图像,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0222] wherein the segmentation module 803 obtained by dividing the foreground portion and the background obtained in the module 804 of FIG clean background, composition module 805 and the foreground portion combination BACKGROUND give clean background, no effect on the target subject the target image, the target image on the display screen of the electronic device, the image displayed and no other person interference, highlighting the dominant position of the target subject in the photo.

[0223] 具体实施中,该将前景部分和背景部分组合得到目标图像的时间,可以为得到干净的背景图时,自动将当前采集的图像的前景部分与该背景图组合得到目标图像,并将该目标图像在显示屏幕中显示,以方便拍摄者查看,拍摄者直接从电子设备显示的预览图像中,查看具有较干净的背景图以及目标拍摄对象的图像。 [0223] In particular embodiments, the foreground portion and a background portion of the resulting composition time of the target image, may be obtained when FIG clean background, foreground automatically currently acquired partial image with the background image to obtain the target composition, and the object image on the display screen, the photographer to easily view, from the preview image captured by the electronic device in the display, to see an image having a relatively clean background and target subject directly.

[0224] 具体实施中,该将前景部分和背景部分组合得到目标图像的时间,也可为接收到拍照指令时,将该前景部分和背景图组合得到目标图像,直接将该目标图像作为拍摄得到的图像进行显示,拍摄者和被拍摄对象可以对拍摄得到的图像进行查看,该拍摄得到的图像中具有干净的背景图以及目标拍摄对象。 [0224] In particular embodiments, the foreground portion and a background portion of the resulting composition time of the target image, also when receiving the photographing instruction, the combination of background and foreground portion to obtain a target image, the target image is obtained directly as an imaging the image is displayed, and the photographer can view the subject image obtained by imaging, the captured image obtained having clean background and target subject FIG.

[0225] 综上,本实施例提供的一种信息处理装置,应用于具有图像采集模组的电子设备,包括:首先确定图像采集模组采集的图像中的目标对象,该目标对象就是目标拍摄人物,然后,根据该目标对象将该图像分割为前景部分和背景部分,并且,对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0225] In summary, an information processing apparatus according to this embodiment, applied to an electronic apparatus having an image capture module, comprising: first determination target image acquisition module object image acquired in the imaging target object is the target character, then, based on the target object image is divided into the foreground portion and a background portion, and moves the content in the background portion is filtered, the occurrence of the contents is moved into the shot area regardless of the art and is moved, the background portion of the image after filtering, obtained as a non-interfering background only static environment, in which case, the foreground portion of the target and the background photographing people combination, to obtain the target image, the target image is clean background, pictures taken out according to the target image, no other human interference, highlighting the dominant position of the target subject in the photo, and improve the user experience.

[0226] 如图9,示出了本申请提供的一种信息处理装置实施例2的结构示意图,该装置包括以下结构:接收模块901、确定模块902、分割模块903、背景模块904和组合模块905 ; [0226] FIG. 9 shows a schematic structural diagram of an information processing apparatus according to the present embodiment provided herein. 2, the apparatus includes the following structures: a receiving module 901, a determining module 902, a segmentation module 903, module 904 and a combining module BACKGROUND 905;

[0227] 其中,确定模块902、分割模块903、背景模块904和组合模块905的结构功能与实施例I中的相应结构一致,本实施例不再赘述。 [0227] wherein, the determining module 902, a segmentation module 903, module 904 and a background function combining module 905 consistent with the structure corresponding to the structure described in Example I, in Example of the present embodiment will not be repeated.

[0228] 其中,接收模块901具体用于:依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 [0228] The receiving module 901 is configured to: sequentially receiving the image group captured in real time image capture module, the image group by a composition of at least two successive images.

[0229] 其中,该图像采集模组实时对外界环境光线进行采集生成图像,依次接收该图像组成的图像组。 [0229] wherein the real-time image acquisition module to collect ambient light to generate an image, sequentially receives image group of the image thereof.

[0230] 其中,图像组由至少两帧连续图像组成。 [0230] wherein the image group composed of at least two successive images.

[0231] 具体的,图像采集模组依据预设的频率对外界环境光线进行采集并生成一帧图像,每一帧图像为反映当前该图像采集模组的拍摄区域的影像。 [0231] Specifically, the image acquisition module according to a preset frequency to collect ambient light and generating an image, each frame of image to reflect the current image pickup area of ​​the image acquisition module.

[0232] 因此,连续两帧或者多帧的图像能够表示一段时间中,该图像采集模组的拍摄区域中的动态影像。 [0232] Thus, two successive image frames or multiple frames of dynamic images can be represented in a period of time, the captured region of the image acquisition module.

[0233] 并且,后续的背景模块904中可根据该图像组中各个图像的差异,确定拍摄区域中发生移动的内容。 [0233] and subsequent background module 904 may be based on the difference of each image in the image group determined content movement takes place in the shooting area.

[0234] 具体的,该连续图像组成的图像组可以视为一段预览视频流,该视频流不存储到存储器中,只是对其中的几帧图像进行缓存,当超出该缓存设置的图像帧数时,删除最先缓存的一帧图像,并缓存最新的一帧图像。 [0234] Specifically, the successive image group composed of images can be treated as a single preview video stream, the video stream is not stored in the memory, only a few of which the frame image cache, when the cache exceeds the number of pictures arranged delete an image first cache, and cache the latest one image.

[0235] 综上,本实施例提供的一种信息处理装置中,对图像采集模组采集的若干帧图像进行获取,为后续的图像分割和背景处理中提供多帧图像,实现对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0235] In summary, an information processing apparatus provided in the present embodiment, a plurality of frame images captured image acquisition module acquiring were provided for subsequent multi-frame image and the background image segmentation process, implemented in the background section content filtering movement occurs, the contents of which is moved or unauthorized personnel to enter and move in the shot area after filter the background portion of the image is obtained without background interference only static environment, in which case, the photos target shooting the foreground part of the character and the combination of the background to give the target image, the target image background clean, take out according to the target image, and no other person interference, prominent target subject dominant position in the photo, improve the user experience.

[0236] 其中,电子设备还可设置有触摸检测模块。 [0236] wherein, the electronic device may be provided with a touch detecting module.

[0237] 如图10,示出了本申请提供的一种信息处理装置实施例3的结构示意图,该装置包括以下结构:接收模块1001、确定模块1002、分割模块1003、背景模块1004和组合模块1005 ; [0237] FIG. 10 shows an information processing apparatus according to the present application provides a schematic structural diagram of the embodiment 3, the apparatus includes the following structures: a receiving module 1001, a determining module 1002, a segmentation module 1003, module 1004, and combination module BACKGROUND 1005;

[0238] 其中,该确定模块1002包括:检测单元1006和目标对象单元1007 ; [0238] wherein, the determining module 1002 includes: a target object detection unit 1006 and the unit 1007;

[0239] 其中,接收模块1001、分割模块1003、背景模块1004和组合模块1005的结构功能与实施例1中的相应结构一致,本实施例不再赘述。 [0239] The receiving module 1001, a segmentation module 1003, module 1004 and a combination of the background feature module 1005 is consistent with the structure corresponding to the structure in Example 1, the embodiment of the present embodiment will not be repeated.

[0240] 其中,检测单元1006,用于检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; [0240] wherein the detection unit 1006 for detecting information generated according to a user contacts the touch operation on the touch detection module;

[0241] 其中,该电子设备中设置的触摸检测模块,用于接收用户的触摸操作。 [0241] wherein the electronic device is provided touch detection module configured to receive a user's touch operation.

[0242] 具体的,该触摸检测模块体现在电子设备的显示屏幕中,该显示屏幕为触摸屏,用户可通过在触摸屏上点击执行触摸操作。 [0242] Specifically, the touch detection module embodied in a display screen of the electronic device, the display screen is a touch screen, a user may click touch operation is performed on the touch screen.

[0243] 其中,检测单元1006检测用户在该触摸检测模块上的触摸操作时,可检测得到多点触摸操作对应的触点信息。 [0243] wherein, when the touch operation on the touch detecting module detecting unit 1006 detects the user may be detected to obtain multi-contact information corresponding to a touch operation.

[0244] 具体实施中,拍摄者可根据多个被拍摄对象在电子设备的触摸屏中点击不同位置,则可接收该多个触点信息。 [0244] In particular embodiments, the photographer can click on different positions in the touch screen of the electronic device according to a plurality of subjects, the plurality of contacts information may be received.

[0245] 具体的,该接收到的触点信息中包含有触点坐标。 [0245] Specifically, the received contact information contains contact coordinates.

[0246] 具体实施中,为了防止出现误操作的情况,可首先对用户的触摸操作进行判断,具体对触摸操作的压力强度或者针对某一点是否满足预设的触摸次数等,当满足条件时,才依据该触摸操作生成触点信息,否则忽略该触摸操作。 [0246] In particular embodiments, in order to prevent erroneous operation occurs, the user may first touch operation is judged, the specific strength of the pressure or the touch operation for touching a predetermined number of times whether a point satisfying the like, when the condition is satisfied, contact information was generated according to the touch operation, or ignore the touch operation. 例如,针对某一点对应的区域,用户在触摸屏中连续点击两次,则将该点击操作作为正确的触摸操作,并采集该点击操作对应的位置生成相应的触点信息。 For example, for a region corresponding to a certain point, the user clicks on the touch screen continuously twice, then the right click operation as the touch operation, and acquiring a position corresponding to the click operation to form the corresponding contact information.

[0247] 其中,目标对象单元1007,用于依据所述触点信息确定目标对象。 [0247] wherein the target object unit 1007, according to the contact information for determining the target object.

[0248] 其中,该触点信息中携带有触点坐标,依据该触点坐标可确定该触摸操作在该触摸屏中的位置,在该位置处生成对焦框,该对焦框确定选择电子设备显示图像中的某一区域。 [0248] wherein the contact coordinate information carries the contacts, can determine the position of the touch operation of the touch panel according to the contact point coordinates, generate a position at which the AF frame, the AF frame is determined to select the electronic device displays an image in a certain area.

[0249] 其中,当该触点信息为多个触点的坐标时,根据该触点信息确定多个目标对象。 [0249] wherein, when the contact information for the coordinates of a plurality of contacts, a plurality of target objects is determined based on the contact information.

[0250] 具体实施中,该电子设备中可设置有自动对焦按键,用户对该按键执行自动对焦,当该自动对焦选中的区域有误时,用户可手动补充操作,纠正误选的区域,保留目标区域。 [0250] In particular embodiments, the electronic device may be provided with an automatic focusing button, the button the user performed autofocus, AF when the selected area is incorrect, the user can manually replenishing operation, to correct the mistake selected area, reserved target area.

[0251] 具体实施中,电子设备的显示屏幕为非触摸屏时,该电子设备中可设置有自动对焦按键,用户对该按键执行按动操作,可选择并确定目标对象。 [0251] In particular embodiments, the display screen of the electronic device is a non-touch screen, the electronic device may be provided with an automatic focusing button, the user presses the button to execute the operation, select and determine the target object.

[0252] 综上,本实施例提供的一种信息处理装置中,当电子设备设置有触摸检测模块时,则确定模块包括:检测单元,用于检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息;目标对象单元,用于依据所述触点信息确定目标对象。 [0252] In summary, an information processing apparatus provided in the present embodiment, when the electronic device provided with a touch detecting module, the determining module comprises: a detection unit for detecting a user touch on the touch detection module information generated by the operating contact; audiences unit, according to the contact information for determining the target object. 采用该装置,用户在触摸检测模块上接触选择确定目标对象,能够快速准确确定目标对象,并根据该确定的目标对象进行后续将图像分割为前景部分和背景部分,并且,对背景部分中发生移动的内容进行过滤,该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 With this apparatus, the user touching the touch detection module selection determines a target object, can be quickly and accurately determine the target object, and subsequently an image is divided into a foreground portion and a background portion based on the identified target object, and moved to the background section filtering the content, the content is moved into the occurrence of the shot area regardless of the art and is moved, after filtration of the background portion of the image, the resulting interference-free environment as only background, the foreground portion photos target shooting people and the background combination, obtain the target image, the image in the background and clean the target, shoot according to the target image, and no other person interference, prominent target subject dominant position in the photo, improve the user experience.

[0253] 如图11,示出了本申请提供的一种信息处理装置实施例4的结构示意图,该装置包括以下结构:接收模块1101、确定模块1102、分割模块1103、背景模块1104和组合模块1105 ; [0253] FIG. 11 shows an information processing apparatus according to the present application provides a schematic structural diagram of the embodiment 4, the apparatus comprising the following structure: a receiving module 1101, a determining module 1102, a segmentation module 1103, module 1104, and combination module BACKGROUND 1105;

[0254] 其中,该分割模块1103包括:目标区域单元1106、标识单元1107和分割单元1108 ; [0254] wherein the segmentation module 1103 comprises: a target area unit 1106, unit 1107 and dividing the identification unit 1108;

[0255] 其中,接收模块1101、确定模块1102、背景模块1104和组合模块1105的结构功能与实施例2中的相应结构一致,本实施例不再赘述。 [0255] wherein, the receiving module 1101, a determining module 1102, module 1104 and a combination of the background feature module 1105 is consistent with the structure corresponding to the structure in Example 2, the embodiment of the present embodiment will not be repeated.

[0256] 其中,目标区域单元1106,依据所述目标对象确定所述电子设备拍摄区域中的目标区域; [0256] wherein the target area unit 1106, the electronic device determines a target area in the shooting area according to the target object;

[0257] 其中,该电子设备的拍摄区域是指电子设备的图像采集模组能够采集到的图像对应的区域。 [0257] wherein the photographing region of the electronic device refers to an image acquisition module to an electronic device capable of capturing an image corresponding areas.

[0258] 其中,该目标对象是指拍摄目标,根据确定的拍摄目标,在该电子设备图像采集模组能够采集到的图像的区域中中将该目标对象对应区域记为目标区域。 [0258] wherein, the target object refers to the subject, the subject according to the determined, the electronic device can be acquired in the image acquisition module in the target object to the area of ​​the image corresponding to the region referred to as the target region.

[0259] 具体的,当确定该目标对象时,目标区域单元1106在图像采集模组同时采集的一帧图像中划分出与该目标对象对应的目标区域。 [0259] Specifically, when it is determined that the target object, the target area dividing unit 1106 target region corresponding to the target object in an image capture module of simultaneously acquired. 例如,当目标拍摄对象a时,根据对焦操作等操作动作控制电子设备当前在其对焦框中选择包含有该拍摄对象a的一区域,该区域与目标对象相应,是在电子设备的拍摄区域中的目标区域,当然,该目标区域为电子设备拍摄区域的一部分。 For example, when a target subject, a focusing operation and other operations according to the operation of the electronic control device is currently in its selection focus frame includes a region of a subject that, in the region corresponding to the target object, is in the shooting area of ​​the electronic device target area, of course, that the target area is part of the photographing region of the electronic device.

[0260] 其中,标识单元1107,用于将所述目标区域作为前景部分,并为所述前景部分添加前景标识; [0260] wherein the identification unit 1107, as a target area for the foreground portion, said foreground portion and added to the foreground identifier;

[0261] 其中,当确定得到目标区域后,由于该目标区域中有拍摄目标,则标识单元1107将该目标区域记为前景部分,并且为该前景部分添加前景标识。 [0261] wherein, when the target region is determined to obtain, since the target area with the shooting target, the target area identification unit 1107 referred to as the foreground portion and the portion for adding identification foreground foreground.

[0262] 具体的,该为前景部分添加标识的过程具体包括:对电子设备图像采集模组的视野范围设置直角坐标系,在该直角坐标系中确定该目标区域的坐标范围,为该坐标范围对应的区域对应设置前景标识。 [0262] Specifically, the addition portion identified as foreground process specifically includes: the field of view of the image acquisition module is an electronic device provided Cartesian coordinate system, determining the coordinates of the target area in the range of the rectangular coordinate system, the range of coordinates that provided corresponding to the foreground area corresponding to identification. 当该图像采集模组采集到一帧图像后,根据该坐标范围,确定该帧图像中的前景部分,并为该帧图像添加一前景标识。 When the image capture module to capture an image, based on the coordinate range, determining foreground portion of the image frame, and adds an identifier for the frame image foreground.

[0263] 需要说明的是,每一帧图像中的前景部分包含有多个像素,具体实施中,可对该坐标范围内的像素添加相应的前景标识。 [0263] Incidentally, the foreground part of the image of each frame contains a plurality of pixels, in particular embodiments, can be added to the corresponding pixels in the foreground identifying the coordinate range.

[0264] 其中,分割单元1108,用于依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割。 [0264] wherein the segmentation unit 1108, for identifying based on the foreground, in the image group as a starting first frame image, the foreground image are sequentially set in each frame of image portions and background part of the split.

[0265] 其中,该前景标识在每一帧图像中标识出了其前景部分。 [0265] wherein, the foreground image in each frame identifies the identified foreground portion thereof.

[0266] 具体的,分割单元1108采用预设的阿尔法抠图α技术,对该图像组中第一帧图像进行抠图处理,将该图像前景部分抠出,剩余部分为背景部分,实现了将该图像的前景部分和背景部分分割。 [0266] Specifically, the dividing unit 1108 using a predetermined alpha matting α technology, matting process on the image in the first frame image group, the image cutout foreground portion, the remaining portion of the background section, the achieved the foreground portion and a background portion of the image segmentation.

[0267] 具体的,根据对第一帧图像的处理条件,依次对该图像组中后续的每一帧图像进行前景部分和背景部分的分割。 [0267] Specifically, according to the processing conditions of the first frame image is sequentially segmented foreground portion and a background portion of the image group in each subsequent frame image.

[0268] 综上,本实施例提供的一种信息处理装置中,通过确定的目标对象对电子设备视野中的目标区域进行确定,进而将该目标区域作为前景部分,并根据该前景部分添加的标识为图像采集模组后续采集到的每一帧图像进行前景部分和背景部分的分割,以为后续的对背景部分中发生移动的内容进行过滤提供依据,而该发生移动的内容就是进入拍照区域中并且移动的无关人员,对该图像的背景部分进行过滤后,得到的为无干扰只剩静态环境的背景图,此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验。 [0268] In summary, an information processing apparatus provided in the present embodiment, the target object is determined by the target area in the field of view of the electronic device is determined, and thus the target area as the foreground portion and the portion added in accordance with the foreground each frame of image acquisition module identified as the image to be collected subsequent division foreground portion and a background portion, moving the contents that occurs subsequent to the background portion by filtration to provide the basis of the occurrence and the content is moved into the camera area after the movement of personnel and independent, filter the background portion of the image is obtained without background interference only static environment, in which case, the foreground portion of the target and the background photographing people combination, to give the object image the target image clean background, photo shoot out according to the target image, no other human interference, highlighting the dominant position of the target subject in the photo, and improve the user experience.

[0269] 如图12,示出了本申请提供的一种信息处理装置实施例5的结构示意图,该装置包括以下结构:接收模块1201、确定模块1202、分割模块1203、背景模块1204和组合模块1205 ; [0269] FIG. 12 shows an information processing apparatus according to the present application provides a schematic structural diagram of embodiment 5, the apparatus comprising the following structure: a receiving module 1201, a determining module 1202, a segmentation module 1203, module 1204, and combination module BACKGROUND 1205;

[0270] 其中,该背景模块1204包括:移动内容单元1206、删除单元1207和过滤单元1208 ; [0270] wherein, the context module 1204 comprises: the mobile unit 1206 content, deleting unit 1207 and filter unit 1208;

[0271] 其中,接收模块1201、确定模块1202、分割模块1203和组合模块1205的结构功能与实施例2中的相应结构一致,本实施例不再赘述。 [0271] wherein, the receiving module 1201, a determining module 1202, a combining module 1203 and division module 1205 functions structure identical with those in Example 2 corresponding structure, embodiments of the present embodiment will not be repeated.

[0272] 其中,移动内容单元1206,用于依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; [0272] wherein the content of the mobile unit 1206, in turn, for each frame image of the background portion is superimposed, determining the content movement occurs in the background portion;

[0273] 需要说明的是,由于图像采集模组的工作原理就是间隔较短的预设时间段采集一次拍摄区域中的内容,并将该内容生成一帧图像,一般情况下静态的建筑、树木等静态环境内容在几帧角度不变的图像中,其位置也保持不变,而当图像采集模组的拍摄区域中出现经过的无关人员时,由于无关人员的移动,使得采集到的几帧连续的图像中该人员在图像中的位置发生了移动。 [0273] Incidentally, since the working principle of the image acquisition module is spaced a predetermined short period of time acquired in the content area imaging, and generates an image of the content, generally static buildings, trees etc. contents in the static environment angle of several frames in the same image, its position remains unchanged, regardless of when the person appears through the photographing region of the image pickup module, since the movement of unrelated persons, so collected few frames consecutive images of the person has moved in the image position.

[0274] 因此,分割模块1203将图像组中的每一帧图像的前景部分和背景部分分割后,移动内容单元1206将该背景部分叠加,根据叠加产生的效果,确定其中发生移动的内容,如在图像采集模组的拍摄区域中经过的无关人员,其位置依次发生移动,将该无关人员对应的图像内容确定为背景部分发生移动的内容。 [0274] Accordingly, the foreground of each frame of the image segmentation module 1203 in the image group dividing portion and a background portion, moving the contents of the background portion is superimposed unit 1206, according to the superposition effect, wherein determining the content movement occurs, such as after unrelated persons in the captured region of the image acquisition module, which in turn moves the position, regardless of the person corresponding to the image contents content movement occurs is determined as the background portion.

[0275] 具体实施中,为简化该确定的过程,还可对图像采集模组采集的图像组中间隔获取其中的几帧图像,将这几帧图像作为采样图像进行叠加,也可确定其中背景部分中发生移动的内容,而无需对所有的图像进行叠加,减少数据处理量。 [0275] In particular embodiments, to simplify the determination process, several frames may be acquired image in which the image group acquired in the image acquisition module spacing, these several frame image as a sample image to be superimposed, wherein the background may be determined content moving section occurs without superposition of all the images, to reduce the amount of data processing.

[0276] 其中,删除单元1207,用于为所述发生移动的内容添加删除标识,并依据所述删除标识,将所述发生移动的内容滤除; [0276] wherein the deleting unit 1207, add and delete content for mobile identification, and according to the occurrence of the deletion flag, and the content was filtered off movement occurs;

[0277] 其中,当移动内容单元1206中确定背景部分中发生移动的内容后,删除单元1207在每一帧图像中对应的该内容添加删除标识,并根据该删除标识,对每一帧图像中对应的内容滤除。 [0277] wherein, after the mobile unit 1206 determines the contents of the Background of the mobile part of the content, the content deleting unit 1207 in each frame corresponding to the image deletion flag add, delete and based on the identification, the image of each frame the corresponding content filtering.

[0278] 其中,过滤单元1208,用于将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图。 [0278] wherein the filter unit 1208, for the remaining contents of the moving image superimposed combination of the background portion of each frame image in the background image obtained was filtered off occurs.

[0279] 其中,对每一帧图像中发生移动的内容滤除后,每一帧图像中对应该内容的区域无图像内容,需要对该区域对应的静态环境内容进行添加,以保证得到的背景图为完整的。 [0279] wherein, after the occurrence of each frame of the moving image content was filtered off, each frame of the image area with no image content to be required to add the static environment of the content area corresponding to the content to ensure BACKGROUND obtained Pictured complete.

[0280] 具体的,过滤单元1208将每一帧图像中滤除发生移动的内容后的背景部分重叠,各个背景部分中的内容相互补充,得到完整的背景图。 After the background portion of the content of the mobile [0280] Specifically, the filter unit 1208 to filter each frame of image overlap, the contents of each of the background portion is complementary to give a complete background.

[0281] 需要说明的是,该背景图中已经对背景部分中发生移动的内容进行过滤,剩余静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 [0281] Incidentally, the background has been moved to the content in the background portion is filtered, the contents of the remaining static environment, only the static background of the environment clean, and no other person interference.

[0282] 综上,本实施例中提供的一种信息处理装置中,将进行前景部分和背景部分进行分割处理后的每一帧图像的背景部分进行叠加,确定该背景部分中发生移动的内容并将该内容滤除,然后将每一帧图像中滤除发生移动的内容后的背景部分进行叠加,组合得到无发生移动的内容,只有静态环境的内容,该只剩静态环境的背景图干净、无其他人干扰。 Each part of the background image after the frame [0282] In summary, an information processing apparatus provided in the embodiment of the present embodiment, the foreground portion and a background portion for dividing process are superimposed, determining the content movement occurring background section and the content was filtered off, and then move the contents of the background portion after the occurrence of each frame of the filtered images are superimposed to obtain a combination of content occurred without moving, only the content of the static environment, only the static background clean environment no other people interfering. 而此时,将该前景部分中的目标拍摄人物和该背景图组合,得到目标图像,该目标图像中背景干净,根据该目标图像拍摄出的照片,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提闻了用户体验。 By this time, the foreground portion of the target and the background photographing people combination, to obtain the target image, the target image clean background, based on a photograph of the target image, and no other person interference projection target subject in the picture the dominant position of the user experience to mention the smell.

[0283] 如图13,示出了本申请提供的一种信息处理装置实施例5的结构示意图,该装置包括以下结构:接收模块1301、确定模块1302、分割模块1303、背景模块1304和组合模块1305 ; [0283] FIG. 13 shows a schematic structural diagram of an information processing apparatus according to the present embodiment provided herein. 5, the apparatus comprising the following structure: a receiving module 1301, a determining module 1302, a segmentation module 1303, module 1304, and combination module BACKGROUND 1305;

[0284] 其中,该组合模块1305包括:获取单元1306和组合单元1307 ; [0284] wherein the composition module 1305 includes: an obtaining unit 1306 and the combining unit 1307;

[0285] 其中,接收模块1301、确定模块1302、分割模块1303和背景模块1304的结构功能与实施例2中的相应结构一致,本实施例不再赘述。 [0285] wherein, the receiving module 1301, a determining module 1302, 1303 and background segmentation module structure and function module 1304 embodiment consistent with the corresponding structure in the embodiment 2, embodiment of the present embodiment will not be repeated.

[0286] 其中,获取单元1306,用于依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; [0286] The obtaining unit 1306, the time for receiving the image based on the acquired image of a foreground portion of the final image group;

[0287] 其中,背景模块1304中已确定得到干净的背景图,此时还需要对前景部分进行确定。 [0287] wherein BACKGROUND module 1304 has been determined to FIG clean background, this case needs to be determined foreground portion.

[0288] 其中,该图像组中最新的一帧图像表示了电子设备拍摄区域中最新的状态。 [0288] where, the latest group of pictures showing an image photographing electronic device in the region up to date.

[0289] 具体的,获取单元1306根据该图像中每一帧图像接收的时间,确定其中最后接收到的一帧图像,即最新的一帧图像,获取该帧图像的前景部分,该前景部分就是被拍摄者的最新状态。 [0289] Specifically, according to the image acquisition unit 1306 each time the received frame image, wherein the determination of the last received frame image, i.e., a new image acquisition portion of the foreground image frame, the foreground part is It is the latest status of the photographer.

[0290] 其中,组合单元1307,用于将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 [0290] wherein the combination unit 1307, for the last part of a foreground image and the background image combined into a complete image, the complete image is referred to as a target image, and displaying the target image.

[0291] 其中,背景模块1304中已确定只剩静态环境的背景图,而获取单元1306中确定了前景部分,组合单元1307对该背后头和前景部分进行组合,即可得到一帧完整图像,该完整图像就是目标图像,该目标图像中背景干净、目标拍摄对象无影响,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0291] wherein BACKGROUND module 1304 has been determined only background static environment, the acquisition unit 1306 determines the foreground portion, and a head assembly unit behind the foreground portion 1307 are combined to obtain a complete image, the full image is the target image, the target image background clean, had no effect on the target subject, the target image on the display screen of the electronic device, the image displayed no interference others, prominent target subjects in photos dominant position.

[0292] 需要说明的是,本实施例中提供的组合方式是在预览模式下,自动完成图像处理,得到目标图像,在该过程中,可对预设时间段采集的若干帧图像作为图像组进行处理,而当该图像组中图像帧数达到上限值时,可对最早采集的一帧图像进行删除,并添加一帧最新采集的图像,具体实施中,分割模块1303可对根据最先的图像组确定的目标图像与该最新采集的图像进行处理,将进行目标图像确定过程中使用的前景部分和背景部分分割采用的处理条件,对该最新采集的一帧图像进行分割,然后触发背景模块1304和组合模块1305执行后续处理,不再赘述。 [0292] Incidentally, the present embodiment combination embodiment is provided in the preview mode, the image processing automatically to give the target image, a plurality of frame image in the process, can be acquired for a preset period of time as an image group processing, when the image group reaches the upper limit number of image frames may be acquired for a first image is deleted, an image and add the latest acquisition, implementation, module 1303 may be divided according to the first target image in the image group determined with the latest image acquisition processing, the processing conditions foreground portion and a background portion using the split target image determining process used in the latest frame image acquired is divided, and then trigger the background combining module 1305 and module 1304 performs subsequent processing is omitted.

[0293] 综上,本实施例提供的一种信息处理装置中,依据接收到的图像组中每一帧图像的接收时间,确定最后一帧图像并获取该最后一帧图像的前景部分,将该前景部分与前面得到的背景图组合得到一帧完整图像,该完整图像就是目标图像,该目标图像中背景干净、目标拍摄对象无影响,将该目标图像在电子设备的显示屏幕中显示,该显示的图像中无其他人干扰,突出目标拍摄对象在照片中的主体地位。 [0293] In summary, an information processing apparatus provided in the present embodiment, each frame of image based on the reception time of the received image group, to determine the final image and acquires a foreground portion of the image of the last frame, the background of the foreground portion in FIG combination with the previously obtained to obtain a complete image, the complete image is the target image, the target image clean background, the subject had no effect on the target, the target image displayed on the display screen of the electronic device, which the image displayed no interference others, highlighting the dominant position of the target subject in the photo.

[0294] 如图14,示出了本申请提供的一种信息处理装置实施例5的结构示意图,该装置包括以下结构:接收模块1401、确定模块1402、分割模块1403、背景模块1404、组合模块1405和存储模块1406 ; [0294] FIG. 14 shows an information processing apparatus according to the present application provides a schematic structural diagram of embodiment 5, the apparatus comprising the following structure: a receiving module 1401, a determining module 1402, a segmentation module 1403, the background module 1404, a combining module 1406 1405 and a storage module;

[0295] 其中,接收模块1401、确定模块1402、分割模块1403和背景模块1404接收模块1401、确定模块1402、分割模块1403、背景模块1404、组合模块1405的结构功能与实施例1中的相应结构一致,本实施例不再赘述。 [0295] wherein, the receiving module 1401, a determining module 1402, segmentation module 1403 and a background module 1404 receiving module 1401, a determining module 1402, a segmentation module 1403, 1404, a combination of the modular structure function 1405 to the corresponding structure in Example 1 Background module consistent with the present example embodiment will not be repeated.

[0296] 其中,存储模块1406,用于依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 [0296] wherein the storage module 1406, according to a preset operation of an operation for starting operation of storage, the target image stored in the preset memory area.

[0297] 其中,该操作动作是启动存储动作的触发操作。 [0297] wherein the operation is a trigger operation to start operation of the memory operation.

[0298] 具体实施中,该操作动作可以为拍摄者对电子设备执行的拍照动作,即执行按动拍摄按键等动作。 [0298] In particular embodiments, the operation of the photographing operation can be performed by operation of the electronic apparatus, i.e., performing camera button press operation of the photographer and the like.

[0299] 其中,当接收到该操作动作时,确定拍摄者目的为对当前电子设备拍摄区域中对应的图像进行保存,则根据该操作动作启动存储操作,将当前得到的目标图像存储到预设的存储区域,完成拍照动作。 [0299] wherein, when receiving the motion operation, the photographer is determined for the object image corresponding to the current imaging area of ​​the electronic device is saved, the operation according to the operation to start storing operation, the current obtained image is stored into a preset target storage area, complete camera action.

[0300] 具体的,在存储模块1406执行时,首先可依据该操作动作对应的信息,判断该对电子设备接收到的操作动作是否为预设的操作动作,如果时,则触发存储模块1406 ;否则,判断其是否满足其他操作的要求,如果满足,根据其他操作的响应规则响应该操作动作;否贝U,忽略该操作动作。 [0300] Specifically, when the storage module 1406 performs, based on the information available to the first operation corresponding to the operation, the electronic device determines the received operation is a predefined operation of the operation action, if, storage module 1406 is triggered; otherwise, it is determined whether it meets the requirements of other operations, if so, the operation in response to the operation of the rules according to the response of other operations; NO shell U, the operation is ignored operation.

[0301] 综上,本实施例提供的一种信息处理装置中,还包括:依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 The [0301] Fully, the present embodiment provides an information processing apparatus in the embodiment, further comprising: an operation according to a preset operation start storing operation, the object image stored in the preset memory area. 采用该装置,能够在接收到预设的拍照动作后,启动相关的存储动作,将该目标存储,完成拍照动作,该拍照得到的照片中背景干净,无其他人干扰,突出目标拍摄对象在照片中的主体地位,提高了用户体验 With this device, capable after receiving the pre-camera action, start the associated storage action, the target storage, complete action pictures, photos of the pictures obtained clean background, no other human interference, target prominent subject in the photo in dominant position, improve the user experience

[0302] 与上述本申请提供的一种信息处理装置实施例相应的,本申请还提供了一种电子设备,该电子设备具有图像采集模组和如上述任一实施例所述的信息处理装置。 [0302] An information processing apparatus according to the present application provides the above-described respective embodiments, the present application also provides an electronic apparatus, the electronic apparatus having an image acquisition module and the information processing apparatus as described in the preceding embodiment .

[0303] 其中,该信息处理装置包括:接收模块、确定模块、分割模块、背景模块和组合模块,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0303] wherein, the information processing apparatus comprising: a receiving module, a determination module, segmentation module, and a background module combination module, for example, the corresponding structure and function of each module of the information processing apparatus with the above-described embodiment of an information processing apparatus same functions, embodiments of the present embodiment will not be repeated.

[0304] 优选的,所述接收模块具体用于:依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 [0304] Preferably, the receiving module is configured to: sequentially receiving the image group captured in real time image capture module, the image group by a composition of at least two successive images.

[0305] 优选的,所述分割模块包括:目标区域单元、标识单元和分割单元,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0305] Preferably, the splitting module comprises: a target area unit, division unit and the identification unit, functions of each module of the information processing apparatus with the above-described functions of an information processing apparatus consistent with the structure of the respective embodiment examples, the present Example omitted.

[0306] 优选的,所述背景模块包括:移动内容单元、删除单元和过滤单元,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0306] Preferably, the background module comprising: a mobile content unit, a filtration unit and a deleting unit, the function of each module of the information processing apparatus of the embodiment consistent with the function corresponding to the configuration of the above-described embodiment of an information processing apparatus, the present Example omitted.

[0307] 优选的,所述组合模块包括:获取单元和组合单元,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0307] Preferably, the combining module comprises: an obtaining unit and a combining unit, functions of each module of the information processing apparatus and an information processing apparatus of the above-described functions of the respective embodiments consistent with the structure of embodiment, this embodiment is not performed then repeat.

[0308] 优选的,还包括:存储模块,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0308] Preferably, further comprising: a storage module, the function of each module of the information processing apparatus and an information processing apparatus of the above-described functions of the respective embodiments consistent with the structure of embodiments, embodiments of the present embodiment will not be repeated.

[0309] 优选的,所述电子设备设置有触摸检测模块时,所述确定模块,包括:检测单元和目标对象单元,该信息处理装置的各个组成模块的功能与上述的一种信息处理装置实施例中相应结构的功能一致,本实施例中不再赘述。 [0309] Preferably, when the electronic apparatus is provided with a touch detecting module, a determination module, comprising: a detection unit and the target object unit, the function of each module of the information processing apparatus and an information processing apparatus of the above-described embodiment function embodiment consistent with the respective structures, embodiments of the present embodiment will not be repeated.

[0310] 本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。 [0310] In the present specification, the various embodiments described in a progressive manner, differences from the embodiment and the other embodiments each of which emphasizes embodiment, the same or similar portions between the various embodiments refer to each other. 对于实施例提供的装置而言,由于其与实施例提供的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。 For apparatus provided in the embodiment, since it corresponds to the method provided in the embodiment, the description is relatively simple, see Methods of the correlation can be described.

[0311] 对所提供的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。 [0311] The above description of embodiments is provided to enable the skilled in the art to make or use the present invention. 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。 Various modifications to these professionals skilled in the art of the present embodiments will be apparent, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. 因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所提供的原理和新颖特点相一致的最宽的范围。 Accordingly, the present invention will not be limited to the embodiments shown herein, but is to be accorded consistent with the principles and novel features herein provided widest scope.

Claims (15)

  1. 1.一种信息处理方法,其特征在于,应用于具有图像采集模组的电子设备,所述方法包括: 接收所述图像采集模组输出的图像; 确定目标对象; 依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割;依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; 将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 1. An information processing method, characterized in that, applied to electronic devices having an image capture module, the method comprising: receiving an image output from the image capture module; determining a target object; and the target object based on the pre- the image processing rule set, and the foreground and background portions of the image segmentation section; according to a preset filtering rule, occur in the background portion of the imaging area in the moved content filtering, to obtain background image; the foreground portion and a target image obtained by combining background image, and displaying the target image.
  2. 2.根据权利要求1所述的方法,其特征在于,所述接收所述图像采集模组输出的图像包括: 依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 2. The method according to claim 1, wherein said image receiving said output image acquisition module comprises: sequentially receiving the image group captured in real time image capture module, the group consisting of at least two images frame sequential image composition.
  3. 3.根据权利要求2所述的方法,其特征在于,所述依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割包括: 依据所述目标对象确定所述电子设备拍摄区域中的目标区域; 将所述目标区域作为前景部分,并为所述前景部分添加前景标识; 依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割。 3. The method according to claim 2, wherein said target object, and according to the preset image processing rules, the foreground portion and a background portion of the image segmentation comprising: determining based on the target object said target area of ​​the electronic device in the shooting area; the target area as a foreground portion, said foreground portion and added to the foreground identifier; identifier according to the foreground, a first frame image of the image group as a starting sequentially dividing the image group in the foreground portion and a background portion of each frame of image.
  4. 4.根据权利要求2所述的方法,其特征在于,所述依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图包括: 依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; 为所述发生移动的内容添加删除标识; 依据所述删除标识,将所述发生移动的内容滤除; 将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图。 4. The method according to claim 2, wherein said filter according to a preset rule, occur in the background portion of the imaging area in the moved content filtering, to obtain the background image comprising: sequentially each frame superimposing the background portion of the image, determining the content movement occurs in the background portion; add remove identifying the occurrence of mobile content; the deletion flag based on the movement of the occurrence of filtered content; each frame image after moving the contents of the background portion remaining image overlap occurs filtered off to give the composition the background FIG.
  5. 5.根据权利要求2所述的方法,其特征在于,所述将所述前景部分和背景图组合得到目标图像包括: 依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; 将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 5. The method according to claim 2, wherein, said foreground portion and the background to obtain a combination of a target image comprises: receiving the time based on the image, the image group acquired last one foreground portion of the image; the last one foreground portion and the background image is a combination of a complete image, the complete image is referred to as a target image, and displaying the target image.
  6. 6.根据权利要求1所述的方法,其特征在于,所述显示所述目标图像之后还包括: 依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 6. The method according to claim 1, characterized in that, after the display of the target image further comprising: an operation according to a preset operation start storing operation, the object image stored in the preset memory area.
  7. 7.根据权利要求1所述的方法,其特征在于,所述电子设备设置有触摸检测模块时,则所述确定目标对象,包括: 检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; 依据所述触点信息确定目标对象。 7. The method according to claim 1, wherein, when the electronic device provided with a touch detecting module, the determining target object, comprising: generating a detecting operation according to a user touch on the touch detection module contact information; determined according to the contact information of the target object.
  8. 8.一种信息处理装置,其特征在于,应用于具有图像采集模组的电子设备,所述装置包括: 接收模块,用于接收所述图像采集模组输出的图像; 确定模块,用于确定目标对象; 分割模块,用于依据所述目标对象和预设的图像处理规则,将所述图像的前景部分和背景部分分割; 背景模块,用于依据预设的过滤规则,在所述背景部分中将拍摄区域中发生移动的内容过滤,得到背景图; 组合模块,用于将所述前景部分和背景图组合得到目标图像,并显示所述目标图像。 8. An information processing apparatus comprising an image capture device is applied to an electronic module, the apparatus comprising: receiving means for receiving the image output from the image acquisition module; determining means for determining audience; segmentation module for the target object and the processing rule based on a preset image, the foreground and background portions of the image segmentation section; background module, according to a preset filtering rule for the background portion occurring in the imaging area of ​​the mobile content filtering, to obtain the background image; combination module, combinations of the foreground portion and the background for the target image is obtained, and displaying the target image.
  9. 9.根据权利要求8所述的装置,其特征在于,所述接收模块具体用于: 依次接收所述图像采集模组实时采集的图像组,所述图像组由至少两帧连续图像组成。 9. The apparatus according to claim 8, wherein the receiving module is configured to: sequentially receiving the image group captured in real time image capture module, the image group by a composition of at least two successive images.
  10. 10.根据权利要求9所述的装置,其特征在于,所述分割模块包括: 目标区域单元,依据所述目标对象确定所述电子设备拍摄区域中的目标区域; 标识单元,用于将所述目标区域作为前景部分,并为所述前景部分添加前景标识; 分割单元,用于依据所述前景标识,以对所述图像组中的第一帧图像为起始,依次对所述图像组中每一帧图像中的前景部分和背景部分分割。 10. The apparatus according to claim 9, characterized in that said splitting module comprises: a target unit area, determine a target area in the shooting area of ​​the electronic device according to the target object; identifying means, for the target region as a foreground portion, said foreground portion and added to the foreground identifier; dividing means identifying the basis for the foreground, the image group to the first frame image starting from the image group for sequentially foreground portion and a background portion of each frame of image segmentation.
  11. 11.根据权利要求9所述的装置,其特征在于,所述背景模块包括: 移动内容单元,用于依次将每一帧图像的背景部分叠加,确定所述背景部分中发生移动的内容; 删除单元,用于为所述发生移动的内容添加删除标识,并依据所述删除标识,将所述发生移动的内容滤除; 过滤单元,用于将每一帧图像的背景部分中滤除发生移动的内容后剩余图像重叠组合得到所述背景图。 11. The apparatus according to claim 9, wherein said background module comprising: a mobile unit content, the background portion sequentially for each frame image is superimposed, determining the content movement occurs in the background portion; deleted means for adding the content movement occurs deletion flag, and the deletion flag based on the movement of the occurrence of content filtered; the filter unit, for each frame the background portion of the image filtered moved after the remaining contents of the background image obtained by combining overlapping FIG.
  12. 12.根据权利要求9所述的装置,其特征在于,所述组合模块包括: 获取单元,用于依据接收到所述图像的时间,获取所述图像组中的最后一帧图像的前景部分; 组合单元,用于将所述最后一帧图像的前景部分和所述背景图组合为一帧完整图像,将所述完整图像记为目标图像,并显示所述目标图像。 12. The apparatus according to claim 9, wherein the combining module comprises: an acquisition unit for receiving the time according to the image, acquiring an image of a foreground portion of the final image group; combining unit, for the last part of a foreground image and the background image combined into a complete image, the complete image is referred to as a target image, and displaying the target image.
  13. 13.根据权利要求8所述的装置,其特征在于,还包括: 存储模块,用于依据预设的操作动作启动存储动作,将所述目标图像存储到预设存储区域。 13. The apparatus according to claim 8, characterized in that, further comprising: a storage module, configured to operate according to a preset operation start storing operation, the object image stored in the preset memory area.
  14. 14.根据权利要求8所述的装置,其特征在于,所述电子设备设置有触摸检测模块时,则所述确定模块,包括: 检测单元,用于检测根据用户在所述触摸检测模块上的触摸操作生成的触点信息; 目标对象单元,用于依据所述触点信息确定目标对象。 14. The apparatus according to claim 8, wherein, when the electronic apparatus is provided with a touch detecting module, the determining module, comprising: a detection unit for detecting a user's touch on the detection module generating contact information of the touch operation; target object unit, according to the contact information for determining the target object.
  15. 15.一种电子设备,其特征在于,包括:图像采集模组和如权利要求8-14任一项所述的信息处理装置。 15. An electronic apparatus, characterized by comprising: an information processing apparatus according to any of 8-14 and image acquisition module as claimed in claim.
CN 201410493939 2014-09-24 2014-09-24 Information processing method and apparatus, and electronic equipment CN105513030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410493939 CN105513030A (en) 2014-09-24 2014-09-24 Information processing method and apparatus, and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410493939 CN105513030A (en) 2014-09-24 2014-09-24 Information processing method and apparatus, and electronic equipment

Publications (1)

Publication Number Publication Date
CN105513030A true true CN105513030A (en) 2016-04-20

Family

ID=55720988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410493939 CN105513030A (en) 2014-09-24 2014-09-24 Information processing method and apparatus, and electronic equipment

Country Status (1)

Country Link
CN (1) CN105513030A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050030315A1 (en) * 2003-08-04 2005-02-10 Michael Cohen System and method for image editing using an image stack
CN101335841A (en) * 2007-06-28 2008-12-31 索尼株式会社 Image pickup device
CN103297699A (en) * 2013-05-31 2013-09-11 北京小米科技有限责任公司 Method and terminal for shooting images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050030315A1 (en) * 2003-08-04 2005-02-10 Michael Cohen System and method for image editing using an image stack
CN101335841A (en) * 2007-06-28 2008-12-31 索尼株式会社 Image pickup device
CN103297699A (en) * 2013-05-31 2013-09-11 北京小米科技有限责任公司 Method and terminal for shooting images

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴黎: "人像照片背景替换方法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
US20070081090A1 (en) Method and system for associating user comments to a scene captured by a digital imaging device
US20130120602A1 (en) Taking Photos With Multiple Cameras
CN103024275A (en) Automatic photographing method and a terminal
US20110261219A1 (en) Imaging device, terminal device, and imaging method
CN103152521A (en) Effect of depth of field achieving method for mobile terminal and mobile terminal
JP2006115525A (en) Electronic camera
JP2007019671A (en) Image communication system and image processing program
US8773502B2 (en) Smart targets facilitating the capture of contiguous images
CN103856617A (en) Photographing method and user terminal
CN103986874A (en) Image acquiring device, method and terminal
CN103002152A (en) Method and device for continuous shooting of mobile terminal
CN104363375A (en) Method, device and terminal for photograph noise reduction
JP2012205037A (en) Image processor and image processing method
CN104333700A (en) Image blurring method and image blurring device
US20140152873A1 (en) Real-time camera view through drawn region for image capture
US20120182445A1 (en) Digital photographing apparatus and control method thereof
CN102957870A (en) Photographing method and device
CN103401994A (en) Method for guiding to photograph and mobile terminal
CN101938604A (en) Image processing method and camera
CN104243819A (en) Photo acquiring method and device
JP2007226606A (en) Imaging apparatus, image output method, reproduction apparatus, program, and storage medium
CN103685940A (en) Method for recognizing shot photos by facial expressions
US20130239050A1 (en) Display control device, display control method, and computer-readable recording medium
CN104168418A (en) Image acquisition device, image acquisition method and terminal
CN102098437A (en) Integrated viewfinder and digital media

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination