Motor imagery is increasingly used as a plasticity-booster to complement conventional rehabilitation. Here the investigators test the hypothesis that the combination of mental training with conventional rehabilitation may speed up the recovery in patients with total knee arthroplasty. The investigators also characterize the brain correlates of such recovery with imagery tasks for virtual reality environments.