some more fixes towards binary compatibility
This commit is contained in:
@@ -1388,7 +1388,7 @@ public:
|
||||
virtual bool fixedType() const;
|
||||
virtual bool needed() const;
|
||||
virtual Mat& getMatRef(int i=-1) const;
|
||||
virtual gpu::GpuMat& getGpuMatRef() const;
|
||||
/*virtual*/ gpu::GpuMat& getGpuMatRef() const;
|
||||
virtual void create(Size sz, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const;
|
||||
virtual void create(int rows, int cols, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const;
|
||||
virtual void create(int dims, const int* size, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const;
|
||||
@@ -2131,7 +2131,7 @@ CV_EXPORTS_W void merge(InputArrayOfArrays mv, OutputArray dst);
|
||||
|
||||
//! copies each plane of a multi-channel array to a dedicated array
|
||||
CV_EXPORTS void split(const Mat& src, Mat* mvbegin);
|
||||
CV_EXPORTS void split(const Mat& src, vector<Mat>& mv );
|
||||
CV_EXPORTS void split(const Mat& m, vector<Mat>& mv );
|
||||
|
||||
//! copies each plane of a multi-channel array to a dedicated array
|
||||
CV_EXPORTS_W void split(InputArray m, OutputArrayOfArrays mv);
|
||||
@@ -4392,6 +4392,11 @@ public:
|
||||
int (Algorithm::*getter)()=0,
|
||||
void (Algorithm::*setter)(int)=0,
|
||||
const string& help=string());
|
||||
void addParam(Algorithm& algo, const char* name,
|
||||
short& value, bool readOnly=false,
|
||||
int (Algorithm::*getter)()=0,
|
||||
void (Algorithm::*setter)(int)=0,
|
||||
const string& help=string());
|
||||
void addParam(Algorithm& algo, const char* name,
|
||||
bool& value, bool readOnly=false,
|
||||
int (Algorithm::*getter)()=0,
|
||||
@@ -4441,7 +4446,7 @@ protected:
|
||||
|
||||
struct CV_EXPORTS Param
|
||||
{
|
||||
enum { INT=0, BOOLEAN=1, REAL=2, STRING=3, MAT=4, MAT_VECTOR=5, ALGORITHM=6, FLOAT=7, UNSIGNED_INT=8, UINT64=9 };
|
||||
enum { INT=0, BOOLEAN=1, REAL=2, STRING=3, MAT=4, MAT_VECTOR=5, ALGORITHM=6, FLOAT=7, UNSIGNED_INT=8, UINT64=9, SHORT=10 };
|
||||
|
||||
Param();
|
||||
Param(int _type, bool _readonly, int _offset,
|
||||
@@ -4472,6 +4477,14 @@ template<> struct ParamType<int>
|
||||
enum { type = Param::INT };
|
||||
};
|
||||
|
||||
template<> struct ParamType<short>
|
||||
{
|
||||
typedef int const_param_type;
|
||||
typedef int member_type;
|
||||
|
||||
enum { type = Param::SHORT };
|
||||
};
|
||||
|
||||
template<> struct ParamType<double>
|
||||
{
|
||||
typedef double const_param_type;
|
||||
@@ -4542,8 +4555,8 @@ template<> struct ParamType<uint64>
|
||||
class CV_EXPORTS CommandLineParser
|
||||
{
|
||||
public:
|
||||
CommandLineParser(int argc, const char* const argv[], const char* keys);
|
||||
CommandLineParser(int argc, const char* const argv[], const string& keys);
|
||||
CommandLineParser(int argc, const char* const argv[], const char* key_map);
|
||||
CommandLineParser(int argc, const char* const argv[], const string& key_map);
|
||||
CommandLineParser(const CommandLineParser& parser);
|
||||
CommandLineParser& operator = (const CommandLineParser& parser);
|
||||
|
||||
@@ -4565,7 +4578,7 @@ public:
|
||||
return val;
|
||||
}
|
||||
|
||||
bool has(const string& name);
|
||||
bool has(const string& keys);
|
||||
bool check() const;
|
||||
|
||||
void about(const string& message);
|
||||
|
Reference in New Issue
Block a user