[go: up one dir, main page]

CN103440646B - Similarity acquisition methods for distribution of color and grain distribution image retrieval - Google Patents

Similarity acquisition methods for distribution of color and grain distribution image retrieval Download PDF

Info

Publication number
CN103440646B
CN103440646B CN201310361615.2A CN201310361615A CN103440646B CN 103440646 B CN103440646 B CN 103440646B CN 201310361615 A CN201310361615 A CN 201310361615A CN 103440646 B CN103440646 B CN 103440646B
Authority
CN
China
Prior art keywords
distribution
image
color
feature
template
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.)
Active
Application number
CN201310361615.2A
Other languages
Chinese (zh)
Other versions
CN103440646A (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

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the similarity acquisition methods for distribution of color and grain distribution image retrieval, relate to image retrieval technologies.Technical key point includes: extract Color Distribution Features and the grain distribution feature of input picture;Calculate respectively the Color Distribution Features of described input picture with data base the similarity of the Color Distribution Features of every piece image, obtain Color Distribution Features similarity Sa(i between every piece image in input picture and data base);Calculate respectively the grain distribution feature of described input picture with data base the similarity of the grain distribution feature of every piece image, obtain the grain distribution characteristic similarity Sb(i between every piece image in input picture and data base);Utilize formula S (i)=Wa × Sa(i)+Wb × Sb(i), combination similarity S(i of every piece image in calculating input image and data base).

Description

Similarity acquisition methods for distribution of color and grain distribution image retrieval
Technical field
The present invention relates to image retrieval technologies, especially a kind of for distribution of color and grain distribution The similarity acquisition methods of image retrieval.
Background technology
In recent years, along with developing rapidly of mobile Internet, application of taking pictures obtains the biggest sending out Exhibition space, the acquisition of photo and storage become the easiest.Increasing along with picture data explosion type Long, user is in the urgent need to the retrieval of photo and the automatic technology of arrangement.Existing image is examined Rope technology will rely on the training sample of prestored digital image in data base and try to achieve similarity.And current cloud The photo of storage is substantially from the photo of the various scenes of various user shooting, not The training sample that retrievable display is labelled with.Thus the inconvenience of existing image retrieval technologies is directly It is applied in the retrieval of cloud storage image.
Summary of the invention
The technical problem to be solved is: for the problem of above-mentioned existence, it is provided that a kind of It is applicable to the similarity acquisition methods of cloud storage distribution of color and grain distribution image retrieval.
The similarity acquisition side for distribution of color and grain distribution image retrieval that the present invention provides Method, it is characterised in that including:
Step 1: extract Color Distribution Features and the grain distribution feature of input picture;
Step 2: the Color Distribution Features calculating described input picture respectively is each with data base The similarity of the Color Distribution Features of width image, obtains input picture and each width figure in data base Color Distribution Features similarity Sa(i between Xiang), i takes 0,1,2 ... database images is total Number-1;
Calculate respectively the grain distribution feature of described input picture with data base every piece image The similarity of grain distribution feature, obtains in input picture and data base between every piece image Grain distribution characteristic similarity Sb(i), i takes 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa × Sa(i)+Wb × Sb(i), i takes 0,1,2 ... Database images sum-1, Wa, Wb are weight coefficient and Wa+Wb=1, calculate input figure Combination similarity S(i as piece image every with data base).
Preferably, the acquisition methods of described Color Distribution Features includes:
Step 201: image is transformed into hsv color space, obtains image I;
Step 202: the H of each pixel of image, S, V component are mapped as color feature value G: G=Qs*Qv*H+Qv*S+V;The span of three passages in hsv color space is carried out Interval division, is respectively divided into Hi,Sj,Vk, wherein 0≤i≤Qh,0≤j≤Qs,0≤k≤Qv, Qh,Qs,QvRepresent the divided interval sum of three passages in hsv color space respectively;
Step 203: the eigenvalue distribution situation of each pixel in statistical picture: travel through each The color feature value of pixel, statistics falls into the pixel number of each distribution of color histogram Amount, is respectively divided by image pixel by the pixel quantity falling into each distribution of color histogram Point sum, obtains normalized Color Distribution Features hist (x), and wherein x represents distribution of color Nogata Figure interval.
Preferably, the acquisition methods of described Color Distribution Features also includes:
Divide an image into N block;In described step 203: each pixel in statistical picture Eigenvalue distribution situation: traveling through the eigenvalue of each pixel, statistics falls into each color and divides The pixel quantity of cloth histogram, and will not be the pixel statistics two in image boundary block Secondary;The pixel quantity falling into each distribution of color histogram is respectively divided by image pixel Point sum, obtains normalized Color Distribution Features hist (x), and wherein x represents color histogram.
Preferably, the acquisition methods of described grain distribution feature includes:
Step 301: convert the image into gray-scale map, obtains image L;
Step 302: with the template of a size of 3 pixel × 3 pixels, travels through described image L, To the LBP feature of each template, the method wherein obtaining template LBP feature includes:
The gray value of 9 pixels in note template is pi(0≤i≤8), the wherein picture of template center Element gray value is designated as p0;The gray value of other pixel in template is deducted p0Obtain:
gi=pi-p0,(1≤i≤8);
To each calculated giCarry out binary conversion treatment: if gi>=0 makes gi=1, otherwise gi=0;Will be located in the g of the pixel of position iiValue expands to 82 system numbers, obtains LBP (i) special Levy as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: obtain the LBP of the invariable rotary of each templateriFeature;Wherein obtain template The LBP of invariable rotaryriThe method of feature includes:
To each LBP (i) of template by carrying out shifting function, 8 binary numbers can be obtained respectively According to, take a wherein minimum LBP as invariable rotaryri(i) feature:
1≤i≤8 in formula, ROR represents shifting function, q Represent shift amount;
Step 304: add up the LBP of each invariable rotary in each templateriThe distribution feelings of (i) feature Condition: travel through the LBP of each invariable rotary of each templateriI () eigenvalue, statistics falls into each stricture of vagina The pixel quantity that reason distribution histogram is interval, then each grain distribution histogram will be fallen into Pixel quantity be respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature Hist (y), wherein y represents grain distribution histogram.
Preferably, the method calculating Color Distribution Features similarity Sa in described step 2 includes:
Step 401: utilize formulaCalculate Color Distribution Features Similarity, wherein hist1X () is the Color Distribution Features of piece image, hist2X () is the second width The Color Distribution Features of image.
Preferably, the method calculating grain distribution characteristic similarity Sb in described step 2 includes:
Step 401: utilize formulaCalculate grain distribution feature phase Like degree, wherein hist1Y () is the grain distribution feature of piece image, hist2Y () is the second width figure The grain distribution feature of picture.
Preferably, described Wa > Wb.
The present invention also protects a kind of similarity acquisition side for grain distribution image search method Method, including:
Step 1: extract the grain distribution feature of input picture;
Step 2: the grain distribution feature calculating described input picture respectively is each with data base The similarity of the grain distribution feature of width image, obtains input picture and each width figure in data base Grain distribution characteristic similarity Sb(i between Xiang), i takes 0,1,2 ... database images is total Number-1;
The acquisition methods of described grain distribution feature includes:
Step 301: convert the image into gray-scale map, obtains image L;
Step 302: with the template of a size of 3 pixel × 3 pixels, travels through described image L, To the LBP feature of each template, the method wherein obtaining template LBP feature includes:
The gray value of 9 pixels in note template is pi(0≤i≤8), the wherein picture of template center Element gray value is designated as p0;The gray value of other pixel in template is deducted p0Obtain:
gi=pi-p0,(1≤i≤8);
To each calculated giCarry out binary conversion treatment: if gi>=0 makes gi=1, otherwise gi=0;Will be located in the g of the pixel of position iiValue expands to 82 system numbers, obtains LBP (i) special Levy as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: obtain the LBP of the invariable rotary of each templateriFeature;Wherein obtain template The LBP of invariable rotaryriThe method of feature includes:
To each LBP (i) of template by carrying out shifting function, 8 binary numbers can be obtained respectively According to, take a wherein minimum LBP as invariable rotaryri(i) feature:
1≤i≤8 in formula, ROR represents shifting function, q Represent shift amount;
Step 304: add up the LBP of each invariable rotary in each templateriThe distribution feelings of (i) feature Condition: travel through the LBP of each invariable rotary of each templateriI () eigenvalue, statistics falls into each stricture of vagina The pixel quantity that reason distribution histogram is interval, then each grain distribution histogram will be fallen into Pixel quantity be respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature Hist (y), wherein y represents grain distribution histogram.
The present invention also protect above-mentioned in the acquisition methods of grain distribution feature.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows:
The image similarity acquisition methods that the present invention relates to is not required to carry out image any it is assumed that also Need not substantial amounts of mark sample training model, there is easily realization, calculate fireballing advantage.
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 flow chart.
Fig. 2 is grain distribution feature extraction flow chart in the present invention.
Fig. 3 is image retrieval flow chart in the present invention.
Detailed description of the invention
All features disclosed in this specification, or disclosed all methods or during step, In addition to mutually exclusive feature and/or step, all can combine by any way.
Any feature disclosed in this specification, unless specifically stated otherwise, all can by other equivalence or The alternative features with similar purpose is replaced.I.e., unless specifically stated otherwise, each feature is only It it is an example in a series of equivalence or similar characteristics.
The invention provides a kind of similarity for distribution of color and grain distribution image retrieval to obtain Access method, its concrete steps include:
Step 1: extract Color Distribution Features and the grain distribution feature of input picture;
Step 2: the Color Distribution Features calculating described input picture respectively is each with data base The similarity of the Color Distribution Features of width image, obtains input picture and each width figure in data base Color Distribution Features similarity Sa(i between Xiang), i takes 0,1,2 ... database images is total Number-1;
Calculate respectively the grain distribution feature of described input picture with data base every piece image The similarity of grain distribution feature, obtains in input picture and data base between every piece image Grain distribution characteristic similarity Sb(i), i takes 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa × Sa(i)+Wb × Sb(i), i takes 0,1, 2... database images sum-1, Wa, Wb are weight coefficient and Wa+Wb=1, calculate input Image is combination similarity S(i of every piece image with data base).Owing to people are in general feelings More concerned with color under condition, therefore as one preferred embodiment, weight coefficient Wa > Wb.
Such as Fig. 3, when the combination obtained between input picture piece image every to data base is similar After degree, being ranked up each similarity, similarity the biggest explanation two width image is the most similar, I Can rule of thumb set a threshold value, will be greater than combining similarity more than all numbers of this threshold value Export according to the image in storehouse, as retrieval result.
Such as Fig. 1, in an embodiment of the invention, the acquisition methods of Color Distribution Features includes:
Step 201: image is transformed into hsv color space, obtains image I;In general scheme Sheet is RGB color, the picture of RGB color is transformed into hsv color space and is Technology well known in the art, does not repeats them here its detailed process.
Step 202: by the H of each pixel of image, S, V component according to formula G=Qs*Qv*H+Qv* S+V mapping relations are converted to color feature value G;Wherein, Qh,Qs,Qv Definition be such that carrying out the span of three passages in hsv color space interval drawing Point, it is respectively divided into Hi,Sj,Vk, wherein 0≤i≤Qh,0≤j≤Qs, 0 £ k≤Qv, Qh,Qs,QvPoint Biao Shi the divided interval sum of three passages in hsv color space;
Step 203: the eigenvalue distribution situation of each pixel in statistical picture: travel through each The color feature value of pixel, statistics falls into the pixel number of each distribution of color histogram Amount, is respectively divided by image pixel by the pixel quantity falling into each distribution of color histogram Point sum, obtains normalized Color Distribution Features hist (x), and wherein x represents distribution of color Nogata Figure interval.
Those skilled in the art all know, and distribution of color rectangular histogram is by the color characteristic of entire image It is divided into some intervals, then describes different color by each pixel in the situation of each interval distribution Ratio shared in entire image.
In view of the implication expressed by piece image, it is often positioned in the region of near image boundaries not The most important, we are more concerned with scheming the content that non-borderline region is expressed.Therefore, the present invention another In individual embodiment, the acquisition methods of described Color Distribution Features also includes:
Divide an image into N block, such as N equal to 36;It is included in the picture in image boundary block Element is only added up once, and rest of pixels is added up twice.Specifically, in described step 203 In: the eigenvalue distribution situation of each pixel in statistical picture: travel through the spy of each pixel Value indicative, statistics falls into the pixel quantity of each distribution of color histogram;And will not be figure As the pixel in boundary block is added up twice, i.e. be not the pixel in image boundary block when having Eigenvalue when falling into a certain distribution of color histogram, the pixel number in this interval will be fallen into Amount adds 2;When having, to be that the eigenvalue of pixel in image boundary block falls into a certain distribution of color straight When side's figure is interval, then the pixel quantity falling into this interval is added 1;Finally will fall into each again The pixel quantity of distribution of color histogram is respectively divided by image slices vegetarian refreshments sum, is returned One Color Distribution Features hist (x) changed, wherein x represents color histogram.
The Color Distribution Features value so come out is more accurate.
Such as Fig. 2, in another embodiment of the present invention, the acquisition of described grain distribution feature Method includes:
Step 301: convert the image into gray-scale map, obtains image L;RGB image is changed Having multiple method for gray-scale map, one of which is to utilize formula L=0.299*R+0.587*G+0.114*B changes, and wherein, R represents the redness of pixel and divides Amount, G represents the green component of pixel, and B represents the blue component of pixel.0.299、0.587、 0.114 is coefficient, and this coefficient is the most unique certainly, it is impossible to be interpreted as limitation of the present invention.
Step 302: with the template of a size of 3 pixel × 3 pixels, travels through described image L, To the LBP feature (i.e. textural characteristics) of each template, wherein obtain the side of template LBP feature Method includes:
The gray value of 9 pixels in note template is pi(0≤i≤8), the wherein picture of template center Element gray value is designated as p0;The gray value of other pixel in template is deducted p0Obtain:
gi=pi-p0,(1≤i≤8);
To each calculated giCarry out binary conversion treatment: if gi>=0 makes gi=1, otherwise gi=0;The gi value of the pixel that will be located in position i expands to 82 system numbers, obtains LBP (i) special Levy as, 1≤i≤8:
LBP ( i ) = Σ q = 0 7 g i × 2 q ;
The LBP feature of above-mentioned calculating can not tackle the requirement of invariable rotary, in order to obtain rotation not The LBP feature become, needs to perform further step 303: obtain the invariable rotary of each template LBPriFeature;Wherein obtain the LBP of the invariable rotary of templateriThe method of feature includes:
To each LBP (i) of template by carrying out shifting function, 8 binary numbers can be obtained respectively According to, take a wherein minimum LBP as invariable rotaryri(i) feature:
1≤i≤8 in formula, ROR represents shifting function, q Represent shift amount;
Step 304: add up the LBP of each invariable rotary in each templateriThe distribution feelings of (i) feature Condition: travel through the LBP of each invariable rotary of each templateriI () eigenvalue, statistics falls into each stricture of vagina The pixel quantity that reason distribution histogram is interval, then each grain distribution histogram will be fallen into Pixel quantity be respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature Hist (y), wherein y represents grain distribution histogram.
Here the histogrammic definition of grain distribution is similar with the definition of aforementioned distribution of color rectangular histogram.Stricture of vagina The textural characteristics of entire image is divided into some intervals by reason distribution histogram, then uses each pixel Situation in each interval distribution describes the ratio that different texture is shared in entire image.
When, after the Color Distribution Features obtaining image, calculating the Color Distribution Features phase of two width images Seemingly spend a detailed description of the invention of Sa, including:
Step 401: utilize formulaCalculate Color Distribution Features Similarity, wherein hist1X () is the Color Distribution Features of piece image, hist2X () is the second width The Color Distribution Features of image, wherein x represents color histogram.
When, after the grain distribution feature obtaining image, calculating the grain distribution feature phase of two width images Seemingly spend a detailed description of the invention of Sb, including:
Step 501: utilize formulaCalculate grain distribution feature phase Like degree, wherein hist1Y () is the grain distribution feature of piece image, hist2Y () is the second width figure The grain distribution feature of picture.Y represents grain distribution histogram.
Under the teaching of foregoing, those skilled in the art are readily apparent that and innovate based on the present invention A kind of similarity acquisition methods for grain distribution image search method of thought, including:
Step 1: extract the grain distribution feature of input picture;
Step 2: the grain distribution feature calculating described input picture respectively is each with data base The similarity of the grain distribution feature of width image, obtains input picture and each width figure in data base Grain distribution characteristic similarity Sb(i between Xiang), i takes 0,1,2 ... database images is total Number-1.
In like manner, special when the grain distribution obtained between input picture and the every piece image of data base After levying similarity, each similarity is ranked up, similarity the biggest explanation two width image more phase Seemingly, we can rule of thumb set a threshold value, will be greater than combining similarity more than this threshold value Image output in all data bases, as retrieval result.
The invention is not limited in aforesaid detailed description of the invention.The present invention expands to any at this In description disclose new feature or any new combination, and disclose arbitrary new method or The step of process or any new combination.

Claims (6)

1. for distribution of color and a similarity acquisition methods for grain distribution image retrieval, its It is characterised by, including:
Step 1: extract Color Distribution Features and the grain distribution feature of input picture;
Step 2: the Color Distribution Features calculating described input picture respectively is each with data base The similarity of the Color Distribution Features of width image, obtains input picture and each width figure in data base Color Distribution Features similarity Sa (i) between Xiang, i takes 0,1,2 ... database images is total Number-1;
Calculate respectively the grain distribution feature of described input picture with data base every piece image The similarity of grain distribution feature, obtains in input picture and data base between every piece image Grain distribution characteristic similarity Sb (i), i takes 0,1,2 ... database images sum-1;
Step 3: utilize formula S (i)=Wa × Sa (i)+Wb × Sb (i), i to take 0,1,2 ... Database images sum-1, Wa, Wb are weight coefficient and Wa+Wb=1, calculate input figure Combination similarity S (i) as piece image every with data base;
The method calculating Color Distribution Features similarity Sa in described step 2 includes:
Utilize formulaCalculate Color Distribution Features similarity, wherein hist1X () is the Color Distribution Features of piece image, hist2X () is that the color of the second width image is divided Cloth feature;
The method calculating grain distribution characteristic similarity Sb in described step 2 includes:
Utilize formulaCalculate grain distribution characteristic similarity, wherein hist1Y () is the grain distribution feature of piece image, hist2Y () is that the texture of the second width image divides Cloth feature.
The most according to claim 1 for distribution of color with the phase of grain distribution image retrieval Seemingly spend acquisition methods, it is characterised in that the acquisition methods of described Color Distribution Features includes:
Step 201: image is transformed into hsv color space, obtains image I;
Step 202: the H of each pixel of image, S, V component are mapped as color feature value G: G=Qs*Qv*H+Qv*S+V;The span of three passages in hsv color space is carried out Interval division, is respectively divided into Hi,Sj,Vk, wherein 0≤i≤Qh,0≤j≤Qs,0≤k≤Qv, Qh,Qs,QvRepresent the divided interval sum of three passages in hsv color space respectively;
Step 203: the color feature value distribution situation of each pixel in statistical picture: traversal The color feature value of each pixel, statistics falls into the pixel of each distribution of color histogram Point quantity, is respectively divided by image by the pixel quantity falling into each distribution of color histogram Pixel sum, obtains normalized Color Distribution Features hist (x), and wherein x represents distribution of color Histogram.
The most according to claim 2 for distribution of color with the phase of grain distribution image retrieval Seemingly spend acquisition methods, it is characterised in that the acquisition methods of described Color Distribution Features also includes:
Divide an image into N block;In described step 203: each pixel in statistical picture Eigenvalue distribution situation: traveling through the eigenvalue of each pixel, statistics falls into each color and divides The pixel quantity of cloth histogram, and will not be the pixel statistics two in image boundary block Secondary;The pixel quantity falling into each distribution of color histogram is respectively divided by image pixel Point sum, obtains normalized Color Distribution Features hist (x), and wherein x represents color histogram.
The most according to claim 1 and 2 for distribution of color with grain distribution image retrieval Similarity acquisition methods, it is characterised in that the acquisition methods of described grain distribution feature includes:
Step 301: convert the image into gray-scale map, obtains image L;
Step 302: with the template of a size of 3 pixel × 3 pixels, travels through described image L, To the LBP feature of each template, the method wherein obtaining template LBP feature includes:
The gray value of 9 pixels in note template is pi(0≤i≤8), the wherein picture of template center Element gray value is designated as p0;The gray value of other pixel in template is deducted p0Obtain:
gi=pi-p0,(1≤i≤8);
To each calculated giCarry out binary conversion treatment: if gi>=0 makes gi=1, otherwise gi=0;Will be located in the g of the pixel of position iiValue expands to 82 system numbers, obtains LBP (i) special Levy as, 1≤i≤8:
L B P ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: obtain the LBP of the invariable rotary of each templateriFeature;Wherein obtain template The LBP of invariable rotaryriThe method of feature includes:
To each LBP (i) of template by carrying out shifting function, 8 binary systems can be obtained respectively Data, take a wherein minimum LBP as invariable rotaryri(i) feature:
1≤i≤8 in formula, ROR represents shifting function, q Represent shift amount;
Step 304: add up the LBP of each invariable rotary in each templateriThe distribution feelings of (i) feature Condition: travel through the LBP of each invariable rotary of each templateriI () eigenvalue, statistics falls into each stricture of vagina The pixel quantity that reason distribution histogram is interval, then each grain distribution histogram will be fallen into Pixel quantity be respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature Hist (y), wherein y represents grain distribution histogram.
The most according to claim 1 for distribution of color with the phase of grain distribution image retrieval Seemingly spend acquisition methods, it is characterised in that described Wa > Wb.
6., for a similarity acquisition methods for grain distribution image search method, its feature exists In, including:
Step 1: extract the grain distribution feature of input picture;
Step 2: the grain distribution feature calculating described input picture respectively is each with data base The similarity of the grain distribution feature of width image, the some grain distribution characteristic similarity Sb arrived I (), i takes 0,1,2 ... database images sum-1;
The acquisition methods of described grain distribution feature includes:
Step 301: convert the image into gray-scale map, obtains image L;
Step 302: with the template of a size of 3 pixel × 3 pixels, travels through described image L, To the LBP feature of each template, the method wherein obtaining template LBP feature includes:
The gray value of 9 pixels in note template is pi(0≤i≤8), the wherein picture of template center Element gray value is designated as p0;The gray value of other pixel in template is deducted p0Obtain:
gi=pi-p0,(1≤i≤8);
To each calculated giCarry out binary conversion treatment: if gi>=0 makes gi=1, otherwise gi=0;Will be located in the g of the pixel of position iiValue expands to 82 system numbers, obtains LBP (i) special Levy as, 1≤i≤8:
L B P ( i ) = Σ q = 0 7 g i × 2 q ;
Step 303: obtain the LBP of the invariable rotary of each templateriFeature;Wherein obtain template The LBP of invariable rotaryriThe method of feature includes:
To each LBP (i) of template by carrying out shifting function, 8 binary systems can be obtained respectively Data, take a wherein minimum LBP as invariable rotaryri(i) feature:
1≤i≤8 in formula, ROR represents shifting function, q Represent shift amount;
Step 304: add up the LBP of each invariable rotary in each templateriThe distribution feelings of (i) feature Condition: travel through the LBP of each invariable rotary of each templateriI () eigenvalue, statistics falls into each stricture of vagina The pixel quantity that reason distribution histogram is interval, then each grain distribution histogram will be fallen into Pixel quantity be respectively divided by image slices vegetarian refreshments sum, obtain normalized grain distribution feature Hist (y), wherein y represents grain distribution histogram;
The method calculating grain distribution characteristic similarity Sb in described step 2 includes:
Utilize formulaCalculate grain distribution characteristic similarity, wherein hist1Y () is the grain distribution feature of piece image, hist2Y () is that the texture of the second width image divides Cloth feature.
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 CN103440646A (en) 2013-12-11
CN103440646B true 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)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440646B (en) * 2013-08-19 2016-08-10 成都品果科技有限公司 Similarity acquisition methods for distribution of color and grain 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
CN104750697B (en) * 2013-12-27 2019-01-25 同方威视技术股份有限公司 Retrieval system, retrieval method and security inspection device based on fluoroscopic image 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
CN106033549B (en) * 2015-03-16 2019-05-07 北京大学 A method and device for reordering in vehicle retrieval
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 西安电子科技大学 Class-Based Synthetic Features and Complete Class Matching for Image Retrieval
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
CN109671113B (en) * 2018-09-29 2022-12-20 浙江华孚色纺有限公司 A method of measuring color matching of color-spun fabrics based on image technology
CN110298366B (en) * 2019-07-05 2021-05-04 北华航天工业学院 Crop distribution extraction method and device
CN110909791B (en) * 2019-11-20 2023-02-28 车智互联(北京)科技有限公司 Similar image identification method and computing device
CN111461147B (en) * 2020-04-30 2023-05-23 柳州智视科技有限公司 Binary coding organization algorithm based on image features
CN111861981B (en) * 2020-05-29 2023-05-30 北京工商大学 A fat point detection and evaluation method in image color space based on point-line-plane
CN111985559A (en) * 2020-08-19 2020-11-24 合肥工业大学 A method for detecting similarity of tire pattern structure based on boundary characteristics
CN114529742A (en) * 2020-11-23 2022-05-24 中国移动通信集团重庆有限公司 Image similarity determining method, device and equipment and computer readable storage medium
CN114445659B (en) * 2022-01-20 2024-07-12 南京中医药大学 True and false spine date seed identification method based on image color and texture characteristics
CN115830352B (en) * 2023-02-20 2023-06-02 深圳中微电科技有限公司 Image similarity comparison method, device and storage medium
CN116403419B (en) * 2023-06-07 2023-08-25 贵州鹰驾交通科技有限公司 Traffic light control method based on vehicle-road cooperation
CN118691546A (en) * 2024-05-30 2024-09-24 华能嘉祥发电有限公司 A maintenance early warning method and system for sampling tube of differential pressure level meter of coal mill
CN118277371B (en) * 2024-05-30 2024-08-02 深圳聚瑞云控科技有限公司 Intelligent image data processing method based on switch interface detection
CN118412102B (en) * 2024-07-04 2024-08-27 济南科汛智能科技有限公司 Data security storage method of intelligent traditional Chinese medicine rehabilitation management system

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 face recognition using same
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 北方工业大学 A dorsal hand vein recognition method based on the fusion of structure-encoded features and texture-encoded 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
一种基于颜色矩和多尺度纹理特征的彩色图像检索方法;杨红菊等;《计算机科学》;20090930;第36卷(第9期);第274-277页 *
基于纹理的运动目标检测;李斌等;《计算机工程与应用》;20080415;第44卷(第7期);第100-102页第2节,图1、2 *

Also Published As

Publication number Publication date
CN103440646A (en) 2013-12-11
WO2015024383A1 (en) 2015-02-26

Similar Documents

Publication Publication Date Title
CN103440646B (en) Similarity acquisition methods for distribution of color and grain distribution image retrieval
ES2661612T3 (en) Image quality analysis for searches
US10635929B2 (en) Saliency-based method for extracting road target from night vision infrared image
CN103366178B (en) A kind of method and apparatus for being used to carry out target image color classification
CN102567731A (en) Extraction method for region of interest
CN106651871B (en) An Automatic Filling Method for Holes in Depth Image
GB2367966A8 (en) Method and apparatus for determining regions of interest in images
CN105046701B (en) Multi-scale salient target detection method based on construction graph
CN103714349A (en) Image recognition method based on color and texture features
CN107291801B (en) Single-phase full-coverage remote sensing data retrieval method based on grid compensation
CN102196274B (en) Automatic white balance method based on color mapping
CN106250431B (en) A kind of Color Feature Extraction Method and costume retrieval system based on classification clothes
Li et al. Mapping impervious surface area in the Brazilian Amazon using Landsat Imagery
CN103839270B (en) A kind of image matching method and device
CN104809245A (en) Image retrieval method
CN104462481A (en) Comprehensive image retrieval method based on colors and shapes
CN107003834A (en) Pedestrian detection apparatus and method
CN104239883B (en) Texture characteristic extracting method and device
CN106097313A (en) Image partition method and device
CN103106671B (en) Method for detecting interested region of image based on visual attention mechanism
CN106228557A (en) Distorted image method for detecting area based on secondary JPEG compression
CN102509299B (en) Image salient area detection method based on visual attention mechanism
CN103325101B (en) The extracting method of color property and device
CN105469392A (en) High spectral image significance detection method based on regional spectrum gradient characteristic comparison
Banić et al. A perceptual measure of illumination estimation error

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