- template< class _TInputImage, class _TLabelImage, class _TScalar >
- class RandomWalkerTraits
- : public fpa::Image::DefaultTraits< _TInputImage, itk::Image< _TScalar, _TInputImage::ImageDimension >, typename _TLabelImage::PixelType >
- {
- public:
- typedef RandomWalkerTraits Self;
- typedef _TInputImage TInputImage;
- typedef _TLabelImage TLabelImage;
- typedef _TScalar TScalar;
- typedef typename _TLabelImage::PixelType TFrontId;
- typedef itk::Image< TScalar, _TInputImage::ImageDimension > TOutputImage;
- typedef fpa::Image::DefaultTraits< TInputImage, TOutputImage, TFrontId > Superclass;
-
- typedef typename Superclass::TVertex TVertex;
- typedef typename Superclass::TInputValue TInputValue;
- typedef typename Superclass::TPoint TPoint;
- typedef typename Superclass::TOutputValue TOutputValue;
- typedef typename Superclass::TCompare TCompare;
- typedef typename Superclass::TNeighborhood TNeighborhood;
- typedef typename Superclass::TFilter TFilter;
-
- typedef fpa::Image::LabelledSeedsInterface< TVertex, TPoint, TInputValue, TOutputValue, TFrontId, TCompare > TSeedsInterface;
- typedef fpa::Base::MarksInterface< TVertex > TMarksInterface;
-
- typedef typename TSeedsInterface::TNode TNode;
- typedef typename TSeedsInterface::TNodes TNodes;
- typedef typename TSeedsInterface::TSeed TSeed;
- typedef typename TSeedsInterface::TSeeds TSeeds;
-
- public:
- itkConceptMacro(
- Check_SameDimension,
- ( itk::Concept::SameDimension< TInputImage::ImageDimension, TLabelImage::ImageDimension > )
- );
-
- private:
- // Purposely not implemented.
- RandomWalkerTraits( );
- RandomWalkerTraits( const Self& other );
- virtual ~RandomWalkerTraits( );
- Self& operator=( const Self& other );
- };
-
- /**
- */
- template< class _TInputImage, class _TLabelImage, class _TScalar >