1 #ifndef __FPA__IMAGE__FUNCTORS__GULSUNTEKMEDIALNESS__H__
2 #define __FPA__IMAGE__FUNCTORS__GULSUNTEKMEDIALNESS__H__
4 #include <fpa/Image/Functors/GradientImageFunctionBase.h>
14 template< class _TGradient >
15 class GulsunTekMedialness
16 : public GradientImageFunctionBase< _TGradient >
19 typedef GulsunTekMedialness 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;
31 typedef typename TIndex::OffsetType TOffset;
33 typedef std::vector< double > TProfile;
34 typedef std::vector< TOffset > TOffsets;
38 itkTypeMacro( GulsunTekMedialness, GradientImageFunctionBase );
40 itkGetConstMacro( MinRadius, double );
41 itkGetConstMacro( MaxRadius, double );
42 itkGetConstMacro( ProfileSampling, unsigned int );
43 itkGetConstMacro( RadialSampling, unsigned int );
45 itkSetMacro( MinRadius, double );
46 itkSetMacro( MaxRadius, double );
47 itkSetMacro( ProfileSampling, unsigned int );
48 itkSetMacro( RadialSampling, unsigned int );
51 GulsunTekMedialness( );
52 virtual ~GulsunTekMedialness( );
54 virtual TOutput _Evaluate( const TIndex& i ) const ITK_OVERRIDE;
57 // Purposely not implemented.
58 GulsunTekMedialness( const Self& );
59 void operator=( const Self& );
64 unsigned int m_ProfileSampling;
65 unsigned int m_RadialSampling;
74 #ifndef ITK_MANUAL_INSTANTIATION
75 #include <fpa/Image/Functors/GulsunTekMedialness.hxx>
76 #endif // ITK_MANUAL_INSTANTIATION
78 #endif // __FPA__IMAGE__FUNCTORS__GULSUNTEKMEDIALNESS__H__