Ground and excited state deformations in the 50 < Z, N < 82 region