- /// Template input values
- typedef I TInputImage;
- typedef O TOutputImage;
-
- typedef typename Superclass::TVertex TVertex;
- typedef typename Superclass::TValue TValue;
- typedef typename Superclass::TResult TResult;
-
- protected:
- typedef typename Superclass::_TVertices _TVertices;
- typedef typename Superclass::_TCollision _TCollision;
- typedef typename Superclass::_TCollisionsRow _TCollisionsRow;
- typedef typename Superclass::_TCollisions _TCollisions;
- typedef typename Superclass::_TNode _TNode;
- typedef typename Superclass::_TNodes _TNodes;
+ fpa_Base_TraitTypes( typename TTraits );
+
+ /* TODO
+ typedef typename TTraits::TFrontId TFrontId;
+ typedef typename TTraits::TInputImage TInputImage;
+ typedef typename TTraits::TInputValue TInputValue;
+ typedef typename TTraits::TNeighborhood TNeighborhood;
+ typedef typename TTraits::TNode TNode;
+ typedef typename TTraits::TNodes TNodes;
+ typedef typename TTraits::TOutputImage TOutputImage;
+ typedef typename TTraits::TOutputValue TOutputValue;
+ typedef typename TTraits::TSeeds TSeeds;
+ typedef typename TTraits::TVertex TVertex;
+ */
+
+ typedef itk::Image< TFrontId, TTraits::Dimension > TMarks;
+
+ /* TODO
+ typedef _TMarksInterface TMarksInterface;
+ typedef _TSeedsInterface TSeedsInterface;
+
+ typedef typename TSeedsInterface::TTraits TTraits;
+ typedef typename TTraits::TInputImage TInputImage;
+ typedef typename TTraits::TOutputImage TOutputImage;
+ typedef typename TTraits::TInputValue TInputValue;
+ typedef typename TTraits::TOutputValue TOutputValue;
+ typedef typename TTraits::TFrontId TFrontId;
+ typedef typename TTraits::TNeighborhood TNeighborhood;
+ typedef typename TTraits::TNode TNode;
+ typedef typename TTraits::TNodes TNodes;
+ typedef typename TTraits::TSeeds TSeeds;
+ typedef typename TTraits::TVertex TVertex;
+ typedef typename TTraits::TPoint TPoint;
+
+ typedef itk::ImageToImageFilter< TInputImage, TOutputImage > TFilter;
+ typedef fpa::Base::Algorithm< TFilter, TMarksInterface, TSeedsInterface > Superclass;
+ typedef Algorithm Self;
+ */