21 #ifndef mia_3d_fifotestfixture_hh 22 #define mia_3d_fifotestfixture_hh 43 template <
typename A,
typename B>
44 void prepare(
const A *input_data,
const B *test_data,
const C2DBounds& size,
size_t slices);
51 template <
typename A,
typename B>
57 size_t slice_size = size.
x * size.
y;
58 cvdebug() <<
"the test image size is " << size <<
"\n";
59 for (
size_t i = 0; i < n_slices; ++i, input_data += slice_size, test_data += slice_size) {
C2DImage::Pointer P2DImage
Shared pointer representation of the 2D Image.
std::vector< P2DImage > C2DImageStack
void prepare(const A *input_data, const B *test_data, const C2DBounds &size, size_t slices)
This is the template version of a 2D image that is used for holding real data.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
static F::result_type filter(const F &f, const B &b)
The class to provide filtering of series of 2D images as if they where 3D images. ...
a fixture to test FIFO filtering
C2DImageStack m_test_data
#define NS_MIA_END
conveniance define to end the mia namespace