Home | History | Annotate | Download | only in src

Lines Matching refs:startStep

235     static void checkTrainData(int startStep, const Mat& samples,
249 CV_Assert(startStep == START_AUTO_STEP ||
250 startStep == START_E_STEP ||
251 startStep == START_M_STEP);
284 if(startStep == START_E_STEP)
288 else if(startStep == START_M_STEP)
320 void setTrainData(int startStep, const Mat& samples,
328 checkTrainData(startStep, samples, nclusters, covMatType, probs0, means0, covs0, weights0);
330 bool isKMeansInit = (startStep == START_AUTO_STEP) || (startStep == START_E_STEP && (covs0 == 0 || weights0 == 0));
335 if(probs0 && startStep == START_M_STEP)
342 if(weights0 && (startStep == START_E_STEP && covs0))
350 if(means0 && (startStep == START_E_STEP/* || startStep == START_AUTO_STEP*/))
354 if(covs0 && (startStep == START_E_STEP && weights0))
475 bool doTrain(int startStep, OutputArray logLikelihoods, OutputArray labels, OutputArray probs)
479 if(startStep != START_M_STEP)
494 if(startStep == START_M_STEP)