When high or low pass filters are being applied to an (grayscale) image, the borders need to be handled separately. They could be filled with 0's or 255's (b/w), repeat the nearest pixel value, or even the image could be repeated.
How do the different border-handling-methods impact the result of he filtering operations? What are the pro's and con's of using one method over an other with a HPF to improve the edges in a picture or a LPF to blur it?
OpenCV for example has various BorderTypes like BORDER_REPLICATE
or BORDER_CONSTANT
but I can't find any information about what happens when I use one of them with a HPF or LPF.