[go: up one dir, main page]

CN110825897A - Image screening method, device and mobile terminal - Google Patents

Image screening method, device and mobile terminal Download PDF

Info

Publication number
CN110825897A
CN110825897A CN201911042623.4A CN201911042623A CN110825897A CN 110825897 A CN110825897 A CN 110825897A CN 201911042623 A CN201911042623 A CN 201911042623A CN 110825897 A CN110825897 A CN 110825897A
Authority
CN
China
Prior art keywords
image
scoring
images
feature
score
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911042623.4A
Other languages
Chinese (zh)
Inventor
周明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911042623.4A priority Critical patent/CN110825897A/en
Publication of CN110825897A publication Critical patent/CN110825897A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

本发明提供了一种图像筛选方法、装置及移动终端。所述方法包括:获取对拍摄对象进行连续拍摄得到的待筛选图像集;获取与所述待筛选图像集对应的评分特征;从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。本发明可以提高图像筛选的准确性。

Figure 201911042623

The present invention provides an image screening method, device and mobile terminal. The method includes: acquiring a set of images to be screened obtained by continuously photographing a shooting object; acquiring scoring features corresponding to the set of images to be screened; The image features corresponding to the features; according to the scoring features and the image features corresponding to each of the images, score each of the images to obtain a score value for each of the images; The target images whose score values are greater than or equal to the score threshold are selected from the set of images to be screened. The present invention can improve the accuracy of image screening.

Figure 201911042623

Description

图像筛选方法、装置及移动终端Image screening method, device and mobile terminal

技术领域technical field

本发明涉及图像处理技术领域,特别是涉及一种图像筛选方法、装置及移动终端。The present invention relates to the technical field of image processing, and in particular, to an image screening method, device and mobile terminal.

背景技术Background technique

随着移动通信技术的飞速发展,移动终端(如手机等)已经成为人们生活和工作中不可或缺的一部分。随着移动终端配置的不断发展,移动终端的拍照功能越来越强大。With the rapid development of mobile communication technology, mobile terminals (such as mobile phones, etc.) have become an indispensable part of people's life and work. With the continuous development of the configuration of the mobile terminal, the photographing function of the mobile terminal is becoming more and more powerful.

而在用户使用移动终端拍摄到大量的图片时,需要创建回忆视频的图片集合,通常是根据图片的清晰度选取清晰度较高的几幅图片作为创建回忆视频的图片集合。However, when a user uses a mobile terminal to shoot a large number of pictures, a picture set for the recall video needs to be created, usually several pictures with higher definition are selected as the picture set for creating the recall video according to the definition of the pictures.

但是对于不同的人,在不同的需求下,对于同一张图像的主观评价是不同的,例如,在一个光线昏暗的空间中,以同一个角度和姿势拍摄了多张图像,而所拍出来的图像就是需要朦胧不清晰的感觉,但是之前的图像筛选方法只会保留一张最清晰的图像,而现有的仅以清晰度作为图片筛选的标准是比较客观的标准,可能会导致图片的筛选结果不准确。But for different people and under different needs, the subjective evaluation of the same image is different, for example, in a dimly lit space, multiple images are taken at the same angle and pose, and the The image needs to be hazy and unclear, but the previous image screening method will only retain the clearest image, and the existing standard for image screening only based on clarity is a relatively objective standard, which may lead to image screening. The result is inaccurate.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种图像筛选方法、装置及移动终端,以解决现有技术中的图片筛选标准是比较客观的标准,可能会导致图片的筛选结果不准确的问题。Embodiments of the present invention provide an image screening method, device, and mobile terminal to solve the problem that the picture screening criteria in the prior art are relatively objective criteria, which may lead to inaccurate picture screening results.

为了解决上述技术问题,本发明实施例是这样实现的::In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:

第一方面,本发明实施例提供了一种图像筛选方法,包括:获取对拍摄对象进行连续拍摄得到的待筛选图像集;基于所述待筛选图像集,获取配置的评分特征;从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。In a first aspect, an embodiment of the present invention provides an image screening method, including: acquiring a set of images to be screened obtained by continuously shooting a photographic object; acquiring a configured scoring feature based on the set of images to be screened; Extracting image features corresponding to the scoring features from each image in the screening image set; scoring each of the images according to the scoring features and the image features corresponding to each of the images to obtain each of the The scoring value of the image; according to each scoring value, select the target image whose scoring value is greater than or equal to the scoring threshold from the set of images to be screened.

第二方面,本发明实施例提供了一种图像筛选装置,包括:图像集获取模块,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;评分特征获取模块,用于基于所述待筛选图像集,获取配置的评分特征;图像特征提取模块,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;评分值获取模块,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;目标图像筛选模块,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。In a second aspect, an embodiment of the present invention provides an image screening apparatus, including: an image set acquisition module, configured to acquire a set of images to be screened obtained by continuously shooting objects; a scoring feature acquisition module, configured to obtain an image set based on the Screening an image set to obtain configured scoring features; an image feature extraction module for extracting image features corresponding to the scoring features from each image in the image set to be screened; a scoring value acquisition module for The scoring feature and the image feature corresponding to each of the described images are used to score each of the described images to obtain the scoring value of each of the described images; the target image screening module is used to select from the described scoring values according to each of the scoring values. Target images whose score values are greater than or equal to the score threshold are selected from the set of images to be screened.

第三方面,本发明实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述任一项所述的图像筛选方法的步骤。In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor When implementing the steps of the image screening method described in any one of the above.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的图像筛选方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the image screening methods described above is implemented A step of.

在本发明实施例中,通过获取对拍摄对象进行连续拍摄得到的待筛选图像集,获取与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取出与评分特征对应的图像特征,根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值,根据各评分值,从待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。本发明实施例通过结合评分特征对每个图像进行评分,而并非是简单筛选出清晰度较高的图像,从而能够提高图像筛选的准确性。In the embodiment of the present invention, by acquiring the image set to be screened obtained by continuously photographing the shooting object, the scoring feature corresponding to the image set to be screened is obtained, and the score corresponding to the scoring feature is extracted from each image of the image set to be screened. Image features, according to the scoring features and the image features corresponding to each image, score each image to obtain the scoring value of each image, and screen out the image set to be screened according to the scoring value greater than or equal to the scoring threshold. target image. In this embodiment of the present invention, each image is scored by combining scoring features, rather than simply screening out images with higher definition, thereby improving the accuracy of image screening.

附图说明Description of drawings

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

图1a是本发明实施例提供的一种获取待筛选图像集的示意图;FIG. 1a is a schematic diagram of acquiring an image set to be screened according to an embodiment of the present invention;

图1b是本发明实施例提供的一种同类型图像清理功能的示意图;Fig. 1b is a schematic diagram of a same type of image cleaning function provided by an embodiment of the present invention;

图1c是本发明实施例提供的一种自定义筛选条件的示意图;1c is a schematic diagram of a custom screening condition provided by an embodiment of the present invention;

图2是本发明实施例提供的一种图像筛选方法的步骤流程图;2 is a flowchart of steps of an image screening method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种图像筛选方法的步骤流程图;3 is a flowchart of steps of an image screening method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种图像筛选方法的步骤流程图;4 is a flowchart of steps of an image screening method provided by an embodiment of the present invention;

图5是本发明实施例提供的一种图像筛选装置的结构示意图;5 is a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention;

图6是本发明实施例提供的一种图像筛选装置的结构示意图;6 is a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention;

图7是本发明实施例提供的一种图像筛选装置的结构示意图;7 is a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention;

图8是本发明实施例提供的一种图像筛选装置的结构示意图;8 is a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention;

图9是本发明实施例提供的一种图像筛选装置的结构框图。FIG. 9 is a structural block diagram of an image screening apparatus provided by an embodiment of the present invention.

具体实施方式Detailed ways

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

实施例一Example 1

参照图1,示出了本发明实施例提供的一种图像筛选方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1, a flowchart of steps of an image screening method provided by an embodiment of the present invention is shown, which may specifically include the following steps:

步骤101:获取对拍摄对象进行连续拍摄得到的待筛选图像集。Step 101: Acquire a set of images to be screened obtained by continuously photographing the photographing object.

本发明实施例可以应用于终端侧对同类型的图像进行筛选,保留用户想要的图像的方案中。The embodiments of the present invention can be applied to the solution in which the terminal side screens images of the same type and retains the images desired by the user.

终端可以为移动终端,如手机、平板电脑等移动电子设备,也可以为PC(PersonalComputer,个人计算机)端,如台式电脑、笔记本电脑等等。The terminal may be a mobile terminal, such as a mobile electronic device such as a mobile phone and a tablet computer, or a PC (Personal Computer, personal computer) end, such as a desktop computer, a notebook computer, and the like.

拍摄对象是指采集待筛选图像集时对应的对象,待筛选对象可以为人物、盆栽、风景等对象,具体地,可以根据实际情况而定。The shooting object refers to the object corresponding to the collection of the image set to be screened, and the object to be screened may be a person, a potted plant, a landscape, etc., and specifically, it may be determined according to the actual situation.

待筛选图像集是指对拍摄对象进行连续拍摄得到的多个图像组成的图像集,在待筛选图像集中可以包括3个图像、5个图像,或8个图像等等,具体地,可以根据实际情况而定,例如,参照图1a,示出了本发明实施例提供的一种获取待筛选图像集的示意图,如图1a所示,拍摄对象为盆栽,采集拍摄对象可以在不同时间、按照不同的亮度、根据不同清晰度分别采集拍摄对象对应的图像,从而得到与拍摄对象对应的多个图像,多个图像即组成了待筛选图像集。The image set to be screened refers to an image set composed of multiple images obtained by continuously shooting the object. The image set to be screened may include 3 images, 5 images, or 8 images, etc. It depends on the situation. For example, referring to FIG. 1a, a schematic diagram of acquiring an image set to be screened provided by an embodiment of the present invention is shown. As shown in FIG. According to the brightness of the object, the images corresponding to the shooting objects are collected according to different sharpnesses, so as to obtain multiple images corresponding to the shooting objects, and the multiple images constitute the image set to be screened.

待筛选图像集还可以是在启动终端内置的连续拍摄功能,执行连续拍摄得到的多个图像组成的图像集,具体地,可以根据业务需求而定,本发明实施例对此不加以具体限制。The image set to be screened may also be an image set composed of multiple images obtained by starting the continuous shooting function built in the terminal, and specifically, it may be determined according to business requirements, which is not specifically limited in this embodiment of the present invention.

在本发明中,可以预先获取需要清理的待筛选图像集,然后出发对待筛选图像集中的图像进行清理,也可以在用户触发同类型图像清理功能之后,由用户选择一个图像,然后由终端根据用户选择的图像,从相册中保存的图像中获取与所选择图像为同类型的图像,即构成待筛选图像集。In the present invention, the set of images to be screened that needs to be cleaned can be acquired in advance, and then the images in the set of images to be screened can be cleaned up, or after the user triggers the same type of image cleaning function, the user selects an image, and then the terminal according to the user. For the selected image, images of the same type as the selected image are obtained from the images saved in the album, that is, the set of images to be screened is formed.

在获取对拍摄对象进行连续拍摄得到的待筛选图像集之后,执行步骤102。Step 102 is performed after acquiring the set of images to be screened obtained by continuously photographing the object.

步骤102:获取与所述待筛选图像集对应的评分特征。Step 102: Acquire scoring features corresponding to the to-be-screened image set.

评分特征是指预先获取的用于与待筛选图像集中的每个图像进行评分的图像特征。Scoring features refer to pre-acquired image features used for scoring each image in the image set to be screened.

评分特征可以是根据预先存储的最近一段时间内与待筛选图像集对应的拍摄场景下最火的一些图片,从这些图片中提取出的图像特征,如人物姿势、背景、虚化程度、人物角度等等特征。The scoring feature can be the image features extracted from these pictures according to the most popular pictures in the shooting scene corresponding to the image set to be screened in the most recent period of time, such as character pose, background, degree of blurring, character angle and so on features.

评分特征也可以为由用户为待筛选图像集中每个图像自定义的图像特征,例如,用户根据自己想要的特征,如模糊、高亮等,自定义对待筛选图像集的特征。The scoring feature can also be an image feature customized by the user for each image in the image set to be screened. For example, the user can customize the feature of the image set to be screened according to the features he wants, such as blur, highlight, etc.

当然,评分特征还可以为其它形式的与待筛选图像集对应的图像特征,如图像部分区域的特征等等。对于评分特征将在下述方法实施例中分别进行详细描述,本发明实施例在此不再加以赘述。Of course, the scoring feature may also be other forms of image features corresponding to the image set to be screened, such as features of a partial area of the image, and so on. The scoring features will be described in detail in the following method embodiments respectively, and details are not described herein again in the embodiments of the present invention.

在终端系统中可以预先设置“同类型图像清理”功能,例如,参照图1b,示出了本发明实施例提供的一种同类型图像清理功能的示意图,如图1b所示,在用户打开终端相册之后,在该界面内显示有“同类型图像清理”的按钮,用户可以点击该按钮触发对相册中保存的同类型图像执行清洗操作。A “same type of image cleaning” function may be preset in the terminal system. For example, referring to FIG. 1b, a schematic diagram of a same type of image cleaning function provided by an embodiment of the present invention is shown. As shown in FIG. 1b, when the user opens the terminal After the album is displayed, a button of "cleaning up images of the same type" is displayed in the interface, and the user can click this button to trigger the cleaning operation for the images of the same type saved in the album.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在获取待筛选图像集之后,可以获取与待筛选图像集对应的评分特征,对于如何获取评分特征的方式将分别在下述方法实施例中进行详细描述,本发明实施例在此不再加以赘述。After the image set to be screened is obtained, the scoring feature corresponding to the image set to be screened can be obtained, and the method of obtaining the scoring feature will be described in detail in the following method embodiments respectively, which will not be repeated in this embodiment of the present invention.

在获取与待筛选图像集对应的评分特征之后,执行步骤103。Step 103 is performed after obtaining the scoring features corresponding to the image set to be screened.

步骤103:从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征。Step 103: Extract image features corresponding to the scoring features from each image in the to-be-screened image set.

图像特征是指按照预先获取的与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取的图像的特征,例如,在评分特征为人物姿势时,可以从待筛选图像集的每个图像中提取出任务姿势的特征;;而在评分特征为高亮特征时,可以从待筛选图像集的每个图像中提取出高亮图像特征。Image features refer to the image features extracted from each image in the to-be-screened image set according to the pre-acquired scoring features corresponding to the to-be-screened image set. The feature of the task pose is extracted from each image of ; and when the scoring feature is a highlight feature, the highlight image feature can be extracted from each image of the image set to be screened.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

而从待筛选图像集的每个图像中提取与评分特征对应的图像特征的具体实施过程,将在下述方法实施例中分别进行详细描述,本发明实施例在此不再加以赘述。The specific implementation process of extracting image features corresponding to scoring features from each image in the image set to be screened will be described in detail in the following method embodiments, which will not be repeated in the embodiments of the present invention.

在从待筛选图像集的每个图像中提取出与评分特征对应的图像特征之后,执行步骤104。After the image features corresponding to the scoring features are extracted from each image in the image set to be screened, step 104 is performed.

步骤104:根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值。Step 104: Score each of the images according to the scoring features and the image features corresponding to each of the images, to obtain a scoring value of each of the images.

在得到每个图像的图像特征之后,可以按照评分特征对每个图像对应的图像特征进行评分,从而得到每个图像所对应的评分值,例如,评分特征包括A和B,评分特征A对应的图像特征为图像1的特征a,评分特征B对应的图像特征为图像1的特征b,则在对图像1进行评分时,可以按照评分特征A对特征a进行评分,并按照评分特征B对特征b进行评分,然后根据两个特征对应的权重,最后得到图像1的总评分,即图像1的评分值。After the image features of each image are obtained, the image features corresponding to each image can be scored according to the scoring features, so as to obtain the scoring value corresponding to each image. For example, the scoring features include A and B, and the scoring feature A corresponds to The image feature is feature a of image 1, and the image feature corresponding to scoring feature B is feature b of image 1. When scoring image 1, feature a can be scored according to scoring feature A, and feature a can be scored according to scoring feature B. b. Score, and then according to the corresponding weights of the two features, finally get the total score of image 1, that is, the score value of image 1.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的一种如何获取评分值的方案,在实际应用中,本领域技术人员还可以采用其它方式获取图像的评分值,本发明实施例对此不加以限制。It can be understood that the above example is only a solution for obtaining a score value for better understanding of the technical solutions of the embodiments of the present invention. In practical applications, those skilled in the art can also obtain the score of the image in other ways. value, which is not limited in this embodiment of the present invention.

在根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值之后,执行步骤105。Step 105 is performed after each image is scored according to the scoring feature and the image feature corresponding to each image to obtain the scoring value of each image.

步骤105:根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。Step 105 : According to each of the scoring values, screen out the target images whose scoring values are greater than or equal to the scoring threshold from the set of images to be screened.

评分阈值是指由业务人员预先设置的用于保存图像的分值,评分阈值可以为0.5、0.6、0.8等等,具体地,可以根据业务需求而定,本发明实施例对此不加以限制。The scoring threshold refers to a score preset by business personnel for saving images, and the scoring threshold may be 0.5, 0.6, 0.8, etc. Specifically, it may be determined according to business requirements, which is not limited in this embodiment of the present invention.

目标图像是指待筛选图像集中评分值大于或等于评分阈值的图像。The target image refers to the image whose score value is greater than or equal to the score threshold in the image set to be screened.

在得到待筛选图像集中每个图像的评分值之后,可以将待筛选图像集中的每个图像的评分值与评分阈值进行比较,从而可以从待筛选图像集中筛选出评分值大于评分阈值的目标图像,例如,待筛选图像集A中包含图像1、图像2、图像3和图像4,评分阈值为0.5,图像1的评分值为0.4,图像2的评分值为0.8,图像3的评分值为0.9,图像4的评分值为0.5,则A中的目标图像即为图像2和图像3。After obtaining the score value of each image in the image set to be screened, the score value of each image in the image set to be screened can be compared with the score threshold, so that target images with a score value greater than the score threshold can be screened from the image set to be screened , for example, image set A to be screened contains image 1, image 2, image 3 and image 4, the score threshold is 0.5, the score value of image 1 is 0.4, the score value of image 2 is 0.8, and the score value of image 3 is 0.9 , the score value of image 4 is 0.5, then the target images in A are image 2 and image 3.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在从待筛选图像集中筛选出目标图像之后,还可以对目标图像进行保存,并清除其它图像,具体地,结合下述优选实施例进行详细描述。After the target image is screened out from the set of images to be screened, the target image can also be saved and other images are cleared. Specifically, a detailed description is given in conjunction with the following preferred embodiments.

在本发明的一种优选实施例中,在上述步骤105之后,,还可以包括:In a preferred embodiment of the present invention, after the above step 105, it may further include:

步骤S:保存所述目标图像,并删除所述待筛选图像集中除所述目标图像之外的其它图像。Step S: Save the target image, and delete other images in the to-be-screened image set except the target image.

在本发明实施例中,在从待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像之后,可以将目标图像保存于系统相册中,并将待筛选图像集中除目标图像之外的其它图像从相册中清除,例如,待筛选图像集中包含图像a、图像b、图像c、图像d和图像e,其中图像a和图像c为目标图像,则在进行评分之后,可以将图像a和图像c保存于相册中,,并将图像b、图像d和图像e从相册中清除。In this embodiment of the present invention, after a target image whose score value is greater than or equal to the score threshold is selected from the set of images to be screened, the target image can be saved in the system album, and other images other than the target image in the set of images to be screened can be saved. Images are removed from the album. For example, if the image set to be screened contains image a, image b, image c, image d, and image e, where image a and image c are target images, after scoring, image a and image c Save in the album, and clear image b, image d and image e from the album.

本发明实施例能够实现用户根据自定义的要求或云端大数据来对类似的照片打分,根据分数筛选照片,保留自己最想要的照片,删掉其它冗余的照片,节省对系统内存空间的占用。The embodiments of the present invention can enable users to score similar photos according to user-defined requirements or cloud big data, filter photos according to the scores, keep the photos they most want, delete other redundant photos, and save the system memory space. occupied.

本发明实施例提供的图像筛选方法,通过获取对拍摄对象进行连续拍摄得到的待筛选图像集,获取与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取出与评分特征对应的图像特征,根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值,根据各评分值,从待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。本发明实施例通过结合评分特征对每个图像进行评分,而并非是简单筛选出清晰度较高的图像,从而能够提高图像筛选的准确性。In the image screening method provided by the embodiment of the present invention, by acquiring the to-be-screened image set obtained by continuously photographing the shooting object, obtaining the scoring feature corresponding to the to-be-screened image set, and extracting and scoring from each image of the to-be-screened image set The image features corresponding to the features, score each image according to the scoring features and the image features corresponding to each image, and obtain the scoring value of each image. Target image for scoring threshold. In this embodiment of the present invention, each image is scored by combining scoring features, rather than simply screening out images with higher definition, thereby improving the accuracy of image screening.

实施例二Embodiment 2

参照图2,示出了本发明实施例提供的一种图像筛选方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2, a flowchart of steps of an image screening method provided by an embodiment of the present invention is shown, which may specifically include the following steps:

步骤201:获取对拍摄对象进行连续拍摄得到的待筛选图像集。Step 201: Acquire a set of images to be screened obtained by continuously photographing the photographing object.

在本发明实施例中,步骤201的具体实施方式与上述实施例一中步骤101的实施方式相似,具体实施过程可以参照上述对步骤101的描述,本发明实施例在此不再加以赘述。In this embodiment of the present invention, the specific implementation of step 201 is similar to the implementation of step 101 in the above-mentioned first embodiment. For the specific implementation process, reference may be made to the above description of step 101, which is not repeated in this embodiment of the present invention.

步骤202:根据所述待筛选图像集,确定所述拍摄对象对应的拍摄场景。Step 202: Determine a shooting scene corresponding to the shooting object according to the to-be-screened image set.

拍摄场景是指对拍摄对象执行拍照时,得到待筛选图像集的场景,拍摄场景可以包括室内、室外、黑夜、白天等等,具体地,可以根据实际情况而定。The shooting scene refers to the scene in which the to-be-screened image set is obtained when the subject is photographed, and the shooting scene may include indoor, outdoor, night, day, etc., and may specifically be determined according to the actual situation.

在得到待筛选图像集中,可以根据待筛选图像集中的多个图像确定出对拍摄对象进行拍摄时的拍摄场景,例如,如图1a所示,根据待筛选图像集中的三个图像可以得知,拍摄对象(即盆栽)所对应的拍摄场景为室内场景。After obtaining the image set to be screened, the shooting scene when shooting the object can be determined according to a plurality of images in the image set to be screened. For example, as shown in FIG. The shooting scene corresponding to the shooting object (ie, the potted plant) is an indoor scene.

在确定拍摄对象对应的拍摄场景之后,即执行步骤203。After the shooting scene corresponding to the shooting object is determined, step 203 is executed.

步骤203:从预存的图像库中,获取热度值大于热度阈值,且与所述拍摄场景匹配的匹配图像。Step 203 : From a pre-stored image library, obtain a matching image whose heat value is greater than the heat value threshold and matches the shooting scene.

图像库是指预先设置的用于保存图像的数据库,在图像库中保存有多个场景下不同拍摄对象的多个图像。The image library refers to a preset database for storing images, and multiple images of different shooting objects in multiple scenes are stored in the image library.

可以理解地,图像库可以是预先设置于终端侧的数据库,也可以是设置于云端的数据库,具体地,可以根据业务需求而定。It can be understood that the image library may be a database preset on the terminal side, or a database set on the cloud, and specifically, it may be determined according to business requirements.

热度值是指图像的热度属性对应的数值,热度值可以用于表示图像在最近一段时间内的热度属性,即图像受用户喜爱的程度。The hotness value refers to the value corresponding to the hotness attribute of the image, and the hotness value can be used to represent the hotness attribute of the image in a recent period of time, that is, the degree to which the image is liked by the user.

热度阈值是指由业务人员预先设置的用于与图像的热度值对应的阈值,在图像的热度值大于热度阈值时,表示该图像为目前阶段受用户喜爱的程度高,反之,表示该图像在目前阶段内受用户喜爱的程度低。The hotness threshold refers to the threshold corresponding to the hotness value of the image preset by the business personnel. When the hotness value of the image is greater than the hotness threshold, it means that the image is highly favored by users at the current stage. At this stage, it is less popular with users.

匹配图像是指从图像库中获取的热度值大于热度阈值,,且与拍摄场景匹配的图像。A matching image refers to an image whose heat value obtained from the image library is greater than the heat threshold and matches the shooting scene.

在得到拍摄对象对应的拍摄场景之后,可以根据拍摄场景从图像库中获取匹配的多个图像,然后根据多个图像对应的热度值,筛选出热度值大于热度阈值的匹配图像。After obtaining the shooting scene corresponding to the shooting object, a plurality of matching images can be obtained from the image library according to the shooting scene, and then according to the heat value corresponding to the multiple images, matching images with a heat value greater than a heat threshold value are screened out.

在从预存的图像库中获取热度值大于热度阈值、且与拍摄场景匹配的匹配图像之后,执行步骤204。Step 204 is performed after obtaining a matching image from the pre-stored image library whose heat value is greater than the heat value threshold and matches the shooting scene.

步骤204:提取所述匹配图像中的第一评分特征。Step 204: Extract the first scoring feature in the matching image.

第一评分特征是指用于对待筛选图像集中的每个图像进行评分的特征,第一评分特征可以是如人物姿势、背景、虚化程度、人物角度等等特征。The first scoring feature refers to a feature for scoring each image in the image set to be screened, and the first scoring feature may be features such as character pose, background, degree of blurring, character angle, and the like.

在得到与待筛选图像集对应的匹配图像之后,可以从匹配图像中提取出第一评分特征,例如,如图1a所示,在拍摄对象的场景为室内场景时,可以从图像库中获取室内场景下,热度值大于热度阈值的多个匹配图像,然后从这些匹配图像中提取相应的图像特征以作为第一评分特征。After obtaining the matching image corresponding to the image set to be screened, the first scoring feature can be extracted from the matching image. For example, as shown in Fig. 1a, when the scene of the subject is an indoor scene, the indoor scene can be obtained from the image library In the scenario, there are multiple matching images whose heat value is greater than the heat value threshold, and then corresponding image features are extracted from these matching images as the first scoring feature.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在提取匹配图像中的第一评分特征之后,执行步骤205。After extracting the first scoring feature in the matching image, step 205 is performed.

步骤205:从每个所述图像中提取出与所述第一评分特征对应的第一图像特征。Step 205: Extract a first image feature corresponding to the first scoring feature from each of the images.

第一图像特征是指从待筛选图像集的每个图像中提取的与第一评分特征对应的图像特征,例如,在与待筛选图像集对应的第一评分特征为人物姿势时,则可以从待筛选图像集的每个图像中提取出包含人物姿势的第一图像特征;而在于待筛选图像集对应的第一评分特征为背景时,则可以从每个图像中提取出每个图像的背景特征作为第一图像特征。The first image feature refers to the image feature corresponding to the first scoring feature extracted from each image of the to-be-screened image set. For example, when the first scoring feature corresponding to the to-be-screened image set is a person pose, the The first image feature containing the pose of the person is extracted from each image of the image set to be screened; and when the first scoring feature corresponding to the image set to be screened is the background, the background of each image can be extracted from each image feature as the first image feature.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在从匹配图像中提取出与待筛选图像集对应的第一评分特征之后,可以从待筛选图像集的每个图像中提取出与第一评分特征对应的第一图像特征,进而执行步骤206。After the first scoring feature corresponding to the set of images to be screened is extracted from the matching images, the first image feature corresponding to the first scoring feature may be extracted from each image of the set of images to be screened, and then step 206 is performed.

步骤206:将每个所述图像对应的第一图像特征和所述第一评分特征进行比较,得到比较结果。Step 206: Compare the first image feature corresponding to each of the images with the first scoring feature to obtain a comparison result.

在得到第一图像特征和第一评分特征之后,针对待筛选图像中的每个图像,可以将每个图像的第一图像特征和第一评分特征进行比较,从而得到比较结果,例如,图像A的第一图像特征为a和b,对应的第一评分特征分别为特征1和特征2,则可以将a和特征1进行比较,b和特征2进行比较,得到两个结果,作为图像A的比较结果。After obtaining the first image feature and the first scoring feature, for each image in the images to be screened, the first image feature and the first scoring feature of each image can be compared to obtain a comparison result, for example, image A The first image features are a and b, and the corresponding first scoring features are feature 1 and feature 2, respectively, then a and feature 1 can be compared, and b and feature 2 can be compared to obtain two results, which are used as the Comparing results.

在得到比较结果之后,执行步骤207。After the comparison result is obtained, step 207 is executed.

步骤207:根据比较结果,确定每个所述图像的评分值。Step 207: According to the comparison result, determine the score value of each of the images.

在得到比较结果之后,可以按照第一图像特征和第一评分特征的比较结果,确定出每个图像的评分值,可以理解地,对于特征比较得到评分值的技术已经是本领域较为成熟的技术,对于如何根据比较结果确定图像的评分值的具体方式,本发明实施例不再加以详细描述。After the comparison result is obtained, the scoring value of each image can be determined according to the comparison result between the first image feature and the first scoring feature. It is understandable that the technology for obtaining the scoring value by feature comparison is a relatively mature technology in the field. , the specific manner of how to determine the score value of the image according to the comparison result will not be described in detail in this embodiment of the present invention.

当然,在第一评分特征为多个时,第一图像特征同样也为多个,那么在获取评分值时,可以按照各第一图像特征对应的权重,计算得到最终的评分值,例如,第一评分特征为a和b,对应的第一图像特征分别为特征1和特征2,特征1的权重为0.3,特征2的权重为0.5,a和特征1进行比较得到的评分值为0.5,b和特征2进行比较得到的评分值为0.8,那么最终得分即为0.5*0.3+0.5*0.8=0.55。Of course, when there are multiple first scoring features, there are also multiple first image features, then when obtaining the scoring value, the final scoring value can be calculated according to the weight corresponding to each first image feature. A scoring feature is a and b, the corresponding first image features are feature 1 and feature 2 respectively, the weight of feature 1 is 0.3, the weight of feature 2 is 0.5, the score value obtained by comparing a and feature 1 is 0.5, b The score obtained by comparing with feature 2 is 0.8, then the final score is 0.5*0.3+0.5*0.8=0.55.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在具体实现,在存在多个第一图像特征和第一评分特征,计算图像的评分值时,还可以参照其它方式进行计算,本发明实施例对此不加以限制。In specific implementation, when there are multiple first image features and first scoring features, when calculating the scoring value of an image, the calculation may also be performed with reference to other methods, which is not limited in this embodiment of the present invention.

在根据比较结果确定每个图像的评分值之后,执行步骤208。After the rating value of each image is determined according to the comparison result, step 208 is performed.

步骤208:根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。Step 208: According to each of the score values, screen out the target images whose score values are greater than or equal to the score threshold from the set of images to be screened.

在本发明中,步骤208的具体实施方式与上述实施例一中步骤105的实施方式相似,具体实施过程可以参照上述对步骤105的描述,本发明实施例在此不再加以赘述。In the present invention, the specific implementation of step 208 is similar to the implementation of step 105 in the above-mentioned first embodiment, and the specific implementation process can refer to the above description of step 105, which is not repeated in this embodiment of the present invention.

本发明实施例基于大数据对照片的筛选,由于热度较高的图像代表着当前人们的审美观点,能够提高图像评分的准确性。The embodiments of the present invention screen photos based on big data. Since images with high popularity represent current people's aesthetic viewpoints, the accuracy of image scoring can be improved.

本发明实施例提供的图像筛选方法,除了具备上述实施例一提供的图像筛选方法所具备的有益效果外,还可以结合预先存储热度值较高图像的评分特征对每个图像进行评分,可以提高图像评分的实时性和准确性。The image screening method provided by the embodiment of the present invention, in addition to having the beneficial effects of the image screening method provided by the above-mentioned first embodiment, can also combine the pre-stored scoring features of images with higher heat values to score each image, which can improve the Real-time and accurate image scoring.

实施例三Embodiment 3

参照图3,示出了本发明实施例提供的一种图像筛选方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 3, a flowchart of steps of an image screening method provided by an embodiment of the present invention is shown, which may specifically include the following steps:

步骤301:获取对拍摄对象进行连续拍摄得到的待筛选图像集。Step 301: Acquire a set of images to be screened obtained by continuously photographing the photographing object.

在本发明实施例中,步骤301的具体实施方式与上述实施例一中步骤101的实施方式相似,具体实施过程可以参照上述对步骤101的描述,本发明实施例在此不再加以赘述。In this embodiment of the present invention, the specific implementation of step 301 is similar to the implementation of step 101 in the above-mentioned first embodiment, and the specific implementation process can refer to the above description of step 101, which is not repeated in this embodiment of the present invention.

步骤302:获取用户为所述待筛选图像集设置的第二评分特征,及所述第二评分特征对应的第一评分权重。Step 302: Acquire a second scoring feature set by the user for the to-be-screened image set, and a first scoring weight corresponding to the second scoring feature.

第二评分特征是指由用户为待筛选图像集自定义设置的用于对图像进行评分的特征,第二评分特征可以为用户设置的高亮特征、模糊特征等等,具体地,可以根据实际情况而定。The second scoring feature refers to a feature that is customized by the user for the image set to be screened and used to score images. The second scoring feature may be a highlight feature, a blur feature, etc. set by the user. Depends.

第一评分权重是指由用户设置的与第二评分特征对应的权重。The first scoring weight refers to a weight corresponding to the second scoring feature set by the user.

在系统中预先设置有用户自定义特征的功能,在用户执行该功能时,可以设置所需要的第二评分特征,及与第二评分特征对应的第一评分权重,例如,参照图1c,示出了本发明实施例提供的一种自定义筛选条件的示意图,如图1c所示,在用户打开相册,在该界面内显示有“筛选条件”的按钮,用户在获取待筛选图像集之后,可以点击“筛选条件”的按钮,触发自定义筛选条件的功能,然后,用户可以为待筛选图像集设置筛选条件(即第二评分特征),如自动、高亮、昏暗、模糊等特征。A user-defined feature function is preset in the system. When the user executes this function, the required second scoring feature and the first scoring weight corresponding to the second scoring feature can be set. For example, referring to FIG. A schematic diagram of a custom filter condition provided by an embodiment of the present invention is shown. As shown in Figure 1c, when the user opens an album, a button of "filter condition" is displayed in the interface. After the user obtains the image set to be filtered, You can click the "Filter Condition" button to trigger the function of customizing filter conditions. Then, the user can set filter conditions (ie, the second scoring feature) for the image set to be filtered, such as automatic, highlight, dim, blur and other features.

当然,在设置第二评分特征之后,用户还可以为第二评分特征设置相应的第一评分权重。Of course, after setting the second scoring feature, the user may also set a corresponding first scoring weight for the second scoring feature.

在获取用户为待筛选图像集设置的第二评分特征,及第二评分特征对应的第一评分权重之后,执行步骤303。After acquiring the second scoring feature set by the user for the image set to be screened, and the first scoring weight corresponding to the second scoring feature, step 303 is performed.

步骤303:从每个所述图像中提取出与所述第二评分特征对应的第二图像特征。Step 303: Extract a second image feature corresponding to the second scoring feature from each of the images.

第二图像特征是指待筛选图像集的每个图像中与第二评分特征对应的图像特征。The second image feature refers to an image feature corresponding to the second scoring feature in each image of the image set to be screened.

在获取用户为待筛选图像集设置的第二评分特征之后,,可以从待筛选图像集的每个图像中提取与第二评分特征对应的第二图像特征。After acquiring the second scoring feature set by the user for the image set to be screened, a second image feature corresponding to the second scoring feature may be extracted from each image in the image set to be screened.

在从每个图像中提取出第二图像特征之后,执行步骤304。After the second image feature is extracted from each image, step 304 is performed.

步骤304:根据所述第二评分特征,对每个所述图像对应的第二图像特征进行评分,得到每个所述第二图像特征对应的第一初始评分值。Step 304: According to the second scoring feature, score the second image feature corresponding to each of the images to obtain a first initial scoring value corresponding to each of the second image features.

第一初始评分值是指按照第二评分特征对第二图像特征进行评分,得到的评分值。The first initial scoring value refers to a scoring value obtained by scoring the second image feature according to the second scoring feature.

在从每个图像中提取出第二图像特征之后,可以根据第二评分特征对第二图像特征进行评分,从而得到每个第二图像特征对应的第一初始评分值。After the second image feature is extracted from each image, the second image feature may be scored according to the second scoring feature, so as to obtain a first initial scoring value corresponding to each second image feature.

在得到每个第二图像特征对应的第一初始评分值之后,,执行步骤305。After obtaining the first initial score value corresponding to each second image feature, step 305 is performed.

步骤305:根据各所述第一初始评分值和各所述第一评分权重,计算得到每个所述图像的评分值。Step 305: Calculate the score value of each of the images according to each of the first initial score values and each of the first score weights.

在得到每个图像的第二图像特征对应的第一初始评分值,及与每个第二评分特征对应的第一评分权重之后,可以结合每个图像所对应的第一初始评分值和第一评分权重,计算得到每个图像的评分值,例如,图像A对应的第一初始评分值为0.7,第一评分权重为0.8,那么图像A的评分值即为0.7*0.8=0.56。After obtaining the first initial score value corresponding to the second image feature of each image and the first score weight corresponding to each second score feature, the first initial score value corresponding to each image and the first score value can be combined The scoring weight is calculated to obtain the scoring value of each image. For example, the first initial scoring value corresponding to image A is 0.7, and the first scoring weight is 0.8, then the scoring value of image A is 0.7*0.8=0.56.

当然,对于每个图像而言,用户为每个图像设置的第二评分特征可以为多个,那么提取的第二图像特征也应为多个,每个第二评分特征均对应于一个评分权重,在计算时,则按照每个第二图像特征的第一初始评分值和第一评分权重进行计算,例如,用户为图像B设置的第二评分特征为a和b,对应的第一评分权重为0.5和0.6,对应的第二图像特征为特征1和特征2,在采用a对特征1进行评分之后,得到的第一初始评分值为0.8,在采用b对应特征2进行评分之后,得到的第一初始评分值为0.5,那么图像B的最终评分值即为0.5*0.8+0.6*0.5=0.7。Of course, for each image, there can be multiple second scoring features set by the user for each image, so the extracted second image features should also be multiple, and each second scoring feature corresponds to a scoring weight , when calculating, the calculation is performed according to the first initial scoring value and the first scoring weight of each second image feature. For example, the second scoring features set by the user for image B are a and b, and the corresponding first scoring weight are 0.5 and 0.6, and the corresponding second image features are feature 1 and feature 2. After scoring feature 1 with a, the obtained first initial score is 0.8, and after scoring with b corresponding to feature 2, the obtained The first initial score value is 0.5, then the final score value of image B is 0.5*0.8+0.6*0.5=0.7.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

在根据各第一初始评分值和各第一评分权重,计算得到每个图像的评分值之后,执行步骤306。Step 306 is executed after the score value of each image is calculated according to each first initial score value and each first score weight.

步骤306:根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。Step 306 : According to each of the score values, screen out the target images whose score values are greater than or equal to the score threshold from the set of images to be screened.

在本发明中,步骤306的具体实施方式与上述实施例一中步骤105的实施方式相似,具体实施过程可以参照上述对步骤105的描述,本发明实施例在此不再加以赘述。In the present invention, the specific implementation of step 306 is similar to the implementation of step 105 in the above-mentioned first embodiment, and the specific implementation process can refer to the above description of step 105, which is not repeated in this embodiment of the present invention.

本发明实施例结合用户自定义的评分特征,能够增加用户的主观意愿,而并非仅是终端客观的评分,能够尽量保留用户想要保存的图像。The embodiment of the present invention can increase the subjective will of the user by combining the user-defined scoring feature, rather than only the objective scoring of the terminal, and can try to retain the image that the user wants to save.

本发明实施例提供的图像筛选方法,除了具备上述实施例一提供的图像筛选方法所具备的有益效果外,还可以根据用户自定义的评分特征和评分权重对图像进行评分,根据分数筛选图像,从而可以使用户保留想要的图像。The image screening method provided by the embodiment of the present invention, in addition to having the beneficial effects of the image screening method provided in the first embodiment, can also score images according to user-defined scoring features and scoring weights, and screen images according to the scores, Thereby, the user can retain the desired image.

实施例四Embodiment 4

参照图4,示出了本发明实施例提供的一种图像筛选方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 4 , a flowchart of steps of an image screening method provided by an embodiment of the present invention is shown, which may specifically include the following steps:

步骤401:获取对拍摄对象进行连续拍摄得到的待筛选图像集。Step 401: Acquire a set of images to be screened obtained by continuously photographing the photographing object.

在本发明实施例中,步骤401的具体实施方式与上述实施例一中步骤101的实施方式相似,具体实施过程可以参照上述对步骤101的描述,本发明实施例在此不再加以赘述。In this embodiment of the present invention, the specific implementation of step 401 is similar to the implementation of step 101 in the above-mentioned first embodiment. For the specific implementation process, reference may be made to the above description of step 101, which is not repeated in this embodiment of the present invention.

步骤402:获取用户为每个所述图像选择的图像评分区域。Step 402: Obtain the image scoring area selected by the user for each of the images.

图像评分区域是指由用户为待筛选图像集的每个图像选择的用于进行评分的区域,例如,用户将图像的上半部分区域选择为评分区域,则图像的上半部分区域即为图像评分区域;或者用户将图像的左半部分区域选择为评分区域,则图像的左半部分区域即为图像评分区域;当然,图像评分区域还可以是用户所选择的图像中的人物或绿植等对象所处的区域。The image scoring area refers to the area selected by the user for scoring each image in the image set to be screened. For example, if the user selects the upper half of the image as the scoring area, the upper half of the image is the image scoring area; or the user selects the left half of the image as the scoring area, then the left half of the image is the image scoring area; of course, the image scoring area can also be the characters or green plants in the image selected by the user The area where the object is located.

在获取待筛选图像集之后,可以由用户为待筛选图像集中的每个图像选择相应的图像评分区域,可以理解地,用户对待筛选图像集中的每个图像选择的图像评分区域可以为相同的区域,例如,均选择人物所处的区域作为图像评分区域,或者均选择图像的上半部分区域作为图像评分区域等等。After acquiring the image set to be screened, the user can select a corresponding image scoring area for each image in the image set to be screened. It is understood that the image scoring area selected by the user for each image in the image set to be screened can be the same area For example, the region where the person is located is selected as the image scoring region, or the upper half of the image is selected as the image scoring region, and so on.

在获取用户为每个图像选择的图像评分区域之后,执行步骤403。Step 403 is performed after acquiring the image scoring area selected by the user for each image.

步骤403:获取所述用户为每个所述图像评分区域设置的第三评分特征,及所述第三评分特征对应的第二评分权重。Step 403: Acquire a third scoring feature set by the user for each of the image scoring regions, and a second scoring weight corresponding to the third scoring feature.

第三评分特征是指由用户为每个图像评分区域设置的用于进行评分的特征,第三评分特征是用户自定义的特征,可以是如高亮特征、模糊特征等等,具体地,可以根据实际情况而定。The third scoring feature refers to a feature set by the user for scoring each image scoring area, and the third scoring feature is a user-defined feature, which can be a highlight feature, a blur feature, etc. Specifically, it can be It depends on the actual situation.

第二评分权重是指由用户为第三评分特征设置的权重。The second scoring weight refers to the weight set by the user for the third scoring feature.

在获取用户为每个图像选择的图像评分区域之后,还可以由用户为图像评分区域设置相应的第三评分特征,并由用户为第三评分特征设置相应的评分权重。After acquiring the image scoring area selected by the user for each image, the user may also set a corresponding third scoring feature for the image scoring area, and the user may set a corresponding scoring weight for the third scoring feature.

具体地设置过程可以参照上述实施例三中步骤302的描述,本发明实施例在此不再加以赘述。For a specific setting process, reference may be made to the description of step 302 in the third embodiment above, which is not repeated in this embodiment of the present invention.

在获取用户为每个图像评分区域设置的第三评分特征,,及第三评分特征对应的第二评分权重之后,执行步骤404。After acquiring the third scoring feature set by the user for each image scoring region, and the second scoring weight corresponding to the third scoring feature, step 404 is executed.

步骤404:从每个所述图像对应的图像评分区域中,提取出与所述第三评分特征对应的区域图像特征。Step 404: Extract the regional image feature corresponding to the third scoring feature from the image scoring region corresponding to each of the images.

区域图像特征是指每个图像的图像评分区域中与第三评分特征对应的图像特征。The regional image feature refers to the image feature corresponding to the third scoring feature in the image scoring region of each image.

在获取用户为每个图像评分区域设置的第三评分特征,,可以按照第三评分特征从每个图像的图像评分区域中提取出相应的区域图像特征。After acquiring the third scoring feature set by the user for each image scoring region, the corresponding regional image feature may be extracted from the image scoring region of each image according to the third scoring feature.

在从每个图像对应的图像评分区域中,提取出与第三评分特征对应的区域图像特征之后,执行步骤405。Step 405 is executed after the region image feature corresponding to the third scoring feature is extracted from the image scoring region corresponding to each image.

步骤405:针对每个所述图像评分区域,根据所述第三评分特征对所述区域图像特征进行评分,得到第二初始评分值。Step 405: For each of the image scoring regions, score the region image features according to the third scoring feature to obtain a second initial scoring value.

第二初始评分值是指按照第三评分特征对区域图像特征进行打分,而得到的评分值。The second initial scoring value refers to a scoring value obtained by scoring the regional image feature according to the third scoring feature.

在从每个图像对应的图像评分区域中,提取出与第三评分特征对应的区域图像特征之后,针对每个图像的图像评分区域,可以按照该图像评分区域对应的第三评分特征对该图像评分区域对应的区域图像特征进行评分,从而得到第二初始评分值。After extracting the regional image feature corresponding to the third scoring feature from the image scoring region corresponding to each image, for the image scoring region of each image, the image may be scored according to the third scoring feature corresponding to the image scoring region. The region image features corresponding to the scoring region are scored to obtain a second initial scoring value.

在得到第二初始评分值之后,执行步骤406。After the second initial score value is obtained, step 406 is performed.

步骤406:根据所述第二初始评分值和所述第二评分权重,计算得到所述图像评分区域对应的区域评分值,将所述区域评分值作为所述图像的评分值。Step 406 : According to the second initial score value and the second score weight, calculate and obtain the regional score value corresponding to the image scoring region, and use the regional score value as the score value of the image.

区域评分值是指对每个图像的图像评分区域进行评分得到的评分值。The region scoring value refers to the scoring value obtained by scoring the image scoring region of each image.

在得到每个图像的区域图像特征对应的第二初始评分值,及与每个第三评分特征对应的第二评分权重之后,可以结合每个图像对应的第二初始评分值和第二评分权重,计算得到每个图像的评分值,例如,图像A对应的第二初始评分值为0.7,第二评分权重为0.8,那么图像A的评分值即为0.7*0.8=0.56。After obtaining the second initial scoring value corresponding to the regional image feature of each image and the second scoring weight corresponding to each third scoring feature, the second initial scoring value and the second scoring weight corresponding to each image can be combined , and calculate the score value of each image. For example, if the second initial score value corresponding to image A is 0.7 and the second score weight is 0.8, then the score value of image A is 0.7*0.8=0.56.

当然,对于每个图像而言,用户为每个图像的图像评分区域设置的第三评分特征可以为多个,那么提取的区域图像特征也应为多个,每个第三评分特征均对应于一个第二评分权重,在计算时,则按照每个区域图像特征的第二初始评分值和第二评分权重进行计算,例如,用户为图像B设置的第三评分特征为a和b,对应的第二评分权重为0.5和0.6,对应的区域图像特征为特征1和特征2,在采用a对特征1进行评分之后,得到的第二初始评分值为0.8,在采用b对应特征2进行评分之后,得到的第二初始评分值为0.5,那么图像B的最终评分值即为0.5*0.8+0.6*0.5=0.7。Of course, for each image, there may be multiple third scoring features set by the user for the image scoring area of each image, then there should also be multiple extracted regional image features, and each third scoring feature corresponds to A second scoring weight is calculated according to the second initial scoring value and the second scoring weight of the image features of each region. For example, the third scoring features set by the user for image B are a and b, corresponding to The second scoring weights are 0.5 and 0.6, and the corresponding regional image features are feature 1 and feature 2. After scoring feature 1 with a, the obtained second initial scoring value is 0.8. After scoring with b corresponding to feature 2 , the obtained second initial score value is 0.5, then the final score value of image B is 0.5*0.8+0.6*0.5=0.7.

可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not used as the only limitations on the embodiments of the present invention.

当然,对于一个图像而言,也可以包括两个或以上的图像评分区域,那么在得到每个图像评分区域的区域评分值之后,可以将这些区域评分值相加即可得到该图像最终的评分值。Of course, for an image, it can also include two or more image scoring regions, then after obtaining the regional scoring value of each image scoring region, these region scoring values can be added to obtain the final score of the image value.

在根据第二初始评分值和第二评分权重,计算得到图像评分区域对应的区域评分值,将区域评分值作为图像的评分值之后,执行步骤407。After calculating the regional score value corresponding to the image scoring region according to the second initial scoring value and the second scoring weight, and using the regional scoring value as the scoring value of the image, step 407 is performed.

步骤407:根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。Step 407 : According to each of the score values, screen out the target images whose score values are greater than or equal to the score threshold from the set of images to be screened.

在本发明中,步骤407的具体实施方式与上述实施例一中步骤105的实施方式相似,具体实施过程可以参照上述对步骤105的描述,本发明实施例在此不再加以赘述。In the present invention, the specific implementation of step 407 is similar to the implementation of step 105 in the above-mentioned first embodiment, and the specific implementation process can refer to the above description of step 105, which is not repeated in this embodiment of the present invention.

本发明实施例结合用户对图像的部分区域自定义的评分特征,能够增加用户的主观意愿,而并非仅是终端客观的评分,能够尽量保留用户想要保存的图像特征。The embodiment of the present invention combines the user-defined scoring features for a part of the image, which can increase the user's subjective will rather than only the terminal's objective scoring, and can try to retain the image features that the user wants to save.

本发明实施例提供的图像筛选方法,除了具备上述实施例一提供的图像筛选方法所具备的有益效果外,还可以由用户选择图像中需要评分的区域及特征,然后对图像进行评分,能够根据用户的主观意愿选择需要保存的图像,从而可以保留用户想要的图像。The image screening method provided in this embodiment of the present invention, in addition to the beneficial effects of the image screening method provided in the first embodiment, can also allow the user to select regions and features in the image that need to be scored, and then score the image. The user's subjective will selects the image that needs to be saved, so that the user's desired image can be retained.

实施例五Embodiment 5

参照图5,示出了本发明实施例提供的一种图像筛选装置的结构示意图,具体可以包括如下模块:Referring to FIG. 5 , a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention is shown, which may specifically include the following modules:

图像集获取模块510,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;An image set obtaining module 510, configured to obtain a set of images to be screened obtained by continuously shooting the shooting object;

评分特征获取模块520,用于获取与所述待筛选图像集对应的评分特征;a scoring feature obtaining module 520, configured to obtain scoring features corresponding to the to-be-screened image set;

图像特征提取模块530,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;an image feature extraction module 530, configured to extract image features corresponding to the scoring features from each image in the to-be-screened image set;

评分值获取模块540,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;a scoring value obtaining module 540, configured to score each of the images according to the scoring features and the image features corresponding to each of the images, to obtain a scoring value of each of the images;

目标图像筛选模块550,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The target image screening module 550 is configured to screen out target images whose score values are greater than or equal to the score threshold from the set of images to be screened according to each of the score values.

优选地,所述装置还包括:Preferably, the device further comprises:

图像处理模块,用于保存所述目标图像,并删除所述待筛选图像集中除所述目标图像之外的其它图像。An image processing module, configured to save the target image and delete other images except the target image in the set of images to be screened.

本发明实施例提供的图像筛选装置,通过获取对拍摄对象进行连续拍摄得到的待筛选图像集,获取与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取出与评分特征对应的图像特征,根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值,根据各评分值,从待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。本发明实施例通过预先配置的评分特征对每个图像进行评分,而并非是简单筛选出清晰度较高的图像,从而能够提高图像筛选的准确性。The image screening device provided by the embodiment of the present invention obtains the to-be-screened image set obtained by continuously photographing the object, obtains the scoring feature corresponding to the to-be-screened image set, and extracts and scores from each image of the to-be-screened image set. The image features corresponding to the features, score each image according to the scoring features and the image features corresponding to each image, and obtain the scoring value of each image. Target image for scoring threshold. In the embodiment of the present invention, each image is scored by using a preconfigured scoring feature, instead of simply screening out images with higher definition, so that the accuracy of image screening can be improved.

实施例六Embodiment 6

参照图6,示出了本发明实施例提供的一种图像筛选装置的结构示意图,具体可以包括如下模块:Referring to FIG. 6, a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention is shown, which may specifically include the following modules:

图像集获取模块610,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;An image set obtaining module 610, configured to obtain a set of images to be screened obtained by continuously shooting the shooting object;

评分特征获取模块620,用于获取与所述待筛选图像集对应的评分特征;a scoring feature obtaining module 620, configured to obtain scoring features corresponding to the to-be-screened image set;

图像特征提取模块630,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;An image feature extraction module 630, configured to extract image features corresponding to the scoring features from each image of the to-be-screened image set;

评分值获取模块640,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;a scoring value obtaining module 640, configured to score each of the images according to the scoring features and the image features corresponding to each of the images, to obtain a scoring value of each of the images;

目标图像筛选模块650,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The target image screening module 650 is configured to screen out target images whose score values are greater than or equal to the score threshold from the set of images to be screened according to each of the score values.

优选地,所述评分特征获取模块620包括:Preferably, the scoring feature acquisition module 620 includes:

拍摄场景确定子模块621,用于根据所述待筛选图像集,确定所述拍摄对象对应的拍摄场景;A shooting scene determination sub-module 621, configured to determine the shooting scene corresponding to the shooting object according to the to-be-screened image set;

匹配图像获取子模块622,用于从预存的图像库中,获取热度值大于热度阈值,且与所述拍摄场景匹配的匹配图像;A matching image acquisition sub-module 622, configured to acquire, from a pre-stored image library, a matching image whose heat value is greater than the heat threshold and matches the shooting scene;

第一特征提取子模块623,用于提取所述匹配图像中的第一评分特征;The first feature extraction sub-module 623 is used to extract the first scoring feature in the matching image;

所述图像特征提取模块630包括:The image feature extraction module 630 includes:

第一图像特征提取子模块631,用于从每个所述图像中提取出与所述第一评分特征对应的第一图像特征;The first image feature extraction sub-module 631 is used to extract the first image feature corresponding to the first scoring feature from each of the images;

所述评分值获取模块640包括:The scoring value obtaining module 640 includes:

比较结果获取子模块641,用于将每个所述图像对应的第一图像特征和所述第一评分特征进行比较,得到比较结果;The comparison result acquisition sub-module 641 is used to compare the first image feature corresponding to each of the images with the first scoring feature to obtain a comparison result;

第一评分获取子模块642,用于根据比较结果,确定每个所述图像的评分值。The first score obtaining sub-module 642 is configured to determine the score value of each of the images according to the comparison result.

本发明实施例提供的图像筛选装置的,除了具备上述实施例五提供的图像筛选装置所具备的有益效果外,还可以结合预先存储热度值较高图像的评分特征对每个图像进行评分,可以提高图像评分的实时性和准确性。In addition to the beneficial effects of the image screening device provided in the fifth embodiment of the present invention, the image screening device provided by the embodiment of the present invention can also score each image in combination with the scoring feature of pre-stored images with higher heat values. Improve the real-time and accuracy of image scoring.

实施例七Embodiment 7

参照图7,示出了本发明实施例提供的一种图像筛选装置的结构示意图,具体可以包括如下模块:Referring to FIG. 7 , a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention is shown, which may specifically include the following modules:

图像集获取模块710,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;An image set obtaining module 710, configured to obtain a set of images to be screened obtained by continuously shooting the shooting object;

评分特征获取模块720,用于获取与所述待筛选图像集对应的评分特征;a scoring feature obtaining module 720, configured to obtain scoring features corresponding to the to-be-screened image set;

图像特征提取模块730,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;An image feature extraction module 730, configured to extract an image feature corresponding to the scoring feature from each image of the to-be-screened image set;

评分值获取模块740,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;a scoring value obtaining module 740, configured to score each of the images according to the scoring features and the image features corresponding to each of the images, to obtain a scoring value of each of the images;

目标图像筛选模块750,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The target image screening module 750 is configured to screen out target images whose score values are greater than or equal to a score threshold from the set of images to be screened according to each of the score values.

优选地,所述评分特征获取模块720包括:Preferably, the scoring feature acquisition module 720 includes:

第二特征设置子模块721,用于获取用户为所述待筛选图像集设置的第二评分特征,及所述第二评分特征对应的第一评分权重;The second feature setting sub-module 721 is configured to acquire the second scoring feature set by the user for the to-be-screened image set, and the first scoring weight corresponding to the second scoring feature;

所述图像特征提取模块730包括:The image feature extraction module 730 includes:

第二图像特征提取子模块731,用于从每个所述图像中提取出与所述第二评分特征对应的第二图像特征;A second image feature extraction sub-module 731, configured to extract a second image feature corresponding to the second scoring feature from each of the images;

所述评分值获取模块740包括:The scoring value obtaining module 740 includes:

第一初始评分获取子模块741,用于根据所述第二评分特征,对每个所述图像对应的第二图像特征进行评分,得到每个所述第二图像特征对应的第一初始评分值;The first initial score acquisition sub-module 741 is configured to score the second image features corresponding to each of the images according to the second scoring features, and obtain a first initial score value corresponding to each of the second image features ;

第二评分获取子模块742,用于根据各所述第一初始评分值和各所述第一评分权重,计算得到每个所述图像的评分值。The second score obtaining sub-module 742 is configured to calculate and obtain the score value of each of the images according to each of the first initial score values and each of the first score weights.

本发明实施例提供的图像筛选装置,除了具备上述实施例五提供的图像筛选装置所具备的有益效果外,还可以根据用户自定义的评分特征和评分权重对图像进行评分,根据分数筛选图像,从而可以使用户保留想要的图像。In addition to the beneficial effects of the image screening device provided in the fifth embodiment of the present invention, the image screening device provided by the embodiment of the present invention can also score images according to user-defined scoring features and scoring weights, and screen images according to the scores. Thereby, the user can retain the desired image.

实施例八Embodiment 8

参照图8,示出了本发明实施例提供的一种图像筛选装置的结构示意图,具体可以包括如下模块:Referring to FIG. 8, a schematic structural diagram of an image screening apparatus provided by an embodiment of the present invention is shown, which may specifically include the following modules:

图像集获取模块810,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;An image set obtaining module 810, configured to obtain a set of images to be screened obtained by continuously shooting the shooting object;

评分特征获取模块820,用于获取与所述待筛选图像集对应的评分特征;a scoring feature obtaining module 820, configured to obtain scoring features corresponding to the to-be-screened image set;

图像特征提取模块830,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;An image feature extraction module 830, configured to extract image features corresponding to the scoring features from each image in the to-be-screened image set;

评分值获取模块840,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;a scoring value obtaining module 840, configured to score each of the images according to the scoring features and the image features corresponding to each of the images, to obtain a scoring value of each of the images;

目标图像筛选模块850,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The target image screening module 850 is configured to screen out target images whose score values are greater than or equal to a score threshold from the set of images to be screened according to each of the score values.

优选地,所述评分特征获取模块820包括:Preferably, the scoring feature acquisition module 820 includes:

评分区域设置子模块821,用于获取用户为每个所述图像选择的图像评分区域;The scoring area setting sub-module 821 is used to obtain the image scoring area selected by the user for each of the images;

第三特征提取子模块822,用于获取所述用户为每个所述图像评分区域设置的第三评分特征,及所述第三评分特征对应的第二评分权重;A third feature extraction sub-module 822, configured to obtain a third scoring feature set by the user for each of the image scoring regions, and a second scoring weight corresponding to the third scoring feature;

所述图像特征提取模块830包括:The image feature extraction module 830 includes:

区域特征提取子模块831,用于从每个所述图像对应的图像评分区域中,提取出与所述第三评分特征对应的区域图像特征;The regional feature extraction sub-module 831 is used to extract the regional image feature corresponding to the third scoring feature from the image scoring region corresponding to each of the images;

所述评分值获取模块840包括:The scoring value obtaining module 840 includes:

第二初始评分获取子模块841,用于针对每个所述图像评分区域,根据所述第三评分特征对所述区域图像特征进行评分,得到第二初始评分值;The second initial score obtaining sub-module 841 is configured to, for each of the image scoring regions, score the image features of the region according to the third scoring feature to obtain a second initial scoring value;

第三评分获取子模块842,用于根据所述第二初始评分值和所述第二评分权重,计算得到所述图像评分区域对应的区域评分值,将所述区域评分值作为所述图像的评分值。The third score obtaining sub-module 842 is configured to calculate and obtain the regional score value corresponding to the image score region according to the second initial score value and the second score weight, and use the regional score value as the score of the image. rating value.

本发明实施例提供的图像筛选装置,除了具备上述实施例五提供的图像筛选方装置所具备的有益效果外,还可以由用户选择图像中需要评分的区域及特征,然后对图像进行评分,能够根据用户的主观意愿选择需要保存的图像,从而可以保留用户想要的图像。In addition to the beneficial effects of the image screening device provided in the fifth embodiment of the present invention, the image screening device provided by the embodiment of the present invention can also allow the user to select regions and features in the image that need to be scored, and then score the image, which can The image to be saved is selected according to the user's subjective wishes, so that the image desired by the user can be retained.

实施例九Embodiment 9

参照图9,为实现本发明各个实施例的一种移动终端的硬件结构示意图。Referring to FIG. 9 , it is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention.

该移动终端900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 9 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

处理器910,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;获取与所述待筛选图像集对应的评分特征;从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The processor 910 is configured to obtain a set of images to be screened obtained by continuously photographing the object; obtain scoring features corresponding to the set of images to be screened; and extract from each image of the set of images to be screened The image features corresponding to the scoring features; according to the scoring features and the image features corresponding to each of the images, score each of the images to obtain a scoring value of each of the images; according to the scoring values, from The target images whose score value is greater than or equal to the score threshold value are selected from the set of images to be screened.

在本发明实施例中,通过获取对拍摄对象进行连续拍摄得到的待筛选图像集,获取与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取出与评分特征对应的图像特征,根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值,根据各评分值,从待筛选图像集中筛选出评分值大于评分阈值的目标图像。本发明实施例通过预先配置的评分特征对每个图像进行评分,而并非是简单筛选出清晰度较高的图像,从而能够提高图像筛选的准确性。In the embodiment of the present invention, by acquiring the image set to be screened obtained by continuously photographing the shooting object, the scoring feature corresponding to the image set to be screened is obtained, and the score corresponding to the scoring feature is extracted from each image of the image set to be screened. Image features: According to the scoring features and the image features corresponding to each image, score each image to obtain the scoring value of each image, and screen out the target image whose score value is greater than the scoring threshold from the image set to be screened according to each scoring value. . In the embodiment of the present invention, each image is scored by using a preconfigured scoring feature, instead of simply screening out images with higher definition, so that the accuracy of image screening can be improved.

应理解的是,本发明实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 901 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; The uplink data is sent to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 902, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与移动终端900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into audio signals and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the mobile terminal 900 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.

输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 906 . The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902 . The microphone 9042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.

移动终端900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在移动终端900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 9061 and the proximity sensor when the mobile terminal 900 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The display unit 906 is used to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元907可用于接收输入的数字或字符信息,,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 907 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072 . The touch panel 9071, also referred to as a touch screen, can collect touch operations by the user on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 9071). operate). The touch panel 9071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 910, the command sent by the processor 910 is received and executed. In addition, the touch panel 9071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 9071 , the user input unit 907 may also include other input devices 9072 . Specifically, other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 9071 can be overlaid on the display panel 9061. When the touch panel 9071 detects a touch operation on or near it, it transmits it to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 9061. Although in FIG. 9, the touch panel 9071 and the display panel 9061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元908为外部装置与移动终端900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端900内的一个或多个元件或者可以用于在移动终端900和外部装置之间传输数据。The interface unit 908 is an interface for connecting an external device to the mobile terminal 900 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 908 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 900 or may be used between the mobile terminal 900 and the external Transfer data between devices.

存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器910是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 909, and calls the data stored in the memory 909. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 910.

移动终端900还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 900 may also include a power supply 911 (such as a battery) for supplying power to various components. Preferably, the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端900包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 900 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述图像筛选方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 910 , a memory 909 , a computer program stored in the memory 909 and running on the processor 910 , when the computer program is executed by the processor 910 The various processes of the above image screening method embodiments are implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像筛选方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above image screening method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (12)

1.一种图像筛选方法,其特征在于,包括:1. an image screening method, is characterized in that, comprises: 获取对拍摄对象进行连续拍摄得到的待筛选图像集;Obtain a set of images to be screened obtained by continuously shooting the subject; 获取与所述待筛选图像集对应的评分特征;obtaining the scoring feature corresponding to the set of images to be screened; 从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;extracting image features corresponding to the scoring features from each image of the to-be-screened image set; 根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;According to the scoring feature and the image feature corresponding to each of the images, scoring each of the images to obtain a scoring value of each of the images; 根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。According to each of the scoring values, a target image with a scoring value greater than or equal to a scoring threshold is selected from the set of images to be screened. 2.根据权利要求1所述的方法,其特征在于,所述获取与所述待筛选图像集对应的评分特征的步骤,包括:2. The method according to claim 1, wherein the step of acquiring the scoring feature corresponding to the set of images to be screened comprises: 根据所述待筛选图像集,确定所述拍摄对象对应的拍摄场景;determining the shooting scene corresponding to the shooting object according to the to-be-screened image set; 从预存的图像库中,获取热度值大于热度阈值,且与所述拍摄场景匹配的匹配图像;From a pre-stored image library, obtain a matching image whose heat value is greater than the heat value threshold and matches the shooting scene; 提取所述匹配图像中的第一评分特征;extracting the first scoring feature in the matched image; 所述从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征的步骤,包括:The step of extracting image features corresponding to the scoring features from each image in the set of images to be screened includes: 从每个所述图像中提取出与所述第一评分特征对应的第一图像特征;extracting a first image feature corresponding to the first scoring feature from each of the images; 所述根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值的步骤,包括:The step of scoring each of the images according to the scoring features and the image features corresponding to each of the images, and obtaining the scoring value of each of the images, includes: 将每个所述图像对应的第一图像特征和所述第一评分特征进行比较,得到比较结果;Comparing the first image feature corresponding to each of the images with the first scoring feature to obtain a comparison result; 根据比较结果,确定每个所述图像的评分值。Based on the comparison results, a rating value for each of the images is determined. 3.根据权利要求1所述的方法,其特征在于,所述获取与所述待筛选图像集对应的评分特征的步骤,包括:3. The method according to claim 1, wherein the step of acquiring the scoring feature corresponding to the set of images to be screened comprises: 获取用户为所述待筛选图像集设置的第二评分特征,及所述第二评分特征对应的第一评分权重;Acquiring the second scoring feature set by the user for the to-be-screened image set, and the first scoring weight corresponding to the second scoring feature; 所述从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征的步骤,包括:The step of extracting image features corresponding to the scoring features from each image of the to-be-screened image set includes: 从每个所述图像中提取出与所述第二评分特征对应的第二图像特征;extracting a second image feature corresponding to the second scoring feature from each of the images; 所述根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值的步骤,包括:The step of scoring each of the images according to the scoring features and the image features corresponding to each of the images, and obtaining the scoring value of each of the images, includes: 根据所述第二评分特征,对每个所述图像对应的第二图像特征进行评分,得到每个所述第二图像特征对应的第一初始评分值;According to the second scoring feature, scoring the second image feature corresponding to each of the images to obtain a first initial scoring value corresponding to each of the second image features; 根据各所述第一初始评分值和各所述第一评分权重,计算得到每个所述图像的评分值。According to each of the first initial score values and each of the first score weights, a score value of each of the images is calculated. 4.根据权利要求1所述的方法,其特征在于,所述获取与所述待筛选图像集对应的评分特征的步骤,包括:4. The method according to claim 1, wherein the step of acquiring the scoring feature corresponding to the set of images to be screened comprises: 获取用户为每个所述图像选择的图像评分区域;obtaining an image scoring area selected by the user for each of said images; 获取所述用户为每个所述图像评分区域设置的第三评分特征,及所述第三评分特征对应的第二评分权重;Obtain the third scoring feature set by the user for each of the image scoring regions, and the second scoring weight corresponding to the third scoring feature; 所述从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征的步骤,包括:The step of extracting image features corresponding to the scoring features from each image in the set of images to be screened includes: 从每个所述图像对应的图像评分区域中,提取出与所述第三评分特征对应的区域图像特征;From the image scoring region corresponding to each of the images, extracting the region image feature corresponding to the third scoring feature; 所述根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值的步骤,包括:The step of scoring each of the images according to the scoring features and the image features corresponding to each of the images, and obtaining the scoring value of each of the images, includes: 针对每个所述图像评分区域,根据所述第三评分特征对所述区域图像特征进行评分,得到第二初始评分值;For each of the image scoring regions, the region image features are scored according to the third scoring feature to obtain a second initial scoring value; 根据所述第二初始评分值和所述第二评分权重,计算得到所述图像评分区域对应的区域评分值,将所述区域评分值作为所述图像的评分值。According to the second initial scoring value and the second scoring weight, a regional scoring value corresponding to the image scoring region is calculated and obtained, and the regional scoring value is used as the scoring value of the image. 5.根据权利要求1所述的方法,其特征在于,在所述根据各所述评分值,从所述待筛选图像集中筛选出评分值大于评分阈值的目标图像的步骤之后,还包括:5. The method according to claim 1, characterized in that, after the step of screening out target images with a score value greater than a score threshold from the set of images to be screened according to each of the score values, further comprising: 保存所述目标图像,并删除所述待筛选图像集中除所述目标图像之外的其它图像。The target image is saved, and other images other than the target image in the set of images to be screened are deleted. 6.一种图像筛选装置,其特征在于,包括:6. An image screening device, comprising: 图像集获取模块,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;an image set acquisition module, used for acquiring the to-be-screened image set obtained by continuously shooting the shooting object; 评分特征获取模块,用于获取与所述待筛选图像集对应的评分特征;a scoring feature acquisition module, configured to obtain scoring features corresponding to the to-be-screened image set; 图像特征提取模块,用于从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;an image feature extraction module for extracting image features corresponding to the scoring features from each image in the to-be-screened image set; 评分值获取模块,用于根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;a scoring value acquisition module, configured to score each of the images according to the scoring feature and the image feature corresponding to each of the images, to obtain a scoring value of each of the images; 目标图像筛选模块,用于根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。A target image screening module, configured to screen out target images with a score greater than or equal to a score threshold from the set of images to be screened according to each of the score values. 7.根据权利要求6所述的装置,其特征在于,所述评分特征获取模块包括:7. The device according to claim 6, wherein the scoring feature acquisition module comprises: 拍摄场景确定子模块,用于根据所述待筛选图像集,确定所述拍摄对象对应的拍摄场景;a shooting scene determination submodule, configured to determine the shooting scene corresponding to the shooting object according to the to-be-screened image set; 匹配图像获取子模块,用于从预存的图像库中,获取热度值大于热度阈值,且与所述拍摄场景匹配的匹配图像;A matching image acquisition sub-module, used for acquiring a matching image whose heat value is greater than the heat value threshold and matches the shooting scene from a pre-stored image library; 第一特征提取子模块,用于提取所述匹配图像中的第一评分特征;a first feature extraction submodule for extracting the first scoring feature in the matching image; 所述图像特征提取模块包括:The image feature extraction module includes: 第一图像特征提取子模块,用于从每个所述图像中提取出与所述第一评分特征对应的第一图像特征;a first image feature extraction sub-module for extracting a first image feature corresponding to the first scoring feature from each of the images; 所述评分值获取模块包括:The scoring value acquisition module includes: 比较结果获取子模块,用于将每个所述图像对应的第一图像特征和所述第一评分特征进行比较,得到比较结果;a comparison result acquisition submodule, configured to compare the first image feature corresponding to each of the images with the first scoring feature to obtain a comparison result; 第一评分获取子模块,用于根据比较结果,确定每个所述图像的评分值。The first score acquisition sub-module is configured to determine the score value of each of the images according to the comparison result. 8.根据权利要求6所述的装置,其特征在于,所述评分特征获取模块包括:8. The apparatus according to claim 6, wherein the scoring feature acquisition module comprises: 第二特征设置子模块,用于获取用户为所述待筛选图像集设置的第二评分特征,及所述第二评分特征对应的第一评分权重;The second feature setting submodule is used to obtain the second scoring feature set by the user for the to-be-screened image set, and the first scoring weight corresponding to the second scoring feature; 所述图像特征提取模块包括:The image feature extraction module includes: 第二图像特征提取子模块,用于从每个所述图像中提取出与所述第二评分特征对应的第二图像特征;A second image feature extraction submodule, configured to extract a second image feature corresponding to the second scoring feature from each of the images; 所述评分值获取模块包括:The scoring value acquisition module includes: 第一初始评分获取子模块,用于根据所述第二评分特征,对每个所述图像对应的第二图像特征进行评分,得到每个所述第二图像特征对应的第一初始评分值;a first initial score acquisition sub-module, configured to score the second image feature corresponding to each of the images according to the second scoring feature, to obtain a first initial score value corresponding to each of the second image features; 第二评分获取子模块,用于根据各所述第一初始评分值和各所述第一评分权重,计算得到每个所述图像的评分值。The second score obtaining sub-module is configured to calculate and obtain the score value of each of the images according to each of the first initial score values and each of the first score weights. 9.根据权利要求6所述的装置,其特征在于,所述评分特征获取模块包括:9. The apparatus according to claim 6, wherein the scoring feature acquisition module comprises: 评分区域设置子模块,用于获取用户为每个所述图像选择的图像评分区域;A scoring area setting sub-module for obtaining the image scoring area selected by the user for each of the images; 第三特征提取子模块,用于获取所述用户为每个所述图像评分区域设置的第三评分特征,及所述第三评分特征对应的第二评分权重;A third feature extraction sub-module, configured to obtain a third scoring feature set by the user for each of the image scoring regions, and a second scoring weight corresponding to the third scoring feature; 所述图像特征提取模块包括:The image feature extraction module includes: 区域特征提取子模块,用于从每个所述图像对应的图像评分区域中,提取出与所述第三评分特征对应的区域图像特征;a regional feature extraction submodule for extracting regional image features corresponding to the third scoring feature from the image scoring region corresponding to each of the images; 所述评分值获取模块包括:The scoring value acquisition module includes: 第二初始评分获取子模块,用于针对每个所述图像评分区域,根据所述第三评分特征对所述区域图像特征进行评分,得到第二初始评分值;A second initial score obtaining sub-module is configured to, for each of the image scoring regions, score the image features of the region according to the third scoring feature to obtain a second initial scoring value; 第三评分获取子模块,用于根据所述第二初始评分值和所述第二评分权重,计算得到所述图像评分区域对应的区域评分值,将所述区域评分值作为所述图像的评分值。A third score acquisition sub-module, configured to calculate and obtain the regional score value corresponding to the image score region according to the second initial score value and the second score weight, and use the regional score value as the score of the image value. 10.根据权利要求6所述的装置,其特征在于,所述装置还包括:10. The apparatus of claim 6, wherein the apparatus further comprises: 图像处理模块,用于保存所述目标图像,并删除所述待筛选图像集中除所述目标图像之外的其它图像。An image processing module, configured to save the target image and delete other images except the target image in the set of images to be screened. 11.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的图像筛选方法的步骤。11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the image screening method of any one of claims 1 to 5. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的图像筛选方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the image according to any one of claims 1 to 5 is realized Steps of the screening method.
CN201911042623.4A 2019-10-29 2019-10-29 Image screening method, device and mobile terminal Pending CN110825897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911042623.4A CN110825897A (en) 2019-10-29 2019-10-29 Image screening method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911042623.4A CN110825897A (en) 2019-10-29 2019-10-29 Image screening method, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN110825897A true CN110825897A (en) 2020-02-21

Family

ID=69551327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911042623.4A Pending CN110825897A (en) 2019-10-29 2019-10-29 Image screening method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN110825897A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037185A (en) * 2020-08-21 2020-12-04 湖南自兴智慧医疗科技有限公司 Chromosome split phase image screening method and device and terminal equipment
CN112884124A (en) * 2021-02-24 2021-06-01 中国工商银行股份有限公司 Neural network training method and device, and image processing method and device
CN113393523A (en) * 2021-06-04 2021-09-14 上海蓝色帛缔智能工程有限公司 Method and device for automatically monitoring computer room image and electronic equipment
CN113472996A (en) * 2020-03-31 2021-10-01 华为技术有限公司 Picture transmission method and device
CN114120003A (en) * 2021-11-30 2022-03-01 Oppo广东移动通信有限公司 Evaluation method, apparatus, computer storage medium and terminal equipment
CN115209052A (en) * 2022-07-08 2022-10-18 维沃移动通信(深圳)有限公司 Image screening method and device, electronic equipment and storage medium
CN118965496A (en) * 2024-07-17 2024-11-15 草图里(广州)科技有限公司 A deep learning-based architectural design system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361109A (en) * 2014-11-27 2015-02-18 北京奇虎科技有限公司 Method and device for determining picture screening result
US20150286898A1 (en) * 2014-04-04 2015-10-08 Wei Di Image evaluation
CN106469199A (en) * 2016-08-31 2017-03-01 福建天晴数码有限公司 Method and system recommended by a kind of interactive mode picture
CN108628985A (en) * 2018-04-27 2018-10-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of photograph album
CN108989555A (en) * 2018-07-10 2018-12-11 Oppo广东移动通信有限公司 Image processing method and related product
CN109902189A (en) * 2018-11-30 2019-06-18 华为技术有限公司 A kind of picture selection method and related equipment
CN110222219A (en) * 2019-04-30 2019-09-10 厦门一品威客网络科技股份有限公司 A kind of interactive image recommendation method, apparatus, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150286898A1 (en) * 2014-04-04 2015-10-08 Wei Di Image evaluation
CN104361109A (en) * 2014-11-27 2015-02-18 北京奇虎科技有限公司 Method and device for determining picture screening result
CN106469199A (en) * 2016-08-31 2017-03-01 福建天晴数码有限公司 Method and system recommended by a kind of interactive mode picture
CN108628985A (en) * 2018-04-27 2018-10-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of photograph album
CN108989555A (en) * 2018-07-10 2018-12-11 Oppo广东移动通信有限公司 Image processing method and related product
CN109902189A (en) * 2018-11-30 2019-06-18 华为技术有限公司 A kind of picture selection method and related equipment
CN110222219A (en) * 2019-04-30 2019-09-10 厦门一品威客网络科技股份有限公司 A kind of interactive image recommendation method, apparatus, computer equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472996B (en) * 2020-03-31 2022-11-22 华为技术有限公司 Picture transmission method and device
CN113472996A (en) * 2020-03-31 2021-10-01 华为技术有限公司 Picture transmission method and device
CN112037185A (en) * 2020-08-21 2020-12-04 湖南自兴智慧医疗科技有限公司 Chromosome split phase image screening method and device and terminal equipment
CN112037185B (en) * 2020-08-21 2023-09-05 湖南自兴智慧医疗科技有限公司 Chromosome splitting phase image screening method and device and terminal equipment
CN112884124A (en) * 2021-02-24 2021-06-01 中国工商银行股份有限公司 Neural network training method and device, and image processing method and device
CN113393523A (en) * 2021-06-04 2021-09-14 上海蓝色帛缔智能工程有限公司 Method and device for automatically monitoring computer room image and electronic equipment
CN113393523B (en) * 2021-06-04 2023-03-14 上海蓝色帛缔智能工程有限公司 Method and device for automatically monitoring computer room image and electronic equipment
CN114120003A (en) * 2021-11-30 2022-03-01 Oppo广东移动通信有限公司 Evaluation method, apparatus, computer storage medium and terminal equipment
CN114120003B (en) * 2021-11-30 2025-04-08 Oppo广东移动通信有限公司 Evaluation method, evaluation device, computer storage medium and terminal equipment
CN115209052A (en) * 2022-07-08 2022-10-18 维沃移动通信(深圳)有限公司 Image screening method and device, electronic equipment and storage medium
CN115209052B (en) * 2022-07-08 2023-04-18 维沃移动通信(深圳)有限公司 Image screening method and device, electronic equipment and storage medium
CN118965496A (en) * 2024-07-17 2024-11-15 草图里(广州)科技有限公司 A deep learning-based architectural design system
CN118965496B (en) * 2024-07-17 2025-04-18 草图里(广州)科技有限公司 A deep learning-based architectural design system

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN107995429B (en) Shooting method and mobile terminal
CN109361865B (en) Shooting method and terminal
CN107592468B (en) A kind of shooting parameter adjustment method and mobile terminal
CN110825897A (en) Image screening method, device and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN107734251A (en) A kind of photographic method and mobile terminal
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN111177420B (en) Multimedia file display method, electronic equipment and medium
CN108174109B (en) A kind of photographing method and mobile terminal
CN110557683A (en) Video playing control method and electronic equipment
CN108984143B (en) Display control method and terminal equipment
CN108712603A (en) A kind of image processing method and mobile terminal
CN111669503A (en) Photographing method, device, electronic device and medium
CN109005336A (en) A kind of image capturing method and terminal device
CN108513067A (en) A kind of filming control method and mobile terminal
CN111556358A (en) Display method and device and electronic equipment
CN111491124B (en) Video processing method and device and electronic equipment
CN108174081B (en) A shooting method and mobile terminal
CN107728877B (en) Application recommendation method and mobile terminal
CN108833796A (en) An image capturing method and terminal
CN108174110A (en) A camera method and flexible screen terminal
CN111064888A (en) Prompting method and electronic equipment
CN108924413B (en) Shooting method and mobile terminal
CN108259756A (en) A kind of image capturing method and mobile terminal

Legal Events

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

Application publication date: 20200221

RJ01 Rejection of invention patent application after publication