Extended source interferometry in the compact regime