edge 1797 modules/core/include/opencv2/core/core_c.h const CvGraphEdge* edge CV_DEFAULT(NULL), edge 1802 modules/core/include/opencv2/core/core_c.h const CvGraphEdge* edge CV_DEFAULT(NULL), edge 1834 modules/core/include/opencv2/core/core_c.h #define cvGraphEdgeIdx( graph, edge ) ((edge)->flags & CV_SET_ELEM_IDX_MASK) edge 1855 modules/core/include/opencv2/core/core_c.h #define CV_IS_GRAPH_EDGE_VISITED(edge) \ edge 1856 modules/core/include/opencv2/core/core_c.h (((CvGraphEdge*)(edge))->flags & CV_GRAPH_ITEM_VISITED_FLAG) edge 1864 modules/core/include/opencv2/core/core_c.h CvGraphEdge* edge; /* current edge */ edge 1648 modules/core/include/opencv2/core/types_c.h #define CV_NEXT_GRAPH_EDGE( edge, vertex ) \ edge 1649 modules/core/include/opencv2/core/types_c.h (assert((edge)->vtx[0] == (vertex) || (edge)->vtx[1] == (vertex)), \ edge 1650 modules/core/include/opencv2/core/types_c.h (edge)->next[(edge)->vtx[1] == (vertex)]) edge 2648 modules/core/src/datastructs.cpp CvGraphEdge *edge = vtx->first; edge 2649 modules/core/src/datastructs.cpp if( !edge ) edge 2651 modules/core/src/datastructs.cpp cvGraphRemoveEdgeByPtr( graph, edge->vtx[0], edge->vtx[1] ); edge 2677 modules/core/src/datastructs.cpp CvGraphEdge *edge = vtx->first; edge 2680 modules/core/src/datastructs.cpp if( !edge ) edge 2682 modules/core/src/datastructs.cpp cvGraphRemoveEdgeByPtr( graph, edge->vtx[0], edge->vtx[1] ); edge 2712 modules/core/src/datastructs.cpp CvGraphEdge* edge = start_vtx->first; edge 2713 modules/core/src/datastructs.cpp for( ; edge; edge = edge->next[ofs] ) edge 2715 modules/core/src/datastructs.cpp ofs = start_vtx == edge->vtx[1]; edge 2716 modules/core/src/datastructs.cpp assert( ofs == 1 || start_vtx == edge->vtx[0] ); edge 2717 modules/core/src/datastructs.cpp if( edge->vtx[1] == end_vtx ) edge 2721 modules/core/src/datastructs.cpp return edge; edge 2752 modules/core/src/datastructs.cpp CvGraphEdge *edge = 0; edge 2766 modules/core/src/datastructs.cpp edge = cvFindGraphEdgeByPtr( graph, start_vtx, end_vtx ); edge 2767 modules/core/src/datastructs.cpp if( edge ) edge 2771 modules/core/src/datastructs.cpp *_inserted_edge = edge; edge 2779 modules/core/src/datastructs.cpp edge = (CvGraphEdge*)cvSetNew( (CvSet*)(graph->edges) ); edge 2780 modules/core/src/datastructs.cpp assert( edge->flags >= 0 ); edge 2782 modules/core/src/datastructs.cpp edge->vtx[0] = start_vtx; edge 2783 modules/core/src/datastructs.cpp edge->vtx[1] = end_vtx; edge 2784 modules/core/src/datastructs.cpp edge->next[0] = start_vtx->first; edge 2785 modules/core/src/datastructs.cpp edge->next[1] = end_vtx->first; edge 2786 modules/core/src/datastructs.cpp start_vtx->first = end_vtx->first = edge; edge 2788 modules/core/src/datastructs.cpp delta = graph->edges->elem_size - sizeof(*edge); edge 2792 modules/core/src/datastructs.cpp memcpy( edge + 1, _edge + 1, delta ); edge 2793 modules/core/src/datastructs.cpp edge->weight = _edge->weight; edge 2798 modules/core/src/datastructs.cpp memset( edge + 1, 0, delta ); edge 2799 modules/core/src/datastructs.cpp edge->weight = 1.f; edge 2805 modules/core/src/datastructs.cpp *_inserted_edge = edge; edge 2838 modules/core/src/datastructs.cpp CvGraphEdge *edge, *next_edge, *prev_edge; edge 2853 modules/core/src/datastructs.cpp for( ofs = prev_ofs = 0, prev_edge = 0, edge = start_vtx->first; edge != 0; edge 2854 modules/core/src/datastructs.cpp prev_ofs = ofs, prev_edge = edge, edge = edge->next[ofs] ) edge 2856 modules/core/src/datastructs.cpp ofs = start_vtx == edge->vtx[1]; edge 2857 modules/core/src/datastructs.cpp assert( ofs == 1 || start_vtx == edge->vtx[0] ); edge 2858 modules/core/src/datastructs.cpp if( edge->vtx[1] == end_vtx ) edge 2862 modules/core/src/datastructs.cpp if( !edge ) edge 2865 modules/core/src/datastructs.cpp next_edge = edge->next[ofs]; edge 2871 modules/core/src/datastructs.cpp for( ofs = prev_ofs = 0, prev_edge = 0, edge = end_vtx->first; edge != 0; edge 2872 modules/core/src/datastructs.cpp prev_ofs = ofs, prev_edge = edge, edge = edge->next[ofs] ) edge 2874 modules/core/src/datastructs.cpp ofs = end_vtx == edge->vtx[1]; edge 2875 modules/core/src/datastructs.cpp assert( ofs == 1 || end_vtx == edge->vtx[0] ); edge 2876 modules/core/src/datastructs.cpp if( edge->vtx[0] == start_vtx ) edge 2880 modules/core/src/datastructs.cpp assert( edge != 0 ); edge 2882 modules/core/src/datastructs.cpp next_edge = edge->next[ofs]; edge 2888 modules/core/src/datastructs.cpp cvSetRemoveByPtr( graph->edges, edge ); edge 2913 modules/core/src/datastructs.cpp CvGraphEdge *edge; edge 2919 modules/core/src/datastructs.cpp for( edge = vertex->first, count = 0; edge; ) edge 2922 modules/core/src/datastructs.cpp edge = CV_NEXT_GRAPH_EDGE( edge, vertex ); edge 2934 modules/core/src/datastructs.cpp CvGraphEdge *edge; edge 2944 modules/core/src/datastructs.cpp for( edge = vertex->first, count = 0; edge; ) edge 2947 modules/core/src/datastructs.cpp edge = CV_NEXT_GRAPH_EDGE( edge, vertex ); edge 2957 modules/core/src/datastructs.cpp CvGraphEdge* edge; edge 3097 modules/core/src/datastructs.cpp CvGraphEdge* edge; edge 3105 modules/core/src/datastructs.cpp edge = scanner->edge; edge 3114 modules/core/src/datastructs.cpp edge = vtx->first; edge 3120 modules/core/src/datastructs.cpp scanner->edge = vtx->first; edge 3127 modules/core/src/datastructs.cpp while( edge ) edge 3129 modules/core/src/datastructs.cpp dst = edge->vtx[vtx == edge->vtx[0]]; edge 3131 modules/core/src/datastructs.cpp if( !CV_IS_GRAPH_EDGE_VISITED(edge) ) edge 3134 modules/core/src/datastructs.cpp if( !CV_IS_GRAPH_ORIENTED( scanner->graph ) || dst != edge->vtx[0] ) edge 3136 modules/core/src/datastructs.cpp edge->flags |= CV_GRAPH_ITEM_VISITED_FLAG; edge 3141 modules/core/src/datastructs.cpp item.edge = edge; edge 3152 modules/core/src/datastructs.cpp scanner->edge = edge; edge 3165 modules/core/src/datastructs.cpp (edge->flags & CV_GRAPH_FORWARD_EDGE_FLAG) ? edge 3167 modules/core/src/datastructs.cpp edge->flags &= ~CV_GRAPH_FORWARD_EDGE_FLAG; edge 3172 modules/core/src/datastructs.cpp scanner->edge = edge; edge 3183 modules/core/src/datastructs.cpp edge->flags |= CV_GRAPH_FORWARD_EDGE_FLAG; edge 3187 modules/core/src/datastructs.cpp edge = CV_NEXT_GRAPH_EDGE( edge, vtx ); edge 3190 modules/core/src/datastructs.cpp if( !edge ) /* need to backtrack */ edge 3203 modules/core/src/datastructs.cpp edge = item.edge; edge 3209 modules/core/src/datastructs.cpp scanner->edge = edge; edge 3210 modules/core/src/datastructs.cpp scanner->dst = edge->vtx[vtx == edge->vtx[0]]; edge 3234 modules/core/src/datastructs.cpp scanner->edge = 0; edge 3297 modules/core/src/datastructs.cpp CvGraphEdge* edge = (CvGraphEdge*)reader.ptr; edge 3299 modules/core/src/datastructs.cpp CvGraphVtx* new_org = ptr_buffer[edge->vtx[0]->flags]; edge 3300 modules/core/src/datastructs.cpp CvGraphVtx* new_dst = ptr_buffer[edge->vtx[1]->flags]; edge 3301 modules/core/src/datastructs.cpp cvGraphAddEdgeByPtr( result, new_org, new_dst, edge, &dstedge ); edge 3302 modules/core/src/datastructs.cpp dstedge->flags = edge->flags; edge 4514 modules/core/src/persistence.cpp CvGraphEdge* edge = (CvGraphEdge*)reader.ptr; edge 4516 modules/core/src/persistence.cpp ((int*)src_ptr)[0] = edge->vtx[0]->flags; edge 4517 modules/core/src/persistence.cpp ((int*)src_ptr)[1] = edge->vtx[1]->flags; edge 4518 modules/core/src/persistence.cpp *(float*)(src_ptr + sizeof(int)*2) = edge->weight; edge 4523 modules/core/src/persistence.cpp memcpy( src_ptr2, edge + 1, elem_size - sizeof(CvGraphEdge) ); edge 4718 modules/core/src/persistence.cpp CvGraphEdge* edge = 0; edge 4729 modules/core/src/persistence.cpp vtx_buf[vtx1], vtx_buf[vtx2], 0, &edge ); edge 4734 modules/core/src/persistence.cpp edge->weight = *(float*)(dst_ptr + sizeof(int)*2); edge 4739 modules/core/src/persistence.cpp memcpy( edge + 1, dst_ptr2, elem_size - sizeof(CvGraphEdge) ); edge 232 modules/core/test/test_ds.cpp static void cvTsSimpleGraphAddEdge( CvTsSimpleGraph* graph, int idx1, int idx2, void* edge ) edge 245 modules/core/test/test_ds.cpp memcpy( graph->matrix + ofs + 1, edge, graph->edge_size - 1 ); edge 280 modules/core/test/test_ds.cpp char* edge = graph->matrix + (idx1 * graph->vtx->max_count + idx2)*graph->edge_size; edge 281 modules/core/test/test_ds.cpp if( edge[0] ) return edge + 1; edge 1449 modules/core/test/test_ds.cpp CvGraphEdge* edge = 0, *edge2 = 0; edge 1613 modules/core/test/test_ds.cpp edge = cvFindGraphEdge( graph, v_idx[0], v_idx[1] ); edge 1614 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( edge == 0, "Extra edge appeared in the graph" ); edge 1621 modules/core/test/test_ds.cpp edge = (CvGraphEdge*)&elem_buf[0]; edge 1626 modules/core/test/test_ds.cpp edge->weight = (float)(v_idx[0] + v_idx[1]); edge 1638 modules/core/test/test_ds.cpp res = cvGraphAddEdgeByPtr(graph, vtx, vtx2, pass_data ? edge : 0, &edge2); edge 1646 modules/core/test/test_ds.cpp res = cvGraphAddEdge(graph, v_idx[0], v_idx[1], pass_data ? edge : 0, &edge2); edge 1655 modules/core/test/test_ds.cpp (!pass_data || pure_edge_size == 0 || memcmp( edge2 + 1, edge + 1, pure_edge_size ) == 0), edge 1661 modules/core/test/test_ds.cpp memcpy( edge2 + 1, edge + 1, pure_edge_size ); edge 1662 modules/core/test/test_ds.cpp edge2->weight = edge->weight; edge 1669 modules/core/test/test_ds.cpp cvTsSimpleGraphAddEdge( sgraph, v_idx[0], v_idx[1], edge + 1 ); edge 1719 modules/core/test/test_ds.cpp edge = cvFindGraphEdgeByPtr( graph, vtx, vtx2 ); edge 1725 modules/core/test/test_ds.cpp edge = cvFindGraphEdge( graph, v_idx[0], v_idx[1] ); edge 1730 modules/core/test/test_ds.cpp idx = edge->flags; edge 1732 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( edge != 0 && edge->weight == v_idx[0] + v_idx[1] && edge 1733 modules/core/test/test_ds.cpp ((edge->vtx[0] == vtx && edge->vtx[1] == vtx2) || edge 1734 modules/core/test/test_ds.cpp (!CV_IS_GRAPH_ORIENTED(graph) && edge->vtx[1] == vtx && edge->vtx[0] == vtx2)) && edge 1735 modules/core/test/test_ds.cpp (pure_edge_size == 0 || memcmp(edge + 1, edge_data, pure_edge_size) == 0), edge 1753 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( !edge2 && !CV_IS_SET_ELEM(edge), edge 1762 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( graph->edges->free_elems == (CvSetElem*)edge && edge 1960 modules/core/test/test_ds.cpp CvGraphEdge* edge; edge 1961 modules/core/test/test_ds.cpp cvGraphAddEdge( graph, edges[i][0], edges[i][1], 0, &edge ); edge 1962 modules/core/test/test_ds.cpp edge->weight = (float)edges[i][2]; edge 1984 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'t', edge 1992 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'b', edge 2000 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'c', edge 2008 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'f', edge 2075 modules/core/test/test_ds.cpp int edge_idx = scanner->edge->flags & CV_SET_ELEM_IDX_MASK; edge 140 modules/core/test/test_io.cpp CvGraphEdge* edge; edge 141 modules/core/test/test_io.cpp cvGraphAddEdge(graph, edges[i][0], edges[i][1], 0, &edge); edge 142 modules/core/test/test_io.cpp edge->weight = (float)(i+1); edge 701 modules/features2d/src/mser.cpp MSCREdge* edge, edge 753 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 755 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 756 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 757 modules/features2d/src/mser.cpp edge++; edge 763 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 765 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 766 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 767 modules/features2d/src/mser.cpp edge++; edge 777 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 779 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 780 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 781 modules/features2d/src/mser.cpp edge++; edge 782 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 784 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 785 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 786 modules/features2d/src/mser.cpp edge++; edge 792 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 794 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 795 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 796 modules/features2d/src/mser.cpp edge++; edge 797 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 799 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 800 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 801 modules/features2d/src/mser.cpp edge++; edge 806 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 808 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 809 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 810 modules/features2d/src/mser.cpp edge++; edge 815 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 817 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 818 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 819 modules/features2d/src/mser.cpp edge++; edge 820 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 822 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 823 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 824 modules/features2d/src/mser.cpp edge++; edge 830 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; edge 832 modules/features2d/src/mser.cpp edge->left = nodeptr; edge 833 modules/features2d/src/mser.cpp edge->right = nodeptr+1; edge 834 modules/features2d/src/mser.cpp edge++; edge 835 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 837 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 838 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 839 modules/features2d/src/mser.cpp edge++; edge 844 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; edge 845 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; edge 846 modules/features2d/src/mser.cpp edge->right = nodeptr; edge 903 modules/features2d/src/mser.cpp MSCREdge* edge = (MSCREdge*)cvAlloc( Ne*sizeof(edge[0]) ); edge 908 modules/features2d/src/mser.cpp Ne = preprocessMSER_8uC3( map, edge, &emean, src, dx, dy, Ne, params.edgeBlurSize ); edge 910 modules/features2d/src/mser.cpp std::sort(edge, edge + Ne, LessThanEdge()); edge 911 modules/features2d/src/mser.cpp MSCREdge* edge_ub = edge+Ne; edge 912 modules/features2d/src/mser.cpp MSCREdge* edgeptr = edge; edge 1016 modules/features2d/src/mser.cpp cvFree( &edge ); edge 901 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int locate(Point2f pt, CV_OUT int& edge, CV_OUT int& vertex); edge 911 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int getEdge( int edge, int nextEdgeType ) const; edge 912 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int nextEdge(int edge) const; edge 913 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int rotateEdge(int edge, int rotate) const; edge 914 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int symEdge(int edge) const; edge 915 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int edgeOrg(int edge, CV_OUT Point2f* orgpt = 0) const; edge 916 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP int edgeDst(int edge, CV_OUT Point2f* dstpt = 0) const; edge 920 modules/imgproc/include/opencv2/imgproc.hpp void deleteEdge(int edge); edge 923 modules/imgproc/include/opencv2/imgproc.hpp void setEdgePoints( int edge, int orgPt, int dstPt ); edge 926 modules/imgproc/include/opencv2/imgproc.hpp void swapEdges( int edge ); edge 927 modules/imgproc/include/opencv2/imgproc.hpp int isRightOf(Point2f pt, int edge) const; edge 1043 modules/imgproc/src/drawing.cpp edge[2]; edge 1112 modules/imgproc/src/drawing.cpp edge[0].idx = edge[1].idx = imin; edge 1114 modules/imgproc/src/drawing.cpp edge[0].ye = edge[1].ye = y = ymin; edge 1115 modules/imgproc/src/drawing.cpp edge[0].di = 1; edge 1116 modules/imgproc/src/drawing.cpp edge[1].di = npts - 1; edge 1126 modules/imgproc/src/drawing.cpp if( y >= edge[i].ye ) edge 1128 modules/imgproc/src/drawing.cpp int idx = edge[i].idx, di = edge[i].di; edge 1150 modules/imgproc/src/drawing.cpp edge[i].ye = ye; edge 1151 modules/imgproc/src/drawing.cpp edge[i].dx = ((xe - xs)*2 + (ye - y)) / (2 * (ye - y)); edge 1152 modules/imgproc/src/drawing.cpp edge[i].x = xs; edge 1153 modules/imgproc/src/drawing.cpp edge[i].idx = idx; edge 1158 modules/imgproc/src/drawing.cpp if( edge[left].x > edge[right].x ) edge 1164 modules/imgproc/src/drawing.cpp x1 = edge[left].x; edge 1165 modules/imgproc/src/drawing.cpp x2 = edge[right].x; edge 1182 modules/imgproc/src/drawing.cpp x1 += edge[left].dx; edge 1183 modules/imgproc/src/drawing.cpp x2 += edge[right].dx; edge 1185 modules/imgproc/src/drawing.cpp edge[left].x = x1; edge 1186 modules/imgproc/src/drawing.cpp edge[right].x = x2; edge 1209 modules/imgproc/src/drawing.cpp PolyEdge edge; edge 1235 modules/imgproc/src/drawing.cpp edge.y0 = pt0.y; edge 1236 modules/imgproc/src/drawing.cpp edge.y1 = pt1.y; edge 1237 modules/imgproc/src/drawing.cpp edge.x = pt0.x; edge 1241 modules/imgproc/src/drawing.cpp edge.y0 = pt1.y; edge 1242 modules/imgproc/src/drawing.cpp edge.y1 = pt0.y; edge 1243 modules/imgproc/src/drawing.cpp edge.x = pt1.x; edge 1245 modules/imgproc/src/drawing.cpp edge.dx = (pt1.x - pt0.x) / (pt1.y - pt0.y); edge 1246 modules/imgproc/src/drawing.cpp edges.push_back(edge); edge 123 modules/imgproc/src/lsd.cpp inline bool AsmallerB_XoverY(const edge& a, const edge& b) edge 982 modules/imgproc/src/lsd.cpp std::vector<edge> ordered_x(4); edge 983 modules/imgproc/src/lsd.cpp edge* min_y = &ordered_x[0]; edge 984 modules/imgproc/src/lsd.cpp edge* max_y = &ordered_x[0]; // Will be used for loop range edge 1002 modules/imgproc/src/lsd.cpp edge* leftmost = 0; edge 1020 modules/imgproc/src/lsd.cpp edge* rightmost = 0; edge 1038 modules/imgproc/src/lsd.cpp edge* tailp = 0; edge 46 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::nextEdge(int edge) const edge 48 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); edge 49 modules/imgproc/src/subdivision2d.cpp return qedges[edge >> 2].next[edge & 3]; edge 52 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::rotateEdge(int edge, int rotate) const edge 54 modules/imgproc/src/subdivision2d.cpp return (edge & ~3) + ((edge + rotate) & 3); edge 57 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::symEdge(int edge) const edge 59 modules/imgproc/src/subdivision2d.cpp return edge ^ 2; edge 62 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::getEdge(int edge, int nextEdgeType) const edge 64 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); edge 65 modules/imgproc/src/subdivision2d.cpp edge = qedges[edge >> 2].next[(edge + nextEdgeType) & 3]; edge 66 modules/imgproc/src/subdivision2d.cpp return (edge & ~3) + ((edge + (nextEdgeType >> 4)) & 3); edge 69 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::edgeOrg(int edge, CV_OUT Point2f* orgpt) const edge 71 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); edge 72 modules/imgproc/src/subdivision2d.cpp int vidx = qedges[edge >> 2].pt[edge & 3]; edge 81 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::edgeDst(int edge, CV_OUT Point2f* dstpt) const edge 83 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); edge 84 modules/imgproc/src/subdivision2d.cpp int vidx = qedges[edge >> 2].pt[(edge + 2) & 3]; edge 179 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::setEdgePoints(int edge, int orgPt, int dstPt) edge 181 modules/imgproc/src/subdivision2d.cpp qedges[edge >> 2].pt[edge & 3] = orgPt; edge 182 modules/imgproc/src/subdivision2d.cpp qedges[edge >> 2].pt[(edge + 2) & 3] = dstPt; edge 183 modules/imgproc/src/subdivision2d.cpp vtx[orgPt].firstEdge = edge; edge 184 modules/imgproc/src/subdivision2d.cpp vtx[dstPt].firstEdge = edge ^ 2; edge 189 modules/imgproc/src/subdivision2d.cpp int edge = newEdge(); edge 191 modules/imgproc/src/subdivision2d.cpp splice(edge, getEdge(edgeA, NEXT_AROUND_LEFT)); edge 192 modules/imgproc/src/subdivision2d.cpp splice(symEdge(edge), edgeB); edge 194 modules/imgproc/src/subdivision2d.cpp setEdgePoints(edge, edgeDst(edgeA), edgeOrg(edgeB)); edge 195 modules/imgproc/src/subdivision2d.cpp return edge; edge 198 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::swapEdges( int edge ) edge 200 modules/imgproc/src/subdivision2d.cpp int sedge = symEdge(edge); edge 201 modules/imgproc/src/subdivision2d.cpp int a = getEdge(edge, PREV_AROUND_ORG); edge 204 modules/imgproc/src/subdivision2d.cpp splice(edge, a); edge 207 modules/imgproc/src/subdivision2d.cpp setEdgePoints(edge, edgeDst(a), edgeDst(b)); edge 209 modules/imgproc/src/subdivision2d.cpp splice(edge, getEdge(a, NEXT_AROUND_LEFT)); edge 218 modules/imgproc/src/subdivision2d.cpp int Subdiv2D::isRightOf(Point2f pt, int edge) const edge 221 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &org); edge 222 modules/imgproc/src/subdivision2d.cpp edgeDst(edge, &dst); edge 235 modules/imgproc/src/subdivision2d.cpp int edge = freeQEdge*4; edge 236 modules/imgproc/src/subdivision2d.cpp freeQEdge = qedges[edge >> 2].next[1]; edge 237 modules/imgproc/src/subdivision2d.cpp qedges[edge >> 2] = QuadEdge(edge); edge 238 modules/imgproc/src/subdivision2d.cpp return edge; edge 241 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::deleteEdge(int edge) edge 243 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < (size_t)qedges.size()); edge 244 modules/imgproc/src/subdivision2d.cpp splice( edge, getEdge(edge, PREV_AROUND_ORG) ); edge 245 modules/imgproc/src/subdivision2d.cpp int sedge = symEdge(edge); edge 248 modules/imgproc/src/subdivision2d.cpp edge >>= 2; edge 249 modules/imgproc/src/subdivision2d.cpp qedges[edge].next[0] = 0; edge 250 modules/imgproc/src/subdivision2d.cpp qedges[edge].next[1] = freeQEdge; edge 251 modules/imgproc/src/subdivision2d.cpp freeQEdge = edge; edge 288 modules/imgproc/src/subdivision2d.cpp int edge = recentEdge; edge 289 modules/imgproc/src/subdivision2d.cpp CV_Assert(edge > 0); edge 293 modules/imgproc/src/subdivision2d.cpp int right_of_curr = isRightOf(pt, edge); edge 296 modules/imgproc/src/subdivision2d.cpp edge = symEdge(edge); edge 302 modules/imgproc/src/subdivision2d.cpp int onext_edge = nextEdge( edge ); edge 303 modules/imgproc/src/subdivision2d.cpp int dprev_edge = getEdge( edge, PREV_AROUND_DST ); edge 318 modules/imgproc/src/subdivision2d.cpp edge = onext_edge; edge 333 modules/imgproc/src/subdivision2d.cpp edge = dprev_edge; edge 337 modules/imgproc/src/subdivision2d.cpp isRightOf( vtx[edgeDst(onext_edge)].pt, edge ) >= 0 ) edge 339 modules/imgproc/src/subdivision2d.cpp edge = symEdge( edge ); edge 344 modules/imgproc/src/subdivision2d.cpp edge = onext_edge; edge 349 modules/imgproc/src/subdivision2d.cpp recentEdge = edge; edge 354 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &org_pt); edge 355 modules/imgproc/src/subdivision2d.cpp edgeDst(edge, &dst_pt); edge 367 modules/imgproc/src/subdivision2d.cpp vertex = edgeOrg( edge ); edge 368 modules/imgproc/src/subdivision2d.cpp edge = 0; edge 373 modules/imgproc/src/subdivision2d.cpp vertex = edgeDst( edge ); edge 374 modules/imgproc/src/subdivision2d.cpp edge = 0; edge 386 modules/imgproc/src/subdivision2d.cpp edge = 0; edge 390 modules/imgproc/src/subdivision2d.cpp _edge = edge; edge 650 modules/imgproc/src/subdivision2d.cpp int vertex = 0, edge = 0; edge 651 modules/imgproc/src/subdivision2d.cpp int loc = locate( pt, edge, vertex ); edge 659 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &start); edge 662 modules/imgproc/src/subdivision2d.cpp edge = rotateEdge(edge, 1); edge 672 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(edge, &t) > 0 ); edge 676 modules/imgproc/src/subdivision2d.cpp edge = getEdge( edge, NEXT_AROUND_LEFT ); edge 681 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeOrg( edge, &t ) > 0 ); edge 686 modules/imgproc/src/subdivision2d.cpp edge = getEdge( edge, PREV_AROUND_LEFT ); edge 690 modules/imgproc/src/subdivision2d.cpp edgeDst(edge, &tempDiff); edge 691 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &t); edge 696 modules/imgproc/src/subdivision2d.cpp vertex = edgeOrg(rotateEdge( edge, 3 )); edge 700 modules/imgproc/src/subdivision2d.cpp edge = symEdge( edge ); edge 737 modules/imgproc/src/subdivision2d.cpp int edge = i; edge 738 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &a); edge 739 modules/imgproc/src/subdivision2d.cpp edgemask[edge] = true; edge 740 modules/imgproc/src/subdivision2d.cpp edge = getEdge(edge, NEXT_AROUND_LEFT); edge 741 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &b); edge 742 modules/imgproc/src/subdivision2d.cpp edgemask[edge] = true; edge 743 modules/imgproc/src/subdivision2d.cpp edge = getEdge(edge, NEXT_AROUND_LEFT); edge 744 modules/imgproc/src/subdivision2d.cpp edgeOrg(edge, &c); edge 745 modules/imgproc/src/subdivision2d.cpp edgemask[edge] = true; edge 772 modules/imgproc/src/subdivision2d.cpp int edge = rotateEdge(vtx[k].firstEdge, 1), t = edge; edge 781 modules/imgproc/src/subdivision2d.cpp while( t != edge ); edge 60 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::list<GraphEdge>::const_iterator edge = edges_[i].begin(); edge 61 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp for (; edge != edges_[i].end(); ++edge) edge 62 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp body(*edge); edge 82 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::list<GraphEdge>::const_iterator edge = edges_[vertex].begin(); edge 83 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp for (; edge != edges_[vertex].end(); ++edge) edge 85 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp if (!was[edge->to]) edge 87 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp body(*edge); edge 88 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp was[edge->to] = true; edge 89 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp vertices.push(edge->to); edge 55 modules/stitching/src/motion_estimators.cpp void operator ()(const GraphEdge &edge) { dists[edge.to] = dists[edge.from] + 1; } edge 65 modules/stitching/src/motion_estimators.cpp void operator ()(const GraphEdge &edge) edge 67 modules/stitching/src/motion_estimators.cpp int pair_idx = edge.from * num_images + edge.to; edge 70 modules/stitching/src/motion_estimators.cpp K_from(0,0) = cameras[edge.from].focal; edge 71 modules/stitching/src/motion_estimators.cpp K_from(1,1) = cameras[edge.from].focal * cameras[edge.from].aspect; edge 72 modules/stitching/src/motion_estimators.cpp K_from(0,2) = cameras[edge.from].ppx; edge 73 modules/stitching/src/motion_estimators.cpp K_from(1,2) = cameras[edge.from].ppy; edge 76 modules/stitching/src/motion_estimators.cpp K_to(0,0) = cameras[edge.to].focal; edge 77 modules/stitching/src/motion_estimators.cpp K_to(1,1) = cameras[edge.to].focal * cameras[edge.to].aspect; edge 78 modules/stitching/src/motion_estimators.cpp K_to(0,2) = cameras[edge.to].ppx; edge 79 modules/stitching/src/motion_estimators.cpp K_to(1,2) = cameras[edge.to].ppy; edge 82 modules/stitching/src/motion_estimators.cpp cameras[edge.to].R = cameras[edge.from].R * R; edge 716 modules/stitching/src/motion_estimators.cpp std::pair<int,int> edge = *itr; edge 717 modules/stitching/src/motion_estimators.cpp if (span_tree_edges.find(edge) != span_tree_edges.end()) edge 719 modules/stitching/src/motion_estimators.cpp String name_src = pathes[edge.first]; edge 724 modules/stitching/src/motion_estimators.cpp String name_dst = pathes[edge.second]; edge 729 modules/stitching/src/motion_estimators.cpp int pos = edge.first*num_images + edge.second; edge 38 samples/cpp/distrans.cpp Mat edge = gray >= edgeThresh, dist, labels, dist8u; edge 41 samples/cpp/distrans.cpp distanceTransform( edge, dist, distType, maskSize ); edge 43 samples/cpp/distrans.cpp distanceTransform( edge, dist, labels, distType, maskSize, voronoiType ); edge 12 samples/cpp/edge.cpp Mat image, gray, edge, cedge; edge 17 samples/cpp/edge.cpp blur(gray, edge, Size(3,3)); edge 20 samples/cpp/edge.cpp Canny(edge, edge, edgeThresh, edgeThresh*3, 3); edge 23 samples/cpp/edge.cpp image.copyTo(cedge, edge);