#include <fpa/Image/Filter.h>
#include <fpa/Image/MinimumSpanningTree.h>
#include <fpa/Image/Functors/VertexParentBase.h>
+#include <fpa/Image/Functors/VertexIdentity.h>
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