magmap.atlas.labels_meta module¶
Labels image metadata.
- class magmap.atlas.labels_meta.LabelsMeta(prefix=None)[source]¶
Bases:
objectLabels image metadata container and I/O.
- Variables:
prefix – Path prefix for saving metadata and locating the reference file path. Any extension will be removed. Defaults to None.
save_path – Path to save this metadata.
path_ref – Path to labels reference file.
region_ids_orig – Sequence of original label IDs.
- property save_path¶
Get the save path.
- Returns:
The save path if set, otherwise a path constructed from
prefixif set andPATH_LABELS_META, or the constant alone.