CN110825897A - Image screening method, device and mobile terminal - Google Patents
Image screening method, device and mobile terminal Download PDFInfo
- 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
Links
- 238000012216 screening Methods 0.000 title claims abstract description 69
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000000605 extraction Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 16
- 235000019633 pungent taste Nutrition 0.000 description 8
- 239000000284 extract Substances 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 6
- 238000004140 cleaning Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 241001464837 Viridiplantae Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/535—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image 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
本发明提供了一种图像筛选方法、装置及移动终端。所述方法包括:获取对拍摄对象进行连续拍摄得到的待筛选图像集;获取与所述待筛选图像集对应的评分特征;从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。本发明可以提高图像筛选的准确性。
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.
Description
技术领域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
可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的一种如何获取评分值的方案,在实际应用中,本领域技术人员还可以采用其它方式获取图像的评分值,本发明实施例对此不加以限制。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
可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。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
步骤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,
步骤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,
步骤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
在得到比较结果之后,执行步骤207。After the comparison result is obtained,
步骤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
可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。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,
步骤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
本发明实施例基于大数据对照片的筛选,由于热度较高的图像代表着当前人们的审美观点,能够提高图像评分的准确性。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
步骤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,
步骤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
可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。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
本发明实施例结合用户自定义的评分特征,能够增加用户的主观意愿,而并非仅是终端客观的评分,能够尽量保留用户想要保存的图像。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
步骤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
在获取用户为每个图像评分区域设置的第三评分特征,,及第三评分特征对应的第二评分权重之后,执行步骤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,
步骤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
可以理解地,上述示例仅是为了更好地理解本发明实施例的技术方案而列举的示例,不作为对本发明实施例的唯一限制。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,
步骤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
本发明实施例结合用户对图像的部分区域自定义的评分特征,能够增加用户的主观意愿,而并非仅是终端客观的评分,能够尽量保留用户想要保存的图像特征。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
处理器910,用于获取对拍摄对象进行连续拍摄得到的待筛选图像集;获取与所述待筛选图像集对应的评分特征;从所述待筛选图像集的每个图像中提取出与所述评分特征对应的图像特征;根据所述评分特征和每个所述图像对应的图像特征,对每个所述图像进行评分,得到每个所述图像的评分值;根据各所述评分值,从所述待筛选图像集中筛选出评分值大于或等于评分阈值的目标图像。The
在本发明实施例中,通过获取对拍摄对象进行连续拍摄得到的待筛选图像集,获取与待筛选图像集对应的评分特征,从待筛选图像集的每个图像中提取出与评分特征对应的图像特征,根据评分特征和每个图像对应的图像特征,对每个图像进行评分,得到每个图像的评分值,根据各评分值,从待筛选图像集中筛选出评分值大于评分阈值的目标图像。本发明实施例通过预先配置的评分特征对每个图像进行评分,而并非是简单筛选出清晰度较高的图像,从而能够提高图像筛选的准确性。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
移动终端通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与移动终端900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The
移动终端900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在移动终端900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The
用户输入单元907可用于接收输入的数字或字符信息,,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元908为外部装置与移动终端900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端900内的一个或多个元件或者可以用于在移动终端900和外部装置之间传输数据。The
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器910是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The
移动终端900还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端900包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述图像筛选方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像筛选方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(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)
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)
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)
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 |
-
2019
- 2019-10-29 CN CN201911042623.4A patent/CN110825897A/en active Pending
Patent Citations (7)
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)
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 |