Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dframe_pair.cc202 const WeightedDelta* const weighted_deltas, in GetMedian() argument
211 if (weighted_deltas[i].weight > 0.0f) { in GetMedian()
212 current_weight += weighted_deltas[i].weight; in GetMedian()
214 return weighted_deltas[i].delta; in GetMedian()
227 static WeightedDelta weighted_deltas[kMaxKeypoints]; in GetWeightedMedian() local
235 weighted_deltas[i].delta = deltas[i].x; in GetWeightedMedian()
237 weighted_deltas[i].weight = weight; in GetWeightedMedian()
242 qsort(weighted_deltas, kMaxKeypoints, sizeof(WeightedDelta), in GetWeightedMedian()
244 median_delta.x = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); in GetWeightedMedian()
254 weighted_deltas[i].weight = weight; in GetWeightedMedian()
[all …]