Phybers
Variables
segmentation.main Namespace Reference

Variables

 pathname = os.path.dirname(__file__)
 Variable that saves the absolute path of the file, so the executable /main can be run. More...
 
 npoints = sys.argv[1]
 Number of points at which the segmentation is done. More...
 
 fibrasdir = sys.argv[2]
 Path to the .bundles file that corresponds to the fascicles. More...
 
 idsubj = sys.argv[3]
 ID of the subject that the fascicles belong to. More...
 
 atlasdir = sys.argv[4]
 Path to the folder that contains the .bundles and .bundlesdata files of the atlas. More...
 
 atlasInformation = sys.argv[5]
 Path to the .txt file that contains the atlas' information. More...
 
 result_path = sys.argv[6]
 Output directory path for the segmented fascicles of the subject. More...
 

Detailed Description

How to run

The segmentation code is ran like this:

python3 -m segmentation <npoints> <fibrasdir> <idsubj> <atlasdir> <atlasInformation> <result_path>


Variable Documentation

◆ atlasdir

segmentation.main.atlasdir = sys.argv[4]

Path to the folder that contains the .bundles and .bundlesdata files of the atlas.

Ruta al directorio que contiene los archivos .bundles y .bundlesdata del atlas.

◆ atlasInformation

segmentation.main.atlasInformation = sys.argv[5]

Path to the .txt file that contains the atlas' information.

Ruta al archivo .txt que contiene la información del atlas.

◆ fibrasdir

segmentation.main.fibrasdir = sys.argv[2]

Path to the .bundles file that corresponds to the fascicles.

Ruta al archivo .bundles que corresponde a los fascículos.

◆ idsubj

segmentation.main.idsubj = sys.argv[3]

ID of the subject that the fascicles belong to.

ID del sujeto a quien pertenecen los fascículos.

◆ npoints

segmentation.main.npoints = sys.argv[1]

Number of points at which the segmentation is done.

Es el número de puntos a los que se hace la segmentación.

◆ pathname

segmentation.main.pathname = os.path.dirname(__file__)

Variable that saves the absolute path of the file, so the executable /main can be run.

It is not entered by the user. Variable que guarda la ruta absoluta del archivo, para poder correr el ejecutable /main. No es ingresado por el usuario.

◆ result_path

segmentation.main.result_path = sys.argv[6]

Output directory path for the segmented fascicles of the subject.

Directorio de salida para los fascículos segmentados del sujeto.