please, change the signature to "CV_WRAP virtual Point calculateShift(InputArray img0, InputArray img1) = 0;"