Skip to content

MRimageResCrop

Repmat an image by ns, then crop from center using original img size + percent offset on all sides:
mrimgrescrop1

original image

mrimgrescrop2

image using MRimgResCrop(I,[3 3], 50)

download_mrimgrescrop