8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_INTERPOLATOR_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_INTERPOLATOR_H
41 static bool test(
const double testDuration,
Worker& worker);
61 template <
unsigned int tChannels, CV::FrameInterpolator::ResizeMethod tResizeMethod>
62 static bool testResize(
const unsigned int sourceWidth,
const unsigned int sourceHeight,
const unsigned int targetWidth,
const unsigned int targetHeight,
const double testDuration,
Worker& worker);
98 template <
unsigned int tPlaneChannels>
ResizeMethod
Definition of individual resize methods.
Definition: FrameInterpolator.h:57
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a test for the FrameInterpolator class.
Definition: TestFrameInterpolator.h:32
static bool test(const double testDuration, Worker &worker)
Invokes all test of the FrameInterpolator class.
static bool testResize(const unsigned int sourceWidth, const unsigned int sourceHeight, const unsigned int targetWidth, const unsigned int targetHeight, const double testDuration, Worker &worker)
Tests the resize function.
static bool testResize(const double testDuration, Worker &worker)
Tests the resize function.
static bool validateResizedFrame(const Frame &source, const Frame &target, const CV::FrameInterpolator::ResizeMethod resizeMethod)
Validates a resize frame.
static bool testResizeUseCase(const double testDuration)
Tests the resize function with focus on production use case.
static bool resizePlane(const Frame &sourcePlane, Frame &targetPlane, const CV::FrameInterpolator::ResizeMethod resizeMethod)
Resizes a plane.
static bool testResizeUseCase(const double testDuration, const unsigned int workerThreads)
Tests the resize function with focus on production use case.
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