2012-03-26 107 views

回答

0

我終於找到了解決辦法 轉到文件mlrtrees.cpp,線374,這將是這樣的

int idx = cvRandInt(&rng) % nsamples;

將其更改爲

int idx = i;

btw,尚未測試