if(mb_en&&(mb_vectors!=null)){// increase fat zero when there is motion blur
corr_fz_inter*=8;
}
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
null,// float [][][] num_acc, // number of accumulated tiles [tilesY][tilesX][pair] (or null). Can be inner null if not used in tp_tasks
null,// float [][][] num_acc, // number of accumulated tiles [tilesY][tilesX][pair] (or null). Can be inner null if not used in tp_tasks
null,// double [] dcorr_weight, // alternative to num_acc, compatible with CPU processing (only one non-zero enough)
null,// double [] dcorr_weight, // alternative to num_acc, compatible with CPU processing (only one non-zero enough)
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
fclt_corr);// float [][][] fclt_corr) // new float [tilesX * tilesY][][] or null
fclt_corr);// float [][][] fclt_corr) // new float [tilesX * tilesY][][] or null
...
@@ -12888,7 +12975,7 @@ public class OpticalFlow {
...
@@ -12888,7 +12975,7 @@ public class OpticalFlow {
imp_mbc_merged.show();
imp_mbc_merged.show();
}
}
}
}
if(nscene==ref_index){// set GPU reference CLT data
if(nscene==ref_index){// set GPU reference CLT data - should be before other scenes