corr_wnd,// double [][] corr_wnd, // correlation window to save on re-calculation of the window
corr_wnd_inv_limited,// corr_wnd_limited, // correlation window, limited not to be smaller than threshold - used for finding max/convex areas (or null)
corr_tiles,// corrs, // double [][] corrs,
disp_dist,
rXY,// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
// all that are not null in corr_tiles
correlation2d.selectAll(),// longToArray(imgdtt_params.dbg_pair_mask), // int pair_mask, // which pairs to process
disp_str,//corr_stat[0], // double xcenter, // preliminary center x in pixels for largest baseline
poly_disp,// double[] poly_ds, // null or pair of disparity/strength
imgdtt_params.ortho_vasw_pwr,// double vasw_pwr, // value as weight to this power,
tile_lma_debug_level+2,// int debug_level,
tileX,// int tileX, // just for debug output
tileY);// int tileY
double[][]ds=null;
if(lma2!=null){
ds=lma2.lmaDisparityStrength(
imgdtt_params.lmas_max_rel_rms,// maximal relative (to average max/min amplitude LMA RMS) // May be up to 0.3)
imgdtt_params.lmas_min_strength,// minimal composite strength (sqrt(average amp squared over absolute RMS)
imgdtt_params.lmas_min_ac,// minimal of A and C coefficients maximum (measures sharpest point/line)
imgdtt_params.lmas_min_min_ac,// minimal of A and C coefficients minimum (measures sharpest point)
corr_wnd,// double [][] corr_wnd, // correlation window to save on re-calculation of the window
corr_wnd_inv_limited,// corr_wnd_limited, // correlation window, limited not to be smaller than threshold - used for finding max/convex areas (or null)
corr_tiles,// corrs, // double [][] corrs,
disp_dist,
rXY,// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
// all that are not null in corr_tiles
correlation2d.selectAll(),// longToArray(imgdtt_params.dbg_pair_mask), // int pair_mask, // which pairs to process
disp_str,//corr_stat[0], // double xcenter, // preliminary center x in pixels for largest baseline
poly_disp,// double[] poly_ds, // null or pair of disparity/strength
imgdtt_params.ortho_vasw_pwr,// double vasw_pwr, // value as weight to this power,
tile_lma_debug_level,// +2, // int debug_level,
tileX,// int tileX, // just for debug output
tileY);// int tileY
if(debugTile0){// should be debugTile
System.out.println("Ran LMA for tileX="+tileX+", tileY="+tileY);
}
double[][]ds=null;
if(lma2!=null){
ds=lma2.lmaDisparityStrength(
imgdtt_params.lmas_max_rel_rms,// maximal relative (to average max/min amplitude LMA RMS) // May be up to 0.3)
imgdtt_params.lmas_min_strength,// minimal composite strength (sqrt(average amp squared over absolute RMS)
imgdtt_params.lmas_min_ac,// minimal of A and C coefficients maximum (measures sharpest point/line)
imgdtt_params.lmas_min_min_ac,// minimal of A and C coefficients minimum (measures sharpest point)