kNN for Image reg