fixed SURF orientations, broken in r8892
(see also r8895, r8887 and #2043)
This commit is contained in:
parent
0b4e96d89c
commit
ffd283b7d5
@ -681,7 +681,7 @@ struct SURFInvoker
|
|||||||
if( !upright )
|
if( !upright )
|
||||||
{
|
{
|
||||||
descriptor_dir *= (float)(CV_PI/180);
|
descriptor_dir *= (float)(CV_PI/180);
|
||||||
float sin_dir = std::sin(descriptor_dir);
|
float sin_dir = -std::sin(descriptor_dir);
|
||||||
float cos_dir = std::cos(descriptor_dir);
|
float cos_dir = std::cos(descriptor_dir);
|
||||||
|
|
||||||
/* Subpixel interpolation version (slower). Subpixel not required since
|
/* Subpixel interpolation version (slower). Subpixel not required since
|
||||||
|
Loading…
x
Reference in New Issue
Block a user