gd.addNumericField("NaN tolerance",terr_nan_tolerance,5,7,"","Replace continuous almost zeros with NaN-s.");
gd.addNumericField("NaN grow",terr_nan_grow,0,3,"pix","Grow \"almost\" zero areas after detection (+2 - 8 directions, +1 - only ortho).");
gd.addMessage("Scan WOI parameters");
gd.addMessage("Scan WOI parameters");
gd.addCheckbox("Tiled WOI",terr_tile_woi,"Process tiled WOI (False - a single one).");
gd.addCheckbox("Tiled WOI",terr_tile_woi,"Process tiled WOI (False - a single one).");
...
@@ -1955,6 +1967,9 @@ min_str_neib_fpn 0.35
...
@@ -1955,6 +1967,9 @@ min_str_neib_fpn 0.35
gd.addMessage("LMA losses and goals for alpha, terrain and vegetation pixels");
gd.addMessage("LMA losses and goals for alpha, terrain and vegetation pixels");
gd.addNumericField("Min influenced scenes",terr_min_scenes,0,3,"","Minimal number of scenes (inside woi) vegetation pixel must influence.");
gd.addNumericField("Min influenced scenes",terr_min_scenes,0,3,"","Minimal number of scenes (inside woi) vegetation pixel must influence.");
gd.addNumericField("Minimal samples/scene",terr_min_samples_scene,0,3,"","Minimal samples per scene used for fitting (skip scene if less).");
gd.addNumericField("Minimum scenes used",terr_min_total_scenes,0,3,"","Minimal total number of scenes used (skip segment if less).");
gd.addNumericField("Minimal pixels fitted",terr_min_pixels,0,3,"","Minimal number of terrain and vegetation pixels used for fitting in this segment(skip segment if less).");
gd.addNumericField("Boost parallax render",terr_boost_render,5,7,"","Increase weight of scenes that have high parallax to the reference one (during render).");
gd.addNumericField("Limit parallax render",terr_max_render,5,7,"","Parallax limit when evaluating boost parallax (during render).");
doublealpha_scale_avg=clt_parameters.imp.terr_alpha_scale_avg;// 1.0; // 1.1; // 0.9; // 2.0; // 1.5; // scale average alpha (around 0.5) when pulling to it
doublealpha_push=clt_parameters.imp.terr_alpha_push;// 12; // 10.0; // 15.0; // push from alpha==0.5
doublealpha_push_neutral=clt_parameters.imp.terr_alpha_push_neutral;// 0.5; // 0.6; // 0.8; // alpha point from which push (closer to opaque)
doublealpha_push_center=clt_parameters.imp.terr_alpha_weight_center;// 1.5; // weight of center alpha pixel relative to each of the 4 ortho ones
doublealpha_mm_hole=clt_parameters.imp.terr_alpha_mm_hole;// 0.1; // NaN to disable. Local "almost minimum" (lower than this fraction between min and max neighbor) is not subject to alpha_lpf
doubleterr_lpf=clt_parameters.imp.terr_terr_lpf;// 0.1; // 0.15; /// 0.2; /// 0.1; // pull terrain to average of 4 neighbors (very small)
doubleveget_lpf=clt_parameters.imp.terr_veget_lpf;// 0.2; //0.15; /// 0.2; //// 0.01; /// 0.1; // pull vegetation to average of 4 neighbors (very small - maybe not needed)
doubleterr_pull0=clt_parameters.imp.terr_terr_pull0;// 0.05; //0.03; ////// 0.05; ///// 0.1; //// 0.01; /// 0.2; /// 0.1; //pull terrain to zero (makes sense with UM
doubleveget_pull0=clt_parameters.imp.terr_veget_pull0;// 0.05; //0.1; // 0.03; ////// 0.05; ///// 0.1; //// 0.01; /// 0.1; // pull vegetation to zero (makes sense with UM