Description Usage Arguments Details Value Author(s) References Examples
Image A is re-sized to a specified proportion of Image B, then inserted into Image B at a given position.
1 | mix2images(imageA, imageB, prop = 0.25, pos = "e")
|
imageA |
The first image which is resized and placed inside the second image. |
imageB |
The second image, into which the first is placed. |
prop |
The proportion of Image B to be taken up by Image A. |
pos |
The exact position of image A in image B. Possible options are "a", "b", "c", "d", "e" which corresponds to (a) top-right, (b) bottom-right, (c) top-left, (d) bottom-left and (e) centred. A more exact location may be specified by inputting |
This function first of all crops Image A to be a given proportion of Image B and then inserts it into image B at the specified location. If image B is too small for the size of image A required then the whole of image A is placed in image B. Both must be dyadic in length and square images.
ImageB |
A matrix with the specified values selected exchanged to those of Image A. |
Sarah L. Taylor
Taylor, S.L., Eckley, I.A., and Nunes, M.A. (2014) A Test of Stationarity for Textured Images. Technometrics, 56 (3), 291-301.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.