I have a doubt.
In KernelFactors.gaussian I am trying to create a 1D gaussian kernel to convolve an image in vertical direction only, i.e. I need the kernel to be horizontal.
If I define the kernel as:
I think it is returning a 1D vertical kernel. If I do a transpose to convert to a row vector, will imfilter automatically do the convolution in the vertical direction?