ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
warp_test.cc File Reference
#include "util/testing.h"
#include "base/warp.h"
#include "util/random.h"
Include dependency graph for warp_test.cc:

Go to the source code of this file.

Macros

#define TEST_NAME   "base/warp"
 

Functions

 BOOST_AUTO_TEST_CASE (TestIdenticalCameras)
 
 BOOST_AUTO_TEST_CASE (TestShiftedCameras)
 
 BOOST_AUTO_TEST_CASE (TestWarpImageWithHomographyIdentity)
 
 BOOST_AUTO_TEST_CASE (TestWarpImageWithHomographyTransposed)
 
 BOOST_AUTO_TEST_CASE (TestWarpImageWithHomographyBetweenCamerasIdentity)
 
 BOOST_AUTO_TEST_CASE (TestWarpImageWithHomographyBetweenCamerasTransposed)
 
 BOOST_AUTO_TEST_CASE (TestResampleImageBilinear)
 
 BOOST_AUTO_TEST_CASE (TestSmoothImage)
 
 BOOST_AUTO_TEST_CASE (TestDownsampleImage)
 

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "base/warp"

Definition at line 32 of file warp_test.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( TestDownsampleImage  )

Definition at line 256 of file warp_test.cc.

References colmap::DownsampleImage(), e, and image.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( TestIdenticalCameras  )

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( TestResampleImageBilinear  )

Definition at line 222 of file warp_test.cc.

References image, and colmap::ResampleImageBilinear().

◆ BOOST_AUTO_TEST_CASE() [4/9]

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( TestSmoothImage  )

Definition at line 237 of file warp_test.cc.

References e, image, and colmap::SmoothImage().

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( TestWarpImageWithHomographyBetweenCamerasIdentity  )

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( TestWarpImageWithHomographyBetweenCamerasTransposed  )

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( TestWarpImageWithHomographyIdentity  )

Definition at line 136 of file warp_test.cc.

References colmap::Bitmap::Allocate(), and colmap::WarpImageWithHomography().

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TestWarpImageWithHomographyTransposed  )

Definition at line 154 of file warp_test.cc.

References colmap::Bitmap::Allocate(), and colmap::WarpImageWithHomography().