1 #ifndef __FPA__IMAGE__FUNCTORS__FLUXMEDIALNESS__H__
2 #define __FPA__IMAGE__FUNCTORS__FLUXMEDIALNESS__H__
4 #include <fpa/Image/Functors/GradientImageFunctionBase.h>
14 template< class _TGradient >
16 : public GradientImageFunctionBase< _TGradient >
19 typedef FluxMedialness Self;
20 typedef GradientImageFunctionBase< _TGradient > Superclass;
21 typedef itk::SmartPointer< Self > Pointer;
22 typedef itk::SmartPointer< const Self > ConstPointer;
24 itkStaticConstMacro( Dimension, unsigned int, Superclass::Dimension );
26 typedef typename Superclass::TOutput TOutput;
27 typedef typename Superclass::TScalar TScalar;
28 typedef typename Superclass::TIndex TIndex;
29 typedef typename Superclass::TVector TVector;
30 typedef typename Superclass::TPoint TPoint;
32 typedef std::vector< double > TRCandidates;
36 itkTypeMacro( FluxMedialness, GradientImageFunctionBase );
38 itkGetConstMacro( RadiusStep, double );
39 itkGetConstMacro( MinRadius, double );
40 itkGetConstMacro( MaxRadius, double );
41 itkGetConstMacro( RadialSampling, unsigned int );
43 itkSetMacro( RadiusStep, double );
44 itkSetMacro( MinRadius, double );
45 itkSetMacro( MaxRadius, double );
46 itkSetMacro( RadialSampling, unsigned int );
50 virtual ~FluxMedialness( );
52 virtual TOutput _Evaluate( const TIndex& i ) const ITK_OVERRIDE;
55 // Purposely not implemented.
56 FluxMedialness( const Self& );
57 void operator=( const Self& );
62 unsigned int m_RadialSampling;
72 #ifndef ITK_MANUAL_INSTANTIATION
73 #include <fpa/Image/Functors/FluxMedialness.hxx>
74 #endif // ITK_MANUAL_INSTANTIATION
76 #endif // __FPA__IMAGE__FUNCTORS__FLUXMEDIALNESS__H__