A method for retrieving modes of the wave front reproduced by an adaptive optical system from variations of an image is proposed. In projection methods of solution of the phase problem, the vector representation of the problem on determining the generic point of m sets, allowing application of the known methods of its solution at m = 2, is introduced.