M-File Help: ireplicate View code for ireplicate

ireplicate

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).

See also

idecimate, iscale


 

© 1990-2012 Peter Corke.