fixed surf for upright case

This commit is contained in:
marina.kolpakova 2012-07-25 12:19:08 +04:00
parent 29f86df585
commit afc0cf8c4e

View File

@ -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 );