【文件属性】:
文件名称:matlab中代码意思-hashingSearch:使用哈希索引搜索
文件大小:226KB
文件格式:ZIP
更新时间:2021-05-26 09:08:57
系统开源
matlab中代码英文使用哈希索引搜索
我们在此处提供带有哈希索引(和kNN图)的搜索代码。
该代码在我们的论文中使用。
您需要一个哈希索引和一个kmeans分区才能进行搜索。
请使用各种哈希算法来生成哈希索引和kmeans分区。
基准数据集
性能未经并行测试。
使用哈希索引的ANN搜索(量化汉明排序方法)
如何遵守
转到hashingSearch的根目录并制作。
cd
hashingSearch/
make
如何使用
您需要一个哈希索引和一个kmeans分区才能进行搜索。
请使用各种哈希算法来生成哈希索引和kmeans分区。
使用量化汉明排名法的带有哈希索引的ANN搜索
cd
samples/
./ikhamming_search
data_file
BaseCodeFile
query_file
QueryCodeFile
partitionFile
result_file
codelen
initsz
nPartition
querNN
参数含义(从左到右):
data_file-数据库点BaseCodeFile-例如LSHtableSIFT32b。
(实际的二进制代码文件是LS
【文件预览】:
hashingSearch-master
----Makefile(666B)
----efanna.hpp(2KB)
----samples()
--------hamming_search.cc(2KB)
--------ieh_search.cc(2KB)
--------ikhamming_search.cc(2KB)
--------hashing_locate.cc(2KB)
--------hashing_search.cc(2KB)
--------hamming_locate.cc(2KB)
----LICENSE(1KB)
----README.md(5KB)
----figures()
--------SIFT2.png(48KB)
--------GIST2.png(49KB)
--------SIFT.png(52KB)
--------GIST.png(55KB)
----general()
--------matrix.hpp(2KB)
--------params.hpp(869B)
--------.DS_Store(6KB)
--------distance.hpp(11KB)
----algorithm()
--------hamming_index.hpp(8KB)
--------base_index.hpp(8KB)
--------ikhamming_index.hpp(8KB)
--------init_indices.hpp(1KB)
--------hashing_index.hpp(45KB)