1 #ifndef __FPA__IMAGE__FASTMARCHING__H__
2 #define __FPA__IMAGE__FASTMARCHING__H__
5 #include <itkImageFunction.h>
6 #include <itkImageToImageFilter.h>
8 #include <fpa/Base/FastMarching.h>
9 #include <fpa/Image/Algorithm.h>
16 * @param I Input image type
18 template< class I, class C >
20 : public Algorithm< I, fpa::Base::FastMarching< typename I::IndexType, C, typename I::PixelType, itk::Functor::IndexLexicographicCompare< I::ImageDimension >, itk::ImageToImageFilter< I, itk::Image< C, I::ImageDimension > > > >
23 // Standard class typdedefs
24 typedef typename I::IndexType TVertex;
25 typedef typename I::PixelType TVertexValue;
26 typedef itk::Image< C, I::ImageDimension > TCostImage;
27 typedef itk::ImageToImageFilter< I, TCostImage > TBaseFilter;
28 typedef fpa::Base::FastMarching< TVertex, C, TVertexValue, itk::Functor::IndexLexicographicCompare< I::ImageDimension >, TBaseFilter > TBaseAlgorithm;
30 typedef FastMarching Self;
31 typedef Algorithm< I, TBaseAlgorithm > Superclass;
32 typedef itk::SmartPointer< Self > Pointer;
33 typedef itk::SmartPointer< const Self > ConstPointer;
37 itkTypeMacro( FastMarching, fpaBaseFastMarching );
43 virtual ~FastMarching( )
47 // Purposely not implemented
48 FastMarching( const Self& );
49 void operator=( const Self& );
56 #endif // __FPA__IMAGE__FASTMARCHING__H__