colorchecker-detection icon indicating copy to clipboard operation
colorchecker-detection copied to clipboard

some errors in bound_min.cpp

Open realwill opened this issue 5 years ago • 0 comments

error lines may be added to get wrong rectangle, so inf is got. for (int kk = 0; kk < k; kk ++) { if (abs(atan2(Lc[kk].y / Lc[kk].z, Lc[kk].x / Lc[kk].z) - atan2(ln.y / ln.z, ln.x / ln.z)) < 0.3) { replace = 0; break; } } the code can be added in CBoundMin::calculate() to control add the lines.

realwill avatar Mar 05 '19 08:03 realwill