gpu_sigma_rb_corr,// final double gpu_sigma_rb_corr, // = 0.5; // apply LPF after accumulating R and B correlation before G, monochrome ? 1.0 : gpu_sigma_rb_corr;
gpu_sigma_corr,// = 0.9;gpu_sigma_corr_m
gpu_sigma_log_corr,// final double gpu_sigma_log_corr, // hpf to reduce dynamic range for correlations
clt_parameters.corr_red,// +used
clt_parameters.corr_blue,// +used
mcorr_sel,// final int mcorr_sel, // Which pairs to correlate // +1 - all, +2 - dia, +4 - sq, +8 - neibs, +16 - hor + 32 - vert
THREADS_MAX,// maximal number of threads to launch
debug_level);
image_dtt.clt_process_tl_correlations(// 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
fcorr_td,// final float [][][][] fcorr_td, // [tilesY][tilesX][pair][4*64] transform domain representation of all selected corr pairs
null,// num_acc, // float [][][] num_acc, // number of accumulated tiles [tilesY][tilesX][pair] (or null)
null,// tile_corr_weights, // dcorr_weight, // double [] dcorr_weight, // alternative to num_acc, compatible with CPU processing (only one non-zero enough)
double[][]dbg_ref_pXpYD=transformToScenePxPyD(// will be null for disparity == NaN, total size - tilesX*tilesY
double[][]dbg_ref_pXpYD=transformToScenePxPyD(// will be null for disparity == NaN, total size - tilesX*tilesY
...
@@ -12700,6 +12867,8 @@ public class OpticalFlow {
...
@@ -12700,6 +12867,8 @@ public class OpticalFlow {
}
}
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
// only used here to keep extra array element for disparity difference