An automatic classification technique for attenuation correction in positron emission tomography