referenceExposures,//final double [] referenceExposures, // =eyesisCorrections.calcReferenceExposures(debugLevel); // multiply each image by this and divide by individual (if not NaN)
scaleExposures,// final double [] scaleExposures, // = new double[channelFiles.length]; //
saturation_imp,// final boolean [][] saturation_imp, // = (clt_parameters.sat_level > 0.0)? new boolean[channelFiles.length][] : null;
true,// final boolean batch_mode, // disable any debug images
!batch_dbg,// final boolean batch_mode, // disable any debug images
debugLevel);// final int debugLevel)
// once per quad here
if(imp_srcs==null)continue;
if(correctionsParameters.clt_batch_4img){
processCLTQuadCorr(// returns ImagePlus, but it already should be saved/shown
imp_srcs,// [srcChannel], // should have properties "name"(base for saving results), "channel","path"
saturation_imp,// boolean [][] saturation_imp, // (near) saturated pixels or null
clt_parameters,
debayerParameters,
nonlinParameters,
colorProcParameters,
channelGainParameters,
rgbParameters,
convolveFFTSize,// 128 - fft size, kernel size should be size/2
scaleExposures,
false,// apply_corr, // calculate and apply additional fine geometry correction
false,// infinity_corr, // calculate and apply geometry correction at infinity
threadsMax,// maximal number of threads to launch
true,// batch_mode
updateStatus,
debugLevel);
// creating GeometryCorrection instance for applyPixelShift()
// setTiles (imp_srcs[0], // set global tp.tilesX, tp.tilesY