Convert cuda.ORB unnamed enum to static const int

pull/1744/head
Hamdi Sahloul 7 years ago
parent 3cadb4000b
commit f182eddbea
  1. 17
      modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp

@ -452,16 +452,13 @@ public:
class CV_EXPORTS_W ORB : public Feature2DAsync
{
public:
enum
{
X_ROW = 0,
Y_ROW,
RESPONSE_ROW,
ANGLE_ROW,
OCTAVE_ROW,
SIZE_ROW,
ROWS_COUNT
};
static const int X_ROW = 0;
static const int Y_ROW = 1;
static const int RESPONSE_ROW = 2;
static const int ANGLE_ROW = 3;
static const int OCTAVE_ROW = 4;
static const int SIZE_ROW = 5;
static const int ROWS_COUNT = 6;
CV_WRAP static Ptr<cuda::ORB> create(int nfeatures=500,
float scaleFactor=1.2f,

Loading…
Cancel
Save