]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Thu, 31 Aug 2017 16:12:28 +0000 (11:12 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Thu, 31 Aug 2017 16:12:28 +0000 (11:12 -0500)
lib/fpa/Filters/Image/RandomWalker.h
lib/fpa/Filters/Image/RandomWalker.hxx

index 32b84ac..198112f 100644 (file)
@@ -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;
index 0756229..664e7d7 100644 (file)
@@ -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 );
 }