save_annotation#
- brainglobe_atlasapi.atlas_generation.stacks.save_annotation(stack, output_dir)[source]#
Save the annotation image stack.
Ensures the stack is of the correct data type before saving.
- Parameters:
stack (np.ndarray) – The annotation image stack.
output_dir (Path) – The directory where the annotation image will be saved.