AMD interview question

find similaity between 2 images