You are on page 1of 1

Padding in filtering is used to to facilitate the image filtering according the different kernels sizes to

convolute beyond the image size. There are 3 main variations of the technique:

Full: Add a N numbers of rows and columns in each direction where N = Kernel size – 1. Then for an
image of 1024 * 740 with a kernel of 3*3 we would have an image of 1028 * 744. these new rows or
columns are filled with a value. For example in zero padding are filled with 0.

Same: Keep the numbers of rows and columns.

Valid: Start the comvolution in the first pixel + kernel size.

Padding in FFT sont work, so for there reason are used windowing to remove the influence of the
borders.

You might also like