@@ -1751,6 +1751,7 @@ public class ImageDtt extends ImageDttCPU {
finaldouble[][][]dcorr_tiles,// [tile][pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
// When clt_mismatch is non-zero, no far objects extraction will be attempted
//optional, may be null
finalbooleanuse_rms,// DISPARITY_STRENGTH_INDEX means LMA RMS (18/04/2023)
finaldouble[][]disparity_map,// [8][tilesY][tilesX], only [6][] is needed on input or null - do not calculate
finaldouble[][][][]ddnd,// [tilesY][tilesX][num_sensors][2] data for LY. Should be either null or [tilesY][tilesX][][]. disparity_map should be non-null
finalbooleanrun_lma,// calculate LMA, false - CM only
...
...
@@ -1929,12 +1930,22 @@ public class ImageDtt extends ImageDttCPU {
if(disparity_map!=null){// only slices that are needed, keep others
// clt_parameters.ly_inf_force, // boolean force_convergence, // if true try to adjust convergence (disparity, symmetrical parameter 0) even with no disparity
clt_parameters.ly_min_forced,// int min_num_forced, // minimal number of clusters with forced disparity to use it
// data, using just radial distortions
clt_parameters.ly_com_roll,// boolean common_roll, // Enable common roll (valid for high disparity range only)
clt_parameters.ly_ers_rot,// boolean ers_rot, // Enable ERS correction of the camera rotation
clt_parameters.ly_ers_forw,// boolean ers_forw, // Enable ERS correction of the camera linear movement in z direction
clt_parameters.ly_ers_side,// boolean ers_side, // Enable ERS correction of the camera linear movement in x direction
clt_parameters.ly_ers_vert,// boolean ers_vert, // Enable ERS correction of the camera linear movement in y direction
// add balancing-related here?
clt_parameters.ly_par_sel,// int manual_par_sel, // Manually select the parameter mask bit 0 - sym0, bit1 - sym1, ... (0 - use boolean flags, != 0 - ignore boolean flags)
clt_parameters.ly_weight_infinity,//0.3, // double weight_infinity, // 0.3, total weight of infinity tiles fraction (0.0 - 1.0)
clt_parameters.ly_weight_disparity,//0.0, // double weight_disparity, // 0.0 disparity weight relative to the sum of 8 lazy eye values of the same tile
clt_parameters.ly_weight_disparity_inf,//0.5, // double weight_disparity_inf,// 0.5 disparity weight relative to the sum of 8 lazy eye values of the same tile for infinity
clt_parameters.ly_max_disparity_far,//5.0, // double max_disparity_far, // 5.0 reduce weights of near tiles proportional to sqrt(max_disparity_far/disparity)
clt_parameters.ly_max_disparity_use,//5.0, // double max_disparity_use, // 5.0 (default 1000)disable near objects completely - use to avoid ERS