Hello I'm working with images with Python. I want to convolve an image with a gaussian filter. The image is an array that it have the shape (64,64,3) 64x64 pixels and 3 channels of colour. How will it be the gaussian filter? which dimension? Do you know a function to define it and make the convolution with the image?
You have to create a gaussian filter of the dimension you want e.g. 3x3 or 11x11.
Then do the convolution on each channel of colour.
If you want to do it using Fourir, you have to apply psf2otf (a matlab function that it is also in Python by users) and multiply both matrixs pointwise (on each channel).