Text this: Implementation of spectral x-ray technique for the identification of different tissues in medical imaging