CN105550703A - Image similarity calculating method suitable for human body re-recognition - Google Patents
Image similarity calculating method suitable for human body re-recognition Download PDFInfo
- Publication number
- CN105550703A CN105550703A CN201510909155.1A CN201510909155A CN105550703A CN 105550703 A CN105550703 A CN 105550703A CN 201510909155 A CN201510909155 A CN 201510909155A CN 105550703 A CN105550703 A CN 105550703A
- Authority
- CN
- China
- Prior art keywords
- human body
- picture
- applicable
- value
- formula
- 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
Classifications
-
- 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
- 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
- G06V10/50—Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
-
- 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
- G06V10/56—Extraction of image or video features relating to colour
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses an image similarity calculating method suitable for human body re-recognition, and the method comprises the steps: 1), carrying out the de-noising of to-be-matched images A and B; 2), extracting characteristic vectors XA and XB of the images A and B after de-noising; 3), respectively carrying out the normalization of the characteristic vectors XA and XB; 4), calculating the SDD (significant difference distance) of the images A and B, and enabling the SDD to serve as a similarity measurement index. The method can effectively improve the reliability and robustness of image matching of human body re-recognition, and has a value of practical popularization.
Description
Technical field
The present invention relates to field of traffic control, refer in particular to a kind of picture analogies degree computing method being applicable to human body and identifying again.
Background technology
Video human again recognition technology refers to the human body identifying certain and specifically occurred in monitor network in monitor video, namely again identifies the same human body in monitor network.
Along with the development of social safety and video capture technology, the place of the crowded easy generation security incidents such as a large amount of monitoring cameras is applied in market, building building, park, school, large-scale square, subway station.The artificial monitor video being difficult to reply magnanimity and having increased, therefore utilizes computing machine to arise at the historic moment to the demand that the human body etc. in monitor video identifies again.The method and system that current human body identifies again adopts mostly: image denoising-> feature extraction-> similarity measurement calculates the flow process of-> matching judgment.
Similarity between signatures tolerance mechanism is human body pith in recognition system again, selects or the quality of design will directly have influence on the accuracy of human body recognizer again.Method at present for feature similarity measurement mainly contains Euclidean distance, histogram intersection method, Pasteur's coefficient, mahalanobis distance etc.
Invention (application number CN201310021525), proposes human body recognition methods and the system again based on video, to the moving region determined in video to be detected, forms the scope of human detection; Divide multiple Color Channel by the image of scope forming human detection, carry out gray scale stretching and formed gray scale stretch after image; Human detection is carried out to the image after gray scale stretching and obtains human body image; Preliminary matches is carried out to the human body in human body image and the human sample prestored; Preliminary matches failure, be then saved in human sample by the human body detected; Successful then exact matching is carried out to the human body in human body image and the human sample that prestores; Judge whether that the match is successful according to the result of exact matching; Otherwise the human body detected is saved in human sample; Export corresponding human sample.Divide multiple Color Channel to carry out gray scale stretching to image, make originally fuzzy image become clear, improve the accuracy rate that human body identifies again.
Invention (application number CN201210592918), provides the recognition methods again of a kind of human body under grid blocks, comprising: detect the human body image in video image; Described human body image is divided into multiple region; By in the multiple regions after segmentation, remove the region at grid barrier place; Determine the proper vector in each described region, multiple proper vector is mated with the multiple reference vector in the database gathered in advance; Using the human body image that in described database, the match is successful as recognition result.
Invention (application number CN201210592721), provides a kind of human body in the greasy weather and knows method for distinguishing again, comprising: detect the human body image in video image; Determine the proper vector of described human body image, according to the weight of different colours, the proper vector determined is mated with the multiple reference vector in the database gathered in advance; Using the human body image that in described database, the match is successful as recognition result.By above-mentioned step, human body image can be determined in a database, using the human body image determined as the human body image detected.Thus movement locus and the scope of activities of everyone volume image can be grasped in video.
But in said method, mate between the proper vector of target body image and the multiple reference vector in database, the distance of proper vector and reference vector is needed to carry out calculating (namely carrying out Similarity Measure), and all adopt traditional Euclidean distance to carry out, the new picture analogies degree computing method being applicable to human body and identifying not yet are proposed.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, provide a kind of picture analogies metric calculation method being applicable to human body and identifying again, reliability and robustness that human body identifies picture match again can be improved, there is actual promotional value.
For achieving the above object, technical scheme provided by the present invention is: a kind of picture analogies degree computing method being applicable to human body and identifying, comprise the following steps:
1) picture A and B to be matched carries out image denoising;
2) feature vector, X of picture A and B after image denoising is extracted
aand X
b;
3) to feature vector, X
aand X
bbe normalized respectively;
4) the significant difference distance SDD of picture A and B is calculated, as similarity measurements figureofmerit.
In step 1) in, described image denoising adopts median filtering method, ultimate principle is that the intermediate value of the value each point in this vertex neighborhood of any in digital picture or Serial No. is replaced, if f is (x, y) representative digit image slices vegetarian refreshments (x, y) gray-scale value, filter window is that the median filter of R can be defined as:
In formula, MED{} is median, when the pixel sum n in filter window R is odd number, and MED{x1, x2 ... xn} is exactly x1, x2 ... the intermediate value of xn, namely by the number that numerical values recited order mediates; When n is even number, defining two mediant mean values is intermediate value.
In step 2) in, described feature vector, X
aand X
bfor single proper vector, or comprise the multidimensional characteristic vectors of this multiple feature of HOG, YUV color histogram.
In step 3) in, described feature vector, X
aand X
badopt linear function method for normalizing, that is: suppose X
a={ X
a 1, X
a 2x
a n, n is proper vector dimension, X
a ifor scheming i-th characteristic element of A; Proper vector then after normalization is X '
a=X '
a 1, X '
a 2x '
a n, and X '
a i=X
a i/ (X
a 1+ X
a 2+ ... + X
a n); In like manner, X
bmethod for normalizing and X
athe same.
In step 4) in, the formula calculating described significant difference distance SDD is as follows:
In formula, X '
a i, X '
b iafter being respectively normalization, proper vector is X '
a, X '
bthe numerical value of i-th characteristic element; N is characteristic dimension; w
ibe i-th weight coefficient, its computing formula is:
In formula, e is natural logarithm, | * | for taking absolute value.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
The inventive method applicability is comparatively wide, both can be applicable to two picture analogies metric calculation of single features value, and the similarity measurement that also can be applicable to two pictures of multiple characteristic values calculates; Simultaneously the method can be applicable to human body picture and identifies, also can be applicable to other targets again in recognizer, as special article etc.The method takes into full account the difference of character pair element in proper vector, as weighted value, therefore the measuring similarity computing method built are more reasonable, improve the similarity difference of different object picture, reduce the similarity difference of the different picture of same object simultaneously, the reliability that raising human body identifies again and robustness, therefore the present invention has very large actual promotional value.
Accompanying drawing explanation
Fig. 1 is workflow diagram of the present invention.
Fig. 2 a is the figure A of the embodiment of the present invention.
Fig. 2 b is the figure B of the embodiment of the present invention.
Fig. 3 is that the present invention carries out the normalized process flow diagram of proper vector.
Fig. 4 is significant difference distance SDD calculation flow chart of the present invention.
Embodiment
Below in conjunction with specific embodiment, the invention will be further described.
As shown in Figure 1, be applicable to the picture analogies degree computing method that human body identifies again described in the present embodiment, its concrete condition is as follows:
First, picture A to be matched (a) is carried out image denoising with B (see Fig. 2 b) see Fig. 2; Image denoising can adopt common median filtering method, ultimate principle is that the intermediate value of the value each point in this vertex neighborhood of any in digital picture or Serial No. is replaced, if f is (x, y) representative digit image slices vegetarian refreshments (x, y) gray-scale value, filter window is that the median filter of R can be defined as:
In formula, MED{} is median, when the pixel sum n in filter window R is odd number, and MED{x1, x2 ... xn} is exactly x1, x2 ... the intermediate value of xn, namely by the number that numerical values recited order mediates; When n is even number, defining two mediant mean values is intermediate value.
Then, the feature vector, X of picture A and B after image denoising is extracted
aand X
b; Domain color is adopted to compose histogram (MajorColorSpectrumHistogram, MCSH) as proper vector in the present embodiment.In actual applications, this method also can be applicable to multidimensional characteristic vectors, as HOG, domain color adopted to compose histogram (MajorColorSpectrumHistogram, MCSH), YUV color histogram etc. for improving robustness.
In an embodiment, the concrete numerical value of the proper vector of picture A and B is respectively:
X
A={4,6,8,3,1,9}
And X
b={ 3,7,9,4,6,5}
Then, to feature vector, X
aand X
bbe normalized respectively, adopt linear function method for normalizing, idiographic flow is shown in accompanying drawing 3.Known X
a=4,6,8,3,1,9}, proper vector dimension is 6; Feature vector, X then after normalization '
a=X '
a 1, X '
a 2x '
a n, and:
X′
A 1=4/(4+6+8+3+1+9)=4/31=0.129
X′
A 2=6/(4+6+8+3+1+9)=6/31=0.194
X′
A 3=8/(4+6+8+3+1+9)=8/31=0.258
X′
A 4=3/(4+6+8+3+1+9)=3/31=0.097
X′
A 5=1/(4+6+8+3+1+9)=1/31=0.032
X′
A 6=9/(4+6+8+3+1+9)=9/31=0.290
Then X '
a={ 0.129,0.194,0.258,0.097,0.032,0.290}
Adopting uses the same method calculates X
bnormalized vector be X '
b={ 0.088,0.206,0.265,0.118,0.176,0.147}.
Finally, according to the proper vector after above-mentioned normalization, calculate the significant difference distance SDD of picture A and B, idiographic flow is shown in Fig. 4.
First calculate the weight w of each characteristic element
i:
Calculate equally:
w
2=e
10*|0.194-0.206|=1.131268601
w
3=e
10*|0.258-0.265|=1.068668694
w
4=e
10*|0.097-0.118|=1.232110623
w
5=e
10*|0.032-0.176|=4.229675335
w
6=e
10*|0.29-0.147|=4.189735356
Then calculating weight is { 1.503761505,1.131268601,1.068668694,1.232110623,4.229675335,4.189735356}.
The significant difference distance SDD of picture A and B is:
In sum, the present invention provides new method for the similarity measurement between different picture calculates, and effectively can improve reliability and robustness that human body identifies picture match again, have actual promotional value, be worthy to be popularized.
The examples of implementation of the above are only the preferred embodiment of the present invention, not limit practical range of the present invention with this, therefore the change that all shapes according to the present invention, principle are done, all should be encompassed in protection scope of the present invention.
Claims (5)
1. be applicable to the picture analogies degree computing method that human body identifies again, it is characterized in that, comprise the following steps:
1) picture A and B to be matched carries out image denoising;
2) feature vector, X of picture A and B after image denoising is extracted
aand X
b;
3) to feature vector, X
aand X
bbe normalized respectively;
4) the significant difference distance SDD of picture A and B is calculated, as similarity measurements figureofmerit.
2. a kind of picture analogies degree computing method being applicable to human body and identifying again according to claim 1, it is characterized in that: in step 1) in, described image denoising adopts median filtering method, ultimate principle is that the intermediate value of the value each point in this vertex neighborhood of any in digital picture or Serial No. is replaced, if f is (x, y) gray-scale value of representative digit image slices vegetarian refreshments (x, y), filter window is that the median filter of R is defined as:
In formula, MED{} is median, when the pixel sum n in filter window R is odd number, and MED{x1, x2 ... xn} is exactly x1, x2 ... the intermediate value of xn, namely by the number that numerical values recited order mediates; When n is even number, defining two mediant mean values is intermediate value.
3. a kind of picture analogies degree computing method being applicable to human body and identifying according to claim 1, is characterized in that: in step 2) in, described feature vector, X
aand X
bfor single proper vector, or comprise the multidimensional characteristic vectors of this multiple feature of HOG, YUV color histogram.
4. a kind of picture analogies degree computing method being applicable to human body and identifying according to claim 1, is characterized in that: in step 3) in, described feature vector, X
aand X
badopt linear function method for normalizing, that is: suppose X
a={ X
a 1, X
a 2x
a n, n is proper vector dimension, X
a ifor scheming i-th characteristic element of A; Proper vector then after normalization is X '
a=X '
a 1, X '
a 2x '
a n, and X '
a i=X
a i/ (X
a 1+ X
a 2+ ... + X
a n); In like manner, X
bmethod for normalizing and X
athe same.
5. a kind of picture analogies degree computing method being applicable to human body and identifying according to claim 1, is characterized in that: in step 4) in, the formula calculating described significant difference distance SDD is as follows:
In formula, X '
a i, X '
b iafter being respectively normalization, proper vector is X '
a, X '
bthe numerical value of i-th characteristic element; N is characteristic dimension; w
ibe i-th weight coefficient, its computing formula is:
In formula, e is natural logarithm, | * | for taking absolute value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510909155.1A CN105550703A (en) | 2015-12-09 | 2015-12-09 | Image similarity calculating method suitable for human body re-recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510909155.1A CN105550703A (en) | 2015-12-09 | 2015-12-09 | Image similarity calculating method suitable for human body re-recognition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105550703A true CN105550703A (en) | 2016-05-04 |
Family
ID=55829886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510909155.1A Pending CN105550703A (en) | 2015-12-09 | 2015-12-09 | Image similarity calculating method suitable for human body re-recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105550703A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339666A (en) * | 2016-08-11 | 2017-01-18 | 中科爱芯智能科技(深圳)有限公司 | Human body target nighttime monitoring method |
CN106355142A (en) * | 2016-08-24 | 2017-01-25 | 深圳先进技术研究院 | A Method and Device for Recognizing Human Falling State |
CN107346409A (en) * | 2016-05-05 | 2017-11-14 | 华为技术有限公司 | Pedestrian recognition methods and device again |
CN107506700A (en) * | 2017-08-07 | 2017-12-22 | 苏州经贸职业技术学院 | Pedestrian's recognition methods again based on the study of broad sense similarity measurement |
CN110135295A (en) * | 2019-04-29 | 2019-08-16 | 华南理工大学 | A kind of unsupervised pedestrian recognition methods again based on transfer learning |
CN111738062A (en) * | 2020-05-09 | 2020-10-02 | 广智微芯(扬州)有限公司 | Automatic re-identification method and system based on embedded platform |
CN117376535A (en) * | 2023-12-08 | 2024-01-09 | 西安肖邦电子科技有限公司 | Intelligent campus security control method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945375A (en) * | 2012-11-20 | 2013-02-27 | 天津理工大学 | Multi-view monitoring video behavior detection and recognition method under multiple constraints |
CN103065128A (en) * | 2012-12-30 | 2013-04-24 | 信帧电子技术(北京)有限公司 | Human body reidentification method in foggy days |
CN103093203A (en) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | Human body re-recognition method and human body re-recognition system |
CN103164694A (en) * | 2013-02-20 | 2013-06-19 | 上海交通大学 | Method for recognizing human motion |
-
2015
- 2015-12-09 CN CN201510909155.1A patent/CN105550703A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945375A (en) * | 2012-11-20 | 2013-02-27 | 天津理工大学 | Multi-view monitoring video behavior detection and recognition method under multiple constraints |
CN103065128A (en) * | 2012-12-30 | 2013-04-24 | 信帧电子技术(北京)有限公司 | Human body reidentification method in foggy days |
CN103093203A (en) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | Human body re-recognition method and human body re-recognition system |
CN103164694A (en) * | 2013-02-20 | 2013-06-19 | 上海交通大学 | Method for recognizing human motion |
Non-Patent Citations (2)
Title |
---|
BEDAGKAR-GALA ETC,: ""A survey of approaches and trends in person re-identification"", 《IMAGE AND VISION COMPUTING》 * |
谭飞刚 等,: ""基于加权欧氏距离度量的目标再识别算法"", 《华南理工大学学报》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346409A (en) * | 2016-05-05 | 2017-11-14 | 华为技术有限公司 | Pedestrian recognition methods and device again |
CN107346409B (en) * | 2016-05-05 | 2019-12-17 | 华为技术有限公司 | pedestrian re-identification method and device |
CN106339666A (en) * | 2016-08-11 | 2017-01-18 | 中科爱芯智能科技(深圳)有限公司 | Human body target nighttime monitoring method |
CN106339666B (en) * | 2016-08-11 | 2019-08-20 | 中科亿和智慧物联(深圳)有限公司 | A kind of night monitoring method of human body target |
CN106355142A (en) * | 2016-08-24 | 2017-01-25 | 深圳先进技术研究院 | A Method and Device for Recognizing Human Falling State |
CN107506700A (en) * | 2017-08-07 | 2017-12-22 | 苏州经贸职业技术学院 | Pedestrian's recognition methods again based on the study of broad sense similarity measurement |
CN107506700B (en) * | 2017-08-07 | 2021-03-16 | 苏州经贸职业技术学院 | Pedestrian re-identification method based on generalized similarity measurement learning |
CN110135295A (en) * | 2019-04-29 | 2019-08-16 | 华南理工大学 | A kind of unsupervised pedestrian recognition methods again based on transfer learning |
CN111738062A (en) * | 2020-05-09 | 2020-10-02 | 广智微芯(扬州)有限公司 | Automatic re-identification method and system based on embedded platform |
CN111738062B (en) * | 2020-05-09 | 2024-05-17 | 广智微芯(扬州)有限公司 | Automatic re-identification system based on embedded platform |
CN117376535A (en) * | 2023-12-08 | 2024-01-09 | 西安肖邦电子科技有限公司 | Intelligent campus security control method and system |
CN117376535B (en) * | 2023-12-08 | 2024-03-08 | 西安肖邦电子科技有限公司 | Intelligent campus security control method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105550703A (en) | Image similarity calculating method suitable for human body re-recognition | |
CN110084156B (en) | Gait feature extraction method and pedestrian identity recognition method based on gait features | |
CN107506702B (en) | Multi-angle-based face recognition model training and testing system and method | |
CN105069408B (en) | Video portrait tracking based on recognition of face under a kind of complex scene | |
CN103455991B (en) | A kind of multi-focus image fusing method | |
CN105046245B (en) | Video human face method of determination and evaluation | |
CN104517095B (en) | A kind of number of people dividing method based on depth image | |
CN103164858A (en) | Adhered crowd segmenting and tracking methods based on superpixel and graph model | |
CN104036479B (en) | Multi-focus image fusion method based on non-negative matrix factorization | |
CN103258332B (en) | A kind of detection method of the moving target of resisting illumination variation | |
CN105335726B (en) | Recognition of face confidence level acquisition methods and system | |
CN104008370A (en) | Video face identifying method | |
CN104408460A (en) | A lane line detecting and tracking and detecting method | |
CN102663411B (en) | Recognition method for target human body | |
CN103778436B (en) | A kind of pedestrian's attitude detecting method based on image procossing | |
CN105528794A (en) | Moving object detection method based on Gaussian mixture model and superpixel segmentation | |
CN103735269B (en) | A kind of height measurement method followed the tracks of based on video multi-target | |
CN103729842A (en) | Fabric defect detection method based on local statistical characteristics and overall significance analysis | |
CN105574515A (en) | Pedestrian re-identification method in zero-lap vision field | |
CN102184537A (en) | Image region tamper detection method based on wavelet transform and principal component analysis | |
CN105279772A (en) | Trackability distinguishing method of infrared sequence image | |
Karpagavalli et al. | Estimating the density of the people and counting the number of people in a crowd environment for human safety | |
CN104408741A (en) | Video global motion estimation method with sequential consistency constraint | |
CN111160291A (en) | Human eye detection method based on depth information and CNN | |
CN103268498A (en) | Method for area-of-interest blurred image semantic comprehension |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160504 |
|
WD01 | Invention patent application deemed withdrawn after publication |