Automated thermal image segmentation of knee rheumatoid arthritis