brainglobe_atlasapi.atlas_generation.annotation_utils#

Description

Helper functions to read annotation metadata from common formats.

Functions

read_itk_labels

Turn ITK label data from a file into a list of dictionaries.

split_label_text

Split label text into name + acronym.

write_itk_labels

Write ITK label data to a file.