8 #ifndef OCEAN_TEST_TESTCV_TEST_FRAME_NORM_H
9 #define OCEAN_TEST_TESTCV_TEST_FRAME_NORM_H
37 static bool test(
const double testDuration);
60 static double calculateNormL2(
const T* frame,
const unsigned int width,
const unsigned int height,
const unsigned int framePaddingElements);
This class implements tests for the FrameNorm class.
Definition: TestFrameNorm.h:29
static double calculateNormL2(const T *frame, const unsigned int width, const unsigned int height, const unsigned int framePaddingElements)
Calculates the L2 norm for all elements of a given frame (square root of sum of squared elements).
static bool test(const double testDuration)
Starts all tests of the FrameNorm class.
static bool testNormL2(const double testDuration)
Tests the function determining the L2 norm.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15