Perturbation Of Eigenvalues And Scattering Resonances With Applications In Imaging