Binary code dictionary tree-based search method

A technology of binary codes and dictionaries, which is applied in the search field based on binary code dictionary trees, can solve problems such as wasting time, achieve the effects of reducing the number of searches, increasing the search speed, and avoiding missing searches

Active Publication Date: 2017-07-25
PEKING UNIV
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practical applications, it is found that most of the hash buckets are empty, and

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
  • Binary code dictionary tree-based search method
  • Binary code dictionary tree-based search method
  • Binary code dictionary tree-based search method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented.

[0069] There are two nearest neighbor search problems in Hamming space, namely K nearest neighbor search and r nearest neighbor search. Among them, the K nearest neighbor search is to find the K vectors with the closest Hamming distance compared with the given query vector in the data set; the r nearest neighbor search is to find all the Hamming distances in the data set that do not exceed a fixed value (r) compared with the query vector All vectors. These two issues are essentially interchangeable.

[0070] In the embodiment of the present invention, the second problem is m...

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 binary code dictionary tree-based search method. The method comprises the steps of obtaining a binary code of each image in a database, and dividing each binary code into m sections of substrings; for the jth sections of the substrings of all images in the database, establishing a binary code dictionary tree of the jth sections of the substrings, wherein the number of binary code dictionary trees is m, and each binary code dictionary tree comprises internal nodes and external nodes; obtaining the binary code of the to-be-queried image and the m sections of the substrings of the binary code; for the jth section of the substring of the binary code of the to-be-queried image, searching for the binary code with a Hamming distance not exceeding a value defined in the specification in the binary code dictionary tree corresponding to the jth sections of the substrings of all the images in the database; and traversing all the substrings of the binary code of the to-be-queried image to obtain a query result of each substring, wherein j is smaller than or equal to m. According to the method, the search quantity can be reduced during accurate nearest neighbor search of Hamming space, so that the search speed is increased.

Description

technical field [0001] The invention relates to computer vision technology, in particular to a search method based on binary code dictionary tree. Background technique [0002] In recent years, the problem of binary representation of high-dimensional vectors has gained extensive attention. The goal of binary encoding is to compress features into a compact binary code. Binary codes have the advantages of easy storage, easy indexing, and fast comparison, and are the first choice for processing large-scale data applications. Although the Hamming distance comparison between binary codes is very fast (millions of comparisons can be completed within 1 second), when the data size is particularly large, the method of linearly scanning the entire data set still cannot achieve real-time retrieval . Therefore, it is necessary to design an efficient indexing algorithm to improve the retrieval speed of binary codes under large-scale data sets. [0003] A common method of indexing a b...

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
IPC IPC(8): G06F17/30
CPCG06F16/51
Inventor 段凌宇黄祎程王哲高文
Owner PEKING UNIV
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