gd.addNumericField("Minimal relative full correlation",min_corr_full_rel,5,7,"","Minimal relative correlation value with full circular pattern to keep.");
gd.addNumericField("Minimal relative full correlation",min_corr_full_rel,5,7,"","Minimal relative correlation value with full circular pattern to keep.");
...
@@ -1806,11 +1814,18 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1806,11 +1814,18 @@ public class OrthoMapsCollection implements Serializable{
gd.addNumericField("Correlation size",corr_size,0,4,"pix","Should be power of 2.");
gd.addNumericField("Correlation size",corr_size,0,4,"pix","Should be power of 2.");
gd.addNumericField("Adversarial distance",adv_radius,1,6,"pix","Suppress weaker if they have closer strong ones.");
gd.addNumericField("Adversarial distance",adv_radius,1,6,"pix","Suppress weaker if they have closer strong ones.");
gd.addNumericField("Search other scene max",search_radius,1,6,"pix","Search for other scene max from the main one.");
gd.addNumericField("Search other scene max",search_radius,1,6,"pix","Search for other scene max from the main one.");
gd.addNumericField("Scale warp",scale_warp,1,6,"x","Scale second image warping.");
gd.addNumericField("Scale warp",scale_warp,1,6,"x","Scale second image warping.");
gd.addNumericField("Extract object size",extr_size,0,4,"","Size of square object image to extract.");
gd.addNumericField("Extract object size",extr_size,0,4,"","Size of square object image to extract.");
gd.addCheckbox("Remove DC",remove_dc,"Remove DC in extracted object images.");
gd.addCheckbox("Remove DC",remove_dc,"Remove DC in extracted object images.");
gd.addMessage("--- Filtering results ---");
gd.addTab("Absolute Contrast","Preparing absolute contrast measurements for the main scene");
gd.addNumericField("Edge cutt-off fraction (<0.5)",abs_edge_frac,5,7,"","Used for extracting inner and outer zones from tha existing patterns.");
gd.addNumericField("Radius of outer ring to pattern radius",abs_oversize,5,7,"","Outer ring external radius as a mupltile of the pattern radius.");
gd.addNumericField("Update subpattern mode",abs_mode,0,4,"","0 - keep, 1 keep type and if half, only change by +/-1, 2 - keep type, 3 - any.");
gd.addCheckbox("Cold center",abs_invert,"Center pattern values are lower than around.");
gd.addNumericField("Outlier fraction when averaging",abs_outliers_frac,5,7,"","Discard this fraction of pixels in inner and outer zones when averaging.");
gd.addTab("Filters","Filtering results to reduce false positives");
gd.addCheckbox("Keep filtered out",filt_keep,"List filtered out, but actaually keep them.");
gd.addCheckbox("Keep filtered out",filt_keep,"List filtered out, but actaually keep them.");
gd.addCheckbox("Apply filters at once",filt_atonce,"If false, first filter by main scene only, do not process secondary scene if main failed.");
gd.addCheckbox("Apply filters at once",filt_atonce,"If false, first filter by main scene only, do not process secondary scene if main failed.");
gd.addNumericField("Peak hight fraction",filt_frac_max,5,7,"","Fraction of the peak hight for eigenvlues (radius and elongation).");
gd.addNumericField("Peak hight fraction",filt_frac_max,5,7,"","Fraction of the peak hight for eigenvlues (radius and elongation).");
...
@@ -1832,16 +1847,14 @@ public class OrthoMapsCollection implements Serializable{
...
@@ -1832,16 +1847,14 @@ 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 absolute contrast",filt_abs_contrast,5,7,"","Minimal absolute difference between center and peripheral areas of the main scene objects.");
// 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