Semantic similarity metrics for image registration