8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_INTERPOLATOR_BILINEAR_ALPHA_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_INTERPOLATOR_BILINEAR_ALPHA_H
42 static bool test(
const unsigned int width,
const unsigned int height,
const double testDuration,
Worker& worker);
58 template <
typename TScalar>
78 template <
unsigned int tChannels>
94 template <
typename TScalar>
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a bilinear frame interpolator test for frames holding an alpha channel.
Definition: TestFrameInterpolatorBilinearAlpha.h:31
static bool infiniteBorderInterpolation8BitPerChannel(const Frame &frame, const bool alphaAtFront, const bool transparentIs0xFF, const Vector2 &position, uint8_t *result)
Returns the infinite border interpolation result for a given frame and interpolation position.
static bool testInterpolateInfiniteBorder8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the bilinear infinite border interpolation function.
static bool testInterpolatePixel8BitPerChannel(const CV::PixelCenter pixelCenter, const double testDuration)
Tests the bilinear pixel interpolation function.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests all bilinear interpolation filter functions.
static bool interpolatePixel8BitPerChannel(const Frame &frame, const bool alphaAtFront, const bool transparentIs0xFF, const VectorT2< TScalar > &position, const CV::PixelCenter pixelCenter, uint8_t *result)
Determines the interpolation for one pixel.
static bool testInterpolateInfiniteBorder8BitPerChannel(const unsigned int width, const unsigned int height, const double testDuration)
Tests the bilinear infinite border interpolation function.
static bool testInterpolatePixel8BitPerChannel(const double testDuration)
Tests the bilinear pixel interpolation function.
This class implements a vector with two elements.
Definition: Vector2.h:96
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
PixelCenter
Definition of individual centers of pixels.
Definition: CV.h:117
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15