@@ -245,19 +245,33 @@ public class BiQuadParameters {
publicdoubleoc_min_strength=0.1;// Minimal main camera strength
// ML export for LWIR16 camera
// calculating GT
publicdoublemll_min_disp_change=0.001;// stop re-measure when difference is below
publicintmll_max_refines=10;
// Exporting ML files
publicbooleanmll_add_combo=true;// add 121-st slice with combined pairs correlation
publicbooleanmll_save_accum=true;// save accumulated 0-offset correlation
publicbooleanmll_randomize_offsets=true;
publicdoublemll_disparity_low=-5.0;
publicdoublemll_disparity_high=5.0;
publicdoublemll_disparity_pwr=2.0;
publicintmll_disparity_steps=20;
publicdoublemll_tileMetaScale=0.001;
publicintmll_tileMetaSlice=-1;// all slices
publicintmll_tileStepX=16;
publicintmll_tileStepY=16;
publicStringmll_suffix="-ML";
// public boolean ml_generate = false; // Generate ML data automatically when running ground truth - MOVED to BATCH parameters
publicbooleanml_poles=true;// Generate ML data from the DSI that includes extracted poles
publicbooleanml_copyJP4=true;// Copy source jp4 files when running "Ground truth" command
publicintml_hwidth=4;// Half-width of the ML tiles to export (0-> 1x1, 1->3x3, 2 -> 5x5)
// For dual-quad rig mode
publicdoubleml_disparity_sweep=2.0;// Disparity sweep around ground truth, each side
publicintml_sweep_steps=1;// Number of disparity sweep steps
publicbooleanml_randomize=true;// randomize offset within 1 step (reduces ml_sweep_steps by 1)
// enhancing main camera dsi for generation of the ml files
publicdoubleml_rig_tolerance=2.0;// replace main camera disparity if it differs from rig by more than this
publicdoubleml_rnd_offset=0.5;// add random offset to rig disparity if there is no suitable data from main camera neighbors
...
...
@@ -265,11 +279,9 @@ public class BiQuadParameters {
publicintml_grow_steps=2;// measure correlation for the tiles in the undefined areas around known (to match 5x5 clusters
publicintml_grow_mode=2;// -1 - prefer background, 0 - use average. 1 - prefer foreground, 2 - auto (closest to rig )
publicdoubleml_new_strength=0.5;// assign this fraction of known strengths average to the tiles where strength is unknown (expanded tiles with extrapolated target)
publicbooleanml_main=true;// generate ML from main camera DSI
publicbooleanml_main_rnd=true;// generate ML from main camera DSI with random offset
publicbooleanml_rig_rnd=true;// generate ML from rig DSI (GT) with random offset
// for EO+LWIR mode
publicbooleanml_aux_ag=true;// aux (lwir) mode - generate 2dcorr for GT (average disparity)
publicbooleanml_aux_fg=true;// aux (lwir) mode - generate 2dcorr for GT (foreground disparity)
...
...
@@ -277,7 +289,6 @@ public class BiQuadParameters {
publicdoubleml_aux_low=0.0;// aux (lwir) mode - disparity sweep low
publicdoubleml_aux_high=10.0;// aux (lwir) mode - disparity sweep high
publicdoubleml_aux_step=0.1;// aux (lwir) mode - disparity sweep step( >= 0 - no sweep)
// common
publicbooleanml_keep_aux=false;// true; // include auxiliary camera data in the ML output
publicbooleanml_keep_inter=false;// true; // include inter-camera correlation data in the ML output
...
...
@@ -290,9 +301,6 @@ public class BiQuadParameters {
publicdoubleml_fatzero=0.05;// Use this value for correlation
"Add combined correlations slice from all available pairs after rotation/scaling. Will not be used for training, can be removed to reduce processing time");