publicbooleanlma_adjust_ag=true;// used in new for gains
// new LMA parameters
publicdoublelma_min_wnd=0.4;// divide values by the 2D correlation window if it is >= this value for finding maximums and convex areas
// maybe try using sqrt (corr_wnd) ? or variable power?
publicdoublelma_half_width=2.0;//
publicdoublelma_cost_wy=0.1;//
publicdoublelma_cost_wxy=0.1;//
publicdoublelma_cost_wy=0.003;// cost of parallel-to-disparity correction
publicdoublelma_cost_wxy=0.003;// cost of ortho-to-disparity correction
publicdoublelma_lambda_initial=0.1;//
publicdoublelma_lambda_scale_good=0.5;//
...
...
@@ -246,16 +248,23 @@ public class ImageDttParameters {
"Allow fitting of the half-width common for all pairs, defined by the LPF filter of the phase correlation");
gd.addCheckbox("Adjust ellipse parameters (was Fit extra vertical half-width)",this.lma_adjust_wy,
"Adjust ellipse (non-circular) of the correlation maximum (was Fit extra perpendicular to disparity half-width (not used? and only possible with multi-baseline cameras))");
gd.addCheckbox("Adjust \"lazy eye\" paramdeters (was Fit extra half-width along disparity direction)",this.lma_adjust_wxy,
gd.addCheckbox("Adjust \"lazy eye\" parameters parallel to disparity (was Fit extra half-width along disparity)",this.lma_adjust_wxy,
"Increased width in disparity direction caused by multi-distance objects in the tile");
gd.addCheckbox("Adjust \"lazy eye\" parameters orthogonal CW to disparity",this.lma_adjust_ly1,
"Increased width in disparity direction caused by multi-distance objects in the tile");