A demonstration of wavefront sensing and mirror phasing from the image domain