8#ifndef OCEAN_TEST_TESTCV_TEST_FRAME_NORM_H
9#define OCEAN_TEST_TESTCV_TEST_FRAME_NORM_H
63 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:31
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, const TestSelector &selector=TestSelector())
Starts all tests of the FrameNorm class.
static bool testNormL2(const double testDuration)
Tests the function determining the L2 norm.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
The namespace covering the entire Ocean framework.
Definition Accessor.h:15