boost::gil::generate_dy_sobel

Generates Sobel operator in vertical direction

Synopsis

template<
    typename T = float,
    typename Allocator = std::allocator<T>>
detail::kernel_2d<T, Allocator>
generate_dy_sobel(unsigned int degree = 1);

Description

Generates a kernel which will represent Sobel operator in vertical direction of specified degree (no need to convolve multiple times to obtain the desired degree). https://www.researchgate.net/publication/239398674_An_Isotropic_3_3_Image_Gradient_Operator

Return Value

variable‐size kernel

Created with MrDocs