Calculate the maximum and minimum x and y coordinates across the stimuli (or for each stimulus) and crop all image to this plus padding.
Arguments
- stimuli
list of stimuli
- top, right, bottom, left
numeric; number of pixels or proportion (<1) to pad each side
- each
logical; Whether to calculate bounds for the full set (default) or each image separately
- ...
additional arguments to pass to
crop()