Lines Matching full:probs
184 where Pr{xi = k} == probs[k], 0 < k < len - 1. */
185 CV_IMPL void cvRandSeries( float probs[], int len, int sample[], int amount )
195 knots[0] = probs[0];
197 knots[i] = knots[i - 1] + probs[i];
1415 const CvMat* probs, CvMat* dst_probs,
1492 if( dst_probs && (!probs || probs->data.ptr != dst_probs->data.ptr) )
1494 if( !probs )
1495 CV_ERROR( CV_StsNullPtr, "NULL probs" );
1497 if( probs->cols != dst_probs->cols )
1505 CV_ASSERT( probs->rows == samples_selected );
1507 CV_CALL( icvConvertDataToSparse( probs->data.ptr, probs->step, probs->type,
1509 cvSize( probs->cols, samples_selected ),
1521 CvMat* probs, const CvMat* sample_idx )
1542 CvMat* probs1 = probs ? &probs_part : 0;
1611 if( probs )
1613 if( !CV_IS_MAT(probs) )
1616 if( probs->rows != samples_all )
1620 if( CV_MAT_TYPE(probs->type) != CV_32FC1 )
1705 if( probs )
1706 cvGetRow( probs, probs1, idx );
1888 void icvFindClusterLabels( const CvMat* probs, float outlier_thresh, float r,
1900 CV_ASSERT( ICV_IS_MAT_OF_TYPE(probs, CV_64FC1) );
1903 nclusters = probs->cols;
1904 nsamples = probs->rows;
1911 labels->data.i[i] = icvGetNumberOfCluster( probs->data.db + i*probs->cols,
1926 probs_data = probs->data.db;