Merge remote-tracking branch 'origin/2.4' into merge-2.4
Conflicts: modules/core/include/opencv2/core/operations.hpp modules/core/include/opencv2/core/version.hpp modules/core/src/gpumat.cpp modules/cudaimgproc/src/color.cpp modules/features2d/src/orb.cpp modules/imgproc/src/samplers.cpp modules/ocl/include/opencv2/ocl/matrix_operations.hpp modules/ocl/include/opencv2/ocl/ocl.hpp samples/ocl/facedetect.cpp
This commit is contained in:
@@ -141,12 +141,12 @@ static void computeOrbDescriptor(const KeyPoint& kpt,
|
||||
float x, y;
|
||||
int ix, iy;
|
||||
#if 1
|
||||
#define GET_VALUE(idx) \
|
||||
(x = pattern[idx].x*a - pattern[idx].y*b, \
|
||||
y = pattern[idx].x*b + pattern[idx].y*a, \
|
||||
ix = cvRound(x), \
|
||||
iy = cvRound(y), \
|
||||
*(center + iy*step + ix) )
|
||||
#define GET_VALUE(idx) \
|
||||
(x = pattern[idx].x*a - pattern[idx].y*b, \
|
||||
y = pattern[idx].x*b + pattern[idx].y*a, \
|
||||
ix = cvRound(x), \
|
||||
iy = cvRound(y), \
|
||||
*(center + iy*step + ix) )
|
||||
#else
|
||||
#define GET_VALUE(idx) \
|
||||
(x = pattern[idx].x*a - pattern[idx].y*b, \
|
||||
|
Reference in New Issue
Block a user