Hi Xiaopeng, You may want to look at: ITK/Examples/Registration/ImageRegistration8.cxx for an illustration on how to rigidly register two 3D images. and to ITK/Examples/Registration/ImageRegistration4.cxx for an illustration on how to use Mattes Mutual Information.