Method and device for retrieving similarity of picture messages

A similar retrieval and image indexing technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as poor performance, high time complexity, and the inability for users to retrieve the most similar images.

Active Publication Date: 2014-07-09
BEIJING FEINNO COMM TECH
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] At present, the time efficiency of the retrieval results of the tree-like similarity algorithm on high-dimensional data sets is not high; the linear retrieval method is accurate in data but the time complexity is too high, especially when the performance of massive retrieval is poor; although the LSH algorithm guarantees time and space complexity It can well support the retrieval of high-dimensional data while having a low degree of accuracy, but there are often many retrieved results, which prevents users from retrieving the most similar images.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for retrieving similarity of picture messages
  • Method and device for retrieving similarity of picture messages
  • Method and device for retrieving similarity of picture messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] see figure 1 , the embodiment of the present invention provides a similar retrieval method for pictures, the method comprising:

[0063] 101. Extracting features of the image to be retrieved from the image to be retrieved;

[0064] 102. Hashing the features of the image to be retrieved by using the LSH algorithm to generate a hash value of the image to be retrieved; wherein, the hash value of the image to be retrieved corresponds to the preloaded hash table, and the hash table contains the database image hash value of the database image ;

[0065] 103. In the hash table corresponding to each hash value of the image to be retrieved, search for a database image hash value that matches and is similar to the hash value of the image to be retrieved;

[0066] 104. According to the searched database picture hash value matching similar to the hash value of the picture to be retrieved, searching for a database picture matching and similar to the hash value of the picture to be...

Embodiment 2

[0086] see figure 2 , the embodiment of the present invention provides a similar retrieval method for pictures, the method comprising:

[0087] 201. Store the basic information of the classified database pictures into the picture basic information table;

[0088] Specifically, first classify the database pictures, such as dividing the database pictures into categories such as scenery and people, which can save the amount of data in the retrieval process; then use C# or other methods to store the classified database pictures into the picture basic information table middle;

[0089] Specifically, the picture basic information table is used to record the basic information of the picture. The picture basic information table includes but is not limited to the picture name, picture path, picture type, picture storage time, database picture index, and picture MD5 (Message Digest Algorithm, information digest algorithm) value; among them, the database picture index is the unique id...

Embodiment 3

[0122] see image 3 , the embodiment of the present invention provides a kind of image similar retrieval device, this device comprises:

[0123] Extraction module 301, for extracting the feature of the image to be retrieved of the image to be retrieved;

[0124] The hash module 302 is used to hash the features of the image to be retrieved through the location-sensitive hash function LSH algorithm to generate a hash value of the image to be retrieved; wherein, the hash value of the image to be retrieved corresponds to a preloaded hash table, and the hash table contains the database picture hash value of the database picture;

[0125] A matching module 303, configured to search for a database picture hash value matching similar to the hash value of the picture to be retrieved in a hash table corresponding to each picture hash value to be retrieved;

[0126] The search module 304 is used to search for a database picture that matches and is similar to the hash value of the pictu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for retrieving the similarity of pictures and belongs to the field of the graphic images. The method comprises the steps of obtaining the to-be-retrieved picture characteristics of to-be-retrieved pictures, hashing the to-be-retrieved picture characteristics by use of an LSH (Locality Sensitive Hashing) algorithm to generate hash values of the to-be-retrieved pictures, finding database picture hash values of which are matched and similar to the hash values of the to-be-retrieved pictures om a hash table corresponding to every hash values of the to-be-retrieved pictures, finding database pictures according to the database picture hash values, and according to Euclidean distances of the characteristics of the database pictures and the characteristics of the to-be-retrieved pictures, selecting a preset number of database pictures from the database pictures having relatively smaller Euclidean distances. The method and the device have the characteristics that the problem that a user cannot retrieve the most similar pictures from a plurality of results obtained by the LSH algorithm at the present is solved, and the advantages of LSH in reducing the time-space complexity in picture similarity retrieval and supporting high-dimensional data retrieval are better developed by virtue of the combination of the LSH algorithm and a linear retrieval algorithm.

Description

technical field [0001] The invention relates to the field of graphics and images, in particular to a method and device for similarity retrieval of pictures. Background technique [0002] With the rapid development of network communication technology, the amount of data in the network is increasing, and the difficulty of retrieving similar information is also increasing. Among them, similarity retrieval for pictures is widely used because it can realize automatic ranking of network pictures, recommendation of related pictures and other effects. [0003] Currently, image similarity retrieval methods include tree similarity algorithms, such as R-tree, Kd-tree, and SR-tree, which are based on space division; [0004] The linear retrieval method scans the pictures in the entire database sequentially, calculates the Euclidean distance to the pictures to be retrieved, and then outputs them sequentially; [0005] LSH (Location Sensitive Hash, Location Sensitive Hash Function) algo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/5838
Inventor 杨志宇
Owner BEIJING FEINNO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products