Correction of self-absorption spectral line and ratios of transition probabilities for homogeneous and LTE plasma