From 390df8f90203597d40019f16b3a707734508b24a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Mon, 29 May 2017 20:22:03 -0500 Subject: [PATCH] ... --- lib/fpa/Image/Dijkstra.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.47.1