Home | History | Annotate | Download | only in src

Lines Matching refs:labels

229                 int step, float* dist, int dststep, int* labels, int lstep,
243 lstep /= sizeof(labels[0]);
252 int* lls = (int*)(labels + i*lstep);
329 int* lls = (int*)(labels + i*lstep);
719 CvMat lstub, *labels = (CvMat*)labelsarr;
728 (CV_MAT_TYPE(dst->type) != CV_8UC1 || distType != CV_DIST_L1 || labels)) )
740 maskSize = !labels ? CV_DIST_MASK_3 : CV_DIST_MASK_5;
741 else if( distType == CV_DIST_L2 && labels )
750 if( labels )
752 CV_CALL( labels = cvGetMat( labels, &lstub ));
753 if( CV_MAT_TYPE( labels->type ) != CV_32SC1 )
754 CV_ERROR( CV_StsUnsupportedFormat, "the output array of labels must be 32sC1" );
756 if( !CV_ARE_SIZES_EQ( labels, dst ))
757 CV_ERROR( CV_StsUnmatchedSizes, "the array of labels has a different size" );
777 if( !labels )
817 if( !labels )
837 cvZero( labels );
841 cvDrawContours( labels, contours, area_color, area_color, -255, -1, 8 );
848 dst->data.fl, dst->step, labels->data.i, labels->step, size, _mask );