BandMathX min() and max() not working for neighborhoods
I'm running otbcli_BandMathX as a neighborhood filter, however min() and max() appear to be broken. I expected to get the minimum per window, just like var() returns the variance of the window (which works fine).
otbcli_BandMathX -il verySmallFSATSW_r.tif -out out.tif -exp 'min(im1b1N5x5)'
otbcli_BandMathX -il verySmallFSATSW_r.tif -out out.tif -exp 'max(im1b1N5x5)'
2018-11-06 16:07:11 (FATAL): itk::ERROR: ParserXImpl(0x558c259211a0): Message: Can't evaluate function/operator "min": Argument 1 of function/operator "" is of type 'm' whereas type 'f' was expected. Formula: min(im1b1N5x5) Token: min Position: 0
- Build: superbuild
- OTB Version: 6.7.0
- OS: Ubuntu 18.04 64bit