-/** \class RelativePositionPropImageFilter
- * \brief Compute the fuzzy subset of an image which satisfies some directional relative position.
- * \author Jamal Atif and Olivier Nempont
- *
- * This filter computes a fuzzy subset of an image satisfying a particular directionnal relative position from an object (crisp or fuzzy).
- *
- *
- * \par INPUT / OUTPUT
- * This filter takes a crisp or a fuzzy object as input.
- * In fuzzy case, the values have to be defined between 0 and 1.
- *
- * The result is a fuzzy subset which values are defined between
- * 0 if the relation isn't fulfilled in this point to 1 is the relation is
- * fully satisfied.
- * WARNING: the output image type as to be decimal.
- *
- * \par PARAMETERS
- * \par
- * The Alpha1 and Alpha2 parameters are used to specify the direction.
- * Alpha1 is the angle in 'xy' plane from 'x' unit vector.
- * Alpha2 is used in 3D to specify the angle with 'xy' plane
- *
- * \par
- * K is an opening parameter. Higher value enlarge the support of the result.
- * By default it is fixed at PI/2
- *
- * \par REFERENCE
- * Fuzzy Relative Position Between Objects in Image Processing: A Morphological Approach
- * Isabelle Bloch
- * IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 21, NO. 7, JULY 1999
- *
- * This filter is implemented using the propagation algorithm
- */
-
-template <class TInputImage, class TOutputImage, class TtNorm=Function::Minimum<
- typename TOutputImage::PixelType,
- typename TOutputImage::PixelType,
- typename TOutputImage::PixelType> >
-class ITK_EXPORT RelativePositionPropImageFilter :
+ /** \class RelativePositionPropImageFilter
+ * \brief Compute the fuzzy subset of an image which satisfies some directional relative position.
+ * \author Jamal Atif and Olivier Nempont
+ *
+ * This filter computes a fuzzy subset of an image satisfying a particular directionnal relative position from an object (crisp or fuzzy).
+ *
+ *
+ * \par INPUT / OUTPUT
+ * This filter takes a crisp or a fuzzy object as input.
+ * In fuzzy case, the values have to be defined between 0 and 1.
+ *
+ * The result is a fuzzy subset which values are defined between
+ * 0 if the relation isn't fulfilled in this point to 1 is the relation is
+ * fully satisfied.
+ * WARNING: the output image type as to be decimal.
+ *
+ * \par PARAMETERS
+ * \par
+ * The Alpha1 and Alpha2 parameters are used to specify the direction.
+ * Alpha1 is the angle in 'xy' plane from 'x' unit vector.
+ * Alpha2 is used in 3D to specify the angle with 'xy' plane
+ *
+ * \par
+ * K is an opening parameter. Higher value enlarge the support of the result.
+ * By default it is fixed at PI/2
+ *
+ * \par REFERENCE
+ * Fuzzy Relative Position Between Objects in Image Processing: A Morphological Approach
+ * Isabelle Bloch
+ * IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 21, NO. 7, JULY 1999
+ *
+ * This filter is implemented using the propagation algorithm
+ */
+
+#if ITK_VERSION_MAJOR == 4
+ template <class TInputImage, class TOutputImage, class TtNorm=Functor::Minimum<
+ typename TOutputImage::PixelType,
+ typename TOutputImage::PixelType,
+ typename TOutputImage::PixelType> >
+#else
+ template <class TInputImage, class TOutputImage, class TtNorm=Function::Minimum<
+ typename TOutputImage::PixelType,
+ typename TOutputImage::PixelType,
+ typename TOutputImage::PixelType> >
+#endif
+ class ITK_EXPORT RelativePositionPropImageFilter :