doublemax_offset=Double.NaN;// Do not chesk * clt_parameters.imp.max_rel_offset * tilesX * tile_size;
booleanref_smooth=clt_parameters.imp.ref_smooth;//true; // use SfM filtering if available Not yet available here
doublemin_sfm_meters=clt_parameters.imp.min_sfm_meters;// 2.5; // minimal camera offset no use SFM for disparity refinement (~10x camera base)
...
...
@@ -318,6 +321,9 @@ public class EstimateSceneRange {
booleanfilt_each=clt_parameters.imp.sfma_filt_each;// true; // Filter disparity after each step (far enough), false - only once after all Adjustments are over
doublefilt_meters=clt_parameters.imp.sfma_filt_meters;// 5.0; // Filter only for high offsets
booleansfma_all=clt_parameters.imp.sfma_all_en;// true; // calculate SfM for all tiles, including "unreliable" (make them reliable?)
doublesfma_confidence=clt_parameters.imp.sfma_confidence;// 0.8; // rehabilitate "unreliable" SfM tiles if confidence is above this threshold
// boolean sfma_all = clt_parameters.imp.sfma_all_en; // true; // calculate SfM for all tiles, including "unreliable" (make them reliable?)
doublesfma_confidence=clt_parameters.imp.sfma_confidence;// 0.8; // rehabilitate "unreliable" SfM tiles if confidence is above this threshold
finaldoubleflatness_ref=0.05;// pix
// final boolean filt_en = clt_parameters.imp.sfma_filt_en; // true; // Filter disparity during pose adjustment with SfM
// final boolean filt_each = clt_parameters.imp.sfma_filt_each; // true; // Filter disparity after each step (far enough), false - only once after all Adjustments are over
// final double filt_meters = clt_parameters.imp.sfma_filt_meters; // 5.0; // Filter only for high offsets
...
...
@@ -978,38 +1021,115 @@ public class EstimateSceneRange {
finalintfilt_iters=clt_parameters.imp.sfma_filt_iters;// 10; // Maximal number of filtering iteration
finalintfilt_nb_int=clt_parameters.imp.sfma_filt_nb_int;// 6; // minimal number of defined (non-NaN) neighbors for strong internal tiles (excludes 2 columns/rows on each margin)
...
...
@@ -1078,24 +1213,21 @@ public class EstimateSceneRange {
finalbooleansecond_min=true;// if old value was not lower than all neighbors, use second minimal disparity for the background, false - use the absolute minimum.