Home
last modified time | relevance | path

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

/external/opencv3/modules/imgproc/src/
Dlsd.cpp982 std::vector<edge> ordered_x(4); in rect_nfa() local
983 edge* min_y = &ordered_x[0]; in rect_nfa()
984 edge* max_y = &ordered_x[0]; // Will be used for loop range in rect_nfa()
986ordered_x[0].p.x = int(rec.x1 - dyhw); ordered_x[0].p.y = int(rec.y1 + dxhw); ordered_x[0].taken =… in rect_nfa()
987ordered_x[1].p.x = int(rec.x2 - dyhw); ordered_x[1].p.y = int(rec.y2 + dxhw); ordered_x[1].taken =… in rect_nfa()
988ordered_x[2].p.x = int(rec.x2 + dyhw); ordered_x[2].p.y = int(rec.y2 - dxhw); ordered_x[2].taken =… in rect_nfa()
989ordered_x[3].p.x = int(rec.x1 + dyhw); ordered_x[3].p.y = int(rec.y1 - dxhw); ordered_x[3].taken =… in rect_nfa()
991 std::sort(ordered_x.begin(), ordered_x.end(), AsmallerB_XoverY); in rect_nfa()
996 if(min_y->p.y > ordered_x[i].p.y) {min_y = &ordered_x[i]; } in rect_nfa()
997 if(max_y->p.y < ordered_x[i].p.y) {max_y = &ordered_x[i]; } in rect_nfa()
[all …]