Parameters

Invalid kernel size is specified. Kernel must be
square, its width/height should be odd and should be in the [3, 25] range.

Remarks

Using this constructor (specifying only convolution kernel),
division factor will be calculated automatically
summing all kernel values. In the case if kernel's sum equals to zero,
division factor will be assigned to 1.