Ocean
Ocean Test CV OpenCV Library

The Ocean Test CV OpenCV Library provides several functions to test the performance of the 3rdparty OpenCV library. More...

Collaboration diagram for Ocean Test CV OpenCV Library:

Data Structures

class  Ocean::Test::TestCV::TestOpenCV::TestFeatureDetectors
 This class tests the performance of several OpenCV feature detectors. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFourierTransform
 This class tests the performance of Fourier transform algorithms. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameConverter
 This class tests the performance of the frame converter function of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameFilterCanny
 This class benchmarks the performance of the Canny filter functionality of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameFilterLaplace
 This class benchmarks the performance of the Laplace filter functionality of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameInterpolatorBilinear
 This class benchmarks the performance of bilinear interpolation. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameInterpolatorNearestPixel
 This class benchmarks the performance of nearest-neighbor interpolation. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFrameMinMax
 This class benchmarks the performance of the minmax functionality of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestFramePyramid
 This class implements performance tests for the frame pyramid of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestGaussianBlur
 This class tests the Gaussian blur function of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestGeometry
 This class tests the performance of several OpenCV functions from the module calib3d (aka geometry in Ocean). More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestHistogram
 This class implements performance and validation tests for image histogram, histogram equalization, etc. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestMorphology
 This class tests morphology functions of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestPerformance
 This class tests the performance of the frame interpolation function of OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestPointTracking
 This class tests the performance of the different patch tracking functions in OpenCV. More...
 
class  Ocean::Test::TestCV::TestOpenCV::TestTransformation
 This class tests transformation determination functions of OpenCV. More...
 

Functions

OCEAN_TEST_CV_OPENCV_EXPORT bool Ocean::Test::TestCV::TestOpenCV::testCVOpenCV (const double testDuration, const std::string &imageFilename, const std::string &testFunctions=std::string())
 Tests the entire CV OpenCV library. More...
 
OCEAN_TEST_CV_OPENCV_EXPORT void Ocean::Test::TestCV::TestOpenCV::testCVOpenCVAsynchron (const double testDuration, const std::string &imageFilename, const std::string &testFunctions=std::string())
 Tests the entire CV OpenCV library. More...
 

Detailed Description

The Ocean Test CV OpenCV Library provides several functions to test the performance of the 3rdparty OpenCV library.

The library is platform independent.

Function Documentation

◆ testCVOpenCV()

OCEAN_TEST_CV_OPENCV_EXPORT bool Ocean::Test::TestCV::TestOpenCV::testCVOpenCV ( const double  testDuration,
const std::string &  imageFilename,
const std::string &  testFunctions = std::string() 
)

Tests the entire CV OpenCV library.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
imageFilenameThe filename of the image to be used for testing
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded

◆ testCVOpenCVAsynchron()

OCEAN_TEST_CV_OPENCV_EXPORT void Ocean::Test::TestCV::TestOpenCV::testCVOpenCVAsynchron ( const double  testDuration,
const std::string &  imageFilename,
const std::string &  testFunctions = std::string() 
)

Tests the entire CV OpenCV library.

This function returns directly as the actual test is invoked in an own thread.
Use this function in intendet for non-console applications like e.g., mobile devices.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
imageFilenameThe filename of the image to be used for testing
testFunctionsOptional name of the functions to be tested