Ask Your Question

Revision history [back]

Source code is here getDeriveKernels is used size can be

ksize: Aperture size. It can be CV_SCHARR, 1, 3, 5, or 7.

but readig source code carrefully you will find that getSobelKernels is called (by getDeriveKernels) and then ksize

The kernel size must be odd and not larger than 31

Source code is here getDeriveKernels is used size can be

ksize: Aperture size. It can be CV_SCHARR, 1, 3, 5, or 7.

but readig reading source code carrefully you will find that getSobelKernels is called (by getDeriveKernels) and then ksize

The kernel size must be odd and not larger than 31