8#ifndef META_OCEAN_TEST_TESTCV_SUM_SQUARE_DIFFERENCES_H
9#define META_OCEAN_TEST_TESTCV_SUM_SQUARE_DIFFERENCES_H
107 template <
unsigned int tChannels,
unsigned int tPatchSize>
119 template <
unsigned int tChannels,
unsigned int tPixels>
131 template <
unsigned int tChannels,
unsigned int tPatchSize>
143 template <
unsigned int tChannels,
unsigned int tPatchSize>
155 template <
unsigned int tChannels,
unsigned int tSize>
This class implements Ocean's image class.
Definition Frame.h:1879
This class implements sum square differences (SSD) tests.
Definition TestSumSquareDifferences.h:31
static bool test(const double testDuration, const TestSelector &selector=TestSelector())
Tests the entire sum square differences functions.
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:38
@ IT_TEMPLATE
The template-based implementation.
Definition TestSumSquareDifferences.h:42
@ IT_NEON
The NEON-based implementation.
Definition TestSumSquareDifferences.h:46
@ IT_NAIVE
The naive implementation.
Definition TestSumSquareDifferences.h:40
@ IT_SSE
The SSE-based implementation.
Definition TestSumSquareDifferences.h:44
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 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.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
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