CN103744885A - Image searching method based on sub block fusion color and direction characteristics - Google Patents
Image searching method based on sub block fusion color and direction characteristics Download PDFInfo
- Publication number
- CN103744885A CN103744885A CN201310714092.5A CN201310714092A CN103744885A CN 103744885 A CN103744885 A CN 103744885A CN 201310714092 A CN201310714092 A CN 201310714092A CN 103744885 A CN103744885 A CN 103744885A
- Authority
- CN
- China
- Prior art keywords
- color
- image
- sub
- block
- similarity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
Landscapes
- Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to an image searching method, in particular to an image searching method based on sub block fusion color and direction characteristics. The method includes extracting the characteristics and measuring the similarity. Experiments show that the image searching method is better than other methods in the same field in precision ratio and recall ratio.
Description
Technical field
The present invention relates to a kind of image search method, relate in particular to a kind of Fusion of Color and directional characteristic image search method based on block.
Background technology
Along with the development of multimedia technology and Internet network, retrievable image and other multi-medium data are more and more.Therefore, CBIR technology becomes a current popular research topic.From CBIR, extract the features such as color, texture, shape of image, and the feature of extracting is carried out to similarity measurement, thereby retrieve similar image.Yet single characteristics of image can not well be described piece image content to be expressed, therefore that a plurality of features of image are effectively comprehensive, and image is retrieved and can be reached good effect.But existing combination features technology is to calculate respectively single characteristics of image mostly, and to different weights in addition between different features, thereby reach the effect of comprehensive many characteristic key, but do not consider the internal relation between each feature.
The people such as Zhao Shan mention the thought of utilizing block encription in < < new image retrieval algorithm > > mono-literary composition based on Keyblock, first calculate the average gray value of sub-block, in each sub-block, the pixel assignment that gray-scale value is greater than average is 1, otherwise composing is 0, has so just obtained the binary block of a series of N * N.These binary block have embodied the marginal distribution of image, and similar marginal distribution can produce identical index value.Defining these binary block is the crucial piece of image, and usings the index value of the represented decimal number of binary block as sub-block.But the method has been ignored the color characteristics of image, when only gray level image is retrieved, there is good retrieval effectiveness.
Summary of the invention
The object of the present invention is to provide a kind of in bottom Fusion of Color and directional characteristic search method.
The object of the present invention is achieved like this:
1) extract feature
(1) image is divided into the sub-block of N * N size, calculates average color under the RGB color mode of each sub-block, color value is corresponded among the code book of 128 sizes of generation, in square color value and code book, the nearest call number of color value is exactly the numbering of square;
(2) quote edge histogram method, calculate the directivity of each square, among the corresponding coding of color attribute that resulting direction attribute is corresponded to square;
2) tolerance similarity
The feature for the treatment of retrieving images and query image is carried out the tolerance of similarity, wherein code book K={k
1, k
2... total t code word; Retrieving images storehouse is D={d
n, comprise n width image; Q is image to be retrieved; w
idfor color code word k
iappear at image d
nin frequency; w
iqfor color code word k
iappear at the frequency in image q to be retrieved, the tolerance of similarity is:
S (q, d wherein
n) for thering is the direction similarity of same color sub-block, and distance function is:
Measuring of similarity also comprises the direction similarity with same color sub-block:
Beneficial effect of the present invention is: show that by experiment image search method of the present invention is all better than the additive method of same domain on precision ratio, recall ratio.
Accompanying drawing explanation
Fig. 1 is the retrieval effectiveness figure of two kinds of direction modes of 4 * 4 big or small piecemeals.Wherein, the retrieval effectiveness that each sub-block has 4 direction attributes slightly well.
Fig. 2 is the retrieval effectiveness figure of three kinds of direction modes of 8 * 8 big or small piecemeals.The retrieval effectiveness that each sub-block has 16 direction attributes slightly well.
Fig. 3 is 2 * 2, the retrieval effectiveness comparison diagram of 4 * 4,8 * 8 big or small piecemeals.
Fig. 4 is the complete/precision ratio curve map of looking into of algorithms of different.
Embodiment
Technical scheme of the present invention is by the color characteristic of image and direction character combination, proposes a kind of color direction characteristic binding retrieval scheme based on sub-block.
1, the extraction of feature
(1) sub-block that image is divided into N * N size (is divided into respectively 2 * 2 by image in this experiment, 4 * 4, the sub-block of 8 * 8 sizes), calculate average color under the RGB color mode of each sub-block, and color value is corresponded among the code book of 128 sizes of generation, in square color value and code book, the nearest call number of color value is exactly the numbering of square.
(2) quote edge histogram method, calculate the directivity of each square.And among the corresponding coding of color attribute that resulting direction attribute is corresponded to square.2 * 2 sub-block only has a kind of direction mode, and 4 * 4 sub-block has 2 kinds of direction modes, and 8 * 8 sub-block has 3 kinds of direction modes, is respectively 1,4,16 direction attribute.
2, similarity measurement
After generating the color and textural characteristics of sub-block, the feature that will treat retrieving images and query image is carried out the tolerance of similarity.Measuring similarity adopts a kind of specific type-histogram model in vector model.Suppose color code book K={k
1, k
2... total t code word; Retrieving images storehouse is D={d
n, comprise n width image; Q is image to be retrieved; w
idfor color code word k
iappear at image d
nin frequency; w
iqfor color code word k
iappear at the frequency in image q to be retrieved.The tolerance of similarity is defined as follows:
S (q, d wherein
n) for thering is the direction similarity of same color sub-block, and distance function is
▕ w wherein
id-w
iq▏ just has the sub-block of same color code word in the comparison of the image frequency of occurrences, and some sub-blocks have same color characteristic, but style characteristic has very big difference, therefore the present invention is dissolved into the directivity characteristics with same color sub-block among distance function, has considered the CF characteristic of entire image simultaneously.
Distance function after improvement is as follows:
Wherein
For thering is the direction similarity of same color sub-block.Five direction types and a directionless type have wherein been comprised.
3, result detects
In order to verify the retrieval performance of the algorithm that the present invention proposes, the present invention chooses the Corel image library of SIMPLIcity employing and tests, 10 class images in image library have been chosen, wherein every class comprises 100 width images, 1000 width images, are used precision ratio (Precision), recall ratio (recall) curve to evaluate the retrieval performance of image indexing system in literary composition altogether.Recall ratio and precision ratio are defined as follows:
Wherein, the associated picture that a representative correctly retrieves, b is the irrelevant image retrieving, c represents the associated picture not being retrieved.
Different directions macroblock mode under the big or small piecemeal of difference is tested.From accompanying drawing 1, accompanying drawing 2, can find out, when extracting the direction attribute of sub-block, the super pixel of direction attribute is divided less, the textural characteristics of response diagram picture more fully, retrieval effectiveness is better.From accompanying drawing 3, can find out, the retrieval effectiveness of 4 * 4 big or small piecemeals is best.
1, the extraction of feature
(1) sub-block that image is divided into N * N size (is divided into respectively 2 * 2 by image in this experiment, 4 * 4, the sub-block of 8 * 8 sizes), calculate average color under the RGB color mode of each sub-block, and color value is corresponded among the code book of 128 sizes of generation, in square color value and code book, the nearest call number of color value is exactly the numbering of square.
(2) quote edge histogram method, calculate the directivity of each square.And among the corresponding coding of color attribute that resulting direction attribute is corresponded to square.2 * 2 sub-block only has a kind of direction mode, and 4 * 4 sub-block has 2 kinds of direction modes, and 8 * 8 sub-block has 3 kinds of direction modes, is respectively 1,4,16 direction attribute.
2, similarity measurement
After generating the color and textural characteristics of sub-block, the feature that will treat retrieving images and query image is carried out the tolerance of similarity.Measuring similarity adopts a kind of specific type-histogram model in vector model.Suppose color code book K={k
1, k
2... total t code word; Retrieving images storehouse is D={d
n, comprise n width image; Q is image to be retrieved; w
idfor color code word k
iappear at image d
nin frequency; w
iqfor color code word k
iappear at the frequency in image q to be retrieved.The tolerance of similarity is defined as follows:
S (q, d wherein
n) for thering is the direction similarity of same color sub-block, and distance function is
Embodiment 2
On the basis of embodiment 1, the directivity characteristics with same color sub-block is dissolved among distance function, has been considered the CF characteristic of entire image simultaneously.
Distance function after improvement is as follows:
Wherein
For thering is the direction similarity of same color sub-block.Five direction types and a directionless type have wherein been comprised.
The present invention is directed to the retrieval of comprehensive many features in image retrieval does not have the inner link between fusion feature, and the present invention proposes a kind of direction color search method based on sub-block.First calculate the sub-block that image is divided into N * N size, calculate color and the direction character of sub-block.Utilize color characteristic to retrieve image, and the weights using the direction character of color characteristic place sub-block as color characteristic.The method has merged color and direction character on bottom.Experiment shows, the method can obtain good retrieval effectiveness.
Claims (2)
1. the Fusion of Color based on sub-block and a directional characteristic image search method, is characterized in that:
1) extract feature
(1) image is divided into the sub-block of N * N size, calculates average color under the RGB color mode of each sub-block, color value is corresponded among the code book of 128 sizes of generation, in square color value and code book, the nearest call number of color value is exactly the numbering of square;
(2) quote edge histogram method, calculate the directivity of each square, among the corresponding coding of color attribute that resulting direction attribute is corresponded to square;
2) tolerance similarity
The feature for the treatment of retrieving images and query image is carried out the tolerance of similarity, wherein code book K={k
1, k
2... total t code word; Retrieving images storehouse is D={d
n, comprise n width image; Q is image to be retrieved; w
idfor color code word k
iappear at image d
nin frequency; w
iqfor color code word k
iappear at the frequency in image q to be retrieved, the tolerance of similarity is:
S (q, d wherein
n) for thering is the direction similarity of same color sub-block, and distance function is:
2. a kind of Fusion of Color and directional characteristic image search method based on sub-block according to claim 1, is characterized in that:
Measuring of described similarity also comprises the direction similarity with same color sub-block:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714092.5A CN103744885A (en) | 2013-12-23 | 2013-12-23 | Image searching method based on sub block fusion color and direction characteristics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714092.5A CN103744885A (en) | 2013-12-23 | 2013-12-23 | Image searching method based on sub block fusion color and direction characteristics |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103744885A true CN103744885A (en) | 2014-04-23 |
Family
ID=50501903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310714092.5A Pending CN103744885A (en) | 2013-12-23 | 2013-12-23 | Image searching method based on sub block fusion color and direction characteristics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103744885A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104050301A (en) * | 2014-07-09 | 2014-09-17 | 哈尔滨工程大学 | Image retrieval method based on subblocks with color characteristics and direction characteristics fused |
CN105320694A (en) * | 2014-07-31 | 2016-02-10 | 香港理工大学 | Multimodality image retrieval method |
CN112084394A (en) * | 2020-09-09 | 2020-12-15 | 重庆广播电视大学重庆工商职业学院 | Search result recommendation method and device based on image recognition |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101556600A (en) * | 2009-05-18 | 2009-10-14 | 中山大学 | Method for retrieving images in DCT domain |
CN101692224A (en) * | 2009-07-08 | 2010-04-07 | 南京师范大学 | High-resolution remote sensing image search method fused with spatial relation semantics |
CN103400129A (en) * | 2013-07-22 | 2013-11-20 | 中国科学院光电技术研究所 | Target tracking method based on frequency domain significance |
-
2013
- 2013-12-23 CN CN201310714092.5A patent/CN103744885A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101556600A (en) * | 2009-05-18 | 2009-10-14 | 中山大学 | Method for retrieving images in DCT domain |
CN101692224A (en) * | 2009-07-08 | 2010-04-07 | 南京师范大学 | High-resolution remote sensing image search method fused with spatial relation semantics |
CN103400129A (en) * | 2013-07-22 | 2013-11-20 | 中国科学院光电技术研究所 | Target tracking method based on frequency domain significance |
Non-Patent Citations (1)
Title |
---|
张珍军: "基于内容的图像检索技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104050301A (en) * | 2014-07-09 | 2014-09-17 | 哈尔滨工程大学 | Image retrieval method based on subblocks with color characteristics and direction characteristics fused |
CN105320694A (en) * | 2014-07-31 | 2016-02-10 | 香港理工大学 | Multimodality image retrieval method |
CN112084394A (en) * | 2020-09-09 | 2020-12-15 | 重庆广播电视大学重庆工商职业学院 | Search result recommendation method and device based on image recognition |
CN112084394B (en) * | 2020-09-09 | 2024-04-23 | 重庆广播电视大学重庆工商职业学院 | Search result recommending method and device based on image recognition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101763429B (en) | Image retrieval method based on color and shape features | |
US9043316B1 (en) | Visual content retrieval | |
CN105930402A (en) | Convolutional neural network based video retrieval method and system | |
CN103440348A (en) | Vector-quantization-based overall and local color image searching method | |
Varish et al. | Content based image retrieval using statistical features of color histogram | |
CN103617157A (en) | Text similarity calculation method based on semantics | |
CN107357846A (en) | The methods of exhibiting and device of relation map | |
CN101369281A (en) | Retrieval method based on video abstract metadata | |
WO2005031600A3 (en) | Computer aided document retrieval | |
CN112449009B (en) | SVD-based communication compression method and device for Federal learning recommendation system | |
CN102750347B (en) | Method for reordering image or video search | |
CN105512175A (en) | Quick image retrieval method based on color features and texture characteristics | |
CN105335469A (en) | Method and device for image matching and retrieving | |
CN104361096B (en) | The image search method of a kind of feature based rich region set | |
CN103020321B (en) | Neighbor search method and system | |
Niu et al. | Machine learning-based framework for saliency detection in distorted images | |
Vorona et al. | DeepSPACE: Approximate geospatial query processing with deep learning | |
CN103744885A (en) | Image searching method based on sub block fusion color and direction characteristics | |
CN110110120B (en) | Image retrieval method and device based on deep learning | |
CN105740428A (en) | B+ tree-based high-dimensional disc indexing structure and image search method | |
CN103177105A (en) | Method and device of image search | |
CN104699783A (en) | Social image searching method allowing adaptive adjustment and based on personalized vision dictionary | |
Fierro-Radilla et al. | An effective visual descriptor based on color and shape features for image retrieval | |
Xue et al. | Research of image retrieval based on color | |
CN104751470A (en) | Image quick-matching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140423 |