corr_wnd_inv_limited, // corr_wnd_inv_limited, // correlation window, limited not to be smaller than threshold - used for finding max/convex areas (or null)
corrs[cTile], // double [][] corrs,
disp_dist[cTile],
rXY, // double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
false, // boolean run_poly_instead, // true - run LMA, false - run 2d polynomial approximation
corr_stat[cTile][0], // double xcenter, // preliminary center x in pixels for largest baseline
...
...
@@ -2096,6 +2115,7 @@ public class ImageDtt {
corr_wnd_inv_limited,// corr_wnd_inv_limited, // correlation window, limited not to be smaller than threshold - used for finding max/convex areas (or null)
corrs,// [tIndex], // double [][] corrs,
disp_dist,// [tIndex],
rXY,// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
imgdtt_params.dbg_pair_mask,// int pair_mask, // which pairs to process
false,// boolean run_poly_instead, // true - run LMA, false - run 2d polynomial approximation
corr_stat,// double[][] xcenter_str, // preliminary center x in pixels for largest baseline
...
...
@@ -2230,7 +2250,15 @@ public class ImageDtt {
finalAtomicIntegerai=newAtomicInteger(0);
finaldouble[]col_weights=newdouble[numcol];// colors are RBG
corr_wnd_inv_limited,// corr_wnd_limited, // correlation window, limited not to be smaller than threshold - used for finding max/convex areas (or null)
corrs,// double [][] corrs,
disp_dist,
rXY,// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
imgdtt_params.dbg_pair_mask,// int pair_mask, // which pairs to process
false,// boolean run_poly_instead, // true - run LMA, false - run 2d polynomial approximation
corr_stat[0],// double xcenter, // preliminary center x in pixels for largest baseline
"Debug/verbosity level for the new LMA correaltion maximum fitting");
gd.addCheckbox("Use new correlation methods compatible with x8 camera",this.corr_var_cam,
"Debug feature to compare old/new methods");
gd.addNumericField("Normalization for the CM correlation strength",this.cm_max_normalization,6,8,"",
gd.addNumericField("Normalization for the CM correlation strength",this.cm_max_normalization,6,8,"",
"Fraction of correlation maximum radius, being squared multiplied by maximum to have the same total mass. ~= 0.5, the lower the value, the higher strength reported by the CM");
gd.addMessage("Cameras offsets in the disparity direction and orthogonal to disparity (debugging LMA)");