DEFINE PERFECTION IN TWO IMAGES