Lines Matching refs:nedges
596 static inline void icvAddEdge( GCVtx *x, GCVtx* y, GCEdge* edgeBuf, int nedges, int w, int rw ) in icvAddEdge() argument
598 GCEdge *xy = edgeBuf + nedges, *yx = xy + 1; in icvAddEdge()
604 x->first = nedges; in icvAddEdge()
609 y->first = nedges+1; in icvAddEdge()
624 GCEdge* edgeBuf, int& nedges ) in icvAddTerm() argument
635 icvAddEdge( x, y, edgeBuf, nedges, 0, w ); in icvAddTerm()
636 nedges += 2; in icvAddTerm()
645 icvAddEdge( x, y, edgeBuf, nedges, w, 0 ); in icvAddTerm()
646 nedges += 2; in icvAddTerm()
654 icvAddEdge( x, y, edgeBuf, nedges, B - A, C - D ); in icvAddTerm()
655 nedges += 2; in icvAddTerm()
667 int nvtx = 0, nedges = 2; in icvAlphaExpand() local
743 delta, delta, 0, ebuf, nedges ); in icvAlphaExpand()
746 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges ); in icvAlphaExpand()
759 E += icvAddTerm( var, var1, 0, E0a, Ea0, Eaa, ebuf, nedges ); in icvAlphaExpand()
781 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges ); in icvAlphaExpand()
792 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges ); in icvAlphaExpand()
805 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges ); in icvAlphaExpand()