M-File Help: ipaste | View code for ipaste |
Paste an image into an image
out = ipaste(im, im2, p, options) is the image im with the subimage im2 pasted in at the position p=[U,V].
'centre' | The pasted image is centred at P, otherwise P is the top-left corner of the subimage in IM (default) |
'zero' | the coordinates of P start at zero, by default 1 is assumed |
'set' | IM2 overwrites the pixels in IM (default) |
'add' | IM2 is added to the pixels in IM |
'mean' | IM2 is set to the mean of pixel values in IM2 and IM |
© 1990-2012 Peter Corke.