X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Fimage%2FRandomWalker.cxx;h=6bdca1cbf4a7e0b74e757ddec19442ee0216be5f;hb=5bd12737b3a5054d972501d15678d2a245753b77;hp=45a15c16dff4fa8a1b015c992d580b5c12ef4173;hpb=e97624b0f1db169d85337d9045bce1bbd83f72e4;p=FrontAlgorithms.git diff --git a/tests/image/RandomWalker.cxx b/tests/image/RandomWalker.cxx index 45a15c1..6bdca1c 100644 --- a/tests/image/RandomWalker.cxx +++ b/tests/image/RandomWalker.cxx @@ -18,12 +18,12 @@ typedef fpa::Image::Functors::Dijkstra::Gaussian< TInputImage, TScalar > TWeight int main( int argc, char* argv[] ) { // Get arguments - if( argc < 7 ) + if( argc < 6 ) { std::cerr << "Usage: " << argv[ 0 ] << " input_image labels_image output_image output_costs" - << " alpha beta" + << " beta" << std::endl; return( 1 ); @@ -32,8 +32,7 @@ int main( int argc, char* argv[] ) std::string labels_image_filename = argv[ 2 ]; std::string output_image_filename = argv[ 3 ]; std::string output_costs_filename = argv[ 4 ]; - double alpha = std::atof( argv[ 5 ] ); - double beta = std::atof( argv[ 6 ] ); + double beta = std::atof( argv[ 5 ] ); // Read image TInputImage::Pointer image; @@ -57,7 +56,6 @@ int main( int argc, char* argv[] ) // Prepare weight TWeight::Pointer weight = TWeight::New( ); - weight->SetAlpha( alpha ); weight->SetBeta( beta ); // Prepare filter