[][src]Function opencv::features2d::FAST

pub fn FAST(
    image: &Mat,
    keypoints: &mut VectorOfKeyPoint,
    threshold: i32,
    nonmax_suppression: bool
) -> Result<()>

Detects corners using the FAST algorithm

Parameters

  • image: grayscale image where keypoints (corners) are detected.
  • keypoints: keypoints detected on the image.
  • 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 .

Note: In Python API, types are given as cv2.FAST_FEATURE_DETECTOR_TYPE_5_8, cv2.FAST_FEATURE_DETECTOR_TYPE_7_12 and cv2.FAST_FEATURE_DETECTOR_TYPE_9_16. For corner detection, use cv2.FAST.detect() method.

Overloaded parameters

C++ default parameters

  • nonmax_suppression: true