Lines Matching refs:npoints
341 int npoints = contour.checkVector(2); in contourArea() local
343 CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); in contourArea()
345 if( npoints == 0 ) in contourArea()
352 …Point2f prev = is_float ? ptsf[npoints-1] : Point2f((float)ptsi[npoints-1].x, (float)ptsi[npoints-… in contourArea()
354 for( int i = 0; i < npoints; i++ ) in contourArea()
485 int npoints = points.checkVector(2); in pointSetBoundingRect() local
487 CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); in pointSetBoundingRect()
492 if( npoints == 0 ) in pointSetBoundingRect()
506 for( i = 1; i < npoints; i++ ) in pointSetBoundingRect()
522 for( i = 1; i < npoints; i++ ) in pointSetBoundingRect()
547 for( i = 1; i < npoints; i++ ) in pointSetBoundingRect()
571 for( i = 1; i < npoints; i++ ) in pointSetBoundingRect()