coord_motion=image_dtt.clt_process_tl_interscene(// convert to pixel domain and process correlations already prepared in fcorr_td and/or fcorr_combo_td
coord_motion=image_dtt.clt_process_tl_interscene(// convert to pixel domain and process correlations already prepared in fcorr_td and/or fcorr_combo_td
clt_parameters.img_dtt,// final ImageDttParameters imgdtt_params, // Now just extra correlation parameters, later will include, most others
clt_parameters.img_dtt,// final ImageDttParameters imgdtt_params, // Now just extra correlation parameters, later will include, most others
fcorr_td,// final float [][][][] fcorr_td, // [tilesY][tilesX][pair][4*64] transform domain representation of all selected corr pairs
fcorr_td,// final float [][][][] fcorr_td, // [tilesY][tilesX][pair][4*64] transform domain representation of all selected corr pairs
...
@@ -11818,6 +12064,9 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
...
@@ -11818,6 +12064,9 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
// to be converted to float (may be null)
// to be converted to float (may be null)
dcorr_tiles,// final double [][][] dcorr_tiles, // [tile][pair_abs, sparse][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
dcorr_tiles,// final double [][][] dcorr_tiles, // [tile][pair_abs, sparse][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
ref_pXpYD,// final double [][] pXpYD, // pXpYD for the reference scene
ref_pXpYD,// final double [][] pXpYD, // pXpYD for the reference scene
fpn_offsets,// final double [][] fpn_offsets, // null, or per-tile X,Y offset to be blanked
fpn_radius,// final double fpn_radius, // radius to be blanked around FPN offset center
fpn_ignore_border,// final boolean fpn_ignore_border, // only if fpn_mask != null - ignore tile if maximum touches fpn_mask
motion_vectors,// final double [][][] motion_vectors, // [tilesY*tilesX][][] -> [][][num_sel_sensors+1][2]
motion_vectors,// final double [][][] motion_vectors, // [tilesY*tilesX][][] -> [][][num_sel_sensors+1][2]
clt_parameters.imp.run_poly,// final boolean run_poly, // polynomial max, if false - centroid
clt_parameters.imp.run_poly,// final boolean run_poly, // polynomial max, if false - centroid
clt_parameters.imp.use_partial,// final boolean use_partial, // find motion vectors for individual pairs, false - for sum only
clt_parameters.imp.use_partial,// final boolean use_partial, // find motion vectors for individual pairs, false - for sum only
...
@@ -11826,11 +12075,13 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
...
@@ -11826,11 +12075,13 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.imp.td_weight,// final double td_weight, // mix correlations accumulated in TD with
clt_parameters.imp.td_weight,// final double td_weight, // mix correlations accumulated in TD with
clt_parameters.imp.pd_weight,// final double pd_weight, // correlations (post) accumulated in PD
clt_parameters.imp.pd_weight,// final double pd_weight, // correlations (post) accumulated in PD
clt_parameters.imp.td_nopd_only,// final boolean td_nopd_only, // only use TD accumulated data if no safe PD is available for the tile.
clt_parameters.imp.td_nopd_only,// final boolean td_nopd_only, // only use TD accumulated data if no safe PD is available for the tile.
clt_parameters.imp.min_str,// final double min_str, // = 0.25;
min_str,// final double min_str_nofpn, // = 0.25;
clt_parameters.imp.min_str_sum,// final double min_str_sum, // = 0.8; // 5;
min_str_sum,// final double min_str_sum_nofpn, // = 0.8; // 5;
clt_parameters.imp.min_str_fpn,// final double min_str, // = 0.25;
clt_parameters.imp.min_str_sum_fpn,// final double min_str_sum, // = 0.8; // 5;
clt_parameters.imp.min_neibs,// final int min_neibs, // 2; // minimal number of strong neighbors (> min_str)
clt_parameters.imp.min_neibs,// final int min_neibs, // 2; // minimal number of strong neighbors (> min_str)
clt_parameters.imp.weight_zero_neibs,// final double weight_zero_neibs,// 0.2; // Reduce weight for no-neib (1.0 for all 8)
clt_parameters.imp.weight_zero_neibs,// final double weight_zero_neibs,// 0.2; // Reduce weight for no-neib (1.0 for all 8)
clt_parameters.imp.half_disparity,// final double half_disparity, // 5.0; // Reduce weight twice for this disparity
half_disparity,// final double half_disparity, // 5.0; // Reduce weight twice for this disparity
clt_parameters.imp.half_avg_diff,// final double half_avg_diff, // 0.2; // when L2 of x,y difference from average of neibs - reduce twice
clt_parameters.imp.half_avg_diff,// final double half_avg_diff, // 0.2; // when L2 of x,y difference from average of neibs - reduce twice
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
clt_parameters.tileY,// final int debug_tileY,
...
@@ -11941,7 +12192,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
...
@@ -11941,7 +12192,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad