[−][src]Function opencv::features2d::AGAST_with_type
pub fn AGAST_with_type(
image: &dyn ToInputArray,
keypoints: &mut VectorOfKeyPoint,
threshold: i32,
nonmax_suppression: bool,
_type: i32
) -> Result<()>
Detects corners using the AGAST 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 four neighborhoods as defined in the paper: AgastFeatureDetector::AGAST_5_8, AgastFeatureDetector::AGAST_7_12d, AgastFeatureDetector::AGAST_7_12s, AgastFeatureDetector::OAST_9_16
For non-Intel platforms, there is a tree optimised variant of AGAST with same numerical results. The 32-bit binary tree tables were generated automatically from original code using perl script. The perl script and examples of tree generation are placed in features2d/doc folder. Detects corners using the AGAST algorithm by mair2010_agast .