if(properties.getProperty(prefix+"lre_temp_same_radius")!=null)this.lre_temp_same_radius=Integer.parseInt(properties.getProperty(prefix+"lre_temp_same_radius"));// int
if(properties.getProperty(prefix+"lre_temp_min")!=null)this.lre_temp_min=Integer.parseInt(properties.getProperty(prefix+"lre_temp_min"));// int
if(properties.getProperty(prefix+"lre_temp_min")!=null)this.lre_temp_min=Integer.parseInt(properties.getProperty(prefix+"lre_temp_min"));// int
// maybe multiple backgrounds? Then combine them all
// maybe multiple backgrounds? Then combine them all
...
@@ -5705,6 +5729,7 @@ public class TexturedModel {
...
@@ -5705,6 +5729,7 @@ public class TexturedModel {
//"Trimming by temperature (tone)
//"Trimming by temperature (tone)
finalbooleantemp_use_min_max=clt_parameters.lre_use_min_max;// = true; // when trimming by tone, use min/max of the FG/BG instead of weighted averages
finalbooleantemp_use_min_max=clt_parameters.lre_use_min_max;// = true; // when trimming by tone, use min/max of the FG/BG instead of weighted averages
finaldoubletemp_radius=clt_parameters.lre_temp_radius;// 11.5; // How far to look around for FG trimming by temperature
finaldoubletemp_radius=clt_parameters.lre_temp_radius;// 11.5; // How far to look around for FG trimming by temperature
finalinttemp_same_radius=clt_parameters.lre_temp_same_radius;// 2; // New opaque/transparent pixel should have same within +/- this radius from it (<=0 - disable)
finalinttemp_min=clt_parameters.lre_temp_min;// 2; // Minimal number of each of FG/BG while trimming by temperature
finalinttemp_min=clt_parameters.lre_temp_min;// 2; // Minimal number of each of FG/BG while trimming by temperature
finaldoubletemp_weight=clt_parameters.lre_temp_weight;//20.0; // Multiply -1.0..+1.0 range of the current pixel between average BG(-1) and FG(+1)
finaldoubletemp_weight=clt_parameters.lre_temp_weight;//20.0; // Multiply -1.0..+1.0 range of the current pixel between average BG(-1) and FG(+1)
finaldoublemin_use_occl=clt_parameters.lre_min_use_occl;// 1.5; // Minimal FG/BG difference to use trimming by occlusions. For lower use only
finaldoublemin_use_occl=clt_parameters.lre_min_use_occl;// 1.5; // Minimal FG/BG difference to use trimming by occlusions. For lower use only
...
@@ -6079,6 +6104,7 @@ public class TexturedModel {
...
@@ -6079,6 +6104,7 @@ public class TexturedModel {
//"Trimming by temperature (tone)
//"Trimming by temperature (tone)
temp_use_min_max,// final boolean use_min_max, // when trimming by tone, use min/max of the FG/BG instead of weighted averages
temp_use_min_max,// final boolean use_min_max, // when trimming by tone, use min/max of the FG/BG instead of weighted averages
temp_radius,// final double temp_radius, // = 5.0; // How far to look around for FG trimming by temperature
temp_radius,// final double temp_radius, // = 5.0; // How far to look around for FG trimming by temperature
temp_same_radius,// final int temp_same_radius, // = 2; New opaque/transparent pixel should have same within +/- his radius
temp_min,// final int temp_min, // = 2; // Minimal number of each of FG/BG while trimming by temperature
temp_min,// final int temp_min, // = 2; // Minimal number of each of FG/BG while trimming by temperature
temp_weight,// final double temp_weight, // = 5.0; // Multiply -1.0..+1.0 range of the current pixel between average BG(-1) and FG(+1)
temp_weight,// final double temp_weight, // = 5.0; // Multiply -1.0..+1.0 range of the current pixel between average BG(-1) and FG(+1)
min_use_occl,// final double min_use_occl,// = 1.5; // Minimal FG/BG difference to use trimming by occlusions. For lower use only
min_use_occl,// final double min_use_occl,// = 1.5; // Minimal FG/BG difference to use trimming by occlusions. For lower use only
...
@@ -6830,7 +6856,7 @@ public class TexturedModel {
...
@@ -6830,7 +6856,7 @@ public class TexturedModel {
THREADS_MAX);// final int threadsMax) // maximal number of threads to launch
THREADS_MAX);// final int threadsMax) // maximal number of threads to launch