Page MenuHomePhabricator

Missmatch GUI <-> Code Parameter in BasicImageProcessing TV Filter
Closed, ResolvedPublic

Description

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.);

Event Timeline

[SVN revision 21762]
FIX (#3422): Fix parameter assignment for TV filter

[SVN revision 21763]
FIX (#3422): Forgot non-vector image case.