@@ -4434,14 +4447,19 @@ public class EyesisCorrectionParameters {
...
@@ -4434,14 +4447,19 @@ public class EyesisCorrectionParameters {
gd.addNumericField("Keep samples within this difference from farthest maximum",this.ih_max_diff,3);
gd.addNumericField("Keep samples within this difference from farthest maximum",this.ih_max_diff,3);
gd.addNumericField("Minimal number of remaining samples",this.ih_min_samples,0);
gd.addNumericField("Minimal number of remaining samples",this.ih_min_samples,0);
gd.addCheckbox("Replace samples with a single average with equal weight",this.ih_norm_center);
gd.addCheckbox("Replace samples with a single average with equal weight",this.ih_norm_center);
gd.addCheckbox("Add disparity back to d{x,y}[i] (debug feature)",this.inf_restore_disp);
gd.addTab("Lazy eye","Lazy eye parameters");
gd.addTab("Lazy eye","Lazy eye parameters");
gd.addCheckbox("Calculate and apply lazy eye correction after disparity scan (poly or extrinsic), may repeat",this.ly_on_scan);
gd.addCheckbox("Calculate and apply lazy eye correction after disparity scan (poly or extrinsic), may repeat",this.ly_on_scan);
gd.addCheckbox("Adjust disparity using objects at infinity by changing individual tilt and azimuth ",this.ly_inf_en," disable if there are no really far objects in the scene");
gd.addCheckbox("Adjust disparity using objects at infinity by changing individual tilt and azimuth ",this.ly_inf_en," disable if there are no really far objects in the scene");
gd.addCheckbox("Adjust other extrinsics that do not influence disparity",this.ly_combo_en,"disable if only disparity is critical");
gd.addCheckbox("Adjust azimuths and tilts",this.ly_aztilt_en,"Adjust azimuths and tilts excluding those that change disparity");
gd.addCheckbox("Adjust differential rolls",this.ly_diff_roll_en,"Adjust differential rolls (3 of 4 rolls, keeping average roll)");
s=String.format("tilt (up): %8.5fpx %8.5fpx %8.5fpx %8.5fpx (shift of he image center)\n",v[0],v[1],v[2],-(v[0]+v[1]+v[2]));
s+=String.format("azimuth (right): %8.5fpx %8.5fpx %8.5fpx %8.5fpx (shift of he image center)\n",v[3],v[4],v[5],-(v[3]+v[4]+v[5]));
s+=String.format("roll (CW): %8.5fpx %8.5fpx %8.5fpx %8.5fpx (shift at the imge half-width from the center)\n",v[6],v[7],v[8],v[9]);
s+=String.format("diff zoom (in): %8.5fpx %8.5fpx %8.5fpx %8.5fpx (shift at the imge half-width from the center)\n",v[10],v[11],v[12],-(v[10]+v[11]+v[12]));