hls::Sobel


Synopsis

template<int XORDER, int YORDER, int SIZE, int ROWS, int COLS, int SRC_T, int DROWS, int DCOLS, int DST_T>
void hls::Sobel( hls::Mat<ROWS, COLS, SRC_T>& src,
                 hls::Mat<DROWS, DCOLS, DST_T>& dst );

Parameters

  • src – the input image.
  • dst – the output image

Description


Computes a horizontal or vertical Sobel filter, returning an estimate of the horizontal or vertical derivative.

Limitation


Only SIZE=3, 5, or 7 is supported. Only (XORDER=1 and YORDER=0, horizontal derivative) or (XORDER=0 and YORDER=1, vertical derivative) is supported

OpenCV reference


cvSobel, cv::Sobel