// final double tmtch_axv = clt_parameters.imp.cuas_tmtch_axv;
// final double tmtch_axv = clt_parameters.imp.cuas_tmtch_axv;
// final double tmtch_axv_k = clt_parameters.imp.cuas_tmtch_axv_k;
// final double tmtch_axv_k = clt_parameters.imp.cuas_tmtch_axv_k;
// final double tmtch_disp = clt_parameters.imp.cuas_tmtch_disp;
// final double tmtch_disp = clt_parameters.imp.cuas_tmtch_disp;
finaldoublelocal_disp_diff=clt_parameters.imp.cuas_local_diff;// maximal disparity difference to match 3d (regardless of absolute disparity
// final double min_disp = clt_parameters.imp.cuas_tmtch_disp + clt_parameters.imp.cuas_infinity; // minimal "raw" disparity (with infinity at cuas_infinity)
finalbooleanshortest_gap=clt_parameters.imp.cuas_tmtch_short;// if two merges conflict, use one with the shortest gap (false - longest combo). Pairwise only
finalbooleanshortest_gap=clt_parameters.imp.cuas_tmtch_short;// if two merges conflict, use one with the shortest gap (false - longest combo). Pairwise only
finaldoubletmtch_pix2=tmtch_apix*tmtch_apix;
finaldoublelocal_pix2=local_apix*local_apix;
// final double velocity_scale = 1.0/clt_parameters.imp.cuas_corr_offset;
// final double velocity_scale = 1.0/clt_parameters.imp.cuas_corr_offset;
finaldoublemin_disp=clt_parameters.imp.cuas_tmtch_disp+clt_parameters.imp.cuas_infinity;// minimal "raw" disparity (with infinity at cuas_infinity)
finaldoubletmtch_disp_diff=clt_parameters.imp.cuas_tmtch_diff;// maximal disparity difference to match 3d (regardless of absolute disparity
finaldoublemin_disp=clt_parameters.imp.cuas_tmtch_disp+clt_parameters.imp.cuas_infinity;// minimal "raw" disparity (with infinity at cuas_infinity)
finalbooleanshortest_gap=clt_parameters.imp.cuas_tmtch_short;// if two merges conflict, use one with the shortest gap (false - longest combo). Pairwise only
finalbooleanshortest_gap=clt_parameters.imp.cuas_tmtch_short;// if two merges conflict, use one with the shortest gap (false - longest combo). Pairwise only
// final double tmtch_pix2 = tmtch_apix * tmtch_apix;
// final double tmtch_pix2 = tmtch_apix * tmtch_apix;
...
@@ -581,12 +719,16 @@ public class CuasMultiSeries {
...
@@ -581,12 +719,16 @@ public class CuasMultiSeries {
pairs[0]=newint[0][];
pairs[0]=newint[0][];
}
}
// pair[0] is local target index, not the target group
// pair[0] is local target index, not the target group
publicdoublecuas_known_err=20;// pix, mark as "identified" when closer to the flight log position
publicdoublecuas_known_err=20;// pix, mark as "identified" when closer to the flight log position
publicdoublecuas_tmtch_frac=0.8;// target should match flight log in theis fraction of keyframes
publicdoublecuas_tmtch_frac=0.8;// target should match flight log in theis fraction of keyframes
publicintcuas_tmtch_ends=2;// maximal number of undetected first/last keyframes to compare to previous/next sequence
publicintcuas_tmtch_ends=6;// 2; // maximal number of undetected first/last keyframes to compare to previous/next sequence
publicintcuas_tmtch_gaps=4;// maximal number of consecutive undetected keyframes of the same target
publicintcuas_tmtch_gaps=10;// 4; // maximal number of consecutive undetected keyframes of the same target
publicdoublecuas_tmtch_pix=10.0;// maximal pixel mismatch for UAS target
publicdoublecuas_tmtch_pix=10.0;// maximal pixel mismatch for UAS target
publicdoublecuas_tmtch_apix=10.0;// maximal absolute pixel mismatch for the same target extrapolated with the average of the before/after lateral speeds
publicdoublecuas_local_apix=2.0;// maximal absolute pixel mismatch for local targets matching (tightened)
publicdoublecuas_tmtch_rpix=1.0;// maximal pixel/s mismatch for the same target extrapolated with the average of the before/after lateral speeds
publicdoublecuas_tmtch_apix=5.0;// 10.0; // maximal absolute pixel mismatch for the same target extrapolated with the average of the before/after lateral speeds
publicdoublecuas_tmtch_axv=20.0;// m/s maximal axial (range) velocity in m/s
publicdoublecuas_tmtch_rpix=1.0;// maximal pixel/s mismatch for the same target extrapolated with the average of the before/after lateral speeds
publicdoublecuas_tmtch_axv=50.0;//20.0; // m/s maximal axial (range) velocity in m/s
publicdoublecuas_tmtch_axv_k=3.0;// maximal axial (range) velocity to lateral velocity ratio (take max)
publicdoublecuas_tmtch_axv_k=3.0;// maximal axial (range) velocity to lateral velocity ratio (take max)