Segmentation of thermal images using the fuzzy C-means algorithm