boost::gil::generate_dx_sobel
Generates Sobel operator in horizontal direction
Synopsis
template<
typename T = float,
typename Allocator = std::allocator<T>>
detail::kernel_2d<T, Allocator>
generate_dx_sobel(unsigned int degree = 1);
Description
Generates a kernel which will represent Sobel operator in horizontal 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