read_label_map_tsv ======================================== .. py:function:: petpal.utils.image_io.read_label_map_tsv(label_map_file: str) -> dict | pandas.DataFrame Static method to read a label map, translating region indices to region names, as a dictionary. Assumes tsv format. :param label_map_file: Path to a json-formatted label map file. :type label_map_file: str :returns: *label_map (pd.DataFrame)* -- Dataframe matching region indices, names, abbreviations, and mappings. :raises FileNotFoundError: If the provided ctab file cannot be found in the directory.