8000 some errors in bound_min.cpp · Issue #1 · pedrodiamel/colorchecker-detection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
some errors in bound_min.cpp #1
Open
@realwill

Description

@realwill

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0