#include <inverted_index.h>
|
| | InvertedIndex () |
| |
| int | NumVisualWords () const |
| |
| void | Initialize (const int num_words) |
| |
| void | Finalize () |
| |
| void | GenerateHammingEmbeddingProjection () |
| |
| void | ComputeHammingEmbedding (const DescType &descriptors, const Eigen::VectorXi &word_ids) |
| |
| void | AddEntry (const int image_id, const int word_id, typename DescType::Index feature_idx, const DescType &descriptor, const GeomType &geometry) |
| |
| void | ClearEntries () |
| |
| void | Query (const DescType &descriptors, const Eigen::MatrixXi &word_ids, std::vector< ImageScore > *image_scores) const |
| |
| void | ConvertToBinaryDescriptor (const int word_id, const DescType &descriptor, std::bitset< kEmbeddingDim > *binary_descriptor) const |
| |
| float | GetIDFWeight (const int word_id) const |
| |
| void | FindMatches (const int word_id, const std::unordered_set< int > &image_ids, std::vector< const EntryType * > *matches) const |
| |
| float | ComputeSelfSimilarity (const Eigen::MatrixXi &word_ids) const |
| |
| void | GetImageIds (std::unordered_set< int > *image_ids) const |
| |
| void | Read (std::ifstream *ifs) |
| |
| void | Write (std::ofstream *ofs) const |
| |
◆ DescType
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ EntryType
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ GeomType
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ProjDescType
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ProjMatrixType
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ InvertedIndex()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ AddEntry()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ClearEntries()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ComputeHammingEmbedding()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ComputeSelfSimilarity()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ ConvertToBinaryDescriptor()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
| void colmap::retrieval::InvertedIndex< kDescType, kDescDim, kEmbeddingDim >::ConvertToBinaryDescriptor |
( |
const int |
word_id, |
|
|
const DescType & |
descriptor, |
|
|
std::bitset< kEmbeddingDim > * |
binary_descriptor |
|
) |
| const |
◆ Finalize()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ FindMatches()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
| void colmap::retrieval::InvertedIndex< kDescType, kDescDim, kEmbeddingDim >::FindMatches |
( |
const int |
word_id, |
|
|
const std::unordered_set< int > & |
image_ids, |
|
|
std::vector< const EntryType * > * |
matches |
|
) |
| const |
◆ GenerateHammingEmbeddingProjection()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ GetIDFWeight()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ GetImageIds()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ Initialize()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ NumVisualWords()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ Query()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ Read()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ Write()
template<typename kDescType , int kDescDim, int kEmbeddingDim>
◆ kInvalidWordId
template<typename kDescType , int kDescDim, int kEmbeddingDim>
Initial value:=
std::numeric_limits<int>::max()
The documentation for this class was generated from the following file: