@@ -1535,6 +1535,7 @@ public class VegetationModel {
...
@@ -1535,6 +1535,7 @@ public class VegetationModel {
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)
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)
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.1; //0.03; ////// 0.05; ///// 0.1; //// 0.01; /// 0.2; /// 0.1; //pull terrain to zero (makes sense with UM
doubleterr_pull0=clt_parameters.imp.terr_terr_pull0;// 0.1; //0.03; ////// 0.05; ///// 0.1; //// 0.01; /// 0.2; /// 0.1; //pull terrain to zero (makes sense with UM
doubleterr_pull_up=clt_parameters.imp.terr_terr_pull_up;// 0.2; // Terrain pixels pull to initial (pre-adjustment) values when it is colder than initial.
doubleterr_pull_up=clt_parameters.imp.terr_terr_pull_up;// 0.2; // Terrain pixels pull to initial (pre-adjustment) values when it is colder than initial.
doubleterr_pull_avg=clt_parameters.imp.terr_terr_pull_avg;// 0.1; // Pull terrain to the initial offset by the average offset of all terrain pixels
doubleterr_pull_avg=clt_parameters.imp.terr_terr_pull_avg;// 0.1; // Pull terrain to the initial offset by the average offset of all terrain pixels
...
@@ -1543,7 +1544,10 @@ public class VegetationModel {
...
@@ -1543,7 +1544,10 @@ public class VegetationModel {
doubleveget_pull_low_alpha=clt_parameters.imp.terr_veget_pull_low_alpha;//10; // scale pull0 for low alpha (mostly terrain)
doubleveget_pull_low_alpha=clt_parameters.imp.terr_veget_pull_low_alpha;//10; // scale pull0 for low alpha (mostly terrain)
booleanterr_only_special=clt_parameters.imp.terr_only_special;// true; // special sequences for terrain-only tiles
booleanterr_only_pix=clt_parameters.imp.terr_only_pix;// true; // force per-pixel terrain elevation in terrain-only mode, overwrite fits_disable[TVAO_TERR_ELEV_PIX]
intterr_only_series=clt_parameters.imp.terr_only_series;// -1; // similar to terr_last_series but for terrain-only mode (<0 - length of terr_only_num_iters)
int[]terr_only_num_iters=clt_parameters.imp.terr_only_num_iters;// {25}; // number of iterations
elev_pull0,// final double elev_pull0, // pull elevation to initial (pre-adjustment) values
elev_pull0,// final double elev_pull0, // pull elevation to initial (pre-adjustment) values
terr_elev_pull0,// final double terr_elev_pull0, // pull terrain elevation to segment average
elev_alpha_en,// final boolean elev_alpha_en, // false; // Enable loss for low vegetation with high opacity
elev_alpha_en,// final boolean elev_alpha_en, // false; // Enable loss for low vegetation with high opacity
elev_alpha,// final double elev_alpha, // 1.0; // multiply alpha by under-low elevation for loss
elev_alpha,// final double elev_alpha, // 1.0; // multiply alpha by under-low elevation for loss
elev_alpha_pwr,// final double elev_alpha_pwr, // 2.0; // raise alpha to this power (when alpha > 0)
elev_alpha_pwr,// final double elev_alpha_pwr, // 2.0; // raise alpha to this power (when alpha > 0)
...
@@ -2155,10 +2171,11 @@ public class VegetationModel {
...
@@ -2155,10 +2171,11 @@ public class VegetationModel {
ttop_rel_rad,// final double ttop_rel_rad, // 0.25; // Relative (to the top height) sample ring radius
ttop_rel_rad,// final double ttop_rel_rad, // 0.25; // Relative (to the top height) sample ring radius
ttop_frac,// final double ttop_frac, // 0.5; // Minimal fraction of the ring pixels below sample level
ttop_frac,// final double ttop_frac, // 0.5; // Minimal fraction of the ring pixels below sample level
ttop_rem_rad,// final double ttop_rem_rad, // 0.25; // Relative (to the top height) remove transparency radius
ttop_rem_rad,// final double ttop_rem_rad, // 0.25; // Relative (to the top height) remove transparency radius
terr_only_special,// final boolean terr_only_special,//true; // special sequences for terrain-only tiles
boost_parallax,// final double boost_parallax, // increase weight of scene with maximal parallax relative to the reference scene
terr_only_pix,// final boolean terr_only_pix, //true; // force per-pixel terrain elevation in terrain-only mode, overwrite fits_disable[TVAO_TERR_ELEV_PIX]
max_parallax,//final double max_parallax, // do not consider maximal parallax above this (consider it a glitch)
boost_parallax,// final double boost_parallax, // increase weight of scene with maximal parallax relative to the reference scene
debugLevel,// final int debugLevel);
max_parallax,//final double max_parallax, // do not consider maximal parallax above this (consider it a glitch)
debugLevel,// final int debugLevel);
debug_path,// final String debug_path,
debug_path,// final String debug_path,
debug_save_improved,// final boolean debug_save_improved, // Save debug image after successful LMA step.");
debug_save_improved,// final boolean debug_save_improved, // Save debug image after successful LMA step.");
debug_save_worsened);// final boolean debug_save_worsened) // Save debug image after unsuccessful LMA step.");
debug_save_worsened);// final boolean debug_save_worsened) // Save debug image after unsuccessful LMA step.");
...
@@ -2167,6 +2184,12 @@ public class VegetationModel {
...
@@ -2167,6 +2184,12 @@ public class VegetationModel {
System.out.println("Insufficient data in this segment, skipping it.");
System.out.println("Insufficient data in this segment, skipping it.");