mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
This commit is contained in:
@@ -407,6 +407,15 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
void setThreshold(int threshold_) { threshold = threshold_; }
|
||||
int getThreshold() const { return threshold; }
|
||||
|
||||
void setNonmaxSuppression(bool f) { nonmaxSuppression = f; }
|
||||
bool getNonmaxSuppression() const { return nonmaxSuppression; }
|
||||
|
||||
void setType(int type_) { type = type_; }
|
||||
int getType() const { return type; }
|
||||
|
||||
int threshold;
|
||||
bool nonmaxSuppression;
|
||||
int type;
|
||||
|
||||
Reference in New Issue
Block a user