A multi-image super-resolution algorithm applied to thermal imagery