Description Usage Arguments Value Examples
Align templates and images
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
stimuli |
list of class stimlist |
pt1 |
The first point to align (defaults to 0) |
pt2 |
The second point to align (defaults to 1) |
x1 |
The x-coordinate to align the first point to |
y1 |
The y-coordinate to align the first point to |
x2 |
The x-coordinate to align the second point to |
y2 |
The y-coordinate to align the second point to |
width |
The width of the aligned image |
height |
The height of the aligned image |
ref_img |
The reference image (by index or name) to get coordinates and dimensions from if NULL (defaults to first image) |
fill |
background color if cropping goes outside the original image |
patch |
whether to use the patch function to set the background color |
squash |
whether to move template points outside the image boundaries inside the image |
procrustes |
Whether to do a procrustes alignment |
stimlist with aligned tems and/or images
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.