Reconstruction of blurred images by controlled formation of spatial solitons