ifw-ccf 6.0.0
 
Loading...
Searching...
No Matches
ComAdptSimTest Class Reference

Test fixture for ComAdptSim tests. More...

Inheritance diagram for ComAdptSimTest:

Protected Member Functions

void SetUp () override
 
double ComputeMean (const uint16_t *data, size_t count)
 Helper to compute mean of a uint16 image buffer.
 
uint16_t ComputeMax (const uint16_t *data, size_t count)
 Helper to compute max of a uint16 image buffer.
 
double ComputeStdDev (const uint16_t *data, size_t count, double mean)
 Helper to compute standard deviation.
 
std::pair< double, double > FindCentroid (const uint16_t *data, int width, int height)
 Helper to find centroid position.
 

Detailed Description

Test fixture for ComAdptSim tests.

Member Function Documentation

◆ ComputeMax()

uint16_t ComAdptSimTest::ComputeMax ( const uint16_t * data,
size_t count )
inlineprotected

Helper to compute max of a uint16 image buffer.

◆ ComputeMean()

double ComAdptSimTest::ComputeMean ( const uint16_t * data,
size_t count )
inlineprotected

Helper to compute mean of a uint16 image buffer.

◆ ComputeStdDev()

double ComAdptSimTest::ComputeStdDev ( const uint16_t * data,
size_t count,
double mean )
inlineprotected

Helper to compute standard deviation.

◆ FindCentroid()

std::pair< double, double > ComAdptSimTest::FindCentroid ( const uint16_t * data,
int width,
int height )
inlineprotected

Helper to find centroid position.

◆ SetUp()

void ComAdptSimTest::SetUp ( )
inlineoverrideprotected

The documentation for this class was generated from the following file: