Function to spatially align gobject data based on FIJI image registration.
registerGiottoObjectListFiji(
gobject_list,
spat_unit = NULL,
image_unreg = "image",
image_reg_name = "image",
image_replace_name = "unregistered",
registered_images = NULL,
spatloc_unreg = "raw",
spatloc_reg_name = "raw",
spatloc_replace_name = "unregistered",
xml_files,
scale_factor = NULL,
verbose = TRUE
)
list of gobjects to register
spatial unit
name of original unregistered images. Defaults to "image" (optional)
arbitrary name for registered images to occupy. Defaults to replacement of "image" (optional)
arbitrary name for any images replaced due to image_reg_name argument (optional)
registered images output by FIJI register_virtual_stack_slices
spatial locations to use. Defaults to "raw" (optional)
name for registered spatial locations. Defaults to replacement of "raw" (optional)
arbitrary name for any spatial locations replaced due to spatloc_reg_name argument (optional)
atomic vector of filepaths to xml outputs from FIJI register_virtual_stack_slices
vector of scaling factors of images used in registration vs spatlocs
be verbose
list of registered giotto objects where the registered images and spatial locations