Expand image
out = ireplicate(im, k) is an expanded version of the image (HxW) where each pixel is replicated into a KxK tile. If im is HxW the result is (KH)x(KW).
idecimate, iscale
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.