Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GaussianBlur parameter bounds

I want to apply a GaussianBlur to my image before I attempt to detect edges. I have been reading the openCV documentation for GaussianBlur, in particular what values are possible for the parameters to this function. The documentation outlines the parameters that are needed, however, it does not indicate what the upper and lower bounds are for each.

My question to the group is what are the limits on these parameters, in particular, the following:

  1. sigmaX - lower limit looks to be zero, but not sure about the upper limit
  2. sigmaY - lower limit looks to be zero, but not sure about the upper limit
  3. ksize - kernel size - curious what reasonable kernel sizes should be

For border type I am assuming the values can be:

BORDER_CONSTANT, BORDER_REPLICATE, BORDER_REFLECT, BORDER_WRAP, BORDER_REFLECT_101, BORDER_TRANSPARENT, BORDER_REFLECT101, BORDER_DEFAULT, BORDER_ISOLATED