Spatially adaptive subsampling of image sequences