The problem of optimal image filtering is solved in accordance with the criterion of maximum resolution in the one–dimensional version. It is shown that the obtained solution can be employed to improve the images of the observed targets in an optical system operating in a turbulent atmosphere under conditions of random refraction.