windowsub0406/StereoVision

incorrect max number of iterations

Opened this issue · 0 comments

I think you have given the calculation of max number of iterations by the fomular:
int max_iteration = (int)(1 + log(1. - 0.99) / log(1. - pow(0.6, no_samples)));
which is incorrect. It should be log(1 - Psuccess)/log(1 - w^n).
for your implementation, the max number of iterations should be 10 not 5. Can the author correct me if I miss something?