clt_parameters.fcorr_radius,// final double fcorr_radius,
clt_parameters.fcorr_inf_strength,// final double min_strenth,
clt_parameters.fcorr_inf_diff,// final double max_diff,
// 1.3, // final double comp_strength_var,
...
...
@@ -4875,6 +4876,7 @@ public class QuadCLT {
double[][][]new_corr=ac.lazyEyeCorrection(
clt_parameters.fcorr_radius,// final double fcorr_radius,
clt_parameters.fcorr_inf_strength,// final double min_strenth,
clt_parameters.fcorr_inf_diff,// final double max_diff,
// 1.3, // final double comp_strength_var,
...
...
@@ -5380,94 +5382,7 @@ public class QuadCLT {
tp.clt_3d_passes.get(0),// CLTPass3d scan,
"bgnd_data-"+tp.clt_3d_passes.size());
// Test macro correlation and exit.
MacroCorrelationmc=newMacroCorrelation(
tp,
clt_parameters.mc_disp8_trust);
double[][][]input_data=mc.CLTMacroSetData(// perform single pass according to prepared tiles operations and disparity
bgnd_data,// final CLTPass3d src_scan, // results of the normal correlations (now expecting infinity)
null);// final double [][][] other_channels, // other channels to correlate, such as average RGB (first index - subcamera, 2-nd - channel, 3-rd - pixel)
TileProcessormtp=mc.CLTMacroScan(// perform single pass according to prepared tiles operations and disparity
bgnd_data,// final CLTPass3d src_scan, // results of the normal correlations (now expecting infinity)
clt_parameters.ex_strength,// double this_sure, // minimal strength to be considered definitely good
clt_parameters.ex_nstrength,// double ex_nstrength, // minimal 4-corr strength divided by channel diff for new (border) tiles
clt_parameters.bgnd_maybe,// double this_maybe, // maximal strength to ignore as non-background
clt_parameters.sure_smth,// sure_smth, // if 2-nd worst image difference (noise-normalized) exceeds this - do not propagate bgnd
clt_parameters.pt_super_trust,// final double super_trust, // If strength exceeds ex_strength * super_trust, do not apply ex_nstrength and plate_ds
// using plates disparity/strength - averaged for small square sets of tiles. If null - just use raw tiles
null,// final double [][] plate_ds, // disparity/strength last time measured for the multi-tile squares. Strength =-1 - not measured. May be null
true,// final boolean keep_raw_fg, // do not replace raw tiles by the plates, if raw is closer (like poles)
0.0,// final double scale_filtered_strength_pre, // scale plate_ds[1] before comparing to raw strength
0.0,// final double scale_filtered_strength_post,// scale plate_ds[1] when replacing raw (generally plate_ds is more reliable if it exists)
ImageDtt.DISPARITY_INDEX_CM,// index of disparity value in disparity_map == 2 (0,2 or 4)
geometryCorrection,
threadsMax,// maximal number of threads to launch
updateStatus,
debugLevel);//2);
tp.clt_3d_passes.add(refined);
/// if (debugLevel > 1)
if(debugLevel>-1)
// Test macro correlation and exit.
MacroCorrelationmc=newMacroCorrelation(
tp,
clt_parameters.mc_disp8_trust);
double[][][]input_data=mc.CLTMacroSetData(// perform single pass according to prepared tiles operations and disparity
bgnd_data,// final CLTPass3d src_scan, // results of the normal correlations (now expecting infinity)
null);// final double [][][] other_channels, // other channels to correlate, such as average RGB (first index - subcamera, 2-nd - channel, 3-rd - pixel)
TileProcessormtp=mc.CLTMacroScan(// perform single pass according to prepared tiles operations and disparity
bgnd_data,// final CLTPass3d src_scan, // results of the normal correlations (now expecting infinity)