Skip to content

Wrong center for detecting circles #29

Open
@Tong-ZHAO

Description

@Tong-ZHAO

When we detect circles from point sets, the resulting circle is at a wrong place. Here an example (green - inliers):
pyransac_before

After checking the code, I guess the bug comes from the line 93 in file "circle.py".
I changed it to "p_center = [p_center_x, p_center_y, P_rot[0, 2]]" then the result becomes:
pyransac_after

Could you check the code? I'm open for further discussion.

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