8 #ifndef META_OCEAN_TEST_TESTTACKING_TEST_HOMOGRAPHY_IMAGE_ALIGNMENT_DENSE_H
9 #define META_OCEAN_TEST_TESTTACKING_TEST_HOMOGRAPHY_IMAGE_ALIGNMENT_DENSE_H
24 namespace TestTracking
41 static bool test(
const double testDuration,
Worker& worker);
58 static bool testAdditive(
const unsigned int channels,
const double testDuration,
Worker& worker);
This class implements Ocean's image class.
Definition: Frame.h:1792
Definition of a frame type composed by the frame dimension, pixel format and pixel origin.
Definition: Frame.h:30
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements a test for the dense homography image alignment.
Definition: TestHomographyImageAlignmentDense.h:32
static bool testInverseCompositional(const unsigned int channels, const double testDuration, Worker &worker)
Tests the inverse compositional alignment with specified number of image channels.
static bool createRandomData(const FrameType &frameType, RandomGenerator &randomGenerator, Frame &templateFrame, Frame &trackingFrame, SquareMatrix3 &tracking_H_template, const Scalar maximalHomographyRadius)
Creates a random template image, and random homography and a random tracking image.
static bool testMultiResolution(const unsigned int channels, const bool additive, const double testDuration, Worker &worker)
Tests the multi-resolution alignment with specified number of image channels.
static bool testAdditive(const unsigned int channels, const double testDuration, Worker &worker)
Tests the additive alignment with specified number of image channels.
static bool testMultiResolution(const double testDuration, Worker &worker)
Tests the multi-resolution alignment.
static bool testInverseCompositional(const double testDuration, Worker &worker)
Tests the inverse compositional alignment.
static bool determineError(const Frame &templateFrame, const Frame &trackingFrame, const SquareMatrix3 &estimatedTracking_H_template, double &averageError, double &averageErrorEstimated)
Determines the average pixel intensity differences between the template image, the tracking image,...
static bool testAdditive(const double testDuration, Worker &worker)
Tests the additive alignment.
static bool test(const double testDuration, Worker &worker)
Invokes all tests.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
float Scalar
Definition of a scalar type.
Definition: Math.h:128
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15