Principal components analysis for computer tomography images segmentation