publicdoubleterr_elev_radius_extra=1.2;// scale both radii when setupElevationLMA(), and setupTerrainElevationPixLMA() (not setupTerrainElevationLMA())
// if (imp_pars.getProperty("TERRAIN_OFFSET") != null) terrain_offset = Double.parseDouble((String) imp_pars.getProperty("TERRAIN_OFFSET"));
// if (imp_pars.getProperty("TERRAIN_OFFSET") != null) terrain_offset = Double.parseDouble((String) imp_pars.getProperty("TERRAIN_OFFSET"));
...
@@ -6131,6 +6124,8 @@ public class VegetationLMA {
...
@@ -6131,6 +6124,8 @@ public class VegetationLMA {
getProperty(imp_pars,"MAX_ELEV_TERR",max_elev_terr),// final int max_elev_terr, // maximal terrain "elevation" to consider
getProperty(imp_pars,"MAX_ELEV_TERR",max_elev_terr),// final int max_elev_terr, // maximal terrain "elevation" to consider
getProperty(imp_pars,"MAX_ELEV_TERR_CHG",max_elev_terr_chg),// final double max_elev_terr_chg, // 0.5 maximal terrain elevation change from last successfully used
getProperty(imp_pars,"MAX_ELEV_TERR_CHG",max_elev_terr_chg),// final double max_elev_terr_chg, // 0.5 maximal terrain elevation change from last successfully used
getProperty(imp_pars,"ELEVATION_RADIUS",elevation_radius),// final double elevation_radius, // Radius of elevation/vegetation influence.
getProperty(imp_pars,"ELEVATION_RADIUS",elevation_radius),// final double elevation_radius, // Radius of elevation/vegetation influence.
getProperty(imp_pars,"TERR_ELEV_RADIUS",terr_elev_radius),// final double terr_elev_radius, // = 1.5;
getProperty(imp_pars,"ELEV_RADIUS_EXTRA",elev_radius_extra),// final double elev_radius_extra, // = 1.2; // scale both radii when setupElevationLMA(), setupTerrainElevationLMA(), and setupTerrainElevationPixLMA()
valid_scene_pix,// final boolean [] valid_scene_pix, valid_scene_pix_in, // may have nulls or be shorter (do not update "overlaid")
valid_scene_pix,// final boolean [] valid_scene_pix, valid_scene_pix_in, // may have nulls or be shorter (do not update "overlaid")
getProperty(imp_pars,"HIGHFREQ_WEIGHT",hifreq_weight),// final double hifreq_weight, // 22.5 0 - do not use high-freq. Relative weight of laplacian components
getProperty(imp_pars,"HIGHFREQ_WEIGHT",hifreq_weight),// final double hifreq_weight, // 22.5 0 - do not use high-freq. Relative weight of laplacian components
getProperty(imp_pars,"TERRAIN_CORRECTION",terrain_correction),// final double terrain_correction,
getProperty(imp_pars,"TERRAIN_CORRECTION",terrain_correction),// final double terrain_correction,
doubleelev_radius_extra=clt_parameters.imp.terr_elev_radius_extra;// scale both radii when setupElevationLMA(), setupTerrainElevationLMA(), and setupTerrainElevationPixLMA()
doublealpha_sigma=clt_parameters.imp.terr_alpha_sigma;// 8.0; // Initial alpha: Gaussian blur sigma to find local average for vegetation temperature.
doublealpha_sigma=clt_parameters.imp.terr_alpha_sigma;// 8.0; // Initial alpha: Gaussian blur sigma to find local average for vegetation temperature.
...
@@ -2133,6 +2136,8 @@ public class VegetationModel {
...
@@ -2133,6 +2136,8 @@ public class VegetationModel {
max_elev_terr,// final int max_elev_terr, // maximal terrain "elevation" to consider
max_elev_terr,// final int max_elev_terr, // maximal terrain "elevation" to consider
max_elev_terr_chg,// final double max_elev_terr_chg,// 0.5 maximal terrain elevation change from last successfully used
max_elev_terr_chg,// final double max_elev_terr_chg,// 0.5 maximal terrain elevation change from last successfully used
elevation_radius,// final double elevation_radius, // Radius of elevation/vegetation influence.
elevation_radius,// final double elevation_radius, // Radius of elevation/vegetation influence.
terr_elev_radius,// final double terr_elev_radius, // = 1.5;
elev_radius_extra,// final double elev_radius_extra, // = 1.2; // scale both radii when setupElevationLMA(), setupTerrainElevationLMA(), and setupTerrainElevationPixLMA()
null,// final boolean [] valid_scene_pix,
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
hifreq_weight,//final double hifreq_weight, // 22.5 0 - do not use high-freq. Relative weight of laplacian components
terrain_correction,// final double terrain_correction,
terrain_correction,// final double terrain_correction,