There is an low cost and quickest alternative available for adaptive optics. Name of this technique is wavefront coding. The numerical analysis pretends to show the robustness of the technique under changes in pupil diameter and wavefront shape including intersubject and intrasubject variability, using always the same restoration filter or image decoder .Using this technique it is possible to obtain high resolution images under different ocular aberrations and pupil diameters with the same decoder, opening the possibility of real time high resolution images.