all the tests now pass except for MSER
This commit is contained in:
@@ -874,6 +874,9 @@ public:
|
||||
virtual ~Algorithm();
|
||||
String name() const;
|
||||
|
||||
virtual void set(int, double);
|
||||
virtual double get(int) const;
|
||||
|
||||
template<typename _Tp> typename ParamType<_Tp>::member_type get(const String& name) const;
|
||||
template<typename _Tp> typename ParamType<_Tp>::member_type get(const char* name) const;
|
||||
|
||||
|
||||
@@ -179,6 +179,9 @@ String Algorithm::name() const
|
||||
return info()->name();
|
||||
}
|
||||
|
||||
void Algorithm::set(int, double) {}
|
||||
double Algorithm::get(int) const { return 0.; }
|
||||
|
||||
void Algorithm::set(const String& parameter, int value)
|
||||
{
|
||||
info()->set(this, parameter.c_str(), ParamType<int>::type, &value);
|
||||
|
||||
Reference in New Issue
Block a user