I need to make binary image from grayscale one. I know I can use Levels filter for that with such settings:

I think that everything that is less or equal to 128 is transformet to 0 and the rest is transformet to 255. BUT. On the result i have such a places with outlier value: