#ifndef __fpa__Image__Dijkstra__hxx__
#define __fpa__Image__Dijkstra__hxx__
+#include <fpa/Image/Functors/SimpleDijkstraCost.h>
+
// -------------------------------------------------------------------------
template< class _TInputImage, class _TOutputImage >
fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
Dijkstra( )
: Superclass( )
{
+ typedef
+ fpa::Image::Functors::SimpleDijkstraCost< _TInputImage, TOutput >
+ _TCost;
+
+ typename _TCost::Pointer cost = _TCost::New( );
+ this->SetCostFunction( cost );
}
// -------------------------------------------------------------------------