8 #ifndef META_OCEAN_TEST_TESTCV_SUM_ABSOLUTE_DIFFERENCES_H
9 #define META_OCEAN_TEST_TESTCV_SUM_ABSOLUTE_DIFFERENCES_H
56 static bool test(
const double testDuration);
107 template <
typename T>
116 template <
typename T,
unsigned int tChannels>
128 template <
unsigned int tChannels,
unsigned int tPatchSize>
140 template <
unsigned int tChannels,
unsigned int tPixels>
152 template <
unsigned int tChannels,
unsigned int tPatchSize>
164 template <
unsigned int tChannels,
unsigned int tSize>
This class implements sum absolute differences (SAD) tests.
Definition: TestSumAbsoluteDifferences.h:29
static bool testDifferenceBetweenFramesWithSeveralPlanes(const double testDuration)
Tests the absolute differences function between entire frames with several planes.
static bool testPatchMirroredBorder8BitPerChannel(const double testDuration)
Tests the sum absolute differences function for two image patches which are mirrored at the image bor...
static bool testBuffer8BitPerChannel(const double testDuration)
Tests the absolute differences function for two buffers.
static bool testDifferenceBetweenFramesWithOnePlane()
Applies one test of the absolute differences function between entire frames with one plane for a spec...
static bool testPatch8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the absolute differences function for two image patches.
static bool test(const double testDuration)
Invokes all tests testing absolute differences functionalities.
static bool testPatch8BitPerChannel(const double testDuration)
Tests the absolute differences function for two image patches.
static bool testDifferenceBetweenFramesWithOnePlane(const double testDuration)
Tests the absolute differences function between entire frames with one plane.
static bool testDifferenceBetweenFramesWithOnePlane()
Applies one test of the absolute differences function between entire frames with one plane for a spec...
static bool testPatchMirroredBorder8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum absolute differences function for two image patches which are mirrored at the image bor...
static bool testPatchBuffer8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum absolute differences function between an image patch and a buffer.
ImplementationType
Definition of individual types of implementation.
Definition: TestSumAbsoluteDifferences.h:36
@ IT_TEMPLATE
The template-based implementation.
Definition: TestSumAbsoluteDifferences.h:40
@ IT_NAIVE
The naive implementation.
Definition: TestSumAbsoluteDifferences.h:38
@ IT_NEON
The NEON-based implementation.
Definition: TestSumAbsoluteDifferences.h:44
@ IT_SSE
The SSE-based implementation.
Definition: TestSumAbsoluteDifferences.h:42
static bool testPatchBuffer8BitPerChannel(const double testDuration)
Tests the sum absolute differences function between an image patch and a buffer.
static bool testBuffer8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum absolute differences function for two buffers.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15