boost::gil::generate_dx_scharr

Generate Scharr operator in horizontal direction

Synopsis

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

Description

Generates a kernel which will represent Scharr operator in horizontal direction of specified degree (no need to convolve multiple times to obtain the desired degree). https://www.researchgate.net/profile/Hanno_Scharr/publication/220955743_Optimal_Filters_for_Extended_Optical_Flow/links/004635151972eda98f000000/Optimal‐Filters‐for‐Extended‐Optical‐Flow.pdf

Return Value

variable‐size kernel

Created with MrDocs