convertflirJPG function

Convert FLIR jpg into 16 bit grayscale file using shell commands.