Skip to content
Snippets Groups Projects
Commit 8c483dde authored by Julien Malik's avatar Julien Malik
Browse files

TEST: use the expression passed in arguments

parent 408c5750
Branches
Tags
No related merge requests found
......@@ -91,7 +91,7 @@ int otbParserConditionDataNodeFeatureFunction(int argc, char* argv[])
vdReProjFilter->SetUseOutputSpacingAndOriginFromImage(true);
vdReProjFilter->Update();
ParserConditionFeatureFunction->SetExpression("ndvi(b3,b4) > 0.047");
ParserConditionFeatureFunction->SetExpression(expression);
ParserConditionFeatureFunction->SetInputImage(imgReader->GetOutput());
// Output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment