MATLAB: How to map certain temperature range into 0-255 gray scale image (thermogram) ?? Please advice…

flir thermal imageImage Acquisition ToolboxImage Processing Toolbox

I need to analyse the temperature variation on the facial area which i already got the thermal images in gray scale uint8 format. The range of the temperature map on the images are between 28-36 degree celcius. So my question is how do i relate the intensity of the temperature with 0-255?? I'm using Flir camera for this research. Please anyone help me…thanks a lot…
here is a sample of the image :

Best Answer

temperature = 28.4 + intensity*(36-28.4)/255