Run this script and follow the steps to create your video time lapse from your images. Images can be a wide range of format but must be all the same size, or you will get an error. The video format is JPEG AVI, you can set frame rate, quality and scale factor without change the code.
Alessandro Masullo (2019). MATLAB Time-Lapse Creator (https://www.mathworks.com/matlabcentral/fileexchange/42061-matlab-time-lapse-creator), MATLAB Central File Exchange. Retrieved .
Thank you Alessandro! This code worked great for stitching together a time lapse from game camera footage.
Quick FYI, I started using your script and couldn't figure out why it wasn't working. Turns out, many autosaved image files have the extension in CAPS (i.e. example.JPG). I fixed it in my copy, but may want to fix it in the master as well.