Resonance parameters from K matrix and T matrix poles