I need to compare two images corresponding to landmark locations. I was thinking of something related to Dice loss. I cannot use dice loss since the image is not binary. The background is black but the landmark locations have varying intensities depending on the distance. What would be the best loss function to compare such images? Is cross-entropy suitable for this?