This paper presents an algorithm for restoring telescope images corrupted by turbulence effects and readout noise of a telescope system in order to determine centroid positions of stars, especially the position of a reference star. A computation method employing an accurate centroid estimation algorithm reconstructing a point spread function (PSF) from the recorded astronomical images has been used. Minimisation of turbulence effects and telescope control system noise in long exposure images acquired and recorded by the ground telescope is proposed. As a solution of the distortion error a minimisation signal is dedicated to GoTo calibration procedures built in control mechanisms of the electromechanical telescope system. The proposed method has been verified in the Matlab environment for real deep sky images recorded by the ground telescope system.