"Skip adjustment of "+VegetationLMA.TVAO_NAMES[i]+". Use comma/space separated list of true/false, 1/0 or +/-.");
}
gd.addNumericField("Maximal warp",terr_max_warp,5,7,"pix","(1.8) Do not use scenes where distance between vegetation projection exceeds this.");
gd.addNumericField("Min elevation/offset",terr_max_elevation,0,3,"pix","Maximal offset to consider when looking for vegetation influence.");
gd.addNumericField("Max elevation/offset",terr_max_elevation,0,3,"pix","Maximal offset to consider when looking for vegetation influence.");
gd.addNumericField("Max terrain elevation",terr_max_elev_terr,0,3,"pix","Maximal terrain offset to consider when looking for variable-elevation terrain.");
gd.addNumericField("(Min influenced scenes)",terr_min_scenes,0,3,"","Deprecated: 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).");
@@ -2084,8 +2086,10 @@ public class VegetationModel {
false,// final boolean keep_parameters,
woi,// final Rectangle woi,
null,// final Rectangle woi_veg_in, // used when loading from file (may be different)
null,// final Rectangle woi_terr_in, // used when loading from file (may be different)
max_warp,// final double max_warp, // 1.8 - do not use scenes where distance between vegetation projection exceeds this
max_offset,// final int max_offset, // maximal "elevation" to consider
max_elevation,// final int max_offset, // maximal "elevation" to consider
max_elev_terr,// final int max_elev_terr, // maximal terrain "elevation" to consider
elevation_radius,// final double elevation_radius, // Radius of elevation/vegetation influence.
null,// final boolean [] valid_scene_pix,
hifreq_weight,//final double hifreq_weight, // 22.5 0 - do not use high-freq. Relative weight of laplacian components
...
...
@@ -2095,6 +2099,7 @@ public class VegetationModel {
fit_alpha,// final boolean adjust_alpha,
fit_scenes,// final boolean adjust_scenes,
fit_elevations,// final boolean adjust_elevations,
fit_terr_elev,// final boolean fit_terr_elev,
thisOrLast(step_restore,fits_disable),// fits_disables[0], // final boolean [] fit_disable,
reg_weights,// final double reg_weights, // fraction of the total weight used for regularization
alpha_loss,// final double alpha_loss, // alpha quadratic growing loss for when out of [0,1] range
...
...
@@ -2189,7 +2194,7 @@ public class VegetationModel {
vegetationLMA.restoreParametersFile(//FIXME: Not finished for real import !
par_path,// String path,
true,// boolean keep_settings,
null,// Rectangle [] file_wois); // if not null, should be Rectangle[2] {woi_veg,woi} - will return woi data and not input parameters to this instance
/// null, // Rectangle [] file_wois); // if not null, should be Rectangle[2] {woi_veg,woi} - will return woi data and not input parameters to this instance
null);// double [] other_pars)
if(thisOrLast(step_restore,recalc_weights)){
System.out.println("---- Recalculating weights from transparency after loading parameters");
...
...
@@ -2230,13 +2235,16 @@ public class VegetationModel {