@@ -120,6 +120,15 @@ public class BiQuadParameters {
publicdoublepf_damp_tilt=0.001;// Tilt cost for damping insufficient plane data
publicdoublepf_rwsigma=0.7;// influence of far neighbors diminish as a Gaussian with this sigma
publicdoublepf_rwsigma_narrow=0.2;// used to determine initial tilt ( 1/radius)
publicbooleanpf_use_alt=false;// When fitting for the best plane - look for alernative measured tiles too
publicdoublepf_goal_fraction_rms=0.5;// Try to make rms to be this fraction of maximal acceptable by removing outliers
publicdoublepf_boost_low_density=0.8;// Strength assigned to fake tiles from neighbors (the lower - the higher)
// Apply when filling gaps, not when growing
publicintpf_fourq_min=1;// Each of the 4 corners should have at least this number of tiles.
publicintpf_fourq_gap=1;// Symmetrical vertical and horizontal center areas that do not belong to any corner
// int trimWeakFG(
publicbooleanpf_en_trim_fg=false;// Trim weak FZG
@@ -371,6 +380,20 @@ public class BiQuadParameters {
"Sigma is relative to selection radius (square half-side)");
gd.addNumericField("Weight function Gaussian sigma (relative to radius) for initial plane fitting",this.pf_rwsigma_narrow,4,6,"",
"Weight function Gaussian sigma (relative to selection radius) for initial plane fitting. May be ~=1/radius");
gd.addCheckbox("When fitting for the best plane - look for alernative measured tiles too",this.pf_use_alt,
"When selecting tiles that fit best to the plane, try alternative (weaker) disparities too");
gd.addNumericField("Try to make rms to be this fraction of maximal acceptable by removing outliers",this.pf_goal_fraction_rms,4,6,"pix",
"When removing outliers to fit planes, stop removing when the RMS of the remaining drops below this fraction of the maxium allowed RMS (should be < 1.0");
gd.addNumericField("Strength assigned to fake tiles from neighbors (the lower - the higher)",this.pf_boost_low_density,4,6,"pix",
"Returned strength assigned to the tiles increases with this value - seems to be a bug");
gd.addNumericField("Each of the 4 corners should have at least this number of tiles",this.pf_fourq_min,0,3,"",
"Apply (>0) only for filling gaps, not during expansion. It requires that every of the 4 corners of the sample square has this number of tiles for a plane");
gd.addNumericField("Four corners center gap half-width (1 - 1 tile, 2 - 3 tiles, 3 - 5 tiles, ...",this.pf_fourq_gap,0,3,"",
"Specifies corners of the sample square that should have tiles remain, after removing centre columns and center rows");