OpenCvSharp.Cv2.FAST C# (CSharp) Method

FAST() public static method

Detects corners using the FAST algorithm
public static FAST ( InputArray image, int threshold, bool nonmaxSupression = true ) : KeyPoint[]
image InputArray grayscale image where keypoints (corners) are detected.
threshold int threshold on difference between intensity of the central pixel /// and pixels of a circle around this pixel.
nonmaxSupression bool if true, non-maximum suppression is applied to /// detected corners (keypoints).
return KeyPoint[]
        public static KeyPoint[] FAST(InputArray image, int threshold, bool nonmaxSupression = true)
        {
            if (image == null)
                throw new ArgumentNullException(nameof(image));
            image.ThrowIfDisposed();

            using (var kp = new VectorOfKeyPoint())
            {
                NativeMethods.features2d_FAST1(image.CvPtr, kp.CvPtr, threshold, nonmaxSupression ? 1 : 0);
                GC.KeepAlive(image);
                return kp.ToArray();
            }
        }

Same methods

Cv2::FAST ( InputArray image, int threshold, bool nonmaxSupression, FASTType type ) : KeyPoint[]
Cv2