21 #ifndef mia_internal_dimtrait_hh 22 #define mia_internal_dimtrait_hh 27 struct dimension_traits_placeholder {
28 typedef std::shared_ptr<dimension_traits_placeholder> Pointer;
34 template <
int Dimensions>
35 struct dimension_traits {
37 typedef dimension_traits_placeholder PTransformation;
38 typedef dimension_traits_placeholder Size;
39 typedef dimension_traits_placeholder Image;
40 typedef dimension_traits_placeholder PImage;
41 typedef dimension_traits_placeholder ImageSeries;
42 typedef dimension_traits_placeholder PTransformationFactory;
43 typedef dimension_traits_placeholder FullCostList;
44 typedef dimension_traits_placeholder PFullCost;
45 typedef dimension_traits_placeholder Filter;
46 typedef dimension_traits_placeholder FilterPluginHandler;
47 typedef dimension_traits_placeholder InterpolatorFactory;
50 template <
int Dimensions>
51 struct scale_factor_helpers {
52 typedef int DIntVector;
54 static DIntVector log2(
const DIntVector& x);
55 static DIntVector shift(
const DIntVector& x);
61 template <
int Dimensions>
62 struct watershed_traits {
63 typedef dimension_traits_placeholder PNeighbourhood;
64 typedef dimension_traits_placeholder Handler;
65 typedef dimension_traits_placeholder FileHandler;
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define NS_MIA_END
conveniance define to end the mia namespace