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
© 1990-2012 Peter Corke.