Automatic Content-Based Temporal Alignment of Image Sequences with Varying Spatio-Temporal Resolution