I have a dataset which contains a list of 2D images, given a new image, how to find the closest image in the dataset