Simple encapsulation for the opencv calib3d functions