Patient-specific model of brain deformation: Application to medical image registration