14 #include <s2proc/trace.hpp>
51 std::string toString(
const Direction &dir);
64 typedef std::map<int, Trace::TimeT> Statics;
67 typedef std::map<int, std::pair<int, float> > CCF1_ROW;
72 typedef std::map<int, CCF1_ROW> ROW_AR;
77 typedef std::map<int, ROW_AR> STRIDE_AR;
86 typedef std::multimap<int, Trace> ROW;
92 typedef std::map<PSC::StMode, std::map<int, PSC::ROW> > ROWS_MAP;
101 typedef std::pair<int, int> POINT_ID;
106 typedef std::map<PSC::POINT_ID, Trace> ROW3D;
113 typedef std::map<PSC::POINT_ID, PSC::ROW3D> ROW3D_AR;
117 typedef std::map<PSC::Direction, PSC::ROW3D_AR> CCF_AR;
122 double calc_offset_weight(
double L,
129 bool get_max_in_win(
float *samples,
int samples_count,
int max_shift, std::pair<int, float> &max_pair);
131 bool get_max_in_win_tr(
const Trace &tr,
float max_shift, std::pair<int, float> &max_pair);
133 bool get_intersection_3d(
const ROW3D &add_row,
const ROW3D &base_row,
float &intersection);
135 bool get_best_row(
const std::map<
int, std::map<int, PSC::ROW3D> > &rows,
136 const std::set<int> &lines,
138 std::map<int, PSC::ROW3D> &best_rows,
142 bool row3d2d_convertor(
const std::map<int, PSC::ROW3D> &row_3d,
143 std::map<int, PSC::ROW> &row_2d,
147 bool stack_rows_3d(PSC::ROW3D &base_row,
150 std::map<PSC::POINT_ID, int> &count_ar);
float time_width
Definition: polycor.hpp:24
float l_half
Definition: polycor.hpp:30
float offset_range[2]
Definition: polycor.hpp:26
float ccf_length
Definition: polycor.hpp:25
float l_eps
Definition: polycor.hpp:31
float start_time
Definition: polycor.hpp:23
float max_shift
Definition: polycor.hpp:27
float l_max
Definition: polycor.hpp:29
bool use_offset_weights_flag
Definition: polycor.hpp:28
unsigned int stride_num
Definition: polycor.hpp:22
int corr_direct
Definition: polycor.hpp:21
Definition: polycor.hpp:19