clt_parameters.fcorr_radius,// final double fcorr_radius,
clt_parameters.fcorr_inf_strength,// final double min_strenth,
clt_parameters.fcorr_inf_strength,// final double min_strenth,
clt_parameters.fcorr_inf_diff,// final double max_diff,
clt_parameters.fcorr_inf_diff,// final double max_diff,
// 1.3, // final double comp_strength_var,
// 1.3, // final double comp_strength_var,
...
@@ -4875,6 +4876,7 @@ public class QuadCLT {
...
@@ -4875,6 +4876,7 @@ public class QuadCLT {
double[][][]new_corr=ac.lazyEyeCorrection(
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_strength,// final double min_strenth,
clt_parameters.fcorr_inf_diff,// final double max_diff,
clt_parameters.fcorr_inf_diff,// final double max_diff,
// 1.3, // final double comp_strength_var,
// 1.3, // final double comp_strength_var,
...
@@ -5380,94 +5382,7 @@ public class QuadCLT {
...
@@ -5380,94 +5382,7 @@ public class QuadCLT {
tp.clt_3d_passes.get(0),// CLTPass3d scan,
tp.clt_3d_passes.get(0),// CLTPass3d scan,
"bgnd_data-"+tp.clt_3d_passes.size());
"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)
null);// final double [][][] other_channels, // other channels to correlate, such as average RGB (first index - subcamera, 2-nd - channel, 3-rd - pixel)
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
TileProcessormtp=mc.CLTMacroScan(// perform single pass according to prepared tiles operations and disparity
clt_parameters.sure_smth,// sure_smth, // if 2-nd worst image difference (noise-normalized) exceeds this - do not propagate bgnd
bgnd_data,// final CLTPass3d src_scan, // results of the normal correlations (now expecting infinity)
clt_parameters.pt_super_trust,// final double super_trust, // If strength exceeds ex_strength * super_trust, do not apply ex_nstrength and plate_ds