fixed angles of SURF detector

This commit is contained in:
Maria Dimashova 2012-07-02 12:32:14 +00:00
parent 565a8dc30d
commit 9cd0c9033f

View File

@ -667,7 +667,7 @@ struct SURFInvoker
besty = sumy; besty = sumy;
} }
} }
descriptor_dir = fastAtan2( besty, bestx ); descriptor_dir = fastAtan2( -besty, bestx );
} }
kp.angle = descriptor_dir; kp.angle = descriptor_dir;
if( !descriptors || !descriptors->data ) if( !descriptors || !descriptors->data )