Validation of non-rigid image registration using mutual information