From: Leonardo Flórez-Valencia Date: Thu, 31 Aug 2017 16:12:28 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fb178e69a1a632a11779ca17a44d2f31b9fd9661;p=FrontAlgorithms.git ... --- diff --git a/lib/fpa/Filters/Image/RandomWalker.h b/lib/fpa/Filters/Image/RandomWalker.h index 32b84ac..198112f 100644 --- a/lib/fpa/Filters/Image/RandomWalker.h +++ b/lib/fpa/Filters/Image/RandomWalker.h @@ -44,7 +44,7 @@ namespace fpa public: TInputImage* GetInputImage( ); const TInputImage* GetInputImage( ) const; - void SetInputImage( TInputImage* i ); + void SetInputImage( const TInputImage* i ); TCostsImage* GetOutputCosts( ); const TCostsImage* GetOutputCosts( ) const; diff --git a/lib/fpa/Filters/Image/RandomWalker.hxx b/lib/fpa/Filters/Image/RandomWalker.hxx index 0756229..664e7d7 100644 --- a/lib/fpa/Filters/Image/RandomWalker.hxx +++ b/lib/fpa/Filters/Image/RandomWalker.hxx @@ -31,7 +31,7 @@ GetInputImage( ) const template< class _TInputImage, class _TLabelImage, class _TCost, class _TTraits > void fpa::Filters::Image::RandomWalker< _TInputImage, _TLabelImage, _TCost, _TTraits >:: -SetInputImage( TInputImage* i ) +SetInputImage( const TInputImage* i ) { this->SetInput( i ); }