Recent studies indicate that maximizing the mutual information of the joint histogram of two images is an accurate and robust way to rigidly register two mono- or multimodal images. Using mutual information for registration directly in a local manner is often not admissible owing to the weakened statistical power of the local histogram compared to a global one. We propose to use a global joint histogram based on optimized mutual information combined with a local registration measure to enable local elastic registration.