[−][src]Function opencv::features2d::FAST_with_type
pub fn FAST_with_type(
image: &dyn ToInputArray,
keypoints: &mut VectorOfKeyPoint,
threshold: i32,
nonmax_suppression: bool,
_type: FastFeatureDetector_DetectorType
) -> 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 cv.FAST_FEATURE_DETECTOR_TYPE_5_8, cv.FAST_FEATURE_DETECTOR_TYPE_7_12 and cv.FAST_FEATURE_DETECTOR_TYPE_9_16. For corner detection, use cv.FAST.detect() method.