ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::FeatureMatcherCache Class Reference

#include <matching.h>

Public Member Functions

 FeatureMatcherCache (const size_t cache_size, const Database *database)
 
void Setup ()
 
const Camera & GetCamera (const camera_t camera_id)
 
const Image & GetImage (const image_t image_id)
 
std::shared_ptr< FeatureKeypoints > GetKeypoints (const image_t image_id)
 
std::shared_ptr< FeatureDescriptors > GetDescriptors (const image_t image_id)
 
FeatureMatches GetMatches (const image_t image_id1, const image_t image_id2)
 
std::vector< image_t > GetImageIds ()
 
bool ExistsKeypoints (const image_t image_id)
 
bool ExistsDescriptors (const image_t image_id)
 
bool ExistsMatches (const image_t image_id1, const image_t image_id2)
 
bool ExistsInlierMatches (const image_t image_id1, const image_t image_id2)
 
void WriteMatches (const image_t image_id1, const image_t image_id2, const FeatureMatches &matches)
 
void WriteTwoViewGeometry (const image_t image_id1, const image_t image_id2, const TwoViewGeometry &two_view_geometry)
 
void DeleteMatches (const image_t image_id1, const image_t image_id2)
 
void DeleteInlierMatches (const image_t image_id1, const image_t image_id2)
 

Constructor & Destructor Documentation

◆ FeatureMatcherCache()

colmap::FeatureMatcherCache::FeatureMatcherCache ( const size_t  cache_size,
const Database *  database 
)

Member Function Documentation

◆ DeleteInlierMatches()

void colmap::FeatureMatcherCache::DeleteInlierMatches ( const image_t  image_id1,
const image_t  image_id2 
)

◆ DeleteMatches()

void colmap::FeatureMatcherCache::DeleteMatches ( const image_t  image_id1,
const image_t  image_id2 
)

◆ ExistsDescriptors()

bool colmap::FeatureMatcherCache::ExistsDescriptors ( const image_t  image_id)

◆ ExistsInlierMatches()

bool colmap::FeatureMatcherCache::ExistsInlierMatches ( const image_t  image_id1,
const image_t  image_id2 
)

◆ ExistsKeypoints()

bool colmap::FeatureMatcherCache::ExistsKeypoints ( const image_t  image_id)

◆ ExistsMatches()

bool colmap::FeatureMatcherCache::ExistsMatches ( const image_t  image_id1,
const image_t  image_id2 
)

◆ GetCamera()

const Camera & colmap::FeatureMatcherCache::GetCamera ( const camera_t  camera_id)

◆ GetDescriptors()

std::shared_ptr< FeatureDescriptors > colmap::FeatureMatcherCache::GetDescriptors ( const image_t  image_id)

◆ GetImage()

const Image & colmap::FeatureMatcherCache::GetImage ( const image_t  image_id)

◆ GetImageIds()

std::vector< image_t > colmap::FeatureMatcherCache::GetImageIds ( )

References image.

◆ GetKeypoints()

std::shared_ptr< FeatureKeypoints > colmap::FeatureMatcherCache::GetKeypoints ( const image_t  image_id)

◆ GetMatches()

FeatureMatches colmap::FeatureMatcherCache::GetMatches ( const image_t  image_id1,
const image_t  image_id2 
)

◆ Setup()

◆ WriteMatches()

void colmap::FeatureMatcherCache::WriteMatches ( const image_t  image_id1,
const image_t  image_id2,
const FeatureMatches &  matches 
)

◆ WriteTwoViewGeometry()

void colmap::FeatureMatcherCache::WriteTwoViewGeometry ( const image_t  image_id1,
const image_t  image_id2,
const TwoViewGeometry &  two_view_geometry 
)

The documentation for this class was generated from the following files: