gd.addCheckbox("Replace CM layer with mixed/new poly one",this.img_dtt.mix_corr_poly);
gd.addNumericField("Use poly mode if strength is greater than",this.img_dtt.min_poly_strength,3,6,"","AND condition");
gd.addNumericField("Use poly if it does not differ from CM more than by ",this.img_dtt.max_poly_diff,3,6,"pix","AND condition");
gd.addNumericField("When calculating poly raise correlation value to this power",this.img_dtt.poly_pwr,3,6,"","Trying to reduce sticking to integer values");
gd.addCheckbox("When calculating poly multiply strength by correlation value (more important)",this.img_dtt.poly_value_to_weight);
// moved
this.img_dtt.dialogQuestions(gd);
gd.addTab("vert/hor","Enhance detection of horizontal/vertical features (when enh_ortho is enabled for tile");
gd.addMessage("--- Enhance detection of horizontal/vertical features (when enh_ortho is enabled for tile ---");
gd.addNumericField("Reduce weight of center correlation pixels from center (0 - none, 1 - center, 2 +/-1 from center)",this.enhortho_width,0);
gd.addNumericField("Multiply center correlation pixels (inside enhortho_width) (1.0 - disables enh_orttho)",this.enhortho_scale,3);
gd.addCheckbox("Double pass when masking center of mass to reduce preference for integer values",this.max_corr_double);
...
...
@@ -4335,7 +4339,7 @@ public class EyesisCorrectionParameters {
gd.addCheckbox("Replace CM layer with mixed/new poly one",this.mix_corr_poly);
gd.addNumericField("Use poly mode if strength is greater than",this.min_poly_strength,3,6,"","AND condition");
gd.addNumericField("Maximal polynomial approximation half-width",this.max_poly_hwidth,3,6,"pix","Maximal polynomial approximation half-width (in both directions), Most now are ~2.0");
gd.addNumericField("Polynomial argmax correction (positive - near, negative - far)",this.poly_corr_scale,3,6,"×","Shift value if correlation maximum is wide in X than in Y to detect near objects (negative - far ones)");
gd.addNumericField("When calculating poly raise correlation value to this power",this.poly_pwr,3,6,"","Trying to reduce sticking to integer values");
gd.addNumericField("When calculating poly multiply weight by correlation value",this.poly_vasw_pwr,3,6,"",
"Raise value to this power and apply as weight");
gd.addNumericField("Magic scale for CM correlation",this.corr_magic_scale_cm,3,6,"",
"Reported center of mass correlation value is this part of actual");
gd.addNumericField("Magic scale for Poly correlation",this.corr_magic_scale_poly,3,6,"",
"Reported polynomial correlation value is this part of actual");
gd.addNumericField("Height of non-zero weights for hor/vert correlation",this.ortho_height,3);
gd.addNumericField("Effective correlation stripe height to match strengths",this.ortho_eff_height,3,6,"","For matching 2-d and 1-d correlation maximums");
gd.addNumericField("Number of samples to fit parabola in ortho mode",this.ortho_nsamples,3);
gd.addNumericField("Use data as weights when fitting parabola for ortho mode",this.ortho_vasw_pwr,3,6,"",
"Raise value to this power and apply as weight. Reduce width to 3 samples if false, 5 OK when true");
gd.addNumericField("Reduce weight of center correlation pixels from center (0 - none, 1 - center, 2 +/-1 from center)",this.enhortho_width,0);
gd.addNumericField("Multiply center correlation pixels (inside enhortho_width) (1.0 - disables enh_orttho)",this.enhortho_scale,3);
gd.addMessage("Far objects correction");
gd.addCheckbox("Try to correct far objects (make them closer) by hor/vert comparison",this.far_object_correct);
gd.addNumericField("Minimal strength for all correlations (full, hor, vert) to try to correct",this.fo_min_strength,3,6,"",
"Do not correct if any of the full, hor or vert strength is lower than this");
"Limit full correction with respect to largest - fullcorr difference. 1.0 does not allow overcorrection, < 1.0 - the result will be closer to full correction");
// clt_parameters.fs_min_tilt_disp, // 4.0; // Disparity switch between filtering modes - near objects use tilts, far - use max disparity
// clt_parameters.fs_transition, // 1.0; // Mode transition range (between tilted and maximal disparity)
// clt_parameters.fs_far_mode, // 1; // Far objects filtering mode (0 - off, 1 - power of disparity)
// clt_parameters.fs_far_power, // 1.0; // Raise disparity to this power before averaging for far objects
clt_parameters.plDiscrTolerance,// final double plDiscrTolerance, // = 0.4; // Maximal disparity difference from the plane to consider tile
clt_parameters.plDiscrDispRange,// final double plDiscrDispRange, // = 0.6; // Parallel move known planes around original know value for the best overall fit
...
...
@@ -5473,22 +5482,23 @@ public class TileProcessor {
clt_parameters.plTargetEigen,// final double targetEigen, // = 0.1; // Remove outliers until main axis eigenvalue (possibly scaled by plDispNorm) gets below
clt_parameters.plFractOutliers,// final double fractOutliers, // = 0.3; // Maximal fraction of outliers to remove
clt_parameters.plMaxOutliers,// final int maxOutliers, // = 20; // Maximal number of outliers to remove
clt_parameters.stFloor,// final double strength_floor,
clt_parameters.stPow,// final double strength_pow,
// clt_parameters.stFloor, // final double strength_floor,
// clt_parameters.stPow, // final double strength_pow,