Classification-based material decomposition method for photon counting-based spectral radiography: Application to plastic sorting