Computer-assisted image correction method for images with predetermined optical aberrations, wherein at least spatially partially coherent light is guided onto an electronic, two-dimensional image sensor with light-sensitive pixels, comprising the steps: a) identifying the predetermined optical aberrations with the predetermined deformation of the wavefront of the incident light wave field with respect to an even wave and providing a phase modulation representing the deformation as a function of the pixel coordinates of the image sensor; b) capturing an image on the image sensor; characterized by the following steps: c) calculating a first phase-modulated lightwave field from the image by calculating the amplitude from the detected intensities and initializing the phase components with Φ 0, where the phase Φ 0 has random or unitary initial values; d) calculating a corrected lightwave field by inverse Fourier transforming the first phase modulated lightwave field, removing the phase modulation and Fourier transform; e) assuming an even wavefront for the corrected lightwave field by equalizing the phase on all pixel co-ordinates; f) calculating a second phase modulated lightwave field by inverse Fourier transforming the corrected lightwave field, adding the phase modulation and Fourier transformation; g) replacing the amplitudes of the second phase modulated lightwave field with the amplitudes of the first phase modulated lightwave field while maintaining the calculated phases of the second phase modulated lightwave field at all pixel coordinates; h) accepting the result of step g as the first phase modulated lightwave field and iteratively repeating the steps d to h until a convergence criterion is met; i) calculating a corrected image from the corrected lightwave field when fulfilling the convergence criterion by calculating the intensity from the amplitude by determing the absolute square. a) identifying the predetermined optical aberrations with the predetermined deformation of the wavefront of the incident light wave field with respect to an even wave and providing a phase modulation representing the deformation as a function of the pixel coordinates of the image sensor; b) capturing an image on the image sensor; c) calculating a first phase-modulated lightwave field from the image by calculating the amplitude from the detected intensities and initializing the phase components with Φ 0, where the phase Φ 0 has random or unitary initial values; d) calculating a corrected lightwave field by inverse Fourier transforming the first phase modulated lightwave field, removing the phase modulation and Fourier transform; e) assuming an even wavefront for the corrected lightwave field by equalizing the phase on all pixel co-ordinates; f) calculating a second phase modulated lightwave field by inverse Fourier transforming the corrected lightwave field, adding the phase modulation and Fourier transformation; g) replacing the amplitudes of the second phase modulated lightwave field with the amplitudes of the first phase modulated lightwave field while maintaining the calculated phases of the second phase modulated lightwave field at all pixel coordinates; h) accepting the result of step g as the first phase modulated lightwave field and iteratively repeating the steps d to h until a convergence criterion is met; i) calculating a corrected image from the corrected lightwave field when fulfilling the convergence criterion by calculating the intensity from the amplitude by determing the absolute square.