Merge pull request #3483 from wangyan42164:ocl_orb_improve

pull/3491/head
Alexander Alekhin 10 years ago
commit 893deb4040
  1. 4
      modules/features2d/src/opencl/orb.cl

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

Loading…
Cancel
Save