getFrames function

Extract raw binary thermal from thermal image file.