PaddedImage = PadImage(Image, PadValue, Left, Right, Up, Down);
2D matrix of numeric or boolean type
gray value or (logical value in the case of a boolean image) of the padded pixels
number of columns padded before the left most column
number of columns padded after the right mist column
number of rows added above the top row
number of rows added below the bottom row
matrix of the same type as Image