- template< class _TInputImage, class _TOutputImage >
- class MoriTraits
- : public fpa::Image::DefaultTraits< _TInputImage, _TOutputImage, typename _TOutputImage::PixelType >
- {
- public:
- typedef MoriTraits Self;
- typedef _TInputImage TInputImage;
- typedef _TOutputImage TOutputImage;
- typedef typename TOutputImage::PixelType TFrontId;
- 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::Base::SingleSeedInterface< 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;
-
- private:
- // Purposely not implemented.
- MoriTraits( );
- MoriTraits( const Self& other );
- virtual ~MoriTraits( );
- Self& operator=( const Self& other );
- };
-
- /**
- */
- template< class _TInputImage, class _TOutputImage >