CN103440646A - Similarity obtaining method for color distribution and texture distribution image retrieval - Google Patents

Similarity obtaining method for color distribution and texture distribution image retrieval Download PDF

Info

Publication number
CN103440646A
CN103440646A CN2013103616152A CN201310361615A CN103440646A CN 103440646 A CN103440646 A CN 103440646A CN 2013103616152 A CN2013103616152 A CN 2013103616152A CN 201310361615 A CN201310361615 A CN 201310361615A CN 103440646 A CN103440646 A CN 103440646A
Authority
CN
China
Prior art keywords
image
feature
template
lbp
distribution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103616152A
Other languages
Chinese (zh)
Other versions
CN103440646B (en
Inventor
徐滢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Pinguo Technology Co Ltd
Original Assignee
Chengdu Pinguo Technology Co Ltd
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 Chengdu Pinguo Technology Co Ltd filed Critical Chengdu Pinguo Technology Co Ltd
Priority to CN201310361615.2A priority Critical patent/CN103440646B/en
Publication of CN103440646A publication Critical patent/CN103440646A/en
Priority to PCT/CN2014/073995 priority patent/WO2015024383A1/en
Application granted granted Critical
Publication of CN103440646B publication Critical patent/CN103440646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/758Involving statistics of pixels or of feature values, e.g. histogram matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • 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/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/467Encoded features or binary features, e.g. local binary patterns [LBP]

Abstract

The invention discloses a similarity obtaining method for color distribution and texture distribution image retrieval and relates to the technology of image retrieval. The similarity obtaining method is characterized in that the similarity obtaining method includes the steps of extracting the color distribution characteristics of an input image and the texture distribution characteristics of the input image, calculating the similarity between the color distribution characteristics of the input image and the color distribution characteristics of each image in a database respectively to obtain the color distribution characteristic similarity Sa (i) between the input image and each image in the database, calculating the similarity between the texture distribution characteristics of the input image and the texture distribution characteristics of each image in a database respectively to obtain the texture distribution characteristic similarity Sb (i) between the input image and each image in the database, and utilizing the formula S (i)= Wa*Sa (i) + Wb*Sb (i) to calculate the combination similarity S (i) between the input image and each image in the database.

Description

Similarity acquisition methods for color distribution and grain distribution image retrieval
Technical field
The present invention relates to image retrieval technologies, especially a kind of similarity acquisition methods for color distribution and grain distribution image retrieval.
Background technology
In recent years, along with developing rapidly of mobile Internet, the application of taking pictures has obtained very large development space, and obtain and the storage of photo becomes very easy.Along with the picture data explosive growth, the user is in the urgent need to the automatic technology of retrieval and the arrangement of comparison film.Existing image retrieval technologies all wants the training sample of prestored digital image in dependency database to try to achieve similarity.And the photo of at present cloud storage is all the photo of the various scenes of taking from various users basically, do not have the training sample that retrievable demonstration has marked.Thereby existing image retrieval technologies inconvenience is applied directly in the retrieval of cloud memory image.
Summary of the invention
Technical matters to be solved by this invention is: for the problem of above-mentioned existence, provide a kind of similarity acquisition methods that is applicable to cloud storage color distribution and grain distribution image retrieval.
Similarity acquisition methods for color distribution and grain distribution image retrieval provided by the invention, is characterized in that, comprising:
Step 1: Color Distribution Features and the grain distribution feature of extracting input picture;
Step 2: the similarity of calculating respectively the Color Distribution Features of each width image in the Color Distribution Features of described input picture and database, obtain the Color Distribution Features similarity Sa(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Calculate respectively the similarity of the grain distribution feature of each width image in the grain distribution feature of described input picture and database, obtain the grain distribution characteristic similarity Sb(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa * Sa(i)+Wb * Sb(i), i gets 0,1,2 ... database images sum-1, Wa, Wb are weighting coefficient and Wa+Wb=1, the combination similarity S(i of each width image in calculating input image and database).
Preferably, the acquisition methods of described Color Distribution Features comprises:
Step 201: image transitions, to the hsv color space, is obtained to image I;
Step 202: the H of each pixel of image, S, V component are mapped as to color feature value G:G=Q s* Q v* H+Q v* S+V; The span of three passages in hsv color space is carried out to interval division, be divided into respectively H i, S j, V k, 0≤i≤Q wherein h, 0≤j≤Q s, 0≤k≤Q v, Q h, Q s, Q vthe divided interval sum of three passages that means respectively the hsv color space;
Step 203: the eigenwert distribution situation of each pixel in statistical picture: the color feature value that travels through each pixel, statistics falls into the pixel quantity of each color distribution histogram, to fall into the pixel quantity of each color distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized Color Distribution Features hist (x), wherein x representative color distribution histogram interval.
Preferably, the acquisition methods of described Color Distribution Features also comprises:
Image is divided into to the N piece; In described step 203: the eigenwert distribution situation of each pixel in statistical picture: travel through the eigenwert of each pixel, statistics falls into the pixel quantity of each color distribution histogram, and will not be twice of pixel in image boundary piece statistics; The pixel quantity that falls into each color distribution histogram, respectively divided by image slices vegetarian refreshments sum, is obtained to normalized Color Distribution Features hist (x), wherein x representative color histogram.
Preferably, the acquisition methods of described grain distribution feature comprises:
Step 301: be gray-scale map by image transitions, obtain image L;
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p 0obtain:
g i=p i-p 0,(1≤i≤8);
The g that each is calculated icarry out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; To be positioned at the g of the pixel of position i ivalue expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure BDA0000368486510000032
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
Preferably, in described step 2, the method for calculating Color Distribution Features similarity Sa comprises:
Step 401: utilize formula
Figure BDA0000368486510000041
calculate the Color Distribution Features similarity, wherein hist 1(x) be the Color Distribution Features of the first width image, hist 2(x) be the Color Distribution Features of the second width image.
Preferably, in described step 2, the method for calculating grain distribution characteristic similarity Sb comprises:
Step 401: utilize formula
Figure BDA0000368486510000042
calculate the grain distribution characteristic similarity, wherein hist 1(y) be the grain distribution feature of the first width image, hist 2(y) be the grain distribution feature of the second width image.
Preferably, described Wa > Wb.
The present invention also protects a kind of acquisition methods of the similarity for the grain distribution image search method, comprising:
Step 1: the grain distribution feature of extracting input picture;
Step 2: the similarity of calculating respectively the grain distribution feature of each width image in the grain distribution feature of described input picture and database, obtain the grain distribution characteristic similarity Sb(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
The acquisition methods of described grain distribution feature comprises:
Step 301: be gray-scale map by image transitions, obtain image L;
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p 0obtain:
g i=p i-p 0,(1≤i≤8);
The g that each is calculated icarry out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; To be positioned at the g of the pixel of position i ivalue expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure BDA0000368486510000052
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
The present invention also protects the acquisition methods of the grain distribution feature in above-mentioned.
In sum, owing to having adopted technique scheme, the invention has the beneficial effects as follows:
The image similarity acquisition methods the present invention relates to does not need image is carried out to any hypothesis, does not need a large amount of mark sample training models yet, has easy realization, the advantage that computing velocity is fast.
The accompanying drawing explanation
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is that in the present invention, Color Distribution Features extracts process flow diagram.
Fig. 2 is grain distribution feature extraction process flow diagram in the present invention.
Fig. 3 is image retrieval process flow diagram in the present invention.
Embodiment
Disclosed all features in this instructions, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Disclosed arbitrary feature in this instructions, unless special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is,, unless special narration, each feature is an example in a series of equivalences or similar characteristics.
The invention provides a kind of similarity acquisition methods for color distribution and grain distribution image retrieval, its concrete steps comprise:
Step 1: Color Distribution Features and the grain distribution feature of extracting input picture;
Step 2: the similarity of calculating respectively the Color Distribution Features of each width image in the Color Distribution Features of described input picture and database, obtain the Color Distribution Features similarity Sa(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Calculate respectively the similarity of the grain distribution feature of each width image in the grain distribution feature of described input picture and database, obtain the grain distribution characteristic similarity Sb(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa * Sa(i)+Wb * Sb(i), i gets 0,1,2... database images sum-1, and Wa, Wb are weighting coefficient and Wa+Wb=1, the combination similarity S(i of each width image in calculating input image and database).Because people more are concerned about color in the ordinary course of things, therefore as one preferred embodiment, weighting coefficient Wa > Wb.
As Fig. 3, after the combination similarity obtained between each width image of input picture and database, each similarity is sorted, the larger explanation two width images of similarity are more similar, we can rule of thumb set a threshold value, be greater than the image output in all databases of this threshold value by being greater than the combination similarity, as result for retrieval.
As Fig. 1, in one embodiment of the invention, the acquisition methods of Color Distribution Features comprises:
Step 201: image transitions, to the hsv color space, is obtained to image I; In general picture is the RGB color space, and it is technology well known in the art that the picture of RGB color space is transformed into to the hsv color space, does not repeat them here its detailed process.
Step 202: by the H of each pixel of image, S, V component according to formula G=Q s* Q v* H+Q v* the S+V mapping relations are converted to color feature value G; Wherein, Q h, Q s, Q vdefinition be such: the span of three passages in hsv color space is carried out to interval division, is divided into respectively H i, S j, V k, 0≤i≤Q wherein h, 0≤j≤Q s, 0 £ k≤Q v, Q h, Q s, Q vthe divided interval sum of three passages that means respectively the hsv color space;
Step 203: the eigenwert distribution situation of each pixel in statistical picture: the color feature value that travels through each pixel, statistics falls into the pixel quantity of each color distribution histogram, to fall into the pixel quantity of each color distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized Color Distribution Features hist (x), wherein x representative color distribution histogram interval.
Those skilled in the art all know, and the color distribution histogram is divided into some intervals by the color characteristic of entire image, then by each pixel, in each interval situation about distributing, describe different color shared ratio in entire image.
Consider the implication that piece image is expressed, often be positioned near the zone of image boundary not too important, we more are concerned about the content that the non-borderline region of figure is expressed.Therefore, in another embodiment, the acquisition methods of described Color Distribution Features also comprises:
Image is divided into to the N piece, and for example N equals 36; The pixel be included in the image boundary piece is only added up once, and rest of pixels is added up twice.Particularly, in described step 203: the eigenwert distribution situation of each pixel in statistical picture: travel through the eigenwert of each pixel, statistics falls into the pixel quantity of each color distribution histogram; And will not the pixel statistics twice in the image boundary piece, that is, when having the eigenwert that is not the pixel in the image boundary piece to fall into a certain color distribution histogram, by falling into this interval pixel quantity, add 2; Be the eigenwert of the pixel in the image boundary piece while falling into a certain color distribution histogram when having, will fall into this interval pixel quantity and add 1; The last pixel quantity that will fall into again each color distribution histogram, respectively divided by image slices vegetarian refreshments sum, obtains normalized Color Distribution Features hist (x), wherein x representative color histogram.
The Color Distribution Features value come out like this is more accurate.
As Fig. 2, in another embodiment of the present invention, the acquisition methods of described grain distribution feature comprises:
Step 301: be gray-scale map by image transitions, obtain image L; By the RGB image transitions, be that gray-scale map has several different methods, wherein a kind of is to utilize formula L=0.299*R+0.587*G+0.114*B to be changed, wherein, and the red component of R represent pixel, the green component of G represent pixel, the blue component of B represent pixel.0.299,0.587,0.114 be coefficient, this coefficient is not unique certainly, can not be interpreted as limitation of the present invention.
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature (being textural characteristics) of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p 0obtain:
g i=p i-p 0,(1≤i≤8);
The g that each is calculated icarry out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; The gi value that will be positioned at the pixel of position i expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
The LBP feature of above-mentioned calculating can not be tackled the requirement of invariable rotary, in order to obtain the LBP feature of invariable rotary, needs further execution step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure BDA0000368486510000092
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
Here the histogrammic definition of grain distribution and the definition of aforementioned color distribution histogram are similar.The grain distribution histogram is divided into some intervals by the textural characteristics of entire image, then by each pixel, in each interval situation about distributing, describes different texture shared ratio in entire image.
After the Color Distribution Features that obtains image, calculate the embodiment of the Color Distribution Features similarity Sa of two width images, comprising:
Step 401: utilize formula
Figure BDA0000368486510000101
calculate the Color Distribution Features similarity, wherein hist 1(x) be the Color Distribution Features of the first width image, hist 2(x) be the Color Distribution Features of the second width image, wherein x representative color histogram.
After the grain distribution feature that obtains image, calculate the embodiment of the grain distribution characteristic similarity Sb of two width images, comprising:
Step 501: utilize formula calculate the grain distribution characteristic similarity, wherein hist 1(y) be the grain distribution feature of the first width image, hist 2(y) be the grain distribution feature of the second width image.Y represents the grain distribution histogram.
Under the instruction of foregoing, those skilled in the art easily expect a kind of acquisition methods of the similarity for the grain distribution image search method based on innovative idea of the present invention, comprising:
Step 1: the grain distribution feature of extracting input picture;
Step 2: the similarity of calculating respectively the grain distribution feature of each width image in the grain distribution feature of described input picture and database, obtain the grain distribution characteristic similarity Sb(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1.
In like manner, after the grain distribution characteristic similarity obtained between each width image of input picture and database, each similarity is sorted, the larger explanation two width images of similarity are more similar, we can rule of thumb set a threshold value, be greater than the image output in all databases of this threshold value by being greater than the combination similarity, as result for retrieval.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination disclosed in this manual, and the arbitrary new method disclosed or step or any new combination of process.

Claims (10)

1. the similarity acquisition methods for color distribution and grain distribution image retrieval, is characterized in that, comprising:
Step 1: Color Distribution Features and the grain distribution feature of extracting input picture;
Step 2: the similarity of calculating respectively the Color Distribution Features of each width image in the Color Distribution Features of described input picture and database, obtain the Color Distribution Features similarity Sa(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Calculate respectively the similarity of the grain distribution feature of each width image in the grain distribution feature of described input picture and database, obtain the grain distribution characteristic similarity Sb(i between each width image in input picture and database), i gets 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa * Sa(i)+Wb * Sb(i), i gets 0,1,2 ... database images sum-1, Wa, Wb are weighting coefficient and Wa+Wb=1, the combination similarity S(i of each width image in calculating input image and database).
2. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 1, is characterized in that, the acquisition methods of described Color Distribution Features comprises:
Step 201: image transitions, to the hsv color space, is obtained to image I;
Step 202: the H of each pixel of image, S, V component are mapped as to color feature value G:G=Q s* Q v* H+Q v* S+V; The span of three passages in hsv color space is carried out to interval division, be divided into respectively H i, S j, V k, 0≤i≤Q wherein h, 0≤j≤Q s, 0≤k≤Q v, Q h, Q s, Q vthe divided interval sum of three passages that means respectively the hsv color space;
Step 203: the color feature value distribution situation of each pixel in statistical picture: the color feature value that travels through each pixel, statistics falls into the pixel quantity of each color distribution histogram, to fall into the pixel quantity of each color distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized Color Distribution Features hist (x), wherein x representative color distribution histogram interval.
3. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 2, is characterized in that, the acquisition methods of described Color Distribution Features also comprises:
Image is divided into to the N piece; In described step 203: the eigenwert distribution situation of each pixel in statistical picture: travel through the eigenwert of each pixel, statistics falls into the pixel quantity of each color distribution histogram, and will not be twice of pixel in image boundary piece statistics; The pixel quantity that falls into each color distribution histogram, respectively divided by image slices vegetarian refreshments sum, is obtained to normalized Color Distribution Features hist (x), wherein x representative color histogram.
4. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 1 and 2, is characterized in that, the acquisition methods of described grain distribution feature comprises:
Step 301: be gray-scale map by image transitions, obtain image L;
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p 0obtain:
g i=p i-p 0,(1≤i≤8);
The gi that each is calculated carries out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; To be positioned at the g of the pixel of position i ivalue expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure FDA0000368486500000031
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
5. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 4, is characterized in that, the method for calculating Color Distribution Features similarity Sa in described step 2 comprises:
Step 401: utilize formula calculate the Color Distribution Features similarity, wherein hist 1(x) be the Color Distribution Features of the first width image, hist 2(x) be the Color Distribution Features of the second width image.
6. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 4, is characterized in that, the method for calculating grain distribution characteristic similarity Sb in described step 2 comprises:
Step 401: utilize formula calculate the grain distribution characteristic similarity, wherein hist 1(y) be the grain distribution feature of the first width image, hist 2(y) be the grain distribution feature of the second width image.
7. the similarity acquisition methods for color distribution and grain distribution image retrieval according to claim 1, is characterized in that described Wa > Wb.
8. the acquisition methods of the similarity for the grain distribution image search method, is characterized in that, comprising:
Step 1: the grain distribution feature of extracting input picture;
Step 2: calculate respectively the similarity of the grain distribution feature of each width image in the grain distribution feature of described input picture and database, the some grain distribution characteristic similarity Sb(i that arrive), i gets 0,1,2 ... database images sum-1;
The acquisition methods of described grain distribution feature comprises:
Step 301: be gray-scale map by image transitions, obtain image L;
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p0 to be obtained:
g i=p i-p 0,(1≤i≤8);
The g that each is calculated icarry out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; To be positioned at the g of the pixel of position i ivalue expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure FDA0000368486500000042
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
9. the acquisition methods of the similarity for the grain distribution image retrieval according to claim 8, is characterized in that, the method for calculating grain distribution characteristic similarity Sb in described step 2 comprises:
Step 401: utilize formula
Figure FDA0000368486500000051
calculate the grain distribution characteristic similarity, wherein hist 1(y) be the grain distribution feature of the first width image, hist 2(y) be the grain distribution feature of the second width image.
10. the acquisition methods of a grain distribution feature, is characterized in that, comprising:
Step 301: be gray-scale map by image transitions, obtain image L;
Step 302: to be of a size of the template of 3 pixels * 3 pixels, travel through described image L, obtain the LBP feature of each template, the method that wherein obtains template LBP feature comprises:
The gray-scale value of 9 pixels in the note template is p i(0≤i≤8), wherein the grey scale pixel value of template center is designated as p 0; The gray-scale value of other pixel in template is deducted to p 0obtain:
g i=p i-p 0,(1≤i≤8);
The g that each is calculated icarry out binary conversion treatment: if g i>=0 makes g i=1, otherwise g i=0; To be positioned at the g of the pixel of position i ivalue expands to 82 system numbers, obtains LBP (i) and is characterized as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: the LBP that obtains the invariable rotary of each template rifeature; Wherein obtain the LBP of the invariable rotary of template rithe method of feature comprises:
By carrying out shifting function, can obtain respectively 8 binary data to each LBP (i) of template, get a wherein minimum LBP as invariable rotary ri(i) feature:
Figure FDA0000368486500000061
1≤i in formula≤8, ROR means shifting function, q means the figure place that is shifted;
Step 304: the LBP that adds up each invariable rotary in each template ri(i) distribution situation of feature: the LBP that travels through each invariable rotary of each template ri(i) eigenwert, statistics falls into the pixel quantity of each grain distribution histogram, to fall into again the pixel quantity of each grain distribution histogram respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature hist (y), wherein y represents the grain distribution histogram.
CN201310361615.2A 2013-08-19 2013-08-19 Similarity acquisition methods for distribution of color and grain distribution image retrieval Active CN103440646B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310361615.2A CN103440646B (en) 2013-08-19 2013-08-19 Similarity acquisition methods for distribution of color and grain distribution image retrieval
PCT/CN2014/073995 WO2015024383A1 (en) 2013-08-19 2014-03-25 Similarity acquisition method for colour distribution and texture distribution image retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310361615.2A CN103440646B (en) 2013-08-19 2013-08-19 Similarity acquisition methods for distribution of color and grain distribution image retrieval

Publications (2)

Publication Number Publication Date
CN103440646A true CN103440646A (en) 2013-12-11
CN103440646B CN103440646B (en) 2016-08-10

Family

ID=49694339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310361615.2A Active CN103440646B (en) 2013-08-19 2013-08-19 Similarity acquisition methods for distribution of color and grain distribution image retrieval

Country Status (2)

Country Link
CN (1) CN103440646B (en)
WO (1) WO2015024383A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156732A (en) * 2014-08-01 2014-11-19 北京利云技术开发公司 Paper authenticity identification system and method
WO2015024383A1 (en) * 2013-08-19 2015-02-26 成都品果科技有限公司 Similarity acquisition method for colour distribution and texture distribution image retrieval
CN104699726A (en) * 2013-12-18 2015-06-10 杭州海康威视数字技术股份有限公司 Vehicle image retrieval method and device for traffic block port
CN104750697A (en) * 2013-12-27 2015-07-01 同方威视技术股份有限公司 Perspective image content based retrieval system and method and safety checking device
CN105160029A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Image retrieval apparatus and method
CN105574837A (en) * 2014-10-13 2016-05-11 Tcl集团股份有限公司 Image similarity matching method and device
CN106033549A (en) * 2015-03-16 2016-10-19 北京大学 Reordering method in vehicle retrieval and apparatus thereof
CN106202250A (en) * 2016-06-29 2016-12-07 西安电子科技大学 Class-based comprehensive characteristics and the image search method of complete class coupling
CN107145487A (en) * 2016-03-01 2017-09-08 深圳中兴力维技术有限公司 Image search method and device
CN107729855A (en) * 2017-10-25 2018-02-23 成都尽知致远科技有限公司 Mass data processing method
CN108876832A (en) * 2018-05-30 2018-11-23 重庆邮电大学 Based on grouping-order modes robust texture features extracting method
CN109671113A (en) * 2018-09-29 2019-04-23 浙江华孚色纺有限公司 A kind of color textile fabric based on image technique is measured color method
CN110298366A (en) * 2019-07-05 2019-10-01 北华航天工业学院 Crops are distributed extracting method and device
CN110909791A (en) * 2019-11-20 2020-03-24 车智互联(北京)科技有限公司 Similar image identification method and computing device
CN115830352A (en) * 2023-02-20 2023-03-21 深圳中微电科技有限公司 Image similarity contrast method and device and storage medium
CN116403419A (en) * 2023-06-07 2023-07-07 贵州鹰驾交通科技有限公司 Traffic light control method based on vehicle-road cooperation

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461147B (en) * 2020-04-30 2023-05-23 柳州智视科技有限公司 Binary coding organization algorithm based on image features
CN111861981B (en) * 2020-05-29 2023-05-30 北京工商大学 Image color space fat point detection and evaluation method based on dotted line and plane
CN111985559A (en) * 2020-08-19 2020-11-24 合肥工业大学 Tire pattern structure similarity detection method based on boundary characteristics

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926575A (en) * 2004-03-03 2007-03-07 日本电气株式会社 Image similarity calculation system, image search system, image similarity calculation method, and image similarity calculation program
CN101460947A (en) * 2006-05-29 2009-06-17 卧龙岗大学 Content based image retrieval
CN101789005A (en) * 2010-01-22 2010-07-28 深圳创维数字技术股份有限公司 Image searching method based on region of interest (ROI)
CN102663754A (en) * 2012-04-17 2012-09-12 北京博研新创数码科技有限公司 Image matching calculation method based on regional Gaussian weighting
CN103207910A (en) * 2013-04-08 2013-07-17 河南大学 Image retrieval method based on hierarchical features and genetic programming relevance feedback

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100866792B1 (en) * 2007-01-10 2008-11-04 삼성전자주식회사 Method and apparatus for generating face descriptor using extended Local Binary Pattern, and method and apparatus for recognizing face using it
CN101425136B (en) * 2008-10-24 2012-04-11 北京工业大学 Method and device for acquiring partial binary mode characteristic of video image
CN101551823B (en) * 2009-04-20 2011-06-08 浙江师范大学 Comprehensive multi-feature image retrieval method
CN102254165B (en) * 2011-08-12 2012-11-14 北方工业大学 Hand back vein identification method based on fusion of structural coding features and texture coding features
CN102662949B (en) * 2012-02-27 2014-03-12 安科智慧城市技术(中国)有限公司 Method and system for retrieving specified object based on multi-feature fusion
CN103440646B (en) * 2013-08-19 2016-08-10 成都品果科技有限公司 Similarity acquisition methods for distribution of color and grain distribution image retrieval

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926575A (en) * 2004-03-03 2007-03-07 日本电气株式会社 Image similarity calculation system, image search system, image similarity calculation method, and image similarity calculation program
CN101460947A (en) * 2006-05-29 2009-06-17 卧龙岗大学 Content based image retrieval
CN101789005A (en) * 2010-01-22 2010-07-28 深圳创维数字技术股份有限公司 Image searching method based on region of interest (ROI)
CN102663754A (en) * 2012-04-17 2012-09-12 北京博研新创数码科技有限公司 Image matching calculation method based on regional Gaussian weighting
CN103207910A (en) * 2013-04-08 2013-07-17 河南大学 Image retrieval method based on hierarchical features and genetic programming relevance feedback

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李斌等: "基于纹理的运动目标检测", 《计算机工程与应用》 *
杨红菊等: "一种基于颜色矩和多尺度纹理特征的彩色图像检索方法", 《计算机科学》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024383A1 (en) * 2013-08-19 2015-02-26 成都品果科技有限公司 Similarity acquisition method for colour distribution and texture distribution image retrieval
CN104699726B (en) * 2013-12-18 2018-03-23 杭州海康威视数字技术股份有限公司 A kind of vehicle image search method and device applied to traffic block port
CN104699726A (en) * 2013-12-18 2015-06-10 杭州海康威视数字技术股份有限公司 Vehicle image retrieval method and device for traffic block port
CN104750697A (en) * 2013-12-27 2015-07-01 同方威视技术股份有限公司 Perspective image content based retrieval system and method and safety checking device
CN104750697B (en) * 2013-12-27 2019-01-25 同方威视技术股份有限公司 Searching system, search method and Security Inspection Equipments based on fluoroscopy images content
CN104156732A (en) * 2014-08-01 2014-11-19 北京利云技术开发公司 Paper authenticity identification system and method
CN105574837A (en) * 2014-10-13 2016-05-11 Tcl集团股份有限公司 Image similarity matching method and device
CN106033549A (en) * 2015-03-16 2016-10-19 北京大学 Reordering method in vehicle retrieval and apparatus thereof
CN106033549B (en) * 2015-03-16 2019-05-07 北京大学 Method for reordering and device in a kind of vehicle retrieval
CN105160029A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Image retrieval apparatus and method
CN105160029B (en) * 2015-09-30 2019-04-16 努比亚技术有限公司 Image retrieving apparatus and method
CN107145487A (en) * 2016-03-01 2017-09-08 深圳中兴力维技术有限公司 Image search method and device
CN106202250B (en) * 2016-06-29 2019-12-17 西安电子科技大学 Image retrieval method based on class comprehensive characteristics and complete class matching
CN106202250A (en) * 2016-06-29 2016-12-07 西安电子科技大学 Class-based comprehensive characteristics and the image search method of complete class coupling
CN107729855A (en) * 2017-10-25 2018-02-23 成都尽知致远科技有限公司 Mass data processing method
CN107729855B (en) * 2017-10-25 2022-03-18 成都尽知致远科技有限公司 Mass data processing method
CN108876832B (en) * 2018-05-30 2022-04-26 重庆邮电大学 Robust texture feature extraction method based on grouping-order mode
CN108876832A (en) * 2018-05-30 2018-11-23 重庆邮电大学 Based on grouping-order modes robust texture features extracting method
CN109671113A (en) * 2018-09-29 2019-04-23 浙江华孚色纺有限公司 A kind of color textile fabric based on image technique is measured color method
CN110298366A (en) * 2019-07-05 2019-10-01 北华航天工业学院 Crops are distributed extracting method and device
CN110909791A (en) * 2019-11-20 2020-03-24 车智互联(北京)科技有限公司 Similar image identification method and computing device
CN110909791B (en) * 2019-11-20 2023-02-28 车智互联(北京)科技有限公司 Similar image identification method and computing device
CN115830352A (en) * 2023-02-20 2023-03-21 深圳中微电科技有限公司 Image similarity contrast method and device and storage medium
CN116403419A (en) * 2023-06-07 2023-07-07 贵州鹰驾交通科技有限公司 Traffic light control method based on vehicle-road cooperation
CN116403419B (en) * 2023-06-07 2023-08-25 贵州鹰驾交通科技有限公司 Traffic light control method based on vehicle-road cooperation

Also Published As

Publication number Publication date
CN103440646B (en) 2016-08-10
WO2015024383A1 (en) 2015-02-26

Similar Documents

Publication Publication Date Title
CN103440646A (en) Similarity obtaining method for color distribution and texture distribution image retrieval
Li et al. Building block level urban land-use information retrieval based on Google Street View images
US10528620B2 (en) Color sketch image searching
EP2916291B1 (en) Method, apparatus and computer program product for disparity map estimation of stereo images
US20130058579A1 (en) Image information processing apparatus
CN102567731A (en) Extraction method for region of interest
Tao et al. Skyfinder: attribute-based sky image search
CN103632153B (en) Region-based image saliency map extracting method
CN103208115B (en) Based on the saliency method for detecting area of geodesic line distance
CN110110578B (en) Indoor scene semantic annotation method
CN105809146A (en) Image scene recognition method and device
CN104700415B (en) The choosing method of matching template in a kind of images match tracking
US20150077639A1 (en) Color video processing system and method, and corresponding computer program
US20220180624A1 (en) Method and device for automatic identification of labels of an image
CN111127360B (en) Gray image transfer learning method based on automatic encoder
US20150278605A1 (en) Apparatus and method for managing representative video images
CN102289671A (en) Method and device for extracting texture feature of image
Munyati Optimising multiresolution segmentation: Delineating savannah vegetation boundaries in the Kruger National Park, South Africa, using Sentinel 2 MSI imagery
CN103678552A (en) Remote-sensing image retrieving method and system based on salient regional features
CN103927759A (en) Automatic cloud detection method of aerial images
CN102819746B (en) Based on the automatic type labeling of remote sensing images of author-school topic model
CN102831621A (en) Video significance processing method based on spectral analysis
He et al. Effective haze removal under mixed domain and retract neighborhood
CN104835121B (en) Tone mapping method with entropy principle is constrained based on Infinite Norm
Miao et al. Use of colour transformation and the geodesic method for road centreline extraction from VHR satellite images

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Similarity obtaining method for color distribution and texture distribution image retrieval

Effective date of registration: 20161125

Granted publication date: 20160810

Pledgee: Chengdu SME financing Company Limited by Guarantee

Pledgor: Chengdu PinGuo Digital Entertainment Ltd.

Registration number: 2016510000067

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20171220

Granted publication date: 20160810

Pledgee: Chengdu SME financing Company Limited by Guarantee

Pledgor: Chengdu PinGuo Digital Entertainment Ltd.

Registration number: 2016510000067

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041, Chengdu, Chengdu, Sichuan, China (Sichuan) free trade test area, Chengdu high tech Zone, middle section of Tianfu Avenue, No. 1268, 1

Patentee after: Chengdu PinGuo Digital Entertainment Ltd.

Address before: 610041 Chengdu high tech Zone, Sichuan Century City Road, No. 216

Patentee before: Chengdu PinGuo Digital Entertainment Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Similarity obtaining method for color distribution and texture distribution image retrieval

Effective date of registration: 20180929

Granted publication date: 20160810

Pledgee: Chengdu SME financing Company Limited by Guarantee

Pledgor: Chengdu PinGuo Digital Entertainment Ltd.

Registration number: 2018510000094