Sometimes the target of interest in your thermal image is taller than wide; so you might turn your FLIR thermal camera on it’s side to align the aspect ratio of the camera to your target. Unfortunately, now all your thermal movies are rotated when played back or analyzed in ResearchIR or your custom software. This short sample program simply rotates the image by 90deg either clockwise or counterclockwise based on a variable in the script file, to correct the imagery for you. It’s ready to use as a ResearchIR filter or within your custom Matlab program.
Image Rotation 90deg - Sample Code