A computer-implemented method for obtaining thermal image data of a body part and a thermal imager are disclosed. The method comprises receiving image data of a body part, the image data including thermal image data, the thermal image data including thermal image data of the body part and background thermal image data, applying a classifier to the image data to detect a profile of the body part, the classifier being configured to use image data other than the thermal image data to perform the detection, generating a mask from said profile, and applying the mask to the thermal image data to remove the background thermal image data and obtain thermal image data of the body part.
展开▼