In convolution, the most common way to do padding is to add 0, but I wonder is there any way to pad an input image using reflection way, reflecting some pixels in the edge region to keep the shape of input image unchanged after convolution ?
Any advice would be appreciated !