Merge pull request #3483 from wangyan42164:ocl_orb_improve

This commit is contained in:
Alexander Alekhin 2014-12-05 12:55:54 +00:00
commit 893deb4040

View File

@ -148,8 +148,8 @@ ORB_computeDescriptor(__global const uchar* imgbuf, int imgstep, int imgoffset0,
float angle = as_float(kpt[KEYPOINT_ANGLE]);
angle *= 0.01745329251994329547f;
float sina = sin(angle);
float cosa = cos(angle);
float cosa;
float sina = sincos(angle, &cosa);
__global uchar* desc = _desc + idx*dsize;