clt_parameters.poles.disparity_scale,// final double disparity_scale, // target disparity to differential disparity scale (baseline ratio)
clt_parameters.poles.diff_power,// final double diff_power, // bias towards higher disparities - (disparity+offset) is raised to this power and applied to weight
// if 0.0 - do not apply value to weight
clt_parameters.poles.diff_offset,// final double diff_offset, // add to measured differential disparity before raising to specified power
clt_parameters.poles.cut_bottom,// final int cut_bottom, // cut few tile rows from the very bottom - they may be influenced by ground objects
clt_parameters.poles.keep_bottom,//final double keep_bottom, // do not cut more that this fraction of the bounding box height
pole_clusters,// final ArrayList<PoleCluster> clusters,
debugLevel);// final int debugLevel) // debug level
threadsMax,// final int threadsMax, // maximal number of threads to launch
updateStatus,// final boolean updateStatus,
debugLevel+0);//final int debugLevel)
max_target_diff=applyMeasuredDisparity(
clt_parameters.poles.disparity_scale,// final double disparity_scale, // target disparity to differential disparity scale (baseline ratio)
clt_parameters.poles.diff_power,// final double diff_power, // bias towards higher disparities - (disparity+offset) is raised to this power and applied to weight
// if 0.0 - do not apply value to weight
clt_parameters.poles.diff_offset,// final double diff_offset, // add to measured differential disparity before raising to specified power
clt_parameters.poles.cut_bottom,// final int cut_bottom, // cut few tile rows from the very bottom - they may be influenced by ground objects
clt_parameters.poles.keep_bottom,// final double keep_bottom, // do not cut more that this fraction of the bounding box height
pole_clusters,// final ArrayList<PoleCluster> clusters,
debugLevel);// final int debugLevel) // debug level
quadCLT_main,// QuadCLT quadCLT_main, // tiles should be set
quadCLT_aux,// QuadCLT quadCLT_aux,
tile_op,// int [][] tile_op, // common for both amin and aux
disparity_array,// double [][] disparity_array,
null,// double [][] ml_data, // data for ML - 10 layers - 4 center areas (3x3, 5x5,..) per camera-per direction, 1 - composite, and 1 with just 1 data (target disparity)
publicdouble[][]rig_disparity_strength=null;// Disparity and strength created by a two-camera rig, with disparity scale and distortions of the main camera
publicdouble[][]rig_pre_poles_ds=null;// Rig disparity and strength before processing poles
publicdouble[][]rig_post_poles_ds=null;// Rig disparity and strength after processing poles
publicboolean[]rig_pre_poles_sel=null;// Rig tile selection before processing poles
publicboolean[]rig_post_poles_sel=null;// Rig tile selection after processing poles
publicintclt_3d_passes_size=0;//clt_3d_passes size after initial processing
publicintclt_3d_passes_rig_size=0;//clt_3d_passes size after initial processing and rig processing
finalintnum_full_cycles=clt_parameters.rig.pf_en_trim_fg?3:1;// Number of full low-texture cycles that include growing flat LT and trimmin weak FG over BG
finalintnum_cross_gaps_cycles=20;// maximalnumger of adding new tiles cycles while "crossing the gaps)
finalintnum_cross_gaps_cycles=20;// maximal number of adding new tiles cycles while "crossing the gaps)
finalintmin_cross_gaps_new=20;// minimal number of the new added tiles
ds_preexpanded[0], // final double [] src_disparity,
ds_preexpanded[1], // final double [] src_strength, // if not null will be used for weighted pull
lt_select, // final boolean [] selection,
0.0, // only gaps neib_pull, // final double neib_pull, // pull to weighted average relative to pull to the original disparity value. If 0.0 - will only update former NaN-s