Intensity-Based Image Registration by Nonparametric Local Smoothing