logger.info("\niteratingTime iterations objectiveRMSE\n" +
"----------------------------------------");
}
// create our image transformer and its initial parameters
transformer = new ProCamTransformer(roiPts, cameraDevice, projectorDevice, n);
parameters = transformer.createParameters();
parameters.set(parameters.size()-ambientLight.length-1, 1.0);
for (int i = 0; i < ambientLight.length; i++) {
parameters.set(parameters.size()-ambientLight.length+i, ambientLight[i]);
}