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,
...
...
@@ -3375,9 +3375,12 @@ public class ImageDttCPU {
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,
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(
...
...
@@ -3389,239 +3392,19 @@ public class ImageDttCPU {
imgdtt_params.lma_str_scale,// convert lma-generated strength to match previous ones - scale
imgdtt_params.lma_str_offset// convert lma-generated strength to match previous ones - add to result