hls::FASTX


Synopsis


1. generate a mask image:
template<int ROWS, int COLS, int SRC_T>
void hls::FASTX( hls::Mat<ROWS, COLS, SRC_T>& src,
                 hls::Mat<ROWS, COLS, HLS_8UC1>& mask,
                 int threshold,
                 bool nomax_supression );
2. generate an array of coordinates:
template<int ROWS, int COLS, int SRC_T, typename T, int N>
void hls::FASTX( hls::Mat<ROWS, COLS, SRC_T>& src,
                 hls::Point_<T> (&keypoints)[N],
                 int threshold,
                 bool nomax_supression);

Parameters

  • src – the input image.
  • mask – an output image with value 255 where corners are detected.
  • keypoints – an array of the coordinates of detected corners.
  • threshold – the FAST detector threshold. If a pixel differs from the center pixel of the window by more than this threshold, then it is either a ‘light’ or a ‘dark’ pixel.
  • nomax_supression – if true, then enable suppression of non-maximal edges.

Description


Implements the FAST corner detector, generating either a mask of corners, or an array of coordinates.

OpenCV reference


cv::FAST, cv::FASTX