A framework for the objective assessment of registration accuracy