Commit f182eddb authored by Hamdi Sahloul's avatar Hamdi Sahloul

Convert cuda.ORB unnamed enum to static const int

parent 3cadb400
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment