Function opencv::xfeatures2d::fast_for_point_set[][src]

pub fn fast_for_point_set(
    image: &dyn ToInputArray,
    keypoints: &mut Vector<KeyPoint>,
    threshold: i32,
    nonmax_suppression: bool,
    typ: FastFeatureDetector_DetectorType
) -> Result<()>
Expand description

Estimates cornerness for prespecified KeyPoints using the FAST algorithm

Parameters

  • image: grayscale image where keypoints (corners) are detected.
  • keypoints: keypoints which should be tested to fit the FAST criteria. Keypoints not being detected as corners are removed.
  • threshold: threshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
  • nonmaxSuppression: if true, non-maximum suppression is applied to detected corners (keypoints).
  • type: one of the three neighborhoods as defined in the paper: FastFeatureDetector::TYPE_9_16, FastFeatureDetector::TYPE_7_12, FastFeatureDetector::TYPE_5_8

Detects corners using the FAST algorithm by Rosten06 .

C++ default parameters

  • nonmax_suppression: true
  • typ: FastFeatureDetector::TYPE_9_16