image_metrics_test.h
Go to the documentation of this file.
45 metrics.insert(metric_t(1, 1101, 1, channel_count, to_vector(min_contrast1), to_vector(max_contrast1)));
46 metrics.insert(metric_t(1, 1102, 1, channel_count, to_vector(min_contrast2), to_vector(max_contrast2)));
47 metrics.insert(metric_t(1, 1103, 1, channel_count, to_vector(min_contrast3), to_vector(max_contrast3)));
94 metrics.insert(metric_t(7, 1114, 1, channel_count, to_vector(min_contrast1), to_vector(max_contrast1)));
95 metrics.insert(metric_t(7, 1214, 1, channel_count, to_vector(min_contrast2), to_vector(max_contrast2)));
96 metrics.insert(metric_t(7, 2114, 1, channel_count, to_vector(min_contrast3), to_vector(max_contrast3)));
139 metrics.insert(metric_t(7, 111014, 1, channel_count, to_vector(min_contrast1), to_vector(max_contrast1)));
140 metrics.insert(metric_t(7, 121014, 1, channel_count, to_vector(min_contrast2), to_vector(max_contrast2)));
141 metrics.insert(metric_t(7, 211014, 1, channel_count, to_vector(min_contrast3), to_vector(max_contrast3)));
void insert(const metric_type &metric)
Definition: metric_set.h:267
Definition: metric_set.h:40
static void create_expected(metric_set_t &metrics, const model::run::info &=model::run::info())
Definition: image_metrics_test.h:82
Definition: enum_description.h:15
Definition: image_metrics_test.h:76
Definition: info.h:35
Definition: image_metrics_test.h:121
static std::vector< T > to_vector(const T(&vals)[N])
Definition: metric_test.h:85
::uint16_t ushort_t
Definition: base_metric.h:141
model::metrics::image_metric metric_t
Definition: metric_test.h:57
Definition: image_metrics_test.h:27
static void create_expected(metric_set_t &metrics, const model::run::info &=model::run::info())
Definition: image_metrics_test.h:33
Definition: metric_test.h:41
model::metric_base::metric_set< model::metrics::image_metric > metric_set_t
Definition: metric_test.h:59
Definition: image_metric.h:103
static void create_expected(metric_set_t &metrics, const model::run::info &=model::run::info())
Definition: image_metrics_test.h:127
Definition: metric_test.h:47
static void create_binary_data(Collection &buffer)
Definition: image_metrics_test.h:54
static void create_binary_data(Collection &buffer)
Definition: image_metrics_test.h:103
metric_t::header_type header_t
Definition: metric_test.h:61
Definition: image_metrics_test.h:23
static void create_binary_data(Collection &buffer)
Definition: image_metrics_test.h:149