Image Padding

Pads the input image with a rows on top and bottom, and b columns on left and right. Used as a pre-processing step for filtering of images.