Skip to content

FREAK Orientation computation is unnecessarily imprecise #301

@pieter3d

Description

@pieter3d

https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/src/freak.cpp#L536

In freak.cpp, line 536, a division by 2048 is performed. Since all values are integer, a round towards negative infinity is implied. Round correction should be performed, or better yet add 1024 and shift down by 11.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions