Fast multimodality image registration using multiresolution gradient-based maximization of mutual information