junyuchen245 / TransMorph_Transformer_for_Medical_Image_Registration

TransMorph: Transformer for Unsupervised Medical Image Registration (PyTorch)
MIT License
456 stars 75 forks source link

label_info.txt #65

Closed FuratAljishi closed 1 year ago

FuratAljishi commented 1 year ago

Hi, can you explain the label_into.text? I am working with a custom dataset and reached the testing part infer_TransMorph.py, but got an error because I don't have my own version of the label_info.text.

junyuchen245 commented 1 year ago

Hi @FuratAljishi ,

The "label_info.txt" file is essentially the FreeSurfer's label lookup table (see here), providing names for anatomical structures based on their label numbers. The script can be modified to bypass the use of this file.

Junyu