Home
last modified time | relevance | path

Searched refs:mean_offset (Results 1 – 6 of 6) sorted by relevance

/external/libxcam/xcore/interface/
Dfeature_match.cpp63 …tureMatch::get_mean_offset (std::vector<float> &offsets, float sum, int &count, float &mean_offset) in get_mean_offset() argument
68 mean_offset = sum / count; in get_mean_offset()
73 _fm_idx, mean_offset, 0.0f, 0, count); in get_mean_offset()
78 float pre_mean_offset = mean_offset; in get_mean_offset()
84 if (fabs (offsets[i] - mean_offset) >= _config.recur_offset_error) in get_mean_offset()
95 mean_offset = sum / recur_count; in get_mean_offset()
99 _fm_idx, mean_offset, pre_mean_offset, try_times, recur_count); in get_mean_offset()
102 if (mean_offset == pre_mean_offset && recur_count == count) in get_mean_offset()
105 if (fabs (mean_offset - pre_mean_offset) > fabs (delta) * 1.2f) { in get_mean_offset()
110 delta = mean_offset - pre_mean_offset; in get_mean_offset()
[all …]
Dfeature_match.h78 bool get_mean_offset (std::vector<float> &offsets, float sum, int &count, float &mean_offset);
/external/libxcam/modules/soft/
Dcv_capi_feature_match.cpp143 float mean_offset = 0.0f; in calc_of_match() local
165 bool ret = get_mean_offset (offsets, offset_sum, count, mean_offset); in calc_of_match()
167 if (fabs (mean_offset - last_mean_offset) < _config.delta_mean_offset) { in calc_of_match()
168 …out_x_offset = out_x_offset * _config.offset_factor + mean_offset * (1.0f - _config.offset_factor); in calc_of_match()
176 last_mean_offset = mean_offset; in calc_of_match()
182 int &valid_count, float &mean_offset, float &x_offset, int dst_width) in detect_and_match() argument
215 status, err, valid_count, mean_offset, x_offset); in detect_and_match()
Dcv_capi_feature_match.h71 int &valid_count, float &mean_offset, float &x_offset, int dst_width);
/external/libxcam/modules/ocl/
Dcv_feature_match.cpp156 float mean_offset = 0.0f; in calc_of_match() local
167 bool ret = get_mean_offset (offsets, offset_sum, count, mean_offset); in calc_of_match()
169 if (fabs (mean_offset - last_mean_offset) < _config.delta_mean_offset) { in calc_of_match()
170 …out_x_offset = out_x_offset * _config.offset_factor + mean_offset * (1.0f - _config.offset_factor); in calc_of_match()
178 last_mean_offset = mean_offset; in calc_of_match()
184 int &valid_count, float &mean_offset, float &x_offset, int dst_width) in detect_and_match() argument
208 status, err, valid_count, mean_offset, x_offset); in detect_and_match()
Dcv_feature_match.h70 int &valid_count, float &mean_offset, float &x_offset, int dst_width);