I’m following the tutorial in - https://www.orfeo-toolbox.org/packages/OTBCourses.pdf
to get an elevation map from stereo pair.
At the Band Math step I’m getting this error:
After reading this post:
I assumed it was related to deprecated syntax given the comment
“they changed the if() syntax to C++ a?b:c syntax”
So switched expression to try and get it working:
I get the same error:
“Unexpected token “if” found at position 0.”
when running via shell console with command:
How should I structure this expression?
Using Windows 10 and OTB 6.6.1