An image reconstruction method from Fourier data with uncertainties on the spatial frequencies