Method and system for treating of visual impairment associated with misalignment between eyes of a patient is described. The invention allows to obtain electronically of an image of an object at which one eye of the patient is staring calculating angular deviation between staring direction of this eye and the second eye and displaying before the second eye the image after it has been electronically processed so as to correct the angular deviation and to obtain the image which would be perceptible by the brain as a single three dimensional stereoscopic image.