Recently I'm working on a project that needs me to calculate the LST of an image. I clipped the raster image by mask and there are many data with an invalid value (pixels outside the mask region) after calculating LST in ENVI software. How can I eliminate those data from the calculation process? Because I need to calculate the max and min as well as average LST value of the whole image, and the areas with the invalid value are just so disturbing.
Any ideas and suggestions about how to solve this problem? Thanks in advance!