1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Image__DefaultTraits__h__
7 #define __fpa__Image__DefaultTraits__h__
10 #include <itkConceptChecking.h>
11 #include <itkImageToImageFilter.h>
19 template< class _TInputImage, class _TOutputImage, class _TFrontId >
23 typedef DefaultTraits Self;
24 typedef _TInputImage TInputImage;
25 typedef _TOutputImage TOutputImage;
26 typedef _TFrontId TFrontId;
27 itkStaticConstMacro( Dimension, unsigned int, TInputImage::ImageDimension );
29 typedef typename TInputImage::IndexType TVertex;
30 typedef typename TInputImage::PixelType TInputValue;
31 typedef typename TInputImage::PointType TPoint;
32 typedef typename TOutputImage::PixelType TOutputValue;
33 typedef typename TVertex::LexicographicCompare TCompare;
35 typedef std::vector< TVertex > TNeighborhood;
37 typedef typename TSeedsInterface::TNode TNode;
38 typedef typename TSeedsInterface::TNodes TNodes;
39 typedef typename TSeedsInterface::TSeed TSeed;
40 typedef typename TSeedsInterface::TSeeds TSeeds;
45 ( itk::Concept::SameDimension< Self::Dimension, TOutputImage::ImageDimension > )
49 // Purposely not implemented.
51 DefaultTraits( const Self& other );
52 virtual ~DefaultTraits( );
53 Self& operator=( const Self& other );
60 #endif // __fpa__Image__DefaultTraits__h__