MATLAB: Evaluation of imregister alignment

alignmentImage Processing Toolboximregister

I am using Imregister to align some grey level images. Is there a straightforward way to get a metric that evaluates the alignment done by Imresgister ? is it an output of the function that I missed ? There is DisplayOptimization that shows the MSE per iteration on the command window. I want the final MSE for example stored in a variable in a straightforward way.

Best Answer

There is an immse() function. Be sure to crop the image so that only valid image data is being compared -- don't compare black triangles that get moved in as the image is rotated or translated.