Correlation of two images

What you seem to want is to evaluate an image similarity metric for your two images. If so, please look at ITK metrics direct application and Is there a decent way to quantify the “goodness” of a CT to CT scan registration?