Lines Matching refs:width
52 // windowOut - Location, height and width of converged CAMSHIFT window
54 // width - If != NULL, return equivalent width
84 if( windowIn.height <= 0 || windowIn.width <= 0 )
87 if( windowIn.x < 0 || windowIn.x + windowIn.width > mat->cols ||
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 );
116 else if( nx + cur_rect.width > mat->cols )
117 nx = mat->cols - cur_rect.width;
154 // windowOut - Location, height and width of converged CAMSHIFT window
157 // width - If != NULL, return equivalent width
177 double length = 0, width = 0;
201 windowIn.width += 2 * TOLERANCE;
202 if( windowIn.x + windowIn.width > mat->width )
203 windowIn.width = mat->width - windowIn.x;
231 /* Calculating width & height */
237 /* Calculating width & length of figure */
244 width = sqrt( rotate_c * inv_m00 ) * 4;
246 /* In case, when tetta is 0 or 1.57... the Length & Width may be exchanged */
247 if( length < width )
251 CV_SWAP( length, width, t );
264 t1 = cvRound( fabs( width * sn ));
267 comp.rect.width = MIN( t0, (mat->width - _xc) * 2 );
270 t1 = cvRound( fabs( width * cs ));
275 comp.rect.x = MAX( 0, _xc - comp.rect.width / 2 );
278 comp.rect.width = MIN( mat->width - comp.rect.x, comp.rect.width );
291 box->size.width = (float)width;
293 box->center = cvPoint2D32f( comp.rect.x + comp.rect.width*0.5f,