proCamColorCalibrators[i] = new ProCamColorCalibrator[projectorDevices.length];
for (int j = 0; j < projectorDevices.length; j++) {
if (cameraDevices[i].cameraMatrix == null || projectorDevices[j].cameraMatrix == null) {
throw new Exception("Color calibration requires prior geometric calibration.");
}
proCamColorCalibrators[i][j] = new ProCamColorCalibrator(colorCalibratorSettings,
markerDetectorSettings, boardPlane, cameraDevices[i], projectorDevices[j]);
}
}
int currentProjector = 0;