Question: Integer valued gaussian convolution kernel

i have an image and would like to perform a canny edge detection. one of the first steps is the convolution of the image with a smoothed derivative filter, i.e. a gaussian. the problem is, that i don`t know, how to convolve my collection of discrete pixels (the image) with a 2D gaussian. how do i get an integer-valued convolution kernel that approximates a Gaussian with a variable sigma?

Please Wait...