]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Common/OriginalRandomWalker.hxx
...
[FrontAlgorithms.git] / lib / fpa / Common / OriginalRandomWalker.hxx
index 4b60c1bb65302529b9ccf0d304f71b2c126210aa..46dd9354db02015ad64fdd718db5ea37dfd929b1 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef __fpa__Common__OriginalRandomWalker__hxx__
 #define __fpa__Common__OriginalRandomWalker__hxx__
 
-#include <cmath>
 #include <itkImageRegionConstIteratorWithIndex.h>
 #include <itkImageRegionIteratorWithIndex.h>
 #include <Eigen/Sparse>
@@ -247,7 +246,7 @@ _Laplacian( _TTriplets& A, _TTriplets& R, const _TTriplets& B )
   thrStr.B = reinterpret_cast< const void* >( &B );
 
   // Configure threader
-  const TImage* in = this->GetInputLabels( );
+  const TImage* in = this->GetInput( );
   const itk::ImageRegionSplitterBase* split = this->GetImageRegionSplitter( );
   const unsigned int nThreads =
     split->GetNumberOfSplits(