changing the type of FAST feature detector in c++
In the documentation there's this signature of the FAST detector :
void FASTX(InputArray image, vector<keypoint>& keypoints, int threshold, bool nonmaxSuppression, int type).
type – one of the three neighborhoods as defined in the paper: FastFeatureDetector::TYPE_9_16, FastFeatureDetector::TYPE_7_12, FastFeatureDetector::TYPE_5_8.
but how can you use it?
I mean, all I can do is this:
FastFeatureDetector detector(100,true); for example.
How can I choose the type TYPE_5_8 for example?
writing FastFeatureDetector detector(100,true, TYPE_5_8); doesn't work.
writing detector.detect(imgA,keypointsA,50,true,TYPE_5_8); doesn't work either.