CN105631416A - Method for carrying out face recognition by using novel density clustering - Google Patents

Method for carrying out face recognition by using novel density clustering Download PDF

Info

Publication number
CN105631416A
CN105631416A CN201510987710.2A CN201510987710A CN105631416A CN 105631416 A CN105631416 A CN 105631416A CN 201510987710 A CN201510987710 A CN 201510987710A CN 105631416 A CN105631416 A CN 105631416A
Authority
CN
China
Prior art keywords
point
density
feature vector
face feature
face
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.)
Granted
Application number
CN201510987710.2A
Other languages
Chinese (zh)
Other versions
CN105631416B (en
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.)
Huaqiao University
Original Assignee
Huaqiao University
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 Huaqiao University filed Critical Huaqiao University
Priority to CN201510987710.2A priority Critical patent/CN105631416B/en
Publication of CN105631416A publication Critical patent/CN105631416A/en
Application granted granted Critical
Publication of CN105631416B publication Critical patent/CN105631416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/169Holistic features and representations, i.e. based on the facial image taken as a whole
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23211Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with adaptive number of clusters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Image Analysis (AREA)

Abstract

The present invention provides a method for carrying out face recognition by using novel density clustering. The method comprises the steps of reading a face image, converting an image matrix into characteristic vectors, taking a characteristic vector set f as the input of a data set P to be clustered, calculating the distance between two face characteristic vector points, calculating the average value of all points, finding a point closest to an average value point in the P as a density center point, calculating the density of all points, carrying out iterative searching of a density center point, taking a final convergence point as a density convergence point, a point whose density value is larger than t in the density convergence point as a local density center point, carrying out clustering of all points in a set LPS according to a neighbor algorithm, making a category label, initializing the category of all other non-local density center points p as -1, classifying the points into the same category of a convergence center point, marking the points with the category label of -1 as outliers, and finally outputting a clustering result. The method has high accuracy, complex data can be identified, and the accuracy of face identification is improved.

Description

Novel density is adopted to cluster the method carrying out recognition of face
Technical field
The present invention relates to and adopt novel density to cluster the method carrying out recognition of face.
Background technology
In recent years, recognition of face becomes a popular computer technology research field. Face recognition technology is as the one of biological identification technology, and it combines multiple research fields such as image procossing, computer graphics, pattern recognition. Clustering method is one of most important components of face recognition technology. Due to the usual complex distributions of face image data, conventional clustering method cannot identify the irregularly shaped classification of complexity well. How to be applied in recognition of face by clustering method accurate, healthy and strong, efficient is current urgent problem.
Summary of the invention
It is an object of the invention to propose a kind of method adopting novel density cluster to carry out recognition of face, with other based on compared with the clustering method of barycenter, there is accuracy height, can recognise that the advantage being distributed the complex datas such as unordered, aspherical, improve the accuracy of recognition of face.
The present invention is a kind of adopts novel density to cluster the method carrying out recognition of face, including following several steps:
Step 1, reading facial image:
Facial image used is the gray level image being sized to M �� N, and by each pixel as a characteristic point, reading K opens facial image and obtains image characteristic matrix Ai(M��N), wherein i=1,2 ..., K; By image characteristic matrix Ai(M��N)Be converted to characteristic vector fi(1��MN), wherein fi(1:N)=Ai(1,1:N), fi(N+1:2N)=Ai(2,1:N), the rest may be inferred, to characteristic vector fiEach dimension do 0-1 normalization, namelyWherein j=1,2 ..., MN, then update characteristic vector fi;
Step 2, computed range matrix:
Inputting as data set P to be clustered with set of eigenvectors f, the number of its face feature vector point is designated as N, and in data set P to be clustered, i-th face feature vector point is designated as pi, calculate each two face feature vector point p in data set P to be clusterediBetween distance, generate distance matrix (di,j)N��N, wherein di,jRepresent some piTo pjDistance;
Step 3, find out all face feature vector point piDensity center point:
With r as sweep radius to each face feature vector point piBe scanned, by data set P to be clustered with piThe distance face feature vector point less than r join piR-Neighbor gather Neii={ pj|di,jIn��r}, calculate set NeiiIn all face feature vector point piMeansigma methodsWherein k is set NeiiTotal number of middle face feature vector point, finds distance average Mean in data set P to be clusterediNearest face feature vector point is as piDensity center point ci, namelyWherein | | p-meani||2Represent some p and meaniGeometric distance;
Step 4, calculating face vector characteristics point pjDensity:
Nei will be gatherediThe number of middle element is as face feature vector point piDensity value ��i=size (Neii), namely ρ i , r = Σ k = 1 N l ( d i , k ≤ r ) , Wherein l ( x ) = 1 , x i s t r u e 0 , e l s e ;
Step 5, find out all face feature vector point pjDensity convergent point:
Each face feature vector point p is found by iterative computationjLocal density's central point, to the last restrain, convergence point is called the density convergent point of this point:
Find piDensity center point ci=pj, find pjDensity center point cj=pkIf, pkDensity center point remain ck=pk, then iteration is stopped, by pkAs pi��pj��pkDensity convergent point, be denoted as cp (i)=cp (j)=cp (k)=pk;
Step 6, find out all face feature vector point pjLocal density's peak point:
If face feature vector point piDensity convergent point be himself, i.e. cp (i)=pi, and piDensity value ��iMore than given density threshold t, then add it to, in local density peak point set LPS, be denoted as LPS={pi| (cp (i)=pi)��(��i��t)}
Step 7, all face feature vector point pi in local density peaks point set LPS are clustered by nearest algorithm, each classification is exactly a density core, and the classification of local density central point lp each in local density peak point set LPS is designated as cl (lp);
Step 8, the classification of other all non local density peaks point p is initialized as-1, incorporate into again and its convergence center point identical category, i.e. cl (p)=cl (cp (p)), is designated as outlier the point of cl (p)=-1;
Step 9, output cluster result cl (p):
Cl (p) represents the classification of this face, if cl (p1)=cl (p2), represents that two facial images representated by p1 and p2 are same people, if cl (p)=-1 represents that this face classification is unidentified.
Owing to the present invention is clustered by searching density core but not single barycenter, the density core of one classification is made up of the loose convergent point being bound up that some density are of a relatively high, other data point focuses on these some peripheries by a fixed structure. thus traditional clustering algorithm can be overcome and be difficult to the data of non-norm spherical structure, improve the accuracy of recognition of face.
Detailed description of the invention
The present invention is a kind of adopts novel density to cluster the method carrying out recognition of face, including following several steps:
Step 1, reading facial image:
Facial image used is the gray level image being sized to M �� N, and by each pixel as a characteristic point, reading K opens facial image and obtains image characteristic matrix Ai(M��N), wherein i=1,2 ..., K; Calculate in order to convenient, by image characteristic matrix Ai(M��N)Be converted to characteristic vector fi(1��MN), wherein fi(1:N)=Ai(1,1:N), fi(N+1:2N)=Ai(2,1:N), the rest may be inferred, to characteristic vector fiEach dimension do 0-1 normalization, namelyWherein j=1,2 ..., MN, then update characteristic vector fi;
Step 2, computed range matrix:
Inputting as data set P to be clustered with set of eigenvectors f, the number of its face feature vector point is designated as N, and in data set P to be clustered, i-th face feature vector point is designated as pi, calculate each two face feature vector point p in data set P to be clusterediBetween distance, generate distance matrix (di,j)N��N, wherein di,jRepresent some piTo pjDistance;
Step 3, find out all face feature vector point piDensity center point:
With r as sweep radius to each face feature vector point piIt is scanned, with i-th face feature vector point piFor example, by P with piThe distance face feature vector point less than r join piR-Neighbor gather Neii={ pj|di,jIn��r}, calculate set NeiiIn the meansigma methods of all face feature vector pointsWherein k is set NeiiTotal number of middle face feature vector point, finds distance average Mean in data set P to be clusterediNearest face feature vector point is as piDensity center point ci, namelyWherein | | p-meani||2Represent some p and meaniGeometric distance;
Step 4, calculating face vector characteristics point pjDensity:
Nei will be gatherediThe number of middle element is as face feature vector point piDensity value ��i=size (Neii), namely ρ i , r = Σ k = 1 N l ( d i , k ≤ r ) , Wherein l ( x ) = 1 , x i s t r u e 0 , e l s e ;
Step 5, find out all face feature vector point pjDensity convergent point (convergentpoint), namely find each face feature vector point p by iterative computationjLocal density's central point, to the last restrain, convergence point is called the density convergent point of this point:
Find piDensity center point be ci=pj, find pjDensity center point be cj=pkIf, pkDensity center point remain ck=pk, then iteration is stopped, by pkAs pi��pj��pkDensity convergent point, be denoted as cp (i)=cp (j)=cp (k)=pk;
Step 6, find out all face feature vector point pjLocal density's peak point (Localdensitypeak):
If a face feature vector point piDensity convergent point be himself, i.e. cp (i)=pi, and piDensity value ��iMore than given density threshold t, then add it to, in local density peak point set LPS, be denoted as LPS={pi| (cp (i)=pi)��(��i��t)}
Step 7, all face feature vector point pi in local density peaks point set LPS are clustered by nearest algorithm (NearestNeighborClustering), each classification is exactly a density core, and the classification of local density central point lp each in local density peak point set LPS is designated as cl (lp);
Step 8, the classification of other all non local density peaks point p is initialized as-1, incorporate into again and its convergence center point identical category, i.e. cl (p)=cl (cp (p)), is designated as outlier the point of cl (p)=-1;
Step 9, output cluster result cl (p):
Cl (p) represents the classification of this face, if cl (p1)=cl (p2), represents that two facial images representated by p1 and p2 are same people, if cl (p)=-1 represents that this face classification is unidentified.
The above, not impose any restrictions the technical scope of the present invention, therefore every any trickle amendment, equivalent variations and modification above example made according to the technical spirit of the present invention, all still fall within the scope of technical solution of the present invention.

Claims (1)

1. one kind adopts novel density to cluster the method carrying out recognition of face, it is characterised in that include following several step:
Step 1, reading facial image:
Facial image used is the gray level image being sized to M �� N, and by each pixel as a characteristic point, reading K opens facial image and obtains image characteristic matrix Ai(M��N), wherein i=1,2 ..., K; By image characteristic matrix Ai(M��N)Be converted to characteristic vector fi(1��MN), wherein fi(1:N)=Ai(1,1:N), fi(N+1:2N)=Ai(2,1:N), the rest may be inferred, to characteristic vector fiEach dimension do 0-1 normalization, namely f i ( j ) = f i ( j ) - min ( f 1 : K ( j ) ) max ( f 1 : K ( j ) ) - min ( f 1 : K ( j ) ) , Wherein j=1,2 ..., MN, then update characteristic vector fi;
Step 2, computed range matrix:
Inputting as data set P to be clustered with set of eigenvectors f, the number of its face feature vector point is designated as N, and in data set P to be clustered, i-th face feature vector point is designated as pi, calculate each two face feature vector point p in data set P to be clusterediBetween distance, generate distance matrix (di,j)N��N, wherein di,jRepresent some piTo pjDistance;
Step 3, find out all face feature vector point piDensity center point:
With r as sweep radius to each face feature vector point piBe scanned, by data set P to be clustered with piThe distance face feature vector point less than r join piR-Neighbor gather Neii={ pj|di,jIn��r}, calculate set NeiiIn all face feature vector point piMeansigma methodsWherein k is set NeiiTotal number of middle face feature vector point, finds distance average Mean in data set P to be clusterediNearest face feature vector point is as piDensity center point ci, namelyWherein | | p-meani||2Represent some p and meaniGeometric distance;
Step 4, calculating face vector characteristics point pjDensity:
Nei will be gatherediThe number of middle element is as face feature vector point piDensity value ��i=size (Neii), namely ρ i , r = Σ k = 1 N l ( d i , k ≤ r ) , Wherein l ( x ) = 1 , x i s t r u e 0 , e l s e ;
Step 5, find out all face feature vector point pjDensity convergent point:
Each face feature vector point p is found by iterative computationjLocal density's central point, to the last restrain, convergence point is called the density convergent point of this point:
Find piDensity center point ci=pj, find pjDensity center point cj=pkIf, pkDensity center point remain ck=pk, then iteration is stopped, by pkAs pi��pj��pkDensity convergent point, be denoted as cp (i)=cp (j)=cp (k)=pk;
Step 6, find out all face feature vector point pjLocal density's peak point:
If face feature vector point piDensity convergent point be himself, i.e. cp (i)=pi, and piDensity value ��iMore than given density threshold t, then add it to, in local density peak point set LPS, be denoted as LPS={pi| (cp (i)=pi)��(��i��t)}
Step 7, all face feature vector point pi in local density peaks point set LPS are clustered by nearest algorithm, each classification is exactly a density core, and the classification of local density central point lp each in local density peak point set LPS is designated as cl (lp);
Step 8, the classification of other all non local density peaks point p is initialized as-1, incorporate into again and its convergence center point identical category, i.e. cl (p)=cl (cp (p)), is designated as outlier the point of cl (p)=-1;
Step 9, output cluster result cl (p):
Cl (p) represents the classification of this face, if cl (p1)=cl (p2), represents that two facial images representated by p1 and p2 are same people, if cl (p)=-1 represents that this face classification is unidentified.
CN201510987710.2A 2015-12-24 2015-12-24 The method for carrying out recognition of face is clustered using novel density Active CN105631416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510987710.2A CN105631416B (en) 2015-12-24 2015-12-24 The method for carrying out recognition of face is clustered using novel density

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510987710.2A CN105631416B (en) 2015-12-24 2015-12-24 The method for carrying out recognition of face is clustered using novel density

Publications (2)

Publication Number Publication Date
CN105631416A true CN105631416A (en) 2016-06-01
CN105631416B CN105631416B (en) 2018-11-13

Family

ID=56046329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510987710.2A Active CN105631416B (en) 2015-12-24 2015-12-24 The method for carrying out recognition of face is clustered using novel density

Country Status (1)

Country Link
CN (1) CN105631416B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971713A (en) * 2017-01-18 2017-07-21 清华大学 Speaker's labeling method and system based on density peaks cluster and variation Bayes
CN107729802A (en) * 2017-08-18 2018-02-23 浙江大学宁波理工学院 Face picture clustering method based on coring density peaks
CN107766822A (en) * 2017-10-23 2018-03-06 平安科技(深圳)有限公司 Electronic installation, facial image cluster seeking method and computer-readable recording medium
CN108388842A (en) * 2018-01-31 2018-08-10 广东欧珀移动通信有限公司 Intelligent prompt method and Related product
CN108960298A (en) * 2018-06-15 2018-12-07 重庆大学 Clustering method is reported in physical examination based on density core and dynamic scan radius
CN109522937A (en) * 2018-10-23 2019-03-26 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN109948534A (en) * 2019-03-19 2019-06-28 华侨大学 The method for carrying out recognition of face is clustered using fast density peak value
CN110991514A (en) * 2019-11-27 2020-04-10 深圳市商汤科技有限公司 Image clustering method and device, electronic equipment and storage medium
CN112149525A (en) * 2020-09-07 2020-12-29 浙江工业大学 Face recognition method based on Laplace peak clustering
CN112149699A (en) * 2019-06-28 2020-12-29 北京京东尚科信息技术有限公司 Method and device for generating model and method and device for recognizing image
CN113239859A (en) * 2021-05-28 2021-08-10 合肥工业大学 Focus-guided face subspace fuzzy clustering method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976348A (en) * 2010-10-21 2011-02-16 中国科学院深圳先进技术研究院 Image clustering method and system
CN104700090A (en) * 2015-03-25 2015-06-10 武汉大学 Method and system for measuring eye movement fixation points based on density
CN104731916A (en) * 2015-03-24 2015-06-24 无锡中科泛在信息技术研发中心有限公司 Optimizing initial center K-means clustering method based on density in data mining

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976348A (en) * 2010-10-21 2011-02-16 中国科学院深圳先进技术研究院 Image clustering method and system
CN104731916A (en) * 2015-03-24 2015-06-24 无锡中科泛在信息技术研发中心有限公司 Optimizing initial center K-means clustering method based on density in data mining
CN104700090A (en) * 2015-03-25 2015-06-10 武汉大学 Method and system for measuring eye movement fixation points based on density

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李丽平: "密度聚类法在图像分割中的应用", 《计算机时代》 *
陈涛 等: "基于密度聚类和多示例学习的图像分类方法", 《吉林大学学报(工学版)》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971713A (en) * 2017-01-18 2017-07-21 清华大学 Speaker's labeling method and system based on density peaks cluster and variation Bayes
CN106971713B (en) * 2017-01-18 2020-01-07 北京华控智加科技有限公司 Speaker marking method and system based on density peak value clustering and variational Bayes
CN107729802A (en) * 2017-08-18 2018-02-23 浙江大学宁波理工学院 Face picture clustering method based on coring density peaks
CN107766822A (en) * 2017-10-23 2018-03-06 平安科技(深圳)有限公司 Electronic installation, facial image cluster seeking method and computer-readable recording medium
CN108388842B (en) * 2018-01-31 2019-07-23 Oppo广东移动通信有限公司 Intelligent prompt method and Related product
CN108388842A (en) * 2018-01-31 2018-08-10 广东欧珀移动通信有限公司 Intelligent prompt method and Related product
CN108960298A (en) * 2018-06-15 2018-12-07 重庆大学 Clustering method is reported in physical examination based on density core and dynamic scan radius
CN109522937A (en) * 2018-10-23 2019-03-26 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN109948534A (en) * 2019-03-19 2019-06-28 华侨大学 The method for carrying out recognition of face is clustered using fast density peak value
CN109948534B (en) * 2019-03-19 2023-03-07 华侨大学 Method for face recognition by adopting fast density peak value clustering
CN112149699A (en) * 2019-06-28 2020-12-29 北京京东尚科信息技术有限公司 Method and device for generating model and method and device for recognizing image
CN112149699B (en) * 2019-06-28 2023-09-05 北京京东尚科信息技术有限公司 Method and device for generating model and method and device for identifying image
CN110991514A (en) * 2019-11-27 2020-04-10 深圳市商汤科技有限公司 Image clustering method and device, electronic equipment and storage medium
CN110991514B (en) * 2019-11-27 2024-05-17 深圳市商汤科技有限公司 Image clustering method and device, electronic equipment and storage medium
CN112149525A (en) * 2020-09-07 2020-12-29 浙江工业大学 Face recognition method based on Laplace peak clustering
CN113239859A (en) * 2021-05-28 2021-08-10 合肥工业大学 Focus-guided face subspace fuzzy clustering method and system
CN113239859B (en) * 2021-05-28 2022-08-19 合肥工业大学 Focus-guided face subspace fuzzy clustering method and system

Also Published As

Publication number Publication date
CN105631416B (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN105631416A (en) Method for carrying out face recognition by using novel density clustering
Zhang et al. Improved deep hashing with soft pairwise similarity for multi-label image retrieval
CN111881714B (en) Unsupervised cross-domain pedestrian re-identification method
CN105469096B (en) A kind of characteristic bag image search method based on Hash binary-coding
WO2020083073A1 (en) Non-motorized vehicle image multi-label classification method, system, device and storage medium
Xiang et al. Fabric image retrieval system using hierarchical search based on deep convolutional neural network
CN110097060B (en) Open set identification method for trunk image
CN109284406B (en) Intention identification method based on difference cyclic neural network
CN108021908B (en) Face age group identification method and device, computer device and readable storage medium
CN105718960A (en) Image ordering model based on convolutional neural network and spatial pyramid matching
CN111125469B (en) User clustering method and device of social network and computer equipment
CN110457514A (en) A kind of multi-tag image search method based on depth Hash
Guo et al. An unsupervised hierarchical feature learning framework for one-shot image recognition
CN110751027B (en) Pedestrian re-identification method based on deep multi-instance learning
CN110297888A (en) A kind of domain classification method based on prefix trees and Recognition with Recurrent Neural Network
CN108427745A (en) The image search method of visual dictionary and adaptive soft distribution based on optimization
CN108829692B (en) Flower image retrieval method based on convolutional neural network
Tan et al. L1-norm latent SVM for compact features in object detection
CN113705596A (en) Image recognition method and device, computer equipment and storage medium
CN109948534A (en) The method for carrying out recognition of face is clustered using fast density peak value
CN114282059A (en) Video retrieval method, device, equipment and storage medium
CN113971735A (en) Depth image clustering method, system, device, medium and terminal
CN112668482A (en) Face recognition training method and device, computer equipment and storage medium
CN108805280B (en) Image retrieval method and device
CN105389588A (en) Multi-semantic-codebook-based image feature representation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant