level 1
我在调试bgfg_gaussmix2.cpp的时候,遇到这样一段代码
parallel_for_(Range(0, image.rows),
MOG2Invoker(image, fgmask,
bgmodel.ptr<GMM>(),
(float*)(bgmodel.ptr() +
sizeof(GMM)*nmixtures*image.rows*image.cols),
bgmodelUsedModes.ptr(), nmixtures, (float)learningRate,
(float)varThreshold,
backgroundRatio, varThresholdGen,
fVarInit, fVarMin, fVarMax, float(-learningRate*fCT), fTau,
bShadowDetection, nShadowDetection),
image.total()/(double)(1 << 16));
这段代码没有执行就跳过了,不知道是什么原因,希望吧里的大神能帮我解答。谢谢(代码是在bgfg_gaussmix2.cpp的846行,我的是opencv3.0)
2016年08月11日 08点08分