Commit fdfa4024 authored by marina.kolpakova's avatar marina.kolpakova

fixed surf for upright case

parent cf92e4b4
...@@ -615,7 +615,7 @@ struct SURFInvoker ...@@ -615,7 +615,7 @@ struct SURFInvoker
continue; continue;
} }
float descriptor_dir = 90.f; float descriptor_dir = 360.f - 90.f;
if (upright == 0) if (upright == 0)
{ {
resizeHaarPattern( dx_s, dx_t, NX, 4, grad_wav_size, sum->cols ); resizeHaarPattern( dx_s, dx_t, NX, 4, grad_wav_size, sum->cols );
......
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