In the GUI are two edit fields:
"Number of Iterations" = param1
"Lambda/1000" = param2
in the corresponding code is the following
TVFilter->SetNumberIterations(double(param1)/1000.);
TVFilter->SetLambda(param2);
the solution is:
TVFilter->SetNumberIterations(param1);
TVFilter->SetLambda(double(param2)/1000.);