Lines Matching refs:wedges
336 std::map<std::pair<int, int>, int> wedges; // weighted edges in findEdges() local
342 wedges[std::make_pair(ci, cj)] = 0; in findEdges()
343 wedges[std::make_pair(cj, ci)] = 0; in findEdges()
357 wedges[std::make_pair(ci, labels_(y, x-1)-1)]++; in findEdges()
358 wedges[std::make_pair(labels_(y, x-1)-1, ci)]++; in findEdges()
363 wedges[std::make_pair(ci, labels_(y-1, x)-1)]++; in findEdges()
364 wedges[std::make_pair(labels_(y-1, x)-1, ci)]++; in findEdges()
369 wedges[std::make_pair(ci, labels_(y, x+1)-1)]++; in findEdges()
370 wedges[std::make_pair(labels_(y, x+1)-1, ci)]++; in findEdges()
375 wedges[std::make_pair(ci, labels_(y+1, x)-1)]++; in findEdges()
376 wedges[std::make_pair(labels_(y+1, x)-1, ci)]++; in findEdges()
387 std::map<std::pair<int, int>, int>::iterator itr = wedges.find(std::make_pair(ci, cj)); in findEdges()
388 if (itr != wedges.end() && itr->second > 0) in findEdges()
391 itr = wedges.find(std::make_pair(cj, ci)); in findEdges()
392 if (itr != wedges.end() && itr->second > 0) in findEdges()