a positive or negative integer specifying the direction that the rows should be shifted
shift_cols
a positive or negative integer specifying the direction that the columns should be shifted
Value
a matrix or 3-dimensional array
Details
If shift_rows is not zero then the image will be sifted row-wise (upsides or downsides depending on the sign). If shift_cols is not zero then
the image will be sifted column-wise (right or left depending on the sign).