From: Leonardo Flórez-Valencia Date: Tue, 30 May 2017 01:22:03 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=390df8f90203597d40019f16b3a707734508b24a;p=FrontAlgorithms.git ... --- diff --git a/lib/fpa/Image/Dijkstra.h b/lib/fpa/Image/Dijkstra.h index 1df0836..7992842 100644 --- a/lib/fpa/Image/Dijkstra.h +++ b/lib/fpa/Image/Dijkstra.h @@ -12,6 +12,7 @@ #include #include #include +#include namespace fpa { @@ -45,7 +46,15 @@ namespace fpa itkTypeMacro( fpa::Image::Dijkstra, fpa::Base::Dijkstra ); protected: - Dijkstra( ) : Superclass( ) { } + Dijkstra( ) + : Superclass( ) + { + this->SetFunctor( + fpa::Image::Functors:: + VertexIdentity< _TInputImage, typename TFilter::TOutputValue >:: + New( ) + ); + } virtual ~Dijkstra( ) { } virtual void _ConfigureOutputs( const TOutputValue& init_value ) override