Fixed FAST algorithm initializer
This commit is contained in:
parent
35754c0c03
commit
94f7c3c592
@ -59,7 +59,7 @@ CV_INIT_ALGORITHM(BriefDescriptorExtractor, "Feature2D.BRIEF",
|
|||||||
CV_INIT_ALGORITHM(FastFeatureDetector, "Feature2D.FAST",
|
CV_INIT_ALGORITHM(FastFeatureDetector, "Feature2D.FAST",
|
||||||
obj.info()->addParam(obj, "threshold", obj.threshold);
|
obj.info()->addParam(obj, "threshold", obj.threshold);
|
||||||
obj.info()->addParam(obj, "nonmaxSuppression", obj.nonmaxSuppression);
|
obj.info()->addParam(obj, "nonmaxSuppression", obj.nonmaxSuppression);
|
||||||
obj.info()->addParam(obj, "type", obj.type, FastFeatureDetector::TYPE_9_16));
|
obj.info()->addParam(obj, "type", obj.type, static_cast<int>(FastFeatureDetector::TYPE_9_16)));
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user