Function image_derivatives_scharr¶
Defined in File nldiffusion_functions.h
Function Documentation¶
-
void
image_derivatives_scharr
(const cv::Mat &src, cv::Mat &dst, const size_t xorder, const size_t yorder)¶ This function computes image derivatives with Scharr kernel.
- Note
Scharr operator approximates better rotation invariance than other stencils such as Sobel. See Weickert and Scharr, A Scheme for Coherence-Enhancing Diffusion Filtering with Optimized Rotation Invariance, Journal of Visual Communication and Image Representation 2002
- Parameters
src
: Input imagedst
: Output imagexorder
: Derivative order in X-direction (horizontal)yorder
: Derivative order in Y-direction (vertical)