Segmentation of FLIR images by pixel classification