WO2016065999A1 - Photo album management method and device - Google Patents

Photo album management method and device Download PDF

Info

Publication number
WO2016065999A1
WO2016065999A1 PCT/CN2015/090495 CN2015090495W WO2016065999A1 WO 2016065999 A1 WO2016065999 A1 WO 2016065999A1 CN 2015090495 W CN2015090495 W CN 2015090495W WO 2016065999 A1 WO2016065999 A1 WO 2016065999A1
Authority
WO
WIPO (PCT)
Prior art keywords
photo
album
feature value
photos
module
Prior art date
Application number
PCT/CN2015/090495
Other languages
French (fr)
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
Priority to CN201410594374.0A priority Critical patent/CN104408061B/en
Priority to CN201410594374.0 priority
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016065999A1 publication Critical patent/WO2016065999A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

A photo album management method and device. The photo album management method comprises the steps of: acquiring a currently shot picture or a picture stored in a photo album; carrying out decoding analysis on the picture, and obtaining a definition characteristic value of the picture; and when the definition characteristic value is smaller than a preset threshold, automatically deleting the picture or outputting prompt information that is used for prompting a user to delete the picture.

Description

相册管理方法和装置Album management method and device 技术领域Technical field

本发明涉及摄像技术领域,尤其是涉及一种相册管理方法和装置。The present invention relates to the field of camera technology, and in particular, to a photo album management method and apparatus.

背景技术Background technique

拍摄功能已成为手机、平板等移动终端的必备功能,用户可以随时随地利用移动终端进行拍照留念。在拍摄过程中,不可避免的会产生许多模糊的照片,通常用户不会在拍摄过程中对这些照片及时进行处理,造成相册中存储了大量不合格的照片,浪费了存储空间,而且日后用户需要处理时,需要一张一张的查看,进行手动删除,操作及其繁琐,效率低下。同时,用户在外出游玩时,经常以同一个景点为背景拍摄多张照片,产生了许多大同小异的相似照片,由于没有对这些照片归类,使得相册中的照片看起来杂乱无章,也不方便用户日后对这些照片进行管理。The shooting function has become an essential function for mobile terminals such as mobile phones and tablets, and users can take photos with the mobile terminal anytime and anywhere. In the process of shooting, it will inevitably produce many blurred photos. Usually, users will not process these photos in time during the shooting process, resulting in a large number of unqualified photos stored in the album, which wastes storage space and needs users in the future. When processing, you need to view them one by one, perform manual deletion, and the operation is cumbersome and inefficient. At the same time, when users go out to play, they often take multiple photos with the same attraction as the background, resulting in many similar photos. Because they are not classified, the photos in the album look disorganized, and it is not convenient for users in the future. Manage these photos.

发明内容Summary of the invention

本发明实施例的主要目的在于提供一种相册管理方法和装置,旨在实现自动对相册进行管理,提高管理效率。The main purpose of the embodiments of the present invention is to provide a method and device for managing a photo album, which aims to automatically manage the photo album and improve management efficiency.

为达以上目的,本发明实施例提出一种相册管理方法,包括步骤:To achieve the above objective, an embodiment of the present invention provides a method for managing a photo album, including the steps of:

获取当前拍摄的照片、或者、获取存储于相册中的照片;Get the currently taken photo, or get the photo stored in the album;

对所述照片进行解码分析,获取所述照片的清晰度特征值;Decoding and analyzing the photo to obtain a sharpness feature value of the photo;

当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,所述提示信息用于提示用户删除所述照片。When the clarity feature value is less than a preset threshold, the photo is automatically deleted, or prompt information is output, and the prompt information is used to prompt the user to delete the photo.

作为一种实施方式,所述获取当前拍摄的照片包括:As an implementation manner, the acquiring the currently taken photo includes:

在拍摄过程中,每拍摄一张照片,则获取所述照片。During the shooting, each time a photo is taken, the photo is taken.

优选地,所述获取存储于相册中的照片包括:当满足预设条件时或 接收到用户指令时,对相册进行扫描,获取存储于相册中的照片。Preferably, the obtaining the photo stored in the album comprises: when the preset condition is met or When a user instruction is received, the album is scanned to obtain a photo stored in the album.

作为一种实施方式,所述方法还包括:As an implementation manner, the method further includes:

预设一参考照片,获取到所述参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值。Presetting a reference photo, obtaining a sharpness feature value corresponding to the reference photo, and determining the threshold based on a sharpness feature value of the reference photo.

作为一种实施方式,所述当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,包括:As an implementation manner, when the clarity feature value is less than a preset threshold, automatically deleting the photo or outputting prompt information includes:

当照片的清晰度特征值小于第一预设阈值时,自动删除该照片;When the sharpness feature value of the photo is less than the first preset threshold, the photo is automatically deleted;

当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。When the clarity feature value of the photo is not less than the first preset threshold and is not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo.

作为一种实施方式,所述方法还可以包括:As an implementation manner, the method may further include:

当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。When the sharpness feature value of the photo is greater than the second preset threshold, the terminal retains the photo.

作为一种实施方式,所述方法还包括:As an implementation manner, the method further includes:

对相册中的照片进行扫描,获取每张照片的背景特征;Scan the photos in the album to get the background features of each photo;

将背景特征相同的照片叠加组合为一个照片组。Combine photos with the same background features into one photo group.

作为一种实施方式,所述方法还包括:在所述照片组上标记所述照片组中的照片数量。As an embodiment, the method further includes marking the number of photos in the group of photos on the group of photos.

作为一种实施方式,所述将背景特征相同的照片叠加组合为一个照片组,包括:As an embodiment, the photo overlay with the same background feature is combined into one photo group, including:

提取出每张照片的背景元素特征值作为背景特征,通过基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片组。The background element feature values of each photo are extracted as background features, and the photos with the same background features are extracted by comparing the background element feature values; and the extracted photo features are identically combined into one photo group.

作为一种实施方式,所述方法还包括:As an implementation manner, the method further includes:

从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。 A photo is selected from the photo group, and the selected photo is used as a cover of a folder corresponding to the photo group.

作为一种实施方式,所述方法还包括:在照片组对应的文件夹的第一位置处显示照片数量。As an embodiment, the method further includes: displaying the number of photos at the first position of the folder corresponding to the photo group.

本发明实施例同时提出一种相册管理装置,包括获取模块、分析模块和处理模块,其中:The embodiment of the invention simultaneously provides an album management device, which comprises an acquisition module, an analysis module and a processing module, wherein:

获取模块,用于获取当前拍摄的照片、或者、获取存储于相册中的照片,并发送给所述分析模块;Obtaining a module, configured to acquire a currently photographed photo, or obtain a photo stored in the photo album, and send the photo to the analysis module;

分析模块,用于对所述照片进行解码分析,获取所述照片的清晰度特征值,并判断所述清晰度特征值是否小于预设阈值,并发送判断结果给所述处理模块;An analysis module, configured to perform decoding analysis on the photo, obtain a sharpness feature value of the photo, and determine whether the sharpness feature value is less than a preset threshold, and send the determination result to the processing module;

处理模块,用于当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,所述提示信息用于提示用户删除所述照片。The processing module is configured to automatically delete the photo or output prompt information when the clarity feature value is less than a preset threshold, where the prompt information is used to prompt the user to delete the photo.

作为一种实施方式,所述相册管理装置还包括拍摄模块,所述拍摄模块用于拍摄照片,所述获取模块用于获取所述拍摄模块拍摄的照片。As an embodiment, the album management device further includes a shooting module, the shooting module is configured to take a photo, and the acquiring module is configured to acquire a photo taken by the shooting module.

作为一种实施方式,分析模块,用于获取到预设的参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值。As an implementation manner, the analysis module is configured to obtain a sharpness feature value corresponding to the preset reference photo, and determine the threshold based on the sharpness feature value of the reference photo.

作为一种实施方式,所述处理模块,还用于当照片的清晰度特征值小于第一预设阈值时,自动删除该照片;当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。In an embodiment, the processing module is further configured to automatically delete the photo when the sharpness feature value of the photo is less than the first preset threshold; when the sharpness feature value of the photo is not less than the first preset threshold, and When not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo.

作为一种实施方式,所述处理模块,还用于当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。As an implementation manner, the processing module is further configured to: when the clarity feature value of the photo is greater than a second preset threshold, the terminal retains the photo.

作为一种实施方式,所述获取模块用于:当满足预设条件时或接收到用户指令时,对相册进行扫描,获取存储于相册中的照片。As an implementation manner, the acquiring module is configured to: when the preset condition is met or when a user instruction is received, scan the album to obtain a photo stored in the album.

作为一种实施方式,所述相册管理装置还包括分类模块,所述分类模块用于:对相册中的照片进行扫描,获取每张照片的背景特征,将背 景特征相同的照片叠加组合为一个照片组。As an implementation manner, the album management apparatus further includes a classification module, configured to: scan a photo in the album, obtain a background feature of each photo, and back Photo overlays with the same feature are combined into one photo group.

作为一种实施方式,所述分类模块还用于:在所述照片组上标记所述照片组中的照片数量。As an embodiment, the classification module is further configured to: mark the number of photos in the photo group on the photo group.

作为一种实施方式,所述分类模块,还用于提取出每张照片的背景元素特征值作为背景特征,通过基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片组。As an embodiment, the classification module is further configured to extract a background element feature value of each photo as a background feature, and extract a photo with the same background feature by comparing the background element feature values; and extracting the same background feature These photo overlays are combined into one photo group.

作为一种实施方式,所述分类模块,还用于从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。As an implementation manner, the classification module is further configured to: select a photo from the photo group, and use the selected photo as a cover of a folder corresponding to the photo group.

作为一种实施方式,所述分类模块,还用于在照片组对应的文件夹的第一位置处显示照片数量。As an embodiment, the classification module is further configured to display the number of photos at the first position of the folder corresponding to the photo group.

本发明所提供的一种相册管理方法和装置,通过获取当前拍摄的照片或相册中的照片的清晰度特征值,根据清晰度特征值对照片的清晰度进行评估,对于清晰度不符合要求的照片,则自动删除或提示用户删除。从而实现了自动对相册中的照片进行管理,可以快速清理相册中质量不佳的模糊照片,提高了管理效率。The album management method and device provided by the present invention can obtain the sharpness feature value of the photo in the currently photographed photo album or the photo album, and evaluate the sharpness of the photo according to the sharpness feature value, which does not meet the requirements for the definition. The photo is automatically deleted or prompted to be deleted by the user. Thereby, the automatic management of the photos in the album is realized, and the fuzzy photos with poor quality in the album can be quickly cleaned up, thereby improving the management efficiency.

特别是在拍摄过程中及时对当前拍摄的照片进行分析处理,使得拍摄时存入相册中的照片都是高质量的照片,避免将不合格的照片存入相册中而占用存储空间,无需用户拍摄完成后再从相册中逐张手动删除,提高了效率,提升了用户体验。In particular, during the shooting process, the currently taken photos are analyzed and processed, so that the photos stored in the album during shooting are high-quality photos, avoiding the storage of unqualified photos in the album and occupying the storage space without the user having to shoot After the completion, manually delete them one by one from the album, which improves the efficiency and improves the user experience.

同时通过对同一背景下所拍摄的照片进行叠加形成照片组,使得照片可以在相册中更加简单明了的展示,方便用户日后查看并对相似的照片进行管理,如删除部分照片保留拍摄效果相对较好的照片。At the same time, by superimposing photos taken in the same background to form a photo group, the photos can be displayed more simply and clearly in the album, which is convenient for the user to view and manage similar photos in the future, such as deleting some photos and retaining relatively good results. Photo.

附图说明DRAWINGS

图1是本发明的相册管理方法第一实施例的流程图; 1 is a flow chart of a first embodiment of a photo album management method of the present invention;

图2是本发明的相册管理方法第二实施例的流程图;2 is a flow chart of a second embodiment of the album management method of the present invention;

图3是本发明的相册管理方法第三实施例的流程图;3 is a flow chart of a third embodiment of the album management method of the present invention;

图4是本发明的相册管理装置第一实施例的模块示意图;4 is a block diagram showing a first embodiment of a photo album management apparatus of the present invention;

图5是本发明的相册管理装置第二实施例的模块示意图;Figure 5 is a block diagram showing a second embodiment of the album management device of the present invention;

图6是本发明的相册管理装置第三实施例的模块示意图。Figure 6 is a block diagram showing a third embodiment of the album management apparatus of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.

具体实施方式detailed description

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

参见图1,提出本发明的相册管理方法第一实施例,所述相册管理方法包括以下步骤:Referring to FIG. 1, a first embodiment of a photo album management method according to the present invention is proposed. The photo album management method includes the following steps:

步骤S10:扫描相册,获取存储于相册中的照片。Step S10: Scan the album to obtain the photos stored in the album.

本实施例中,对相册中存储的存量照片进行清晰度管理。In this embodiment, the definition management of the stock photos stored in the album is performed.

终端可以在满足预设条件时对相册进行清晰度管理,如每隔一段时间进行一次管理、相册中的照片数量达到预设张数时进行一次管理、相册中的照片新增数量达到预设张数进行一次管理等等;用户也可以随时发布指令启动清晰度管理。所述相册是指用于存储照片(包括图片)的存储空间(如文件夹等),可以是终端本地的相册,也可以是云端相册。The terminal can manage the resolution of the album when the preset condition is met, for example, management is performed once every time, the number of photos in the album reaches a preset number of times, and the number of photos added in the album reaches the preset sheet. The number is managed once, etc.; the user can also issue instructions to initiate the definition management at any time. The album refers to a storage space (such as a folder) for storing photos (including pictures), and may be a local album of the terminal or a cloud album.

当终端启动清晰度管理后,随即对相册进行扫描,逐张获取相册中存储的照片。When the terminal starts the definition management, the album is scanned and the photos stored in the album are obtained one by one.

步骤S11:对照片进行解码分析,获取照片的清晰度特征值。Step S11: Perform decoding analysis on the photo to obtain a sharpness feature value of the photo.

对照片进行解码分析,获取照片的清晰度特征值,其实现方式可以通过硬件解码(即采用DSP芯片进行硬解码)的方式,速度快。也可以采用软件解码的方式,即利用现有的算法进行解码分析。 The picture is decoded and analyzed to obtain the sharpness feature value of the photo, and the implementation manner can be achieved by hardware decoding (that is, using a DSP chip for hard decoding), and the speed is fast. Software decoding can also be used, that is, the existing algorithm is used for decoding analysis.

照片清晰度作为图像处理及识别的一个重要指标,本发明实施例中,可利用图像评价函数来定义所述图片的清晰度特征值。The image sharpness is an important index of image processing and recognition. In the embodiment of the present invention, the image evaluation function can be used to define the sharpness feature value of the image.

其中,所述利用图像评价函数来定义所述图片的清晰度特征值,可以包括基于频率域特征的评价函数,即通过算法实现傅立叶变换,利用频谱函数实现对照片清晰度的评价,得到照片清晰度特征值。Wherein, the image evaluation function is used to define the sharpness feature value of the picture, which may include an evaluation function based on the frequency domain feature, that is, the Fourier transform is implemented by an algorithm, and the spectral function is used to evaluate the image sharpness, and the photo is clear. Degree feature value.

步骤S12:判断清晰度特征值是否小于预设阈值。Step S12: determining whether the sharpness feature value is less than a preset threshold.

其中,所述预设阈值的获取,可以包括有以下方式:The obtaining the preset threshold may include the following methods:

一种、可以为根据实际情况由用户自定义设置,比如,在设置参数对应的菜单中直接输入相应的数值作为所述阈值;One may be customized by the user according to the actual situation, for example, directly input the corresponding value in the menu corresponding to the setting parameter as the threshold value;

或者,另一种,预设一参考照片,获取到所述参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值;比如,可以将所述获取到的该参考照片的清晰度特征值作为阈值。Or, another method, preset a reference photo, obtain a sharpness feature value corresponding to the reference photo, and determine the threshold based on a sharpness feature value of the reference photo; for example, the acquired The sharpness feature value of the reference photo is used as a threshold.

如果小于预设阈值,说明该照片的清晰度较低,不符合要求,则进入步骤S13;如果超过预设阈值,说明该照片的清晰度符合要求,则进入步骤S14,不对照片进行处理,保留该照片。If it is less than the preset threshold, it indicates that the resolution of the photo is low, and if it does not meet the requirement, the process proceeds to step S13; if the preset threshold is exceeded, indicating that the resolution of the photo meets the requirements, the process proceeds to step S14, and the photo is not processed, and the image is retained. The photo.

步骤S13:自动删除照片、或输出提示信息,其中,所述提示信息用于提示用户删除所述照片。Step S13: automatically deleting the photo or outputting the prompt information, wherein the prompt information is used to prompt the user to delete the photo.

通过执行上述步骤S12若发现照片的清晰度不符合要求时,则终端可以自动删除照片,如此,就能够通过删除清晰度特征值不符合要求的照片,而节省终端的存储空间。By performing the above step S12, if it is found that the resolution of the photo does not meet the requirements, the terminal can automatically delete the photo, and thus, the storage space of the terminal can be saved by deleting the photo whose resolution feature value does not meet the requirement.

本步骤中,所述输出提示信息,也可以为:弹出对话框,通过提示信息询问用户是否删除,若用户选择是则删除该照片,若用户选择否则保留该照片。In this step, the output prompt message may also be: a pop-up dialog box, asking the user whether to delete by prompting information, if the user selects yes, deleting the photo, if the user selects otherwise, the photo is retained.

步骤S14:保留所述照片。Step S14: The photo is retained.

从而,本实施例通过对相册中的照片进行扫描,获取照片的清晰度 特征值,根据清晰度特征值对照片的清晰度进行评估,对于清晰度不符合要求的照片,则自动删除或提示用户删除。从而实现了自动对相册中的照片进行清晰度管理,可以快速清理相册中质量不佳的模糊照片,无需用户手动一张一张的查看删除,提高了效率,提升了用户体验。Thus, the present embodiment obtains the sharpness of the photo by scanning the photos in the album. The feature value evaluates the sharpness of the photo according to the sharpness feature value, and automatically deletes or prompts the user to delete the photo whose resolution is not satisfactory. Thereby, the resolution management of the photos in the album is automatically performed, and the blurred photos with poor quality in the album can be quickly cleaned, without the need for the user to manually delete and delete one by one, thereby improving the efficiency and improving the user experience.

参见图2,提出本发明的相册管理方法第二实施例,所述相册管理方法包括以下步骤:Referring to FIG. 2, a second embodiment of the album management method of the present invention is proposed. The album management method includes the following steps:

步骤S20:拍摄照片。Step S20: Take a photo.

本实施例中,当终端拍摄照片时,则自动启动清晰度管理功能。In this embodiment, when the terminal takes a photo, the definition management function is automatically started.

步骤S21:获取当前拍摄的照片。Step S21: Acquire the currently photographed photo.

在拍摄过程中,终端每拍摄一张照片,则获取当前拍摄的照片。During the shooting, each time the terminal takes a picture, the current picture is taken.

步骤S22:对照片进行解码分析,获取照片的清晰度特征值。Step S22: Perform decoding analysis on the photo to obtain a sharpness feature value of the photo.

对照片进行解码分析,获取照片的清晰度特征值,其实现方式可以通过硬件解码(即采用DSP芯片进行硬解码)的方式,速度快。也可以采用软件解码的方式,即利用现有的算法进行解码分析。The picture is decoded and analyzed to obtain the sharpness feature value of the photo, and the implementation manner can be achieved by hardware decoding (that is, using a DSP chip for hard decoding), and the speed is fast. Software decoding can also be used, that is, the existing algorithm is used for decoding analysis.

照片清晰度作为图像处理及识别的一个重要指标,在本发明实施例中,可利用图像评价函数来定义所述图片的清晰度特征值。Photo sharpness is an important indicator of image processing and recognition. In the embodiment of the present invention, an image evaluation function can be used to define the sharpness feature value of the picture.

其中,所述利用图像评价函数来定义所述图片的清晰度特征值,可以包括通过算法实现傅立叶变换,利用频谱函数实现对照片清晰度的评价,得到照片清晰度特征值。该部分技术较为现有,不再累述。The image evaluation function is used to define the sharpness feature value of the image, which may include implementing a Fourier transform by an algorithm, and using a spectral function to evaluate the image sharpness, and obtaining a photo sharpness feature value. This part of the technology is more existing and will not be described.

步骤S23:判断清晰度特征值是否小于预设阈值,如果小于预设阈值,说明该照片的清晰度较低,不符合要求,进入步骤S24;如果超过预设阈值,说明该照片的清晰度符合要求,进入步骤S25,将照片存储于相册中。Step S23: determining whether the sharpness feature value is less than a preset threshold, if it is less than the preset threshold, indicating that the resolution of the photo is low, not meeting the requirement, and proceeding to step S24; if the preset threshold is exceeded, indicating that the resolution of the photo is consistent If it is requested, the process proceeds to step S25, and the photo is stored in the album.

用户可以自定义设置阈值,如直接输入相应的数值,或者指定一张参考照片,终端自动获取该参考照片的清晰度特征值并将其作为阈值。 The user can customize the setting threshold, such as directly inputting the corresponding value, or specifying a reference photo, and the terminal automatically acquires the sharpness feature value of the reference photo and uses it as a threshold.

步骤S24:自动删除该照片、或输出提示信息,所述提示信息用于提示用户删除该照片。Step S24: automatically deleting the photo or outputting prompt information, the prompt information is used to prompt the user to delete the photo.

当发现照片的清晰度不符合要求时,终端可以自动删除照片,节省存储空间。When the clarity of the photo is found to be unsatisfactory, the terminal can automatically delete the photo to save storage space.

或者,也可以提示用户删除照片,如弹出对话框,询问用户是否删除,若用户选择是则删除该照片,若用户选择否则将照片存储于相册中。Alternatively, the user may be prompted to delete the photo, such as a pop-up dialog box asking the user whether to delete, if the user selects yes, the photo is deleted, and if the user selects, the photo is stored in the album.

步骤S25:将照片存储于相册。Step S25: The photo is stored in the album.

从而,本实施例在拍摄过程中,实时获取拍摄的照片,对照片的清晰度进行评估,对于清晰度不符合要求的照片,则及时自动删除或提示用户删除,对于清晰度符合要求的照片才存储于相册中。从而,使得拍摄时存入相册中的照片都是质量符合要求的照片,避免将模糊的照片存入相册中而占用存储空间,无需用户拍摄完成后再从相册中逐张手动删除,提高了效率,提升了用户体验。Therefore, in the shooting process, the photograph is taken in real time, and the photographed photograph is evaluated in real time, and the photographs whose resolution is not in conformity are automatically deleted or prompted to be deleted in time, and the photographs with the definition conforming to the requirements are Stored in an album. Therefore, the photos stored in the album at the time of shooting are all photos with the quality requirements, and the blurred photos are stored in the album to occupy the storage space, and the user is manually deleted from the album after the shooting is completed, thereby improving the efficiency. , improved user experience.

上述实施例中,预设阈值可以设置两个或多个,如设置第一预设阈值和第二预设阈值,且第一预设阈值小于第二预设阈值。在这种情况下,上述实施例中,所述当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息可以包括:In the above embodiment, the preset threshold may be set to two or more, such as setting a first preset threshold and a second preset threshold, and the first preset threshold is smaller than the second preset threshold. In this case, in the above embodiment, when the clarity feature value is less than the preset threshold, automatically deleting the photo or outputting the prompt information may include:

当照片的清晰度特征值小于第一预设阈值时,自动删除该照片;When the sharpness feature value of the photo is less than the first preset threshold, the photo is automatically deleted;

当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。When the clarity feature value of the photo is not less than the first preset threshold and is not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo.

相应的,所述方法还可以包括:当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。Correspondingly, the method may further include: when the sharpness feature value of the photo is greater than a second preset threshold, the terminal retains the photo.

参见图3,提出本发明的相册管理方法第三实施例,所述相册管理方法包括以下步骤:Referring to FIG. 3, a third embodiment of the album management method of the present invention is proposed. The album management method includes the following steps:

步骤S30:扫描相册。 Step S30: Scan the album.

本实施例中,通过开启对相册中的照片进行分类管理,执行扫描相册的操作。In this embodiment, the operation of scanning the album is performed by opening the classification management of the photos in the album.

终端可以在满足预设条件时,开始启动对相册进行分类管理,比如,周期性的进行分类管理,也就是说每隔一段时间进行一次管理、相册中的照片数量达到预设张数时进行一次管理、相册中的照片新增数量达到预设张数进行一次管理等等;The terminal can start to start the classification management of the album when the preset condition is met, for example, periodically perform classification management, that is, once every time period of management, and the number of photos in the album reaches a preset number of times. Manage, add the number of photos in the album to the preset number of pages for management, etc.;

或者,可以由用户发布指令,启动分类管理;Alternatively, the user may issue an instruction to initiate classification management;

或者,在用户拍摄完成后,立即对拍摄的照片进行分类管理。Or, the photographed photos are classified and managed immediately after the user completes the shooting.

步骤S31:获取相册中每张照片的背景特征。Step S31: Acquire the background feature of each photo in the album.

其中,所述背景特征如背景元素特征值。Wherein the background feature is a background element feature value.

步骤S32:将背景特征相同的照片叠加组合为一个照片组。Step S32: Combining photo overlays having the same background feature into one photo group.

本步骤具体为:提取出每张照片的背景元素特征值作为背景特征,基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片组。The step is specifically: extracting the background element feature value of each photo as a background feature, extracting photos with the same background feature based on the comparison of the background element feature values; and combining the extracted photo features with the same background features into one photo group .

也就是说,在同一个照片组中的至少一张照片均为相同或相似背景下所拍摄的照片。本实施例中不对照片组中包含的照片数量进行限定,可以为一张照片,在当前全部照片中,没有与该照片相同或相似背景的其他照片;或者,可以为两张或两张以上的照片。That is to say, at least one of the photos in the same photo group is a photo taken in the same or similar background. In this embodiment, the number of photos included in the photo group is not limited, and may be one photo. In the current all photos, there are no other photos having the same or similar background as the photo; or, two or more may be used. photo.

其中,所述通过基于背景元素特征值对比,提取背景特征相同的照片可以包括:基于背景元素特征值确定相似度大于预设阈值的照片,所述阈值可以为90%。所述确定相似度可以为两个背景元素特征值中较小的一个背景元素特征值与另一个背景元素特征值做百分比得到相似度。The extracting the photo with the same background feature by using the background element feature value comparison may include: determining a photo with the similarity greater than a preset threshold based on the background element feature value, the threshold may be 90%. The determining the similarity may obtain a similarity between a smaller one of the two background element feature values and a percentage of the other background element feature value.

优选地,本实施例,还可以包括:从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。Preferably, the embodiment may further include: selecting a photo from the photo group, and using the selected photo as a cover of a folder corresponding to the photo group.

其中,所述选取照片的方式可以包括以下之一: Wherein, the manner of selecting a photo may include one of the following:

将位于所述照片组中最顶端的照片,作为照片组的封面;The topmost photo in the photo group is used as the cover of the photo group;

可以从所述照片组中随机选择一张照片作为封面;A photo may be randomly selected from the photo group as a cover;

也可以由用户指定一张作为封面。It is also possible for the user to specify one as a cover.

另外,所述照片组对应的文件夹的显示形式可以不同于其它单张照片,可以设置为边框高亮、边框圆角等形式予以显示。In addition, the display form of the corresponding folder of the photo group may be different from other single photos, and may be set to be displayed in the form of frame highlighting, border rounding, and the like.

此外,所述方法还可以包括:在照片组对应的文件夹的第一位置处显示照片数量。其中,所述第一位置处可以为在照片组右下角。Moreover, the method may further include displaying the number of photos at the first location of the folder corresponding to the photo group. Wherein, the first position may be in the lower right corner of the photo group.

当用户点击该照片组时,则自动将叠加的照片展开,这样处理使得相册中显示的照片更加简单清晰,用户查看照片时更加方便。When the user clicks on the photo group, the superimposed photo is automatically expanded, so that the photo displayed in the album is simpler and clearer, and the user is more convenient to view the photo.

从而,本实施例通过对同一背景下所拍摄的照片进行叠加形成照片组,使得照片可以在相册中更加简单明了的展示,方便用户日后查看并对相似的照片进行管理,如删除部分照片保留拍摄效果相对较好的照片,提高了用户体验。Therefore, the present embodiment forms a photo group by superimposing photos taken in the same background, so that the photo can be displayed more simply and clearly in the album, so that the user can view and manage similar photos in the future, such as deleting some photos to keep shooting. A photo with relatively good results improves the user experience.

参见图4,提出本发明的相册管理装置,所述相册管理装置包括获取模块、分析模块和处理模块。Referring to FIG. 4, an album management apparatus of the present invention is proposed. The album management apparatus includes an acquisition module, an analysis module, and a processing module.

获取模块:用于获取存储于相册中的照片,并发送给分析模块。Get module: used to get the photos stored in the album and send them to the analysis module.

获取模块可以在当前满足预设条件时或接收到用户指令时,对相册进行扫描,逐张获取存储于相册中的照片。所述满足预设条件是指达到预设的时间或时间段、相册中的照片数量达到预设张数、相册中的照片新增数量达到预设张数等。The acquisition module may scan the album when the preset condition is currently met or when receiving the user instruction, and obtain the photos stored in the album one by one. The meeting the preset condition means that the preset time or time period is reached, the number of photos in the album reaches a preset number of sheets, the number of newly added photos in the album reaches a preset number of sheets, and the like.

所述相册是指用于存储照片(包括图片)的存储空间(如文件夹等),可以是终端本地的相册,也可以是云端相册。The album refers to a storage space (such as a folder) for storing photos (including pictures), and may be a local album of the terminal or a cloud album.

分析模块:用于对照片进行解码分析,获取照片的清晰度特征值,并判断清晰度特征值是否小于预设阈值,并发送判断结果给处理模块。The analysis module is configured to perform decoding analysis on the photo, obtain a sharpness feature value of the photo, and determine whether the sharpness feature value is less than a preset threshold, and send the determination result to the processing module.

分析模块对照片进行解码分析,获取照片的清晰度特征值,其实现 方式可以通过硬件解码(即采用DSP芯片进行硬解码)的方式,速度快。也可以采用软件解码的方式,即利用现有的算法进行解码分析。The analysis module decodes and analyzes the photo to obtain the sharpness feature value of the photo, and realizes The method can be decoded by hardware (that is, using a DSP chip for hard decoding), and the speed is fast. Software decoding can also be used, that is, the existing algorithm is used for decoding analysis.

照片清晰度作为图像处理及识别的一个重要指标,在本发明实施例中,可利用图像评价函数来定义所述图片的清晰度特征值。其中,所述利用图像评价函数来定义所述图片的清晰度特征值,可以包括通过算法实现傅立叶变换,利用频谱函数实现对照片清晰度的评价,得到照片清晰度特征值。Photo sharpness is an important indicator of image processing and recognition. In the embodiment of the present invention, an image evaluation function can be used to define the sharpness feature value of the picture. The image evaluation function is used to define the sharpness feature value of the image, which may include implementing a Fourier transform by an algorithm, and using a spectral function to evaluate the image sharpness, and obtaining a photo sharpness feature value.

分析模块:用于获取到用户设置的阈值,如直接输入相应的数值;Analysis module: used to obtain the threshold set by the user, such as directly inputting the corresponding value;

或者,所述分析模块,还用于获取到预设的参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值;比如,可以将所述获取到的该参考照片的清晰度特征值作为阈值。Alternatively, the analyzing module is further configured to obtain a sharpness feature value corresponding to the preset reference photo, and determine the threshold based on the sharpness feature value of the reference photo; for example, the obtained reference may be The sharpness feature value of the photo is used as a threshold.

处理模块:用于根据判断结果,对照片进行相应处理。Processing module: used to process the photo according to the judgment result.

如果判断结果为小于预设阈值,说明该照片的清晰度较低,不符合要求,则自动删除该照片,节省存储空间;或提示用户删除该照片,如弹出对话框,询问用户是否删除,若用户选择是则删除该照片,若用户选择否则保留该照片。如果判断结果为超过预设阈值,说明该照片的清晰度符合要求,则保留该照片。If the judgment result is less than the preset threshold, the resolution of the photo is low, if the requirement is not met, the photo is automatically deleted to save storage space; or the user is prompted to delete the photo, such as a pop-up dialog box asking the user whether to delete, if The user selects to delete the photo, and if the user chooses otherwise, the photo is retained. If the result of the judgment exceeds the preset threshold, indicating that the resolution of the photo meets the requirements, the photo is retained.

在某些实施例中,处理模块:用于如设置第一预设阈值和第二预设阈值,且第一预设阈值小于第二预设阈值。当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。In some embodiments, the processing module is configured to set the first preset threshold and the second preset threshold, and the first preset threshold is less than the second preset threshold. When the clarity feature value of the photo is not less than the first preset threshold and is not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo. When the sharpness feature value of the photo is greater than the second preset threshold, the terminal retains the photo.

从而,本实施例的相册管理装置,通过对相册中的照片进行扫描,获取照片的清晰度特征值,根据清晰度特征值对照片的清晰度进行评估,对于清晰度不符合要求的照片,则自动删除或提示用户删除。从而实现 了自动对相册中的照片进行清晰度管理,可以快速清理相册中质量不佳的模糊照片,无需用户手动一张一张的查看删除,提高了效率,提升了用户体验。Therefore, the album management apparatus of the embodiment obtains the sharpness feature value of the photo by scanning the photo in the album, and evaluates the sharpness of the photo according to the sharpness feature value, and for the photo whose resolution does not meet the requirement, Automatically delete or prompt the user to delete. in order to fulfill Automatically manage the photos in the album, which can quickly clean up the blurred photos in the album, without the need to manually delete them one by one, which improves the efficiency and improves the user experience.

参见图5,提出本发明的相册管理装置第二实施例,本实施例在第一实施例的基础上增加了一拍摄模块,所述拍摄模块用于拍摄照片。Referring to FIG. 5, a second embodiment of the album management apparatus of the present invention is proposed. This embodiment adds a shooting module based on the first embodiment, and the shooting module is used for taking a photo.

本实施例中,获取模块还用于:在拍摄模块拍摄照片的过程中,拍摄模块每拍摄一张照片,则自动获取当前拍摄的照片,并将拍摄的照片发送给分析模块进行分析。以使处理模块根据分析模块的分析结果删除或保存该照片。In this embodiment, the obtaining module is further configured to: when the photographing module takes a photo, the photographing module automatically acquires the currently photographed photograph, and sends the photographed photograph to the analysis module for analysis. So that the processing module deletes or saves the photo according to the analysis result of the analysis module.

从而,使得拍摄时存入相册中的照片都是质量符合要求的照片,避免将模糊的照片存入相册中而占用存储空间,无需用户拍摄完成后再从相册中逐张手动删除,提高了效率,提升了用户体验。Therefore, the photos stored in the album at the time of shooting are all photos with the quality requirements, and the blurred photos are stored in the album to occupy the storage space, and the user is manually deleted from the album after the shooting is completed, thereby improving the efficiency. , improved user experience.

参见图6,提出本发明的相册管理装置第三实施例,上述第一、第二实施例中的相册管理装置实现了对照片的清晰度管理,本实施例在第二实施例的基础上增加了一分类模块,使得相册管理装置还可以进一步对照片进行分类管理。该分类模块用于对相册中的照片进行扫描,获取每张照片的背景特征,将背景特征相同的照片叠加组合为一个照片组。Referring to FIG. 6, a third embodiment of the album management apparatus of the present invention is proposed. The album management apparatus in the first and second embodiments implements the management of the sharpness of the photograph, and the embodiment is added to the second embodiment. A classification module enables the album management device to further classify and manage the photos. The classification module is used to scan the photos in the album, obtain the background features of each photo, and combine the photos with the same background features into one photo group.

分类模块可以在满足预设条件时对相册进行分类管理,如每隔一段时间进行一次管理、相册中的照片数量达到预设张数时进行一次管理、相册中的照片新增数量达到预设张数进行一次管理等等;用户也可以随时发布指令启动分类管理;或者,在用户拍摄完成后,立即对拍摄的照片进行分类管理。The classification module can classify and manage the albums when the preset conditions are met, for example, management is performed once every once time, the number of photos in the album reaches a preset number of times, and the number of photos added in the album reaches the preset sheet. The number is managed once, etc.; the user can also issue an instruction to initiate classification management at any time; or, after the user completes the shooting, classify the photographed photos.

所述背景特征如背景元素特征值,分类模块提取出每张照片的背景元素特征值作为背景特征,基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片 组。The background feature is a background element feature value, and the classification module extracts the background element feature value of each photo as a background feature, and extracts a photo with the same background feature based on the background element feature value comparison; and the extracted background features are the same. Photo overlay is combined into one photo group.

也就是说,在同一个照片组中的至少一张照片均为相同或相似背景下所拍摄的照片。本实施例中不对照片组中包含的照片数量进行限定,可以为一张照片,在当前全部照片中,没有与该照片相同或相似背景的其他照片;或者,可以为两张或两张以上的照片。That is to say, at least one of the photos in the same photo group is a photo taken in the same or similar background. In this embodiment, the number of photos included in the photo group is not limited, and may be one photo. In the current all photos, there are no other photos having the same or similar background as the photo; or, two or more may be used. photo.

其中,所述通过基于背景元素特征值对比,提取背景特征相同的照片可以包括:基于背景元素特征值确定相似度大于预设阈值的照片,所述阈值可以为90%。所述确定相似度可以为两个背景元素特征值中较小的一个背景元素特征值与另一个背景元素特征值做百分比得到相似度。The extracting the photo with the same background feature by using the background element feature value comparison may include: determining a photo with the similarity greater than a preset threshold based on the background element feature value, the threshold may be 90%. The determining the similarity may obtain a similarity between a smaller one of the two background element feature values and a percentage of the other background element feature value.

照片组中叠放于最顶端的照片相当于照片组的封面,分类模块可以从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。The photo stacked on the top of the photo group corresponds to the cover of the photo group, and the classification module can select a photo from the photo group, and use the selected photo as the cover of the folder corresponding to the photo group.

所述选取照片的方式可以包括以下之一:The manner of selecting a photo may include one of the following:

将位于所述照片组中最顶端的照片,作为照片组的封面;The topmost photo in the photo group is used as the cover of the photo group;

可以从所述照片组中随机选择一张照片作为封面;A photo may be randomly selected from the photo group as a cover;

也可以由用户指定一张作为封面It is also possible for the user to specify a cover as a cover.

照片组的显示形式可以不同于其它单张照片,如以边框高亮、边框圆角等形式予以显示。分类模块,还用于在照片组对应的文件夹的第一位置处显示照片数量。其中,所述第一位置处可以为在照片组右下角。如在照片组右下角显示照片数量。当用户点击该照片组时,则自动将叠加的照片展开,这样处理使得相册中显示的照片更加简单清晰,用户查看照片时更加方便。The photo group can be displayed differently from other single photos, such as border highlighting, border rounding, etc. The classification module is further configured to display the number of photos at the first position of the folder corresponding to the photo group. Wherein, the first position may be in the lower right corner of the photo group. For example, the number of photos is displayed in the lower right corner of the photo group. When the user clicks on the photo group, the superimposed photo is automatically expanded, so that the photo displayed in the album is simpler and clearer, and the user is more convenient to view the photo.

从而,本实施例通过对同一背景下所拍摄的照片进行叠加形成照片组,使得照片可以在相册中更加简单明了的展示,方便用户日后查看并对相似的照片进行管理,如删除部分照片保留拍摄效果相对较好的照片, 提高了用户体验。Therefore, the present embodiment forms a photo group by superimposing photos taken in the same background, so that the photo can be displayed more simply and clearly in the album, so that the user can view and manage similar photos in the future, such as deleting some photos to keep shooting. A photo with relatively good results, Improve the user experience.

本发明的相册管理装置,可以是手机、平板、数码相机、个人电脑等终端设备。The album management device of the present invention may be a terminal device such as a mobile phone, a tablet, a digital camera, or a personal computer.

需要说明的是:上述实施例提供的相册管理装置在进行相册管理时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成。另外,上述实施例提供的相册管理装置与相册管理方法实施例属于同一构思,其具体实现过程详见方法实施例,且方法实施例中的技术特征在装置实施例中均对应适用,这里不再赘述。It should be noted that, in the photo album management apparatus provided in the above embodiment, only the division of each functional module is described in the example of the album management. In actual applications, the function assignment may be completed by different functional modules as needed. In addition, the album management device provided by the foregoing embodiment is the same as the embodiment of the album management method, and the specific implementation process is described in detail in the method embodiment, and the technical features in the method embodiment are applicable in the device embodiment. Narration.

本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤可以通过程序来控制相关的硬件完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质可以是ROM/RAM、磁盘、光盘等。It will be understood by those skilled in the art that all or part of the steps of the foregoing embodiments may be implemented by a program to control related hardware, and the program may be stored in a computer readable storage medium, the storage medium. It can be ROM/RAM, magnetic disk, optical disk, and the like.

以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质,可以有多种变型方案实现本发明,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本发明的技术构思之内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。 The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. A person skilled in the art can implement the invention in various variants without departing from the scope and spirit of the invention. For example, the features of one embodiment can be used in another embodiment to obtain a further embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the invention are intended to be included within the scope of the invention.

Claims (20)

  1. 一种相册管理方法,包括步骤:A photo album management method, comprising the steps of:
    获取当前拍摄的照片、或者、获取存储于相册中的照片;Get the currently taken photo, or get the photo stored in the album;
    对所述照片进行解码分析,获取所述照片的清晰度特征值;Decoding and analyzing the photo to obtain a sharpness feature value of the photo;
    当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,所述提示信息用于提示用户删除所述照片。When the clarity feature value is less than a preset threshold, the photo is automatically deleted, or prompt information is output, and the prompt information is used to prompt the user to delete the photo.
  2. 根据权利要求1所述的相册管理方法,其中,所述获取当前拍摄的照片包括:The album management method according to claim 1, wherein the obtaining the currently photographed photo comprises:
    在拍摄过程中,每拍摄一张照片,则获取所述照片。During the shooting, each time a photo is taken, the photo is taken.
  3. 根据权利要求1所述的相册管理方法,其中,所述获取存储于相册中的照片包括:当满足预设条件时或接收到用户指令时,对相册进行扫描,获取存储于相册中的照片。The album management method according to claim 1, wherein the obtaining the photo stored in the album comprises: scanning the album when the preset condition is satisfied or receiving the user instruction, and acquiring the photo stored in the album.
  4. 根据权利要求1所述的相册管理方法,其中,所述方法还包括:The album management method according to claim 1, wherein the method further comprises:
    预设一参考照片,获取到所述参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值。Presetting a reference photo, obtaining a sharpness feature value corresponding to the reference photo, and determining the threshold based on a sharpness feature value of the reference photo.
  5. 根据权利要求1所述的相册管理方法,其中,所述当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,包括:The album management method according to claim 1, wherein the automatically deleting the photo or outputting the prompt information when the sharpness feature value is less than a preset threshold comprises:
    当照片的清晰度特征值小于第一预设阈值时,自动删除该照片;When the sharpness feature value of the photo is less than the first preset threshold, the photo is automatically deleted;
    当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。When the clarity feature value of the photo is not less than the first preset threshold and is not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo.
  6. 根据权利要求5所述的相册管理方法,其中,所述方法还可以包括:The album management method according to claim 5, wherein the method further comprises:
    当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。When the sharpness feature value of the photo is greater than the second preset threshold, the terminal retains the photo.
  7. 根据权利要求1-3任一项所述的相册管理方法,其中,所述方法 还包括:The album management method according to any one of claims 1 to 3, wherein the method Also includes:
    对相册中的照片进行扫描,获取每张照片的背景特征;Scan the photos in the album to get the background features of each photo;
    将背景特征相同的照片叠加组合为一个照片组。Combine photos with the same background features into one photo group.
  8. 根据权利要求7所述的相册管理方法,其中,所述将背景特征相同的照片叠加组合为一个照片组,包括:The album management method according to claim 7, wherein the combining the photo overlays having the same background feature into one photo group comprises:
    提取出每张照片的背景元素特征值作为背景特征,通过基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片组。The background element feature values of each photo are extracted as background features, and the photos with the same background features are extracted by comparing the background element feature values; and the extracted photo features are identically combined into one photo group.
  9. 根据权利要求7所述的相册管理方法,其中,所述方法还包括:The album management method according to claim 7, wherein the method further comprises:
    从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。A photo is selected from the photo group, and the selected photo is used as a cover of a folder corresponding to the photo group.
  10. 根据权利要求7所述的相册管理方法,其中,所述方法还包括:在照片组对应的文件夹的第一位置处显示照片数量。The album management method according to claim 7, wherein the method further comprises: displaying the number of photos at the first position of the folder corresponding to the photo group.
  11. 一种相册管理装置,包括获取模块、分析模块和处理模块,其中:An album management device includes an acquisition module, an analysis module, and a processing module, wherein:
    获取模块,用于获取当前拍摄的照片、或者、获取存储于相册中的照片,并发送给所述分析模块;Obtaining a module, configured to acquire a currently photographed photo, or obtain a photo stored in the photo album, and send the photo to the analysis module;
    分析模块,用于对所述照片进行解码分析,获取所述照片的清晰度特征值,并判断所述清晰度特征值是否小于预设阈值,并发送判断结果给所述处理模块;An analysis module, configured to perform decoding analysis on the photo, obtain a sharpness feature value of the photo, and determine whether the sharpness feature value is less than a preset threshold, and send the determination result to the processing module;
    处理模块,用于当所述清晰度特征值小于预设阈值时,自动删除所述照片、或输出提示信息,所述提示信息用于提示用户删除所述照片。The processing module is configured to automatically delete the photo or output prompt information when the clarity feature value is less than a preset threshold, where the prompt information is used to prompt the user to delete the photo.
  12. 根据权利要求11所述的相册管理装置,其中,所述相册管理装置还包括拍摄模块,所述拍摄模块用于拍摄照片,所述获取模块用于获取所述拍摄模块拍摄的照片。 The album management device according to claim 11, wherein the album management device further includes a photographing module, the photographing module is configured to take a photograph, and the acquiring module is configured to acquire a photograph taken by the photographing module.
  13. 根据权利要求11所述的相册管理装置,其中,所述获取模块用于:当满足预设条件时或接收到用户指令时,对相册进行扫描,获取存储于相册中的照片。The album management device according to claim 11, wherein the acquisition module is configured to scan the album when the preset condition is met or when the user instruction is received, and obtain the photo stored in the album.
  14. 根据权利要求11所述的相册管理装置,其中,分析模块,用于获取到预设的参考照片对应的清晰度特征值,基于所述参考照片的清晰度特征值确定所述阈值。The album management device according to claim 11, wherein the analyzing module is configured to acquire a sharpness feature value corresponding to the preset reference photo, and determine the threshold based on the sharpness feature value of the reference photo.
  15. 根据权利要求11所述的相册管理装置,其中,所述处理模块,还用于当照片的清晰度特征值小于第一预设阈值时,自动删除该照片;当照片的清晰度特征值不小于第一预设阈值、且不大于第二预设阈值时,输出提示信息,所述提示信息用于提示用户删除该照片。The album management device according to claim 11, wherein the processing module is further configured to automatically delete the photo when the sharpness feature value of the photo is smaller than the first preset threshold; when the sharpness feature value of the photo is not less than When the first preset threshold is not greater than the second preset threshold, the prompt information is output, and the prompt information is used to prompt the user to delete the photo.
  16. 根据权利要求15所述的相册管理装置,其中,所述处理模块,还用于当所述照片的清晰度特征值大于第二预设阈值时,终端则保留该照片。The album management device according to claim 15, wherein the processing module is further configured to: when the sharpness feature value of the photo is greater than a second preset threshold, the terminal retains the photo.
  17. 根据权利要求11-13任一项所述的相册管理装置,其中,所述相册管理装置还包括分类模块,所述分类模块用于:对相册中的照片进行扫描,获取每张照片的背景特征,将背景特征相同的照片叠加组合为一个照片组。The album management device according to any one of claims 11 to 13, wherein the album management device further comprises a classification module, wherein the classification module is configured to: scan photos in the album to obtain background features of each photo , combine photo overlays with the same background features into one photo group.
  18. 根据权利要求17所述的相册管理装置,其中,所述分类模块,还用于提取出每张照片的背景元素特征值作为背景特征,通过基于背景元素特征值对比,提取背景特征相同的照片;将提取的背景特征相同的这些所述照片叠加组合为一个照片组。The album management device according to claim 17, wherein the classification module is further configured to extract a background element feature value of each photo as a background feature, and extract a photo with the same background feature by comparing the background element feature values; These photos of the same extracted background features are superimposed into one photo group.
  19. 根据权利要求17所述的相册管理装置,其中,所述分类模块,还用于从所述照片组中选取照片,将选取的所述照片作为所述照片组对应的文件夹的封面。The album management device according to claim 17, wherein the classification module is further configured to select a photo from the photo group, and use the selected photo as a cover of a folder corresponding to the photo group.
  20. 根据权利要求17所述的相册管理装置,其中,所述分类模块, 还用于在照片组对应的文件夹的第一位置处显示照片数量。 The album management device according to claim 17, wherein said classification module, It is also used to display the number of photos at the first position of the folder corresponding to the photo group.
PCT/CN2015/090495 2014-10-29 2015-09-24 Photo album management method and device WO2016065999A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410594374.0A CN104408061B (en) 2014-10-29 2014-10-29 Photograph album management method and device
CN201410594374.0 2014-10-29

Publications (1)

Publication Number Publication Date
WO2016065999A1 true WO2016065999A1 (en) 2016-05-06

Family

ID=52645693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090495 WO2016065999A1 (en) 2014-10-29 2015-09-24 Photo album management method and device

Country Status (2)

Country Link
CN (1) CN104408061B (en)
WO (1) WO2016065999A1 (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408061B (en) * 2014-10-29 2017-03-08 努比亚技术有限公司 Photograph album management method and device
CN104767933B (en) * 2015-03-13 2018-12-21 北京畅游天下网络技术有限公司 A method of having the portable digital equipment and screening photo of camera function
CN104809198B (en) * 2015-04-23 2016-11-09 北京奇虎科技有限公司 Method, device and the terminal unit of picture cleaning
CN106156247B (en) * 2015-04-28 2020-09-15 中兴通讯股份有限公司 Image management method and device
CN105224409A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 A kind of management method of internal memory and device
CN105391940B (en) * 2015-11-05 2019-05-28 华为技术有限公司 A kind of image recommendation method and device
CN105472405B (en) * 2015-12-04 2018-10-02 小米科技有限责任公司 Remind generation method and device
CN105760458A (en) * 2016-02-04 2016-07-13 广东欧珀移动通信有限公司 Picture processing method and electronic equipment
CN105808663B (en) * 2016-02-29 2019-12-03 北京金山安全软件有限公司 A kind of method, apparatus and electronic equipment of image classification
CN105744169A (en) * 2016-03-29 2016-07-06 北京小米移动软件有限公司 Image shooting method and device
CN106055228A (en) * 2016-05-24 2016-10-26 维沃移动通信有限公司 Photo deleting method and mobile terminal
CN107516307A (en) * 2016-06-17 2017-12-26 滴滴(中国)科技有限公司 A kind of processing method and processing device for judging upload pictures definition
CN106155593B (en) * 2016-08-01 2019-09-24 惠州Tcl移动通信有限公司 A kind of method and system for deleting photo based on shooting quality
CN106339496A (en) * 2016-08-31 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for clearing photos
CN106778798A (en) * 2016-11-09 2017-05-31 珠海市魅族科技有限公司 The management control method and device of a kind of photo
CN106777007A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Photograph album Classified optimization method, device and mobile terminal
CN106775332B (en) * 2017-02-07 2020-07-24 珠海市魅族科技有限公司 Picture processing method and picture processing system
CN107343090A (en) * 2017-06-22 2017-11-10 深圳传音通讯有限公司 Image processing method and device
CN107346332A (en) * 2017-06-23 2017-11-14 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107193446B (en) * 2017-07-10 2020-07-10 北京小米移动软件有限公司 Image processing method, device, terminal and storage medium
CN108460065B (en) * 2017-08-17 2020-10-16 腾讯科技(深圳)有限公司 Photo cleaning method and device and terminal equipment
CN107797738B (en) * 2017-09-28 2019-10-15 维沃移动通信有限公司 A kind of preview display method and mobile terminal of picture
CN108009277A (en) * 2017-12-20 2018-05-08 珠海格力电器股份有限公司 A kind of image-erasing method and terminal device
CN108009280B (en) * 2017-12-21 2021-01-01 Oppo广东移动通信有限公司 Picture processing method, device, terminal and storage medium
CN108174093A (en) * 2017-12-28 2018-06-15 努比亚技术有限公司 Method, equipment and the computer of moment image can storage mediums
CN110109878A (en) * 2018-01-10 2019-08-09 广东欧珀移动通信有限公司 Photograph album management method, device, storage medium and electronic equipment
CN108921806B (en) * 2018-08-07 2020-08-07 Oppo广东移动通信有限公司 Image processing method, image processing device and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330941A (en) * 2002-05-08 2003-11-21 Olympus Optical Co Ltd Similar image sorting apparatus
CN102323936A (en) * 2011-08-31 2012-01-18 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically classifying photos
CN102915449A (en) * 2012-09-24 2013-02-06 华南理工大学 Photo classification method
CN103310005A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Thumbnail display method and device
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509285A (en) * 2011-09-28 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Processing method and system for shot fuzzy picture and shooting equipment
CN103049491A (en) * 2012-12-07 2013-04-17 深圳市同洲电子股份有限公司 Method and device for managing picture file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330941A (en) * 2002-05-08 2003-11-21 Olympus Optical Co Ltd Similar image sorting apparatus
CN102323936A (en) * 2011-08-31 2012-01-18 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically classifying photos
CN102915449A (en) * 2012-09-24 2013-02-06 华南理工大学 Photo classification method
CN103310005A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Thumbnail display method and device
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device

Also Published As

Publication number Publication date
CN104408061B (en) 2017-03-08
CN104408061A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
US10146796B2 (en) Method and apparatus for photograph classification and storage
US10346023B2 (en) Selectively emphasizing digital content
CN105763812B (en) Intelligent photographing method and device
JP6123119B2 (en) Method and terminal for associating information
KR101605983B1 (en) Image recomposition using face detection
JP6011470B2 (en) Apparatus, method and program for analyzing preliminary image
JP5877895B2 (en) Video summary including a given person
US8928772B2 (en) Controlling the sharpness of a digital image
EP3125135B1 (en) Picture processing method and device
AU2017261537A1 (en) Automated selection of keeper images from a burst photo captured set
JP5857122B2 (en) Video summary including features of interest
EP1986128B1 (en) Image processing apparatus, imaging apparatus, image processing method, and computer program
JP2014212555A (en) Digital camera and related method
US8532347B2 (en) Generation and usage of attractiveness scores
CN103945129B (en) Take pictures preview composition guidance method and system based on mobile terminal
CN104408061B (en) Photograph album management method and device
US8712160B2 (en) Face recognition through face building from two or more partial face images from the same face
WO2016180224A1 (en) Method and device for processing image of person
KR100679049B1 (en) Photo search method and apparatus by thumbnail providing person and location information
JP5612310B2 (en) User interface for face recognition
JP5388399B2 (en) Method and apparatus for organizing digital media based on face recognition
JP2013225327A (en) Camera user input based image value index
EP1839435B1 (en) Digital image acquisition system with portrait mode
JP2017531950A (en) Method and apparatus for constructing a shooting template database and providing shooting recommendation information
US7869658B2 (en) Representative image selection based on hierarchical clustering

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15854050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 05/07/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15854050

Country of ref document: EP

Kind code of ref document: A1