Commit 9cd0c903 authored by Maria Dimashova's avatar Maria Dimashova

fixed angles of SURF detector

parent 565a8dc3
......@@ -667,7 +667,7 @@ struct SURFInvoker
besty = sumy;
}
}
descriptor_dir = fastAtan2( besty, bestx );
descriptor_dir = fastAtan2( -besty, bestx );
}
kp.angle = descriptor_dir;
if( !descriptors || !descriptors->data )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment