Padding images

At some point, you may want to add borders to the image. The ImageFiltering package extends the padarray function and allows you to add padding in different ways.