8 #ifndef META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_LINE_DETECTOR_ULF_H
9 #define META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_LINE_DETECTOR_ULF_H
26 namespace TestDetector
43 static bool test(
const double testDuration,
Worker& worker);
135 static double rmsBarEdgeResponse(
const Frame& yFrame,
const unsigned int x,
const unsigned int y,
const unsigned int windowSize,
const double minimalDelta = 5.0);
149 template <
bool tSeparateRes
idual,
bool tSignedSquaredResponse>
150 static double rmsStepEdgeResponse(
const Frame& yFrame,
const unsigned int x,
const unsigned int y,
const unsigned int windowSize,
double* decisionDelta =
nullptr);
162 template <
bool tSeparateRes
idual>
175 static double sdStepEdgeResponse(
const Frame& yFrame,
const unsigned int x,
const unsigned int y,
const unsigned int stepSize,
const unsigned int windowSize);
This class implements the almost abstract base class for all edge detectors.
Definition: LineDetectorULF.h:81
This class implements a line detector optimized for urban lines (Urban Line Finder).
Definition: LineDetectorULF.h:34
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements line detector tests.
Definition: TestLineDetectorULF.h:34
static bool testRMSBarLineDetector(const double testDuration)
Tests the mean square residual bar line detector.
static bool testRMSStepLineDetector(const double testDuration)
Tests the mean square residual step line detector.
static bool testHorizontalEdgeDetector(const EdgeDetector &edgeDetector, const double testDuration)
Tests the horizontal edge detector of a specific detector.
static bool testRowSqrSums(const double testDuration)
Tests the sliding window sum functions for single rows calculating the sums of pixel intensities and ...
static bool testHorizontalRMSStepEdgeDetector(const double testDuration)
Tests the horizontal RMS Step edge detector.
static double sdStepEdgeResponseWithoutNonMaximumSuppression(const Frame &yFrame, const unsigned int x, const unsigned int y, const unsigned int stepSize, const unsigned int windowSize)
Determines the horizontal sum difference step edge detector response for a single pixel.
static bool test(const double testDuration, Worker &worker)
Invokes all test for the line detector.
static bool testHorizontalRMSBarEdgeDetector(const double testDuration)
Tests the horizontal RMS Bar edge detector.
static double rmsStepEdgeResponseWithoutNonMaximumSuppression(const Frame &yFrame, const unsigned int x, const unsigned int y, const unsigned int windowSize)
Determines the horizontal RMS-based step edge response for one pixel with floating point precision.
static double sdStepEdgeResponse(const Frame &yFrame, const unsigned int x, const unsigned int y, const unsigned int stepSize, const unsigned int windowSize)
Determines the horizontal sum difference step edge detector response for a single pixel.
static bool testRMSBarEdgeDetector(const double testDuration)
Tests the mean square residual bar edge detector.
static double rmsStepEdgeResponse(const Frame &yFrame, const unsigned int x, const unsigned int y, const unsigned int windowSize, double *decisionDelta=nullptr)
Determines the horizontal RMS-based step edge response for one pixel with floating point precision.
static bool testRMSStepEdgeDetector(const double testDuration)
Tests the mean square residual step edge detector.
static bool testHorizontalSDStepEdgeDetector(const double testDuration)
Tests the horizontal SD Step edge detector.
static bool testRowSums(const double testDuration)
Tests the sliding window sum function for single rows calculating the sums of pixel intensities only.
static double rmsBarEdgeResponse(const Frame &yFrame, const unsigned int x, const unsigned int y, const unsigned int windowSize, const double minimalDelta=5.0)
Determines the horizontal RMS-based bar edge response for one pixel with floating point precision.
static bool testSDStepEdgeDetector(const double testDuration)
Tests the sum difference edge detector.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15