Compressed shell conditions extracted from spectroscopic analysis of Ti K-shell absorption spectra with evaluation of line self-emission