save_annotation#
- brainglobe_atlasapi.atlas_generation.stacks.save_annotation(stack, output_dir, transformations)[source]#
Save the annotation image stack.
- Parameters:
stack (List[np.ndarray]) – The annotation image stack.
output_dir (Path) – The directory where the annotation image will be saved.
transformations (List[List[Dict]]) – A list of transformations to be saved alongside the annotation.