8 #ifndef META_OCEAN_TEST_TESTCV_SUM_SQUARE_DIFFERENCES_H
9 #define META_OCEAN_TEST_TESTCV_SUM_SQUARE_DIFFERENCES_H
56 static bool test(
const double testDuration);
104 template <
unsigned int tChannels,
unsigned int tPatchSize>
116 template <
unsigned int tChannels,
unsigned int tPixels>
128 template <
unsigned int tChannels,
unsigned int tPatchSize>
140 template <
unsigned int tChannels,
unsigned int tPatchSize>
152 template <
unsigned int tChannels,
unsigned int tSize>
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements sum square differences (SSD) tests.
Definition: TestSumSquareDifferences.h:29
static bool testPatch8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum square differences function for two image patches.
static bool testPatchMirroredBorder8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum square differences function for two image patches which are mirrored at the image borde...
static bool testPatchMirroredBorder8BitPerChannel(const double testDuration)
Tests the sum square differences function for two image patches which are mirrored at the image borde...
static bool testPatchAtBorder8BitPerChannel(const double testDuration)
Tests the sum square differences function for image patches with pixel accuracy which can be partiall...
static bool testBuffer8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum square differences function for two buffers.
ImplementationType
Definition of individual types of implementation.
Definition: TestSumSquareDifferences.h:36
@ IT_TEMPLATE
The template-based implementation.
Definition: TestSumSquareDifferences.h:40
@ IT_NEON
The NEON-based implementation.
Definition: TestSumSquareDifferences.h:44
@ IT_NAIVE
The naive implementation.
Definition: TestSumSquareDifferences.h:38
@ IT_SSE
The SSE-based implementation.
Definition: TestSumSquareDifferences.h:42
static bool testPatchAtBorder8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum square differences function for image patches with pixel accuracy which can be partiall...
static bool testBuffer8BitPerChannel(const double testDuration)
Tests the sum square differences function for two buffers.
static IndexPair32 calculateAtBorder8BitPerChannel(const Frame &frame0, const Frame &frame1, const CV::PixelPosition ¢er0, const CV::PixelPosition ¢er1, const unsigned int patchSize)
Calculates the ssd value between two pixel accurate patches which can be partially outside of the fra...
static bool test(const double testDuration)
Tests the entire sum square differences functions.
static bool testPatch8BitPerChannel(const double testDuration)
Tests the sum square differences function for two image patches.
static bool testPatchBuffer8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the sum square differences function between an image patch and a buffer.
static bool testPatchBuffer8BitPerChannel(const double testDuration)
Tests the sum square differences function between an image patch and a buffer.
std::pair< Index32, Index32 > IndexPair32
Definition of a pair holding 32 bit indices.
Definition: Base.h:138
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15