Ocean
Ocean Test CV Synthesis Library

The Ocean Test CV Synthesis Library provides several function to test the performance and validation of the computer vision synthesis functionalities. More...

Collaboration diagram for Ocean Test CV Synthesis Library:

Data Structures

class  Ocean::Test::TestCV::TestSynthesis::TestCreatorF1
 This class implements a test for creators with one frame. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestCreatorI1
 This class implements a test for creators with one frame. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestInitializerF1
 This class implements a test for initializers with one frame with sub-pixel accuracy. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestInitializerI1
 This class implements a test for initializers with one frame. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestMappingF1
 This class implements a synthesis sub-pixel mapping test. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestMappingI1
 This class implements a synthesis pixel mapping test. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestOptimizerF1
 This class implements a test for optimizers with one frame. More...
 
class  Ocean::Test::TestCV::TestSynthesis::TestOptimizerI1
 This class implements a test for optimizers with one frame. More...
 
class  Ocean::Test::TestCV::TestSynthesis::Utilities
 This class implements some utilities functions. More...
 

Functions

OCEAN_TEST_CV_SYNTHESIS_EXPORT bool Ocean::Test::TestCV::TestSynthesis::testCVSynthesis (const double testDuration, Worker &worker, const unsigned int testWidth=1280u, const unsigned int testHeight=720u, const std::string &testFunctions=std::string())
 Tests the entire computer vision synthesis library. More...
 

Detailed Description

The Ocean Test CV Synthesis Library provides several function to test the performance and validation of the computer vision synthesis functionalities.

The library is platform independent.

Function Documentation

◆ testCVSynthesis()

OCEAN_TEST_CV_SYNTHESIS_EXPORT bool Ocean::Test::TestCV::TestSynthesis::testCVSynthesis ( const double  testDuration,
Worker worker,
const unsigned int  testWidth = 1280u,
const unsigned int  testHeight = 720u,
const std::string &  testFunctions = std::string() 
)

Tests the entire computer vision synthesis library.

Parameters
testDurationNumber of seconds for each test
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object.
testWidthWidth of the test frame in pixel, with range [32, infinity)
testHeightHeight of the test frame in pixel, with range [32, infinity)
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded