Skip to content

Segmentation Labels and Colors

Mohamed E. Masoud edited this page Dec 6, 2021 · 3 revisions

Optionally additional two JSON files can be added to brainchop: labels.json file to annotate the output labels, and the colorLUT.json file to apply customized colors to the segmentation regions.

The schema of the labels.json file can be such as:

{"0": "background", "1": "Grey Matter", "2": "White Matter"}

The object keys “0”, “1” and “2” must be numbers represent expected labels resulting from the inference model, and the values are the associated annotations for each key as shown in Fig.4.

Clone this wiki locally