publicbooleanno_int_x0=true;// do not offset window to integer maximum for the rig - used when averaging low textures to avoid "jumps" for very wide maximums
publicbooleanno_int_x0=true;// do not offset window to integer maximum for the rig - used when averaging low textures to avoid "jumps" for very wide maximums
publicbooleanuse_poly=true;
publicbooleanuse_poly=true;
...
@@ -249,7 +250,7 @@ public class BiQuadParameters {
...
@@ -249,7 +250,7 @@ public class BiQuadParameters {
// calculating GT
// calculating GT
// now used not just for ML, but for any interscene depth maps
publicdoublemll_min_disp_change_pre=0.03;// stop re-measure when difference is below, no-LMA, 40 pairs
publicdoublemll_min_disp_change_pre=0.03;// stop re-measure when difference is below, no-LMA, 40 pairs
publicintmll_max_refines_pre=5;
publicintmll_max_refines_pre=5;
publicdoublemll_min_disp_change_lma=0.003;// stop re-measure when difference is below, LMA, 120 pairs
publicdoublemll_min_disp_change_lma=0.003;// stop re-measure when difference is below, LMA, 120 pairs
...
@@ -257,6 +258,18 @@ public class BiQuadParameters {
...
@@ -257,6 +258,18 @@ public class BiQuadParameters {
publicintmll_max_refines_bg=5;
publicintmll_max_refines_bg=5;
publicintmll_max_bg_nearest=1;// number of selecting BG until switching to "nearest" to prevent switching to BG of BG
publicintmll_max_bg_nearest=1;// number of selecting BG until switching to "nearest" to prevent switching to BG of BG
// FG/BG split for far tiles where dual max can only be detected with LMA as it is too small
publicbooleanfsplit_en=true;// enable split of far tiles into FG/BG with LMA
image_dtt.transform_size-1,// final int gpu_corr_rad, // = transform_size - 1 ?
image_dtt.transform_size-1,// final int gpu_corr_rad, // = transform_size - 1 ?
// The tp_tasks data should be decoded from GPU to get coordinates
// The tp_tasks data should be decoded from GPU to get coordinates
tp_tasks,// final TpTask [] tp_tasks, // data from the reference frame - will be applied to LMW for the integrated correlations
tp_tasks,// final TpTask [] tp_tasks, // data from the reference frame - will be applied to LMW for the integrated correlations
null,// final double [][][] far_fgbg, // null, or [tilesY][tilesX]{disp(fg)-disp(bg), str(fg)-str(bg)} hints for LMA FG/BG split
geometryCorrection.getRXY(false),// final double [][] rXY, // from geometryCorrection
geometryCorrection.getRXY(false),// final double [][] rXY, // from geometryCorrection
// next both can be nulls
// next both can be nulls
clt_corr_out,// null, // final double [][][][] clt_corr_out, // sparse (by the first index) [type][tilesY][tilesX][(2*transform_size-1)*(2*transform_size-1)] or null
clt_corr_out,// null, // final double [][][][] clt_corr_out, // sparse (by the first index) [type][tilesY][tilesX][(2*transform_size-1)*(2*transform_size-1)] or null