After the import of boofcv-android and boofcv-core libraries I'm trying to use the ThresholdImageOps.threshold(...) function but it doesn't seem to work.
Also, tried GThresholdImageOps.threshold(...), without any success.
Solution
The solution, strangely, was to catch the return value: