CN105426916A - Image similarity calculation method - Google Patents
Image similarity calculation method Download PDFInfo
- Publication number
- CN105426916A CN105426916A CN201510817744.7A CN201510817744A CN105426916A CN 105426916 A CN105426916 A CN 105426916A CN 201510817744 A CN201510817744 A CN 201510817744A CN 105426916 A CN105426916 A CN 105426916A
- Authority
- CN
- China
- Prior art keywords
- similarity
- image
- compared
- calculation method
- texture
- 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
- 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
-
- 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/5862—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 texture
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Image Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses an image similarity calculation method. The method comprises: (1) extracting texture features of two to-be-compared images and calculating texture feature similarity of the two to-be-compared images; (2) calculating feature similarity of Riemannian manifolds of the two to-be-compared images; and (3) performing weighted calculation on comprehensive similarity of the two to-be-compared images by utilizing results in the steps (1) and (2). According to the method, the texture features of the images are extracted with Shearlet wavelet transformation and the similarity of the images is measured by using the similarity of the Riemannian manifolds and the difference between textures to realize comprehensive measurement of the similarity of the images, thereby effectively improving the accuracy and recall level of image retrieval.
Description
Technical field
The present invention relates to image retrieval technologies field, particularly relate to a kind of measure of image similarity.
Background technology
Image ratio has more obtained a large amount of concern of image procossing and computer vision field, because it is the core ingredient of multiple application, and such as Object identifying, stereoscopic vision, image interpolation, image denoising, and exemplar-based image repair etc.Common methods is the Similarity Measure between the overall two width images of definition one, namely compares and obtains a little to the bag that neighbouring neighbours are formed from two width images.We think the image generally defined in Riemann manifold.Popular appearance like this, such as, is defined in R
nimage, give the suitable tolerance be defined on image.
Textural characteristics is one of key character of image, and it can reflect the regularity of distribution of neighborhood territory pixel gray scale, wherein wavelet analysis be a kind of brand-new time, frequency analysis, be the time scale analytical approach of signal.Increasing research in recent years concentrates on how to carry out analyzing image texture by wavelet transformation.
The characteristic similarity that Riemann is popular: two width images are defined in respectively Riemann popular on, then the similarity of two width images be exactly in fact in movement images by certain a bit centered by the popular Euclidean distance of the Riemann of subimage.
Textural characteristics similarity: textural characteristics is one of key character of image, and it can reflect the regularity of distribution of neighborhood territory pixel gray scale, wherein wavelet analysis be a kind of brand-new time, frequency analysis, be the time scale analytical approach of signal.Increasing research in recent years concentrates on how to carry out analyzing image texture by wavelet transformation, utilizes the texture feature vector of analysis of texture to have good effect to calculate textural characteristics similarity.But it is not high based on the accuracy rate of the image retrieval of two kinds of Similarity Measure in prior art.
Summary of the invention
The present invention proposes a kind of and shape similarity computing method of combined with texture feature popular based on Riemann, utilize weighting to carry out comprehensive similarity description, and then obtain shape similarity.
A kind of image similarity calculation method, is characterized in that, comprising:
(1) textural characteristics of two width images to be compared is extracted respectively, and the textural characteristics similarity both calculating;
(2) characteristic similarity of the Riemann manifold of two width images to be compared is calculated;
(3) comprehensive similarity of the result weighted calculation of step (1), step (2) two width images to be compared is utilized.
Image texture reflection be a kind of partial structurtes feature of image, the energy distribution based on frequency domain can differentiate the basic assumption of texture, adopts wavelet transformation texture feature extraction in step (1).
The present invention adopts small wave converting method to forward image texture to transform domain by wave filter or bank of filters, then applied energy criterion texture feature extraction [MukundanR; RamakrishnanKRMomentFunctionsinImageAnalysis-TheoryandAp plications1998].
Adopt wavelet transformation texture feature extraction, its reason is texture is narrow band signal, and different texture generally has different centre frequencies and bandwidth.Wave filter will input texture image I (x, y) and carry out convolution with shearlet small echo, can obtain the subband of different directions and yardstick.
The textural characteristics similarity of two width images to be compared:
Wherein f
qand f
ithe texture feature vector of two width images to be compared (image Q and image I) respectively; I is proper vector number.
Be given two image u based on the Similarity Measure that Riemann is popular, define respective image area in v and (suppose R
2for the sake of simplicity), comparison point (x, y ∈ R is respectively thought
2) the simplest method of neighbours to compare be use Euclidean distance comparison point x, y two neighbours.
This formula gives a clear and definite comparison, supposes that image area is Euclidean plane, this method is extensive be applied in a lot of document based on bag comparative approach.
And final comprehensive similarity calculating sets Q as image to be checked, I is the sub-picture in image library, uses the similarity of their contents of weighted feature distance metric.
Described comprehensive similarity S (Q, I)=ω
zs
manifold(Q, I)+ω
ts
texture(Q, I);
Wherein use S
lmanifoldand S
texturerepresent the characteristic similarity that the Riemann of two width images to be compared and image Q and image I is popular and textural characteristics similarity respectively;
ω
zand ω
tbe two adjustable weights, and meet ω
z+ ω
t=1.
Described comprehensive similarity can be expressed as the weighted sum of two similarities, and the value of S is less, be then considered as more similar.ω
zand ω
tselection be determine according to the contribution degree of corresponding ingredient, can utilize based on weight-coefficient compromise, be referred to as again the method that Similarity Measure upgrades, it is the object that the weight coefficient suitably adjusted in range formula according to feedback information reaches Optimized Matching result.
For simplicity, during original state, described ω
z=ω
t=0.5.
As preferably, ω
zand ω
tbe configured to preset value, by the result for retrieval calculated, analyze each amount of the characteristic similarity of textural characteristics similarity and Riemann manifold, and optimize ω by feedback iteration
zand ω
t.
The present invention adopts Gabor wavelet to convert texture feature extraction, utilization is defined in the popular similarity calculating two width images of Riemann, and the similarity of the similarity simultaneously calculated by textural characteristics and the popular upper calculating of Riemann is weighted and obtains final comprehensive similarity.Experimental result shows, in literary composition, algorithm complex is little, and retrieval accuracy is high, has good retrieval performance.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in detail.
The present embodiment image similarity calculation method, comprises the steps:
(1) for two width images to be compared, carry out texture feature extraction respectively, calculate textural characteristics similarity.
The present embodiment adopts wavelet transformation texture feature extraction, and its reason is texture is narrow band signal, and different texture generally has different centre frequencies and bandwidth.Wave filter will input texture image I (x, y) and carry out convolution with shearlet small echo, can obtain the subband of different directions and yardstick.
If the size of I (x, y) is M × N, then the image exported through Shearlet wavelet decomposition is
I
mn(x,y)=I(x,y)*ψ
mn(x,y)(1)
Wherein, ψ
mn(x, y) carries out yardstick to Shearlet wavelet basis function ψ (x, y) to stretch and the little wave system that formed after rotational transform, can be expressed as
ψ
mn(x,y)=a
-mψ(x′,y′),a>1,m,n∈Z(2)
Wherein, x '=a
-m(xcos θ+ysin θ), y '=a
-m(ycos θ-xsin θ),
θ=n π/k, k are direction numbers, a
-mit is scale factor.Then the basis function of two-dimentional Shearlet ripple may be defined as
Wherein, ψ (x, y) is through the Gaussian function of complex sinusoid FUNCTION MODULATION;
σ
xand σ
ybe respectively the variance of Shearlet ripple basis function along x-axis and y-axis direction;
Frequency centered by ω.
Here, Shearlet wavelet basis function is the bandpass filter of frequency centered by (ω, 0).The average μ calculated by formula (1)
mnwith standard variance σ
mncan as the textural characteristics of image, its expression formula is
Proper vector can be expressed as: f (μ
00, σ
00; μ
01, σ
01; ).
When direction number and scale parameter value are respectively 6 and 4, conspicuousness is the highest.
Two width images to be compared are image Q and image I respectively, and corresponding texture feature vector is respectively f
qand f
i.
S
texturerepresent the textural characteristics similarity of image Q and image I
Wherein f
qand f
ithe texture feature vector of two width images to be compared (image Q and image I) respectively; I is proper vector number.
(2) characteristic similarity of the Riemann manifold of two width images to be compared (image Q and image I) is calculated.
Given two image u, define respective image area and (suppose R in v
2for the sake of simplicity), we think comparison point (x, y ∈ R respectively
2) neighbours.It is use Euclidean distance comparison point x, y two neighbours that the simplest method compares.That is, let us definition
Wherein, g
tbe a given window function, suppose it is the Gaussian function of variable t, h is defined in R
2on coordinate figure.This formula gives a clear and definite comparison, supposes that image area is Euclidean plane, this method is extensive be applied in a lot of document based on bag comparative approach.
The present invention compares by the image similarity being defined in Riemann manifold the similarity that formula (as the plane of delineation given an anisotropy metric, similar structures tensor) comes between computed image.Need to solve one with x, the y degeneration PDE as variable, PDE equation is as follows:
Wherein D is Euclidean distance;
Δ
xd is the differential of D in x direction;
Δ
yd is D differential in y-direction;
Tr is the quadratic sum of diagonal of a matrix;
D
xyrepresent that D is to the partial derivative of xy.
This may be the simplest situation of linear PDE of the multiple dimensioned comparison of expression two image bags.Note, in formula (7), t reflects the size for the image block compared.When to be defined in Riemann manifold epigraph bag compare, the method from axiomatization is a lot.The multiple dimensioned image similarity based on Riemann's Epidemic analysis compares, and one need be provided to flow shape M
iwith corresponding metric G
i, and the priori link between two image Riemanns are popular.Concrete method for solving can see [VadimFedorov, PabloArias, RidaSadek, GabrieleFacciolo, andColomaBallester.LinearMultiscaleAnalysisofSimilaritie sbetweenImagesonRiemannianManifolds:PracticalFormulaandA ffineCovariantMetrics.SIAMJ.IMAGINGSCIENCESVol.8, No.3, pp.2021 – 2069].
(3) comprehensive similarity calculates
If image Q is image to be checked, image I is the sub-picture in image library, uses the similarity of their contents of weighted feature distance metric.
Use S
manifoldand S
texturerepresent the characteristic similarity that the Riemann of image Q and image I is popular and textural characteristics similarity respectively, both can be expressed as comprehensive similarity similarity
Wherein, ω
zand ω
tbe two adjustable weights, and meet ω
z+ ω
t=1.
The value of S is less, be then considered as more similar.ω
zand ω
tselection be determine according to the contribution degree of corresponding ingredient, can utilize based on weight-coefficient compromise, be referred to as again the method that Similarity Measure upgrades, it is that the weight coefficient suitably adjusted in range formula according to feedback information reaches the object of Optimized Matching result.
First, weight is configured to some preset values, by the result for retrieval calculated, for the situation meeting user's requirement, analyze their each component, the weights large to contribution degree increase, to contribution degree little just reduce weights, after feedback iteration, weight just can close to optimal value.For the sake of simplicity, suppose that each part judges to have equal contribution degree to similarity, therefore, get ω
z=ω
t=0.5.
Claims (6)
1. an image similarity calculation method, is characterized in that, comprising:
(1) textural characteristics of two width images to be compared is extracted respectively, and the textural characteristics similarity both calculating;
(2) characteristic similarity of the Riemann manifold of two width images to be compared is calculated;
(3) comprehensive similarity of the result weighted calculation of step (1), step (2) two width images to be compared is utilized.
2. image similarity calculation method as claimed in claim 1, is characterized in that, the textural characteristics similarity of two width images to be compared:
Wherein f
qand f
ithe texture feature vector of two width images to be compared respectively; I is proper vector number.
3. image similarity calculation method as claimed in claim 2, is characterized in that, described comprehensive similarity S (Q, I)=ω
zs
manifold(Q, I)+ω
ts
texture(Q, I);
Wherein use S
lmanifoldand S
texturerepresent the characteristic similarity that the Riemann of two width images to be compared and image Q and image I is popular and textural characteristics similarity respectively;
ω
zand ω
tbe two adjustable weights, and meet ω
z+ ω
t=1.
4. image similarity calculation method as claimed in claim 3, is characterized in that, adopts wavelet transformation texture feature extraction in step (1).
5. image similarity calculation method as claimed in claim 4, is characterized in that, described ω
z=ω
t=0.5.
6. image similarity calculation method as claimed in claim 5, is characterized in that, ω
zand ω
tbe configured to preset value, by the result for retrieval calculated, analyze each amount of the characteristic similarity of textural characteristics similarity and Riemann manifold, and optimize ω by feedback iteration
zand ω
t.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510817744.7A CN105426916A (en) | 2015-11-23 | 2015-11-23 | Image similarity calculation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510817744.7A CN105426916A (en) | 2015-11-23 | 2015-11-23 | Image similarity calculation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105426916A true CN105426916A (en) | 2016-03-23 |
Family
ID=55505114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510817744.7A Pending CN105426916A (en) | 2015-11-23 | 2015-11-23 | Image similarity calculation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426916A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027047A (en) * | 2017-05-16 | 2017-08-08 | 武汉斗鱼网络科技有限公司 | Net cast monitoring method, device and electronic equipment |
CN110969682A (en) * | 2019-11-27 | 2020-04-07 | 深圳追一科技有限公司 | Virtual image switching method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040013304A1 (en) * | 2002-07-22 | 2004-01-22 | Viola Paul A. | System and method for detecting objects in images |
CN101551823A (en) * | 2009-04-20 | 2009-10-07 | 浙江师范大学 | Comprehensive multi-feature image retrieval method |
CN102722732A (en) * | 2012-05-30 | 2012-10-10 | 清华大学 | Image set matching method based on data second order static modeling |
-
2015
- 2015-11-23 CN CN201510817744.7A patent/CN105426916A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040013304A1 (en) * | 2002-07-22 | 2004-01-22 | Viola Paul A. | System and method for detecting objects in images |
CN101551823A (en) * | 2009-04-20 | 2009-10-07 | 浙江师范大学 | Comprehensive multi-feature image retrieval method |
CN102722732A (en) * | 2012-05-30 | 2012-10-10 | 清华大学 | Image set matching method based on data second order static modeling |
Non-Patent Citations (2)
Title |
---|
刘元,等: ""基于Log-Gabor滤波与黎曼流形学习的图像识别算法"", 《模式识别与人工智能》 * |
胡鹏,等: ""基于Gabor小波和流形的人脸识别研究"", 《模式识别与仿真》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027047A (en) * | 2017-05-16 | 2017-08-08 | 武汉斗鱼网络科技有限公司 | Net cast monitoring method, device and electronic equipment |
CN110969682A (en) * | 2019-11-27 | 2020-04-07 | 深圳追一科技有限公司 | Virtual image switching method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104050681B (en) | A kind of road vanishing Point Detection Method method based on video image | |
CN102541954B (en) | Method and system for searching trademarks | |
CN104091151A (en) | Vehicle identification method based on Gabor feature extraction and sparse representation | |
CN103208097B (en) | Filtering method is worked in coordination with in the principal component analysis of the multi-direction morphosis grouping of image | |
CN103236046B (en) | Based on the fractional order adaptive coherent spot filtering method of image aspects fuzzy membership | |
CN108052863A (en) | Electrical energy power quality disturbance recognition methods based on the maximum variance method of development | |
CN103279957A (en) | Method for extracting remote sensing image interesting area based on multi-scale feature fusion | |
CN105301558A (en) | Indoor positioning method based on bluetooth position fingerprints | |
CN103473755B (en) | Based on the sparse denoising method of SAR image that change detects | |
CN104200463A (en) | Fourier-Merlin transform and maximum mutual information theory based image registration method | |
CN103605121B (en) | Wideband radar data fusion method based on rapid sparse Bayesian learning algorithm | |
CN106295604B (en) | Remote sensing image road network extractive technique based on Federated filter | |
CN102324045B (en) | Invariant-moment target recognition method based on Radon transformation and polar harmonic transformation | |
CN102402685A (en) | Method for segmenting three Markov field SAR image based on Gabor characteristic | |
CN102013106B (en) | Image sparse representation method based on Curvelet redundant dictionary | |
CN102651132A (en) | Medical image registration method based on intersecting cortical model | |
CN107843875A (en) | Bayes's compressed sensing Radar Data Fusion method based on singular value decomposition noise reduction | |
CN103400383A (en) | SAR (synthetic aperture radar) image change detection method based on NSCT (non-subsampled contourlet transform) and compressed projection | |
CN106886978A (en) | A kind of super resolution ratio reconstruction method of image | |
CN105913382A (en) | High-fidelity anisotropy filtering method for threshold searching optimization | |
CN103473559A (en) | SAR image change detection method based on NSCT domain synthetic kernels | |
Chen et al. | SAR image despeckling by combination of fractional-order total variation and nonlocal low rank regularization | |
CN104102900A (en) | Vehicle identification system | |
CN105809649A (en) | Variation multi-scale decomposing based SAR image and visible light image integration method | |
CN105426916A (en) | Image similarity calculation 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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160323 |