Merge pull request #3483 from wangyan42164:ocl_orb_improve
This commit is contained in:
commit
893deb4040
@ -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…
x
Reference in New Issue
Block a user