8 #ifndef META_OCEAN_TEST_TESTCV_TESTADVANCED_PANORAMA_FRAME_H
9 #define META_OCEAN_TEST_TESTCV_TESTADVANCED_PANORAMA_FRAME_H
26 namespace TestAdvanced
43 static bool test(
const double testDuration,
Worker& worker);
64 static bool testCameraFrame2cameraFrame(
const unsigned int performanceWidth,
const unsigned int performanceHeight,
const bool useApproximation,
const bool useSourceMask,
const unsigned int numberChannels,
const double testDuration,
Worker& worker);
This class implements a panorama frame with spherical projection model.
Definition: PanoramaFrame.h:47
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a test for the panorama frame.
Definition: TestPanoramaFrame.h:34
static double averageFrameError(const Frame &frameA, const Frame &frameB)
Determines the error between two frames.
static bool testCameraFrame2cameraFrame(const unsigned int performanceWidth, const unsigned int performanceHeight, const bool useApproximation, const bool useSourceMask, const unsigned int numberChannels, const double testDuration, Worker &worker)
Tests the conversion between frames with different orientations with specific function parameters.
static bool testCameraFrame2cameraFrame(const double testDuration, Worker &worker)
Tests the conversion between frames with different orientations with all possible function parameters...
static bool testCameraFrame2panoramaSubFrame(const double testDuration, Worker &worker)
Tests the cameraFrame2panoramaSubFrame function and the reverse operation.
static bool validateCameraFrame2cameraFrame(const PinholeCamera &sourceCamera, const SquareMatrix3 &world_R_source, const Frame &source, const Frame &sourceMask, const PinholeCamera &targetCamera, const SquareMatrix3 &world_R_target, const Frame &testTarget, const Frame &testTargetMask, const uint8_t maskValue, const unsigned int approximationBinSize)
Validates conversion between frames with different orientations for specific function parameters.
static bool testRecreation(Worker &worker)
Tests the re-creation of a panorama frame.
static bool testRecreation(const unsigned int channels, const bool approximate, Worker &worker)
Tests the re-creation of a panorama frame.
static bool test(const double testDuration, Worker &worker)
Tests the panorama frame functions.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15