Template Function compareData#
Defined in File helper_image.h
Function Documentation#
-
template<class T, class S>
inline bool compareData(const T *reference, const T *data, const unsigned int len, const S epsilon, const float threshold)# Compare two arrays of arbitrary type
- Parameters
reference – timer_interface to the reference data / gold image
data – handle to the computed data
len – number of elements in reference and data
epsilon – epsilon to use for the comparison
- Returns
true if reference and data are identical, otherwise false