Just in case this is not obvious: The cost function's value by itself is not a measure of registration quality. The details of how registration quality was assessed are in the paper describing LPC:
A new method for improving functional-to-structural MRI alignment using local Pearson correlation. NeuroImage, 44: 839-848, 2009