Takes a list of images and registers them to a template, takes a statistic image, and registers the list of images back to this statistic image.
multi_rereg(infiles, template.file, func = "mean", ...)
infiles | Input image files |
---|---|
template.file | Template image to register to for first pass. Second pass will be statistic image |
func | Function to be passed to |
... | Arguments to be passed to |
Output list of statistic image, registered images to statistic image and transformations
The second stage will use the same arguments passed in ...
, but
the template.file
will be the statistic image