modified interface of cameraCalibrate

This PR is relative to bug #2275 (refactor request).