*/
template< class I, class O >
class Dijkstra
- : public Algorithm< I, O, fpa::Base::Dijkstra< typename I::IndexType, typename I::PixelType, typename O::PixelType, itk::ImageToImageFilter< I, O > > >
+ : public Algorithm< I, O, fpa::Base::Dijkstra< typename I::IndexType, typename I::PixelType, typename O::PixelType, itk::Functor::IndexLexicographicCompare< I::ImageDimension >, itk::ImageToImageFilter< I, O > > >
{
public:
- typedef fpa::Base::Dijkstra< typename I::IndexType, typename I::PixelType, typename O::PixelType, itk::ImageToImageFilter< I, O > > TBaseAlgorithm;
+ typedef fpa::Base::Dijkstra< typename I::IndexType, typename I::PixelType, typename O::PixelType, itk::Functor::IndexLexicographicCompare< I::ImageDimension >, itk::ImageToImageFilter< I, O > > TBaseAlgorithm;
typedef Dijkstra Self;
typedef Algorithm< I, O, TBaseAlgorithm > Superclass;
typedef typename Superclass::TValue TValue;
typedef typename Superclass::TResult TResult;
+ typedef typename Superclass::TStartEvent TStartEvent;
+ typedef typename Superclass::TStartLoopEvent TStartLoopEvent;
+ typedef typename Superclass::TEndEvent TEndEvent;
+ typedef typename Superclass::TEndLoopEvent TEndLoopEvent;
+ typedef typename Superclass::TAliveEvent TAliveEvent;
+ typedef typename Superclass::TFrontEvent TFrontEvent;
+ typedef typename Superclass::TFreezeEvent TFreezeEvent;
+
+ typedef typename Superclass::TStartBacktrackingEvent TStartBacktrackingEvent;
+ typedef typename Superclass::TEndBacktrackingEvent TEndBacktrackingEvent;
+ typedef typename Superclass::TBacktrackingEvent TBacktrackingEvent;
+
typedef fpa::Image::Functors::ImageCostFunction< TInputImage, TResult > TCostFunction;
typedef itk::FunctionBase< TResult, TResult > TConversionFunction;