ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
sift_test.cc File Reference
#include "util/testing.h"
#include "exe/gui.h"
#include "SiftGPU/SiftGPU.h"
#include "feature/sift.h"
#include "feature/utils.h"
#include "util/math.h"
#include "util/opengl_utils.h"
#include "util/random.h"
Include dependency graph for sift_test.cc:

Go to the source code of this file.

Macros

#define TEST_NAME   "feature/sift_test"
 

Functions

void CreateImageWithSquare (const int size, Bitmap *bitmap)
 
 BOOST_AUTO_TEST_CASE (TestExtractSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestExtractCovariantSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestExtractCovariantAffineSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestExtractCovariantDSPSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestExtractCovariantAffineDSPSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestExtractSiftFeaturesGPU)
 
FeatureDescriptors CreateRandomFeatureDescriptors (const size_t num_features)
 
void CheckEqualMatches (const FeatureMatches &matches1, const FeatureMatches &matches2)
 
 BOOST_AUTO_TEST_CASE (TestCreateSiftGPUMatcherOpenGL)
 
 BOOST_AUTO_TEST_CASE (TestCreateSiftGPUMatcherCUDA)
 
 BOOST_AUTO_TEST_CASE (TestMatchSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestMatchSiftFeaturesCPUFLANNvsBruteForce)
 
 BOOST_AUTO_TEST_CASE (TestMatchGuidedSiftFeaturesCPU)
 
 BOOST_AUTO_TEST_CASE (TestMatchSiftFeaturesGPU)
 
 BOOST_AUTO_TEST_CASE (TestMatchSiftFeaturesCPUvsGPU)
 
 BOOST_AUTO_TEST_CASE (TestMatchGuidedSiftFeaturesGPU)
 

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "feature/sift_test"

Definition at line 32 of file sift_test.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/14]

BOOST_AUTO_TEST_CASE ( TestCreateSiftGPUMatcherCUDA  )

◆ BOOST_AUTO_TEST_CASE() [2/14]

BOOST_AUTO_TEST_CASE ( TestCreateSiftGPUMatcherOpenGL  )

◆ BOOST_AUTO_TEST_CASE() [3/14]

◆ BOOST_AUTO_TEST_CASE() [4/14]

BOOST_AUTO_TEST_CASE ( TestExtractCovariantAffineSiftFeaturesCPU  )

◆ BOOST_AUTO_TEST_CASE() [5/14]

BOOST_AUTO_TEST_CASE ( TestExtractCovariantDSPSiftFeaturesCPU  )

◆ BOOST_AUTO_TEST_CASE() [6/14]

BOOST_AUTO_TEST_CASE ( TestExtractCovariantSiftFeaturesCPU  )

◆ BOOST_AUTO_TEST_CASE() [7/14]

BOOST_AUTO_TEST_CASE ( TestExtractSiftFeaturesCPU  )

◆ BOOST_AUTO_TEST_CASE() [8/14]

◆ BOOST_AUTO_TEST_CASE() [9/14]

◆ BOOST_AUTO_TEST_CASE() [10/14]

◆ BOOST_AUTO_TEST_CASE() [11/14]

BOOST_AUTO_TEST_CASE ( TestMatchSiftFeaturesCPU  )

◆ BOOST_AUTO_TEST_CASE() [12/14]

◆ BOOST_AUTO_TEST_CASE() [13/14]

◆ BOOST_AUTO_TEST_CASE() [14/14]

◆ CheckEqualMatches()

void CheckEqualMatches ( const FeatureMatches matches1,
const FeatureMatches matches2 
)

Definition at line 259 of file sift_test.cc.

Referenced by BOOST_AUTO_TEST_CASE().

◆ CreateImageWithSquare()

void CreateImageWithSquare ( const int  size,
Bitmap bitmap 
)

◆ CreateRandomFeatureDescriptors()

FeatureDescriptors CreateRandomFeatureDescriptors ( const size_t  num_features)