@@ -248,11 +248,23 @@ public class BiQuadParameters {
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)
publicdoubleml_disparity_sweep=1.0;// Disparity sweep around ground truth, each side
publicintml_sweep_steps=21;// Number of disparity sweep steps
publicbooleanml_randomize=true;// randomize ofset within 1 step (reduces ml_sweep_steps by 1)
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
publicdoubleml_main_tolerance=1.0;// look for neighbors within this disparity difference from the rig disparity
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
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
publicbooleanml_keep_hor_vert=true;// include combined horizontal and vertical pairs data in the ML output
...
...
@@ -656,13 +668,36 @@ public class BiQuadParameters {
gd.addNumericField("Half-width of the ML tiles to export (0-> 1x1, 1->3x3, 2 -> 5x5)",this.ml_hwidth,0,3,"",
"Amount of data to export to the ML system");
gd.addNumericField("Disparity sweep around ground truth, each side",this.ml_disparity_sweep,3,6,"",
"Sweep symmetrically target disparity around the ground truth disparity, each side");
"Sweep symmetrically target disparity around the ground truth disparity, each side. If 0 sweep_steps == 0 - use as random offset amplitude");
gd.addNumericField("Number of target disparity sweep steps",this.ml_sweep_steps,0,3,"",
"Generate this many files for each file set. Each tile results depend on the target disparity and this tile data, do not depend on other tiles target disparity");