CN106022342A - Image feature extraction method based on KAZE algorithm - Google Patents

Image feature extraction method based on KAZE algorithm Download PDF

Info

Publication number
CN106022342A
CN106022342A CN201610293834.5A CN201610293834A CN106022342A CN 106022342 A CN106022342 A CN 106022342A CN 201610293834 A CN201610293834 A CN 201610293834A CN 106022342 A CN106022342 A CN 106022342A
Authority
CN
China
Prior art keywords
image
characteristic point
kaze
window
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610293834.5A
Other languages
Chinese (zh)
Inventor
杨承杰
孙力娟
李林国
郭剑
朱春
瞿佳雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication 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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201610293834.5A priority Critical patent/CN106022342A/en
Publication of CN106022342A publication Critical patent/CN106022342A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Abstract

The invention discloses an image feature extraction method based on a KAZE algorithm. The problem of low implementation efficiency of the existing image feature extraction technology is solved. The method comprises the steps that a nonlinear partial differential equation is constructed; an AOS algorithm is used to solve an equation to acquire all images in a non-linear scale space; feature points are detected and sub-pixels are accurately positioned; the main direction is determined according to the local image structure of the feature points; a selected window is used to calculate the description vector of a sub-region; dimension reduction is carried out on the acquired description vector through a principal component analysis method; and finally, feature matching is carried out. According to the method, the principal component analysis method is used to reduce the dimension of a descriptor to speed up the calculation speed, which has a good undertaking performance in image feature extraction and matching; and the instantaneity and the matching rate of the algorithm are improved.

Description

A kind of image characteristic extracting method based on KAZE algorithm
Technical field
The invention belongs to computer vision and image processing field, be specifically related to a kind of image based on KAZE algorithm special Levy extracting method.
Background technology
In recent years, along with the progress of image processing techniques, image characteristics extraction has obtained significant progress.Characteristics of image Extractive technique can be applied at aspects such as daily life, industrial or agricultural detection, biotechnology, medical science detections.Feature extraction It is a primary computing in image procossing, first calculation process namely an image carried out.Characteristics of image Global characteristics and local feature can be divided into.Global characteristics refers mainly to the variance of image, color histogram etc..And local Feature is more focused on the feature that image local occurs, local feature can be understood as stable existence and has good discrimination The point of character.Play a significant role at aspects such as prospect background differentiation, object identifications.
Local invariant feature refers to the detection of local feature or describes the various changes to image, such as, becomes for visual angle The invariance changed, to the invariance of dimensional variation, to rotationally-varying invariance, to invariance of shape etc..Base Application in local feature comprises three basic steps: detects, describe and mates.Good local image characteristics should have Having speed fast, feature description has preferable robustness to yardstick, illumination, rotation, and feature description dimension is low simultaneously, easily In realizing the feature that Rapid matching is the most real-time.The feature extracted from image can form multiple vector, two The similarity between them can be calculated by the measurement degree of certain distance metric or similarity between image.
How to extract from original image and there is the study hotspot that the characteristics of image of relatively strong representation ability is image procossing. Local shape factor in early days has Harris corner detection operator, and " angle point " is often detected in demarcation line, object Boundary, texture is than stronger part.Traditional SIFT, SURF operator for yardstick, illumination, visual angle, The change rotated has stronger robustness, but relatively low for image border and details reservation degree, fuzzy serious, and Nonlinear diffusion filtering employed in KAZE algorithm preferably solves this problem.KAZE algorithm is non-linear Carry out feature point detection and location on the basis of metric space, use M-Surf method to carry out characteristic point description.Anhui work Li Dan that sparetime university is learned et al. has delivered " a kind of improvement on Sichuan University's journal (the 3rd phase of volume 52 in May, 2015) KAZE feature detection algorithm " paper, this paper by improve characteristic point search strategy, utilize circle improve feature to The steps such as amount description method attempt improving the real-time of algorithm, but there is the problem that execution efficiency is on the low side.
Summary of the invention
The technical problem to be solved in the present invention is to propose a kind of image characteristics extraction scheme based on KAZE, it is possible to protecting Improve matching rate on the basis of staying real-time further, improve the execution efficiency of algorithm.
For solving above-mentioned technical problem, the technical scheme that the present invention proposes is a kind of image characteristics extraction based on KAZE Method, comprises the steps of
Step one: input picture L, constructs nonlinear partial differential equation, carries out Nonlinear diffusion filtering, recycling AOS Algorithm for Solving equation obtains all images of Nonlinear Scale Space Theory;
Step 2: feature point detection, finds spy by the Hessian local maximum after finding different scale normalization Levy a little, after finding the position of characteristic point, according to Taylor expansion, carry out sub-pix and be accurately positioned
Step 3: determine its principal direction according to the local image structure of characteristic point;
Step 4: be σ for scale parameteriCharacteristic point, gradient image takes centered by characteristic point the window of Mouthful, and window is divided into subregion, calculate the description vectors of subregion;
Step 5: the description vectors principal component analytical method obtained is carried out dimension-reduction treatment, obtains the description after dimensionality reduction Son, then carry out characteristic matching.
Above-mentioned Nonlinear diffusion filtering is brightness of image change on different scale to be regarded by nonlinear partial differential equation Divergence for some form of flow functionBy arranging propagation function c, control to expand The degree of dissipating and classification allow it be adaptive to the partial structurtes of image, utilize AOS algorithm to obtain the institute of Nonlinear Scale Space Theory There is image.
Further, the principal component analytical method described in step 5 comprises the steps of
Step 1: input describes son;
Step 2: to describing substandard;
Step 3: structure covariance matrix, obtains characteristic vector and eigenvalue;
Step 4: arrange the matrix made new advances and screen;
Step 5: be mapped in new matrix, obtains of the description after dimensionality reduction.
Further, in step 2, at the Hessian matrix of structureMiddle searching pole During value point, in order to accelerate search speed, each pixel and its current scale, a upper yardstick, next yardstick encloses Pixel under the window of its fixing 3*3 size compares, to guarantee in metric space and two dimensional image space Extreme point detected.
In step 3, determine that characteristic point principal direction is by arranging characteristic point search radius, in circle the one of all adjoint points Rank differential value is weighted by Gauss so that big near the respective contribution of characteristic point, the respective contribution away from characteristic point is little, Differential value is regarded as vector value, and is main by move window traversal border circular areas obtaining the angle-determining of long vector by sector Direction.
In step 4, for described characteristic point, gradient image takes centered by characteristic point 24 σi×24σi's Window, and window is divided into 4 × 4 sub regions, every sub regions size is 9 σi×9σi, adjacent subregion has Width is 2 σiOverlap, every sub regions all uses a gaussian kernel (σ1=2.5 σi) be weighted, then calculate The subregion description vectors of a length of 4: dv=(∑ Lx, ∑ Ly, Σ | Lx|, Σ | Ly|), then be 4 by another size The Gauss window of × 4 vectorial d to every sub regionsvIt is weighted, is finally normalized.Thus obtain The description vectors of 4 × 4 × 4=64 dimension, in like manner, it is also possible to by changing window size, obtain the description of 128 dimensions to Amount.
Beneficial effect: the design that the characteristics of image figure based on KAZE that the present invention proposes extracts, compared to existing Image characteristics extraction algorithm, the program has the advantage that
(1) current feature detection algorithm in addition to KAZE is all based on linear-scale space, and KAZE is adopted Nonlinear Scale Space Theory loss in detail few, edge retains more preferably, and information retains more complete.
(2) this method uses principal component analytical method to carry out dimensionality reduction to describing son, accelerates to calculate speed, special for image Levy extraction, with mating, there is good undertaking effect, in terms of the real-time improving algorithm and matching rate, have preferable effect.
Accompanying drawing explanation
Fig. 1 is whole image characteristics extraction based on KAZE and the schematic flow sheet mated;
Fig. 2 is to describing the sub flow chart carrying out principal component analysis.
Detailed description of the invention
It is embodied as being further described in detail to the present invention in conjunction with accompanying drawing.
The present invention is a kind of to use principal component analytical method to carry out the feature extraction scheme of dimensionality reduction to describing son.Based on KAZE Image characteristics extraction algorithm, it is contemplated that principal component analytical method can retain key data composition in terms of data process On the premise of carry out effective dimensionality reduction, apply the method in describe son process on, extract feature at KAZE algorithm After point describes son, sub-dimension will be described with principal component analytical method and reduce, remove noise, improve images match efficiency. Comparing more existing design cycle and KAZE feature extraction algorithm, the present invention proposes a kind of use principal component analysis and adds The scheme of speed KAZE image characteristics extraction speed.The generation of Feature Descriptor be the final step of feature extraction be also A crucial step, each describes son and contains the information such as the position of characteristic point, gradient direction, angle, by main one-tenth The method analyzed, reduces the dimension describing son, can accelerate scheme and realize speed.The realization of the program and applying Journey is as follows:
As it is shown in figure 1, image characteristics extraction scheme based on KAZE, it is included in detail below in step:
Step one: for input picture, uses additive operator splitting algorithm (Additive Operator Splitting, AOS) Carry out Nonlinear diffusion filtering.Nonlinear diffusion filtering is to say that brightness of image is in difference by nonlinear partial differential equation Change on yardstick is considered as the divergence of some form of flow functionRecycling AOS Algorithm for Solving equation, i.e. can get all images of Nonlinear Scale Space Theory.
Step 2: feature point detection, finds spy by the Hessian local maximum after finding different scale normalization Levy a little.Hessian matrix at structureDuring middle searching extreme point, in order to accelerate to search Suo Sudu, each pixel and its current scale, a upper yardstick, around its fixing 3*3 size on next yardstick Window under pixel compare, to guarantee extreme point to be detected at metric space and two dimensional image space.Find Behind the position of characteristic point, according to Taylor expansion, carry out sub-pix and be accurately positioned
Step 3: in order to realize the rotational invariance of image, needs to determine it according to the local image structure of characteristic point Principal direction.Here the method that author uses is similar to SURF, by arranging characteristic point search radius, to all in circle The first differential value of adjoint point is weighted by Gauss, and the respective contribution of the close characteristic point being is big, corresponding away from characteristic point Contribute little, differential value is regarded as vector value, and obtains the angle of long vector with fan-shaped sliding window traversal border circular areas It is exactly principal direction.
Step 4: be σ for scale parameteriCharacteristic point, gradient image takes centered by characteristic point 24 σi ×24σiWindow, and window is divided into 4 × 4 sub regions, every sub regions size is 9 σi×9σi, adjacent Subregion has width to be 2 σiOverlap.Every sub regions all uses a gaussian kernel (σ1=2.5 σi) be weighted, so After calculate a length of 4 subregion description vectors: dv=(∑ Lx, ∑ Ly, ∑ | Lx|, ∑ | Ly|), then by another Size is the Gauss window of 4 × 4 vectorial d to every sub regionsvIt is weighted, is finally normalized.So The description vectors just having obtained 4 × 4 × 4=64 dimension (in like manner can also obtain retouching of 128 dimensions by changing window size State vector).
Step 5: the description son principal component analytical method obtained is carried out dimension-reduction treatment, as in figure 2 it is shown, to description Construct covariance matrix after substandard, obtain characteristic vector and eigenvalue, filter out the characteristic vector of reservation and reflect It is mapped in new matrix, obtains of the description after dimensionality reduction, then carry out characteristic matching.Concrete operations are as follows:
(1) in actual application, should first eliminate the impact of guiding principle amount before calculating main constituent, one of conventional method is just It is that initial data is standardized, it is possible to first original description is standardized, side
Just subsequent calculations:
x i j * = x i j - x j ‾ s j , i = 1 , 2 , ... , n ; j = 1 , 2 , ... , p
Wherein:
(2) for describing submatrix, his covariance matrix is calculated:
s i j = 1 n - 1 Σ k = 1 n ( x k i - x i ‾ ) ( x k j - x j ‾ ) , i , j = 1 , 2 , ... , p
(3) eigenvalue and the characteristic vector of covariance matrix are obtained;
(4) characteristic vector is arranged in matrix from top to bottom by character pair value size, takes the matrix that front k row composition is new;
(5) by maps feature vectors obtained in the previous step to new space matrix, description that dimensionality reduction is later is obtained.

Claims (6)

1. an image characteristic extracting method based on KAZE, it is characterised in that comprise the steps of
Step one: input picture L, constructs nonlinear partial differential equation, carries out Nonlinear diffusion filtering, recycles AOS algorithm Solving equation obtains all images of Nonlinear Scale Space Theory;
Step 2: feature point detection, finds characteristic point by the Hessian local maximum after finding different scale normalization, After finding the position of characteristic point, according to Taylor expansion, carry out sub-pix and be accurately positioned
Step 3: determine its principal direction according to the local image structure of characteristic point;
Step 4: be σ for scale parameteriCharacteristic point, gradient image takes centered by characteristic point the window of, and Window is divided into subregion, calculates the description vectors of subregion;
Step 5: the description vectors principal component analytical method obtained is carried out dimension-reduction treatment, obtains of the description after dimensionality reduction, then Carry out characteristic matching.
A kind of image characteristic extracting method based on KAZE, it is characterised in that described non-linear expansion Scattered filtering is, by nonlinear partial differential equation, brightness of image change on different scale is considered as some form of flow function DivergenceBy arranging propagation function c, control diffusion and classification allows it be adaptive to image Partial structurtes, utilize AOS algorithm to obtain all images of Nonlinear Scale Space Theory.
A kind of image characteristic extracting method based on KAZE, it is characterised in that described in step 5 Principal component analytical method comprise the steps of
Step 1: input describes son;
Step 2: to describing substandard;
Step 3: structure covariance matrix, obtains characteristic vector and eigenvalue;
Step 4: arrange the matrix made new advances and screen;
Step 5: be mapped in new matrix, obtains of the description after dimensionality reduction.
A kind of image characteristic extracting method based on KAZE, it is characterised in that at structure in step 2 The Hessian matrix madeDuring middle searching extreme point, in order to accelerate search speed, each Pixel and its current scale, a upper yardstick, next yardstick is carried out around the pixel under the window of its fixing 3*3 size Relatively, to guarantee extreme point to be detected at metric space and two dimensional image space.
A kind of image characteristic extracting method based on KAZE, it is characterised in that determine in step 3 Characteristic point principal direction is by arranging characteristic point search radius, is weighted the first differential value of all adjoint points in circle by Gauss, makes Must be big near the respective contribution of characteristic point, the respective contribution away from characteristic point is little, and differential value regards as vector value, and will be with fan-shaped The angle-determining that dynamic window traversal border circular areas obtains long vector is principal direction.
A kind of image characteristic extracting method based on KAZE, it is characterised in that in step 4, right In described characteristic point, gradient image takes centered by characteristic point 24 σi×24σiWindow, and window is divided into 4 × 4 sub regions, every sub regions size is 9 σi×9σi, adjacent subregion has width to be 2 σiOverlap, Mei Gezi district A σ is all used in territory1=2.5 σI'sGaussian kernel is weighted, and then calculates the subregion description vectors of a length of 4: dv=(∑ Lx,∑Ly,∑|Lx|,∑|Ly|), then by Gauss window that another size is 4 × 4 vector to every sub regions dvIt is weighted, is finally normalized, generate the description vectors of 4 × 4 × 4=64 dimension.
CN201610293834.5A 2016-05-05 2016-05-05 Image feature extraction method based on KAZE algorithm Pending CN106022342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610293834.5A CN106022342A (en) 2016-05-05 2016-05-05 Image feature extraction method based on KAZE algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610293834.5A CN106022342A (en) 2016-05-05 2016-05-05 Image feature extraction method based on KAZE algorithm

Publications (1)

Publication Number Publication Date
CN106022342A true CN106022342A (en) 2016-10-12

Family

ID=57081282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610293834.5A Pending CN106022342A (en) 2016-05-05 2016-05-05 Image feature extraction method based on KAZE algorithm

Country Status (1)

Country Link
CN (1) CN106022342A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146201A (en) * 2017-05-08 2017-09-08 重庆邮电大学 A kind of image split-joint method based on improvement image co-registration
CN107180436A (en) * 2017-04-14 2017-09-19 西安电子科技大学 A kind of improved KAZE image matching algorithms
CN109754366A (en) * 2018-12-27 2019-05-14 重庆邮电大学 A kind of joining method of the image based on binary tree
CN110490069A (en) * 2019-07-11 2019-11-22 汕头大学 A kind of Remote Sensing Target recognition methods based on down-sampled local Differential Binary
CN112906710A (en) * 2021-03-26 2021-06-04 北京邮电大学 Visual image feature extraction method based on BAKAZE-MAGSAC

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663733A (en) * 2012-03-05 2012-09-12 河南理工大学 Characteristic points matching method based on characteristic assembly
WO2012138004A1 (en) * 2011-04-06 2012-10-11 조선대학교산학협력단 Fingerprint authentication device using pca, and method therefor
CN104268586A (en) * 2014-10-17 2015-01-07 北京邮电大学 Multi-visual-angle action recognition method
CN104598911A (en) * 2015-01-30 2015-05-06 北京航空航天大学 Image characterization method based on DoG function
US20150235088A1 (en) * 2013-07-12 2015-08-20 Magic Leap, Inc. Method and system for inserting recognized object data into a virtual world

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012138004A1 (en) * 2011-04-06 2012-10-11 조선대학교산학협력단 Fingerprint authentication device using pca, and method therefor
CN102663733A (en) * 2012-03-05 2012-09-12 河南理工大学 Characteristic points matching method based on characteristic assembly
US20150235088A1 (en) * 2013-07-12 2015-08-20 Magic Leap, Inc. Method and system for inserting recognized object data into a virtual world
CN104268586A (en) * 2014-10-17 2015-01-07 北京邮电大学 Multi-visual-angle action recognition method
CN104598911A (en) * 2015-01-30 2015-05-06 北京航空航天大学 Image characterization method based on DoG function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严玉若: ""增强现实中视觉反馈关键技术研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180436A (en) * 2017-04-14 2017-09-19 西安电子科技大学 A kind of improved KAZE image matching algorithms
CN107146201A (en) * 2017-05-08 2017-09-08 重庆邮电大学 A kind of image split-joint method based on improvement image co-registration
CN109754366A (en) * 2018-12-27 2019-05-14 重庆邮电大学 A kind of joining method of the image based on binary tree
CN109754366B (en) * 2018-12-27 2022-11-15 重庆邮电大学 Image splicing method based on binary tree
CN110490069A (en) * 2019-07-11 2019-11-22 汕头大学 A kind of Remote Sensing Target recognition methods based on down-sampled local Differential Binary
CN112906710A (en) * 2021-03-26 2021-06-04 北京邮电大学 Visual image feature extraction method based on BAKAZE-MAGSAC

Similar Documents

Publication Publication Date Title
Huang et al. A new building extraction postprocessing framework for high-spatial-resolution remote-sensing imagery
CN104834922B (en) Gesture identification method based on hybrid neural networks
Zhang et al. Cloud detection of RGB color aerial photographs by progressive refinement scheme
CN103942794B (en) A kind of image based on confidence level is collaborative scratches drawing method
CN106022342A (en) Image feature extraction method based on KAZE algorithm
Manno-Kovacs et al. Orientation-selective building detection in aerial images
CN102043960B (en) Image grey scale and gradient combining improved sift characteristic extracting method
CN104899877A (en) Method for extracting image foreground based on super pixel and fast trimap image
CN105787930A (en) Sharpness-based significance detection method and system for virtual images
CN107180436A (en) A kind of improved KAZE image matching algorithms
CN106874942B (en) Regular expression semantic-based target model rapid construction method
CN108021869A (en) A kind of convolutional neural networks tracking of combination gaussian kernel function
CN103020614A (en) Human movement identification method based on spatio-temporal interest point detection
CN105809673A (en) SURF (Speeded-Up Robust Features) algorithm and maximal similarity region merging based video foreground segmentation method
Zhou et al. Building segmentation from airborne VHR images using Mask R-CNN
CN107527348B (en) Significance detection method based on multi-scale segmentation
Kuai et al. Learning adaptively windowed correlation filters for robust tracking
CN113658129B (en) Position extraction method combining visual saliency and line segment strength
Wang et al. Hand posture recognition from disparity cost map
Wang et al. A region-line primitive association framework for object-based remote sensing image analysis
CN106504219A (en) Constrained path morphology high-resolution remote sensing image road Enhancement Method
Moridvaisi et al. An extended KCF tracking algorithm based on TLD structure in low frame rate videos
CN103077383A (en) Method for identifying human body movement of parts based on spatial and temporal gradient characteristics
Lu et al. Research on image stitching method based on fuzzy inference
Zhou et al. Structure-aware multikernel learning for hyperspectral image classification

Legal Events

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

Application publication date: 20161012

RJ01 Rejection of invention patent application after publication