Home | History | Annotate | Download | only in src

Lines Matching refs:alpha

96 //   between two labels ( alpha and beta )
97 // alpha - label number one
99 inline int vFunc( int alpha, int beta )
101 if( alpha == beta )
171 // alpha - label number one for doing exchange
183 int alpha,
209 if( corr[i] == alpha || corr[i] == beta ) {
216 ( ( Vertex* )newVtxPtr ) -> coord = -2; /* adding alpha vertex */
231 /* adding edge oriented from alpha vertex to current vertex */
236 alpha,
247 alpha );
252 ( ( Edge* )tempEdgePtr ) -> weight = vFunc( alpha, beta );
268 alpha );
273 ( ( Edge* )tempEdgePtr ) -> weight = vFunc( alpha, beta );
282 ( ( Edge* )newEdgePtr ) -> srcVtx = -1; /* source vertex is alpha
882 // function oneStep produces one alpha-beta exchange for one line of images
885 // alpha - label number one
895 int alpha,
912 makeGraph( &graph, leftLine, rightLine, alpha, beta, corr, width, storage );
914 int s = graph -> total - 2; /* source vertex - alpha vertex */
951 { /* this vertex must have alpha label */
954 if( corr[ coord ] != alpha ) {
955 corr[ coord ] = alpha; //added
959 corr[ coord ] = alpha;
1119 // alpha - position of virtual camera ( 0 corresponds to left image, 1 - to right one )
1134 float alpha,
1164 float alpha1 = 1.0f - alpha;
1185 (int)( prevLeftPixel * alpha1 + prevRightPixel * alpha );
1197 (int)( leftPixel * alpha1 + rightPixel * alpha );
1214 + rightTemp[ rightPixel3 ] * alpha );
1217 + rightTemp[ rightPixel3 + 1 ] * alpha );
1220 + rightTemp[ rightPixel3 + 2 ] * alpha );