add resample compare images