@@ -1781,7 +1782,7 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1781,7 +1782,7 @@ public class OrthoMapsCollection implements Serializable{
intabs_mode=1;// 0 - keep, 1 keep type and if half +/-1, 2 - keep type, 3 - any, force full pattern
intabs_mode=1;// 0 - keep, 1 keep type and if half +/-1, 2 - keep type, 3 - any, force full pattern
booleanabs_invert=true;// center has lower value than around
booleanabs_invert=true;// center has lower value than around
doubleabs_outliers_frac=0.3;
doubleabs_outliers_frac=0.3;
booleanabs_obscure_warm=true;// obscured can only be by warmer objects
booleanabs_obscure_warm=false;// true; // obscured can only be by warmer objects
doubleabs_obscure_frac=0.25;// obscured threshold between center and outer
doubleabs_obscure_frac=0.25;// obscured threshold between center and outer
// filters
// filters
...
@@ -1800,6 +1801,7 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1800,6 +1801,7 @@ public class OrthoMapsCollection implements Serializable{
doublefilt_height=0.2;// allow extra negative offset parallel to image offset, corresponding to object above ground
doublefilt_height=0.2;// allow extra negative offset parallel to image offset, corresponding to object above ground
// double [] filt_full_half_frac = {0.7, 0.5}; // second probably not needed, it is for main
// double [] filt_full_half_frac = {0.7, 0.5}; // second probably not needed, it is for main
double[]filt_full_half_frac={0.675,0.5};// second probably not needed, it is for main
double[]filt_full_half_frac={0.675,0.5};// second probably not needed, it is for main
double[]filt_roundness={0.6,0.0};// second currently is not calculated/ used
doublefilt_abs_contrast=80.0;// 50.0;
doublefilt_abs_contrast=80.0;// 50.0;
doublefilt_abs_easepart=1.0;// 1.0-no ease for low AGL. Allow lower absolute contrast for partial patterns (high AGL)
doublefilt_abs_easepart=1.0;// 1.0-no ease for low AGL. Allow lower absolute contrast for partial patterns (high AGL)
booleanconvolve_after=false;// true for old kernel tuning (kernel decimation before convolution)
booleanconvolve_after=false;// true for old kernel tuning (kernel decimation before convolution)
...
@@ -1816,7 +1818,7 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1816,7 +1818,7 @@ public class OrthoMapsCollection implements Serializable{
phaseCoeff[0]=0.9;
phaseCoeff[0]=0.9;
// adv_radius = 20; // pix?
// adv_radius = 20; // pix?
}else{// 100m defaults
}else{// 100m defaults
min_corrs[0]=0.0119;
min_corrs[0]=0.009;// 119;
abs_edge_frac=0.35;
abs_edge_frac=0.35;
abs_oversize=2.2;
abs_oversize=2.2;
filt_abs_contrast=60;
filt_abs_contrast=60;
...
@@ -1882,6 +1884,8 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1882,6 +1884,8 @@ public class OrthoMapsCollection implements Serializable{
gd.addNumericField("Maximal object height",filt_height,5,7,"m","Maximal object height to allow extra offset.");
gd.addNumericField("Maximal object height",filt_height,5,7,"m","Maximal object height to allow extra offset.");
gd.addNumericField("Full/half corr minimal ratio, main",filt_full_half_frac[0],5,7,"","Minimal correlation with full pattern strength ratio to correlation with a half-pattern.");
gd.addNumericField("Full/half corr minimal ratio, main",filt_full_half_frac[0],5,7,"","Minimal correlation with full pattern strength ratio to correlation with a half-pattern.");
gd.addNumericField("Full/half corr minimal ratio, other",filt_full_half_frac[1],5,7,"","Minimal correlation with full pattern strength ratio to correlation with a half-pattern.");
gd.addNumericField("Full/half corr minimal ratio, other",filt_full_half_frac[1],5,7,"","Minimal correlation with full pattern strength ratio to correlation with a half-pattern.");
gd.addNumericField("Minimal roundness of round, main",filt_roundness[0],5,7,"","Minimal ratio of worst half-pattern correlation to the full-pattern ones. Only for full patterns.");
gd.addNumericField("Minimal absolute contrast",filt_abs_contrast,5,7,"","Minimal absolute difference between center and peripheral areas of the main scene objects.");
gd.addNumericField("Minimal absolute contrast",filt_abs_contrast,5,7,"","Minimal absolute difference between center and peripheral areas of the main scene objects.");
gd.addNumericField("Ease absolute contrast for halves",filt_abs_easepart,5,7,"","Ease absolute contast requirements for high AGL (low resolution).");
gd.addNumericField("Ease absolute contrast for halves",filt_abs_easepart,5,7,"","Ease absolute contast requirements for high AGL (low resolution).");
//
//
...
@@ -1937,6 +1941,7 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1937,6 +1941,7 @@ public class OrthoMapsCollection implements Serializable{
filt_height=gd.getNextNumber();
filt_height=gd.getNextNumber();
filt_full_half_frac[0]=gd.getNextNumber();
filt_full_half_frac[0]=gd.getNextNumber();
filt_full_half_frac[1]=gd.getNextNumber();
filt_full_half_frac[1]=gd.getNextNumber();
filt_roundness[0]=gd.getNextNumber();
filt_abs_contrast=gd.getNextNumber();
filt_abs_contrast=gd.getNextNumber();
filt_abs_easepart=gd.getNextNumber();
filt_abs_easepart=gd.getNextNumber();
debugLevel=(int)gd.getNextNumber();
debugLevel=(int)gd.getNextNumber();
...
@@ -1976,6 +1981,7 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1976,6 +1981,7 @@ public class OrthoMapsCollection implements Serializable{
// boolean is_partial = best_patt_indx[mn] != 0; // only apply to combined full/half correlations, just full may have nearby maximums near the same size
booleanis_partial=best_patt!=1;// only apply to combined full/half correlations, just full may have nearby maximums near the same size
booleanis_partial=best_patt!=1;// only apply to combined full/half correlations, just full may have nearby maximums near the same size