#include <fpa/Image/Functors/Dijkstra/Gaussian.h>
// -------------------------------------------------------------------------
-const unsigned int Dim = 2;
-typedef unsigned char TPixel;
-typedef float TScalar;
+const unsigned int Dim = 3;
+typedef short TPixel;
+typedef float TScalar;
typedef itk::Image< TPixel, Dim > TInputImage;
typedef itk::Image< TScalar, Dim > TScalarImage;
filter->SetStopAtOneFront( stop_at_one_front );
// Get all seeds
- for( int i = 7; i < argc; i += 2 )
+ for( int i = 7; i < argc; i += 3 )
{
if( i + 1 < argc )
{
TInputImage::IndexType seed;
seed[ 0 ] = std::atoi( argv[ i ] );
seed[ 1 ] = std::atoi( argv[ i + 1 ] );
+ seed[ 2 ] = std::atoi( argv[ i + 2 ] );
filter->AddSeed( seed );
} // fi