niftyreg
utilities for automated image registration..Aligns images using niftyreg
utilities for automated image registration..
alignReg(
sampleList,
target,
resampleFactor = NULL,
useBlockPercentage = 75,
crop = c(0, 0, 0, 0),
removebgR = NULL,
maskOutline = NULL,
plotTransformed = FALSE
)
List of raster objects.
List of RasterStack objects.
Image imported as RasterStack used as target for registration.
Integer for downsampling used by redRes
(default = NULL).
Block percentage as used in niftyreg
(default = 75).
Vector c(xmin, xmax, ymin, ymax) that specifies the pixel coordinates to crop the original image.
Integer indicating the range RGB treshold to remove from image (e.g. 100 removes pixels with average RGB > 100; default = NULL) for registration analysis. This works only to remove a white background.
When outline is specified, everything outside of the outline will be masked for the color extraction (default = NULL).
Whether to plot transformed images while processing (default = FALSE).