"Add combined correlations slice from all available pairs after rotation/scaling. Will not be used for training, can be removed to reduce processing time");
threadsMax,// final int threadsMax, // maximal number of threads to launch
null,// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
ImageDtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
// String suffix =ref_scene.correctionsParameters.mlDirectory; // now "ML32
...
...
@@ -8057,6 +8059,18 @@ public class OpticalFlow {
ref_scene.getGPU());
image_dtt.getCorrelation2d();// initiate image_dtt.correlation2d, needed if disparity_map != null
if(show_input){
//COMBO_DSN_TITLES
(newShowDoubleFloatArrays()).showArrays(
combo_dsn_final,
tilesX,
tilesY,
true,
"combo_dsn_final-"+ref_scene.getImageName(),
COMBO_DSN_TITLES);// dsrbg_titles);
}
if(save_accum){
intmcorr_sel=Correlation2d.corrSelEncodeAll(0);// all sensors
float[][][]facc_2d_img=newfloat[1][][];
...
...
@@ -10035,6 +10049,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
"reference",// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
ImageDtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -10104,6 +10119,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
null,// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
ImageDtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -10190,6 +10206,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
"accumulated",// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
ImageDtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -10244,6 +10261,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
null,// final String debug_suffix,
debug_level+(show_reference_correlations?2:-1));// final int globalDebugLevel)
ImageDttCPU.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -10418,6 +10436,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
null,// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
ImageDtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -10479,6 +10498,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
clt_parameters.tileX,// final int debug_tileX,
clt_parameters.tileY,// final int debug_tileY,
threadsMax,// final int threadsMax, // maximal number of threads to launch
null,// final String debug_suffix,
debug_level+2);// -1 ); // final int globalDebugLevel)
image_dtt.convertFcltCorr(
dcorr_tiles,// double [][][] dcorr_tiles,// [tile][sparse, correlation pair][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
...
...
@@ -11328,6 +11348,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad
doublemax_change=1.0e-3;
doublemin_disparity=-0.2;
doublemax_sym_disparity=0.2;
doublemin_strength_lma=0.7;// weaker - treat as non-lma
doublemin_strength_replace=0.05;/// 0.14; /// Before /// - LWIR, after - RGB
doublemin_strength_blur=0.06;/// 0.2;
doublesigma=2;/// 5;
...
...
@@ -11363,6 +11384,7 @@ public double[][] correlateIntersceneDebug( // only uses GPU and quad