File size: 107 Bytes
2514fb4
 
 
1
2
3
4
function I = shave(I, border)
I = I(1+border(1):end-border(1), ...
      1+border(2):end-border(2), :, :);