CN104239531A - Accurate comparison method based on local visual features - Google Patents
Accurate comparison method based on local visual features Download PDFInfo
- Publication number
- CN104239531A CN104239531A CN201410483587.6A CN201410483587A CN104239531A CN 104239531 A CN104239531 A CN 104239531A CN 201410483587 A CN201410483587 A CN 201410483587A CN 104239531 A CN104239531 A CN 104239531A
- Authority
- CN
- China
- Prior art keywords
- vehicle image
- point
- triangle
- method based
- local visual
- 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
Links
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/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
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
Abstract
The invention relates to an accurate comparison method based on local visual features, which comprises the following steps of (1) acquiring a Query vehicle image and multiple database images to be compared; (2) carrying out key point extraction on all images, and expressing each image to be a key point set; (3) generating a feature tree of the Query vehicle image according to the key point set; (4) matching the feature tree with the database images in the step (1), enabling a defined objective function to be the smallest, and outputting the similarity of the Query vehicle image and each database image. Compared with the prior art, the accurate comparison method based on the local visual features has the advantages of high accuracy, good robustness and the like.
Description
Technical field
The present invention relates to a kind of image comparison method, especially relate to a kind of precise alignment method based on local visual feature.
Background technology
In recent years, intelligent transportation system development fast, along with the development of computer vision and mode identification technology, for the more effective application of intelligent transportation system provides opportunity.Computer vision utilizes computing machine to simulate the visual performance of people, information extraction from the image of objective things, carries out process and understood, and finally detects for reality, measures and control.
Existing image alignments, for the consideration of speed aspect, all abandons the information of Shape aspect.Often use the mode of RANSAC to add Shape information in current image detecting system, but when it uses, the texture information (proper vector) of unique point and Shape are divided into two stages considerations, therefore performance improves not obvious.
Summary of the invention
Object of the present invention be exactly in order to overcome above-mentioned prior art exist defect and a kind of precise alignment method based on local visual feature that degree of accuracy is high, robustness is good is provided.
Object of the present invention can be achieved through the following technical solutions:
Based on a precise alignment method for local visual feature, comprise the following steps:
1) Query vehicle image to be compared and multiple database images are obtained;
2) key point extraction being carried out to all images, being all expressed as set of keypoints by often opening image;
3) generate the characteristics tree of Query vehicle image according to set of keypoints, be specially:
31) in the set of keypoints that Query vehicle image is corresponding, extract 1 point, itself and immediate 2 points are formed a triangle;
32) remove 3 points corresponding to described triangle in set of keypoints, and described leg-of-mutton mid point is added in set of keypoints as key point;
33) repeat step 31), 32), until remaining 1 point of set of keypoints;
34) according to step 31)-33) institute have some morphogenesis characters tree;
4) by described characteristics tree and step 1) in database images mate, make the objective function that defines minimum, export Query vehicle image and the similarity of often opening database images, similarity and objective function are in the value of characteristics tree root node.
Described step 2), key point extraction is carried out to image and is specially:
21) car plate detection and brand recognition process is carried out to often opening vehicle image;
22) extract vehicle image according to the car plate position detected, and be normalized;
23) adopt various features extracting method to carry out feature point extraction to the vehicle image of often opening extracted, non-maxima suppression process is carried out to the unique point that distinct methods obtains, only retains a key point in same area.
The element number of the initial key point set of described Query vehicle image is odd number.
In described characteristics tree, each key point represents with circle, and the mid point after 3 points form triangle represents with triangle.
Described objective function is:
For circle, objective function is the L2 distance of proper vector, as follows:
In formula, p is present node, f
ifor Query vehicle image is in the proper vector of this point, f
jdatabase images is at the proper vector f of this point
il, f
il, f
jlbe respectively vector f
i, f
jin l element;
For triangle, objective function is made up of 2 parts, and comprise the summation of the Score forming leg-of-mutton 3 child nodes and the similarity between 3 child nodes formation triangles and Query vehicle image formation triangle, concrete formula is:
In formula,
be the summation of the Score of 3 child nodes, g
ifor the leg-of-mutton shape eigenvectors that Query vehicle image is formed, g
jfor the leg-of-mutton shape eigenvectors that 3 child nodes of database images are formed, R is g
i, g
jlength.
Described step 4) in, when mating, the concrete disposal route of dissimilar node is as follows:
Circular: contrast is likely gathered, retain K the most similar possibility;
Triangle: linear combination, each child nodes have K may, total K*K*K kind may, for each may calculating target function value, finally retain K the possibility that Score is maximum;
Root node: get the highest may conduct the exporting of Score.
Described step 4) in, adopt mode from top to bottom when mating.
Compared with prior art, the present invention has the following advantages:
1, performance is good, and on the database of 1,000,000 ranks, accuracy can close to 9 one-tenth;
2, strong robustness, can use under different scene.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention;
Fig. 2 is the schematic diagram of characteristics tree of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.The present embodiment is implemented premised on technical solution of the present invention, give detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
As shown in Figure 1, a kind of precise alignment method based on local visual feature, comprises the following steps:
In step s1, obtain Query vehicle image to be compared and multiple database images (database image), as input.
In step s2, key point extraction is carried out to all images, being all expressed as set of keypoints by often opening image, being specially:
21) car plate detection and brand recognition process is carried out to often opening vehicle image;
22) extract vehicle image according to the car plate position detected, and be normalized;
23) adopt various features extracting method to carry out feature point extraction to the vehicle image of often opening extracted, non-maxima suppression process is carried out to the unique point that distinct methods obtains, only retains a key point in same area.
In step s3, generate the characteristics tree of Query vehicle image according to set of keypoints, be specially:
31) in the set of keypoints that Query vehicle image is corresponding, extract 1 point, itself and immediate 2 points are formed a triangle;
32) remove 3 points corresponding to described triangle in set of keypoints, and described leg-of-mutton mid point is added in set of keypoints as key point;
33) repeat step 31), 32), until remaining 1 point of set of keypoints, the element number needing the initial key point set ensureing Query vehicle image is odd number, often takes turns iteration and reduces by 2 points, last certain only residue 1 point;
34) according to step 31)-33) institute have some morphogenesis characters tree, as shown in Figure 2, in characteristics tree, each key point represents with circle, and the mid point after 3 points form triangles represents with triangle.
In step s4, described characteristics tree mated with the database images in step s1, make the objective function that defines minimum, export Query vehicle image and the similarity of often opening database images, similarity and objective function are in the value of characteristics tree root node.
For often opening database image Ai, the objective function finding a coupling to make to define is minimum.Wherein, mating definition is: find out the position on this figure Ai for each circle in exemplary plot.Objective function is defined as follows:
For circle, objective function is the L2 distance of proper vector, as follows:
In formula, p is present node, f
ifor Query vehicle image is in the proper vector of this point, f
jdatabase images is at the proper vector f of this point
il, f
il, f
jlbe respectively vector f
i, f
jin l element.
For triangle: objective function is made up of 2 parts, comprise the summation of the Score forming leg-of-mutton 3 child nodes and the similarity between 3 child nodes formation triangles and Query image construction triangle.The explanation of formula 3 in document " L.Zhu; Y.Chen; C.Lin; A.L.Yuille.Rapid Inference on a novel AND/OR graph:Detection; Segmentation and Parsing of Articulated Deformable Objects in Cluttered Backgrounds.Advances in Neural Information Processing Systems 20.NIPS.December2007 " is shown in its definition, is specially:
In formula,
be the summation of the Score of 3 child nodes, g
ifor the leg-of-mutton shape eigenvectors that Query vehicle image is formed, g
jfor the leg-of-mutton shape eigenvectors that 3 child nodes of database images are formed, R is g
i, g
jlength.
Adopt mode from top to bottom when mating, use the method for dynamic programming, first process child nodes, reprocessing father node, the concrete disposal route of dissimilar node is as follows:
Circular: contrast is likely gathered, retain K the most similar possibility;
Triangle: linear combination, each child nodes have K may, total K*K*K kind may, for each may calculating target function value, finally retain K the possibility that Score is maximum;
Root node: get the highest may conduct the exporting of Score.
Claims (7)
1., based on a precise alignment method for local visual feature, it is characterized in that, comprise the following steps:
1) Query vehicle image to be compared and multiple database images are obtained;
2) key point extraction being carried out to all images, being all expressed as set of keypoints by often opening image;
3) generate the characteristics tree of Query vehicle image according to set of keypoints, be specially:
31) in the set of keypoints that Query vehicle image is corresponding, extract 1 point, itself and immediate 2 points are formed a triangle;
32) remove 3 points corresponding to described triangle in set of keypoints, and described leg-of-mutton mid point is added in set of keypoints as key point;
33) repeat step 31), 32), until remaining 1 point of set of keypoints;
34) according to step 31)-33) institute have some morphogenesis characters tree;
4) by described characteristics tree and step 1) in database images mate, make the objective function that defines minimum, export Query vehicle image and the similarity of often opening database images, similarity and objective function are in the value of characteristics tree root node.
2. a kind of precise alignment method based on local visual feature according to claim 1, is characterized in that, described step 2), key point extraction is carried out to image and is specially:
21) car plate detection and brand recognition process is carried out to often opening vehicle image;
22) extract vehicle image according to the car plate position detected, and be normalized;
23) adopt various features extracting method to carry out feature point extraction to the vehicle image of often opening extracted, non-maxima suppression process is carried out to the unique point that distinct methods obtains, only retains a key point in same area.
3. a kind of precise alignment method based on local visual feature according to claim 1, is characterized in that, the element number of the initial key point set of described Query vehicle image is odd number.
4. a kind of precise alignment method based on local visual feature according to claim 1, it is characterized in that, in described characteristics tree, each key point represents with circle, and the mid point after 3 points form triangle represents with triangle.
5. a kind of precise alignment method based on local visual feature according to claim 4, it is characterized in that, described objective function is:
For circle, objective function is the L2 distance of proper vector, as follows:
In formula, p is present node, f
ifor Query vehicle image is in the proper vector of this point, f
jdatabase images is at the proper vector f of this point
il, f
il, f
jlbe respectively vector f
i, f
jin l element;
For triangle, objective function is made up of 2 parts, and comprise the summation of the Score forming leg-of-mutton 3 child nodes and the similarity between 3 child nodes formation triangles and Query vehicle image formation triangle, concrete formula is:
In formula,
be the summation of the Score of 3 child nodes, g
ifor the leg-of-mutton shape eigenvectors that Query vehicle image is formed, g
jfor the leg-of-mutton shape eigenvectors that 3 child nodes of database images are formed, R is g
i, g
jlength.
6. a kind of precise alignment method based on local visual feature according to claim 4, is characterized in that, described step 4) in, when mating, the concrete disposal route of dissimilar node is as follows:
Circular: contrast is likely gathered, and retains the most similar, K that namely objective function is minimum may;
Triangle: linear combination, each child nodes have K may, total K*K*K kind may, for each may calculating target function value, finally retain K the possibility that Score is maximum;
Root node: get the highest may conduct the exporting of Score.
7. a kind of precise alignment method based on local visual feature according to claim 1, is characterized in that, described step 4) in, adopt mode from top to bottom when mating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410483587.6A CN104239531B (en) | 2014-09-19 | 2014-09-19 | A kind of precise alignment method based on local visual feature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410483587.6A CN104239531B (en) | 2014-09-19 | 2014-09-19 | A kind of precise alignment method based on local visual feature |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104239531A true CN104239531A (en) | 2014-12-24 |
CN104239531B CN104239531B (en) | 2017-09-26 |
Family
ID=52227590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410483587.6A Active CN104239531B (en) | 2014-09-19 | 2014-09-19 | A kind of precise alignment method based on local visual feature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104239531B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110019874A (en) * | 2017-12-29 | 2019-07-16 | 上海全土豆文化传播有限公司 | The generation method of index file, apparatus and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097756A1 (en) * | 2007-10-11 | 2009-04-16 | Fuji Xerox Co., Ltd. | Similar image search apparatus and computer readable medium |
CN101944183A (en) * | 2010-09-02 | 2011-01-12 | 北京航空航天大学 | Method for identifying object by utilizing SIFT tree |
CN102542058A (en) * | 2011-12-29 | 2012-07-04 | 天津大学 | Hierarchical landmark identification method integrating global visual characteristics and local visual characteristics |
CN103020960A (en) * | 2012-11-26 | 2013-04-03 | 北京理工大学 | Point cloud registration method based on convex hull invariance |
CN103488973A (en) * | 2013-09-12 | 2014-01-01 | 上海依图网络科技有限公司 | Method and system for recognizing vehicle brand based on image |
CN103942276A (en) * | 2014-03-31 | 2014-07-23 | 北京邮电大学 | Novel logo detection technology |
-
2014
- 2014-09-19 CN CN201410483587.6A patent/CN104239531B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097756A1 (en) * | 2007-10-11 | 2009-04-16 | Fuji Xerox Co., Ltd. | Similar image search apparatus and computer readable medium |
CN101944183A (en) * | 2010-09-02 | 2011-01-12 | 北京航空航天大学 | Method for identifying object by utilizing SIFT tree |
CN102542058A (en) * | 2011-12-29 | 2012-07-04 | 天津大学 | Hierarchical landmark identification method integrating global visual characteristics and local visual characteristics |
CN103020960A (en) * | 2012-11-26 | 2013-04-03 | 北京理工大学 | Point cloud registration method based on convex hull invariance |
CN103488973A (en) * | 2013-09-12 | 2014-01-01 | 上海依图网络科技有限公司 | Method and system for recognizing vehicle brand based on image |
CN103942276A (en) * | 2014-03-31 | 2014-07-23 | 北京邮电大学 | Novel logo detection technology |
Non-Patent Citations (4)
Title |
---|
YUANHAO CHEN 等: "Rapid Inference on a novel AND/OR graph:Detection, Segmentation and Parsing of Articulated Deformable Objects in Cluttered Backgrounds", 《ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 20》 * |
焦继超 等: "一种基于非降采样Contourlet变换和MLESAC的星空图像配准算法", 《系统工程与电子技术》 * |
王成儒 等: "基于三角形几何相似性的图像配准与拼接", 《光电工程》 * |
肖蓉: "自动指纹识别技术的研究", 《中国优秀硕士学位论文全文数据库·信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110019874A (en) * | 2017-12-29 | 2019-07-16 | 上海全土豆文化传播有限公司 | The generation method of index file, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN104239531B (en) | 2017-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sindagi et al. | Mvx-net: Multimodal voxelnet for 3d object detection | |
Dong et al. | PPR-Net: point-wise pose regression network for instance segmentation and 6D pose estimation in bin-picking scenarios | |
Kawewong et al. | Online and incremental appearance-based SLAM in highly dynamic environments | |
CN101701818B (en) | Method for detecting long-distance barrier | |
Lee et al. | Place recognition using straight lines for vision-based SLAM | |
CN102074015A (en) | Two-dimensional image sequence based three-dimensional reconstruction method of target | |
CN103258037A (en) | Trademark identification searching method for multiple combined contents | |
CN105404886A (en) | Feature model generating method and feature model generating device | |
CN101944183B (en) | Method for identifying object by utilizing SIFT tree | |
CN105389326A (en) | Image annotation method based on weak matching probability canonical correlation model | |
Tsintotas et al. | Tracking‐DOSeqSLAM: A dynamic sequence‐based visual place recognition paradigm | |
CN106529583A (en) | Bag-of-visual-word-model-based indoor scene cognitive method | |
CN105303567A (en) | Image registration method integrating image scale invariant feature transformation and individual entropy correlation coefficient | |
CN102968619A (en) | Recognition method for components of Chinese character pictures | |
CN103914690A (en) | Shape matching method based on projective invariant | |
CN101650778A (en) | Invariance identification method based on characteristic point and homography matching | |
CN101393608A (en) | Visual object recognition method and apparatus based on manifold distance analysis | |
Chao-jian et al. | Image target identification of UAV based on SIFT | |
CN104239531A (en) | Accurate comparison method based on local visual features | |
Tsintotas et al. | Visual place recognition for simultaneous localization and mapping | |
KR101733288B1 (en) | Object Detecter Generation Method Using Direction Information, Object Detection Method and Apparatus using the same | |
CN109416745B (en) | Structured image matching method and system | |
Lam et al. | 3d object recognition by surface registration of interest segments | |
Zientara et al. | Drones as collaborative sensors for image recognition | |
Tu et al. | Automatic recognition of civil infrastructure objects in mobile mapping imagery using a markov random field model |
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 |