finalintthreadsMax,// maximal number of threads to launch
finalbooleanupdateStatus,
finalintdebugLevel){
finalbooleanusePoly=false;// use polynomial method to find max), valid if useCombo == false
double[][]periodics=tp.getPeriodics(
tp.clt_3d_passes,// final ArrayList <CLTPass3d> passes,// List, first, last - to search for the already tried disparity
0,// final int firstPass,
tp.clt_3d_passes.size(),// final int lastPassPlus1,
clt_parameters.per_trustedCorrelation,// final double trustedCorrelation,
clt_parameters.per_initial_diff,// final double initial_diff, // initial disparity difference to merge to maximum
clt_parameters.per_strength_floor,// final double strength_floor,
clt_parameters.per_strength_max_over,// final double strength_max_over, // maximum should have strength by this more than the floor
clt_parameters.per_min_period,// final double min_period,
clt_parameters.per_min_num_periods,// final int min_num_periods, // minimal number of periods
clt_parameters.per_disp_tolerance,// final double disp_tolerance, // maximal difference between the average of fundamental and 2-nd and first
// TODO: replace next parameter
clt_parameters.per_disp_tolerance,// final double disp_tol_center, // tolerance to match this (center) tile ds to that of the merged with neighbors - should be < min_period/2
clt_parameters.per_disp_match,// final double disp_match, // disparity difference to match neighbors
clt_parameters.per_strong_match_inc,// final double strong_match_inc, // extra strength to treat match as strong (for hysteresis)
usePoly,// final boolean usePoly, // use polynomial method to find max), valid if useCombo == false
clt_parameters.tileX,// final int dbg_tileX,
clt_parameters.tileY,// final int dbg_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
updateStatus,// final boolean updateStatus,
debugLevel+3);// final int debugLevel) // update status info
quadCLT_aux.getCLTKernels(),// final double [][][][][][] clt_kernels_aux, // [channel_in_quad][color][tileY][tileX][band][pixel] , size should match image (have 1 tile around)
clt_parameters.corr_magic_scale,// final double corr_magic_scale, // still not understood coefficient that reduces reported disparity value. Seems to be around 0.85
true,// final boolean keep_clt_data,
woi_tops,// final int [][] woi_tops,
// woi_tops, // final int [][] woi_tops,
ers_delay,// final double [][][] ers_delay, // if not null - fill with tile center acquisition delay
threadsMax,// final int threadsMax, // maximal number of threads to launch
quadCLT_aux.getCLTKernels(),// final double [][][][][][] clt_kernels_aux, // [channel_in_quad][color][tileY][tileX][band][pixel] , size should match image (have 1 tile around)
clt_parameters.corr_magic_scale,// final double corr_magic_scale, // still not understood coefficient that reduces reported disparity value. Seems to be around 0.85
false,// true, // final boolean keep_clt_data,
woi_tops,// final int [][] woi_tops,
// woi_tops, // final int [][] woi_tops,
null,// final double [][][] ers_delay, // if not null - fill with tile center acquisition delay
threadsMax,// final int threadsMax, // maximal number of threads to launch
double[][]disparity_bimap=newdouble[ImageDtt.BIDISPARITY_TITLES.length][];//[0] -residual disparity, [1] - orthogonal (just for debugging) last 4 - max pixel differences
quadCLT_aux.getCLTKernels(),// final double [][][][][][] clt_kernels_aux, // [channel_in_quad][color][tileY][tileX][band][pixel] , size should match image (have 1 tile around)
clt_parameters.corr_magic_scale,// final double corr_magic_scale, // still not understood coefficient that reduces reported disparity value. Seems to be around 0.85
false,// true, // final boolean keep_clt_data,
woi_tops,// final int [][] woi_tops,
// woi_tops, // final int [][] woi_tops,
null,// final double [][][] ers_delay, // if not null - fill with tile center acquisition delay
threadsMax,// final int threadsMax, // maximal number of threads to launch