Skip to content

Python script that given a list of physical coordinates and a segmentation mask returns the corresponding labels of those coordinates

License

Notifications You must be signed in to change notification settings

JoaoSantinha/Label_of_Physical_Point_Medical_Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Label_of_Physical_Point_Medical_Image

Python script that given a list of physical coordinates and a segmentation mask returns the corresponding labels of those coordinates

Dependencies

  • SimpleITK - can be install using:

pip install SimpleITK

Examples of usage:

  • Check which coordinates correspond to label 2 python ./model_tissue_id.py --csv <csv_filepath> --segmentation <segmentation_filepath> --output <output_filepath> --label 2

  • Returns corresponding labels of provided coordinates python ./model_tissue_id.py --csv <csv_filepath> --segmentation <segmentation_filepath> --output <output_filepath> --label -1

About

Python script that given a list of physical coordinates and a segmentation mask returns the corresponding labels of those coordinates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages