| squash_tem | R Documentation |
Move template points that are outside the image boundaries (e.g., negative values or larger than image width or height) to the borders of the image.
squash_tem(stimuli)
stimuli |
list of stimuli |
list of stimuli
Template functions
auto_delin(),
average_tem(),
centroid(),
change_lines(),
delin(),
draw_tem(),
features(),
get_point(),
remove_tem(),
require_tems(),
same_tems(),
subset_tem(),
tem_def(),
viz_tem_def()
nosquash <- demo_stim(1) |> crop(0.4, 0.5) squash <- demo_stim(1) |> crop(0.4, 0.5) |> squash_tem() # add padding and visualise templates c(nosquash, squash) |> pad(50) |> draw_tem(pt.size = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.