Conversion between volumes of labels and graph structures.
Input: Any Type ( input )Input volume.
- If a volume of labels is provided, the output will be a graph volume (.arg), with the nodes labelled according to the provided hierarchy. This allows a nice visualization of the volume in Anatomist.
- If a graph volume is provided, it will be converted to a volume of labels with values corresponding to thoses stored in the hierarchy.
Hierarchy: Hierarchy ( input )Hierarchy whose node names should correspond to ROI names in the graph structure and label values should consider to integer values in the volume of labels.
Output: Any Type ( output )Either a graph (if the input is a volume of labels) or a volume of labels (if the input is a graph).
Toolbox : Primatologist
User level : 0
Identifier :
AtlasVolumeToGraph
File name :
brainvisa/toolboxes/primatologist/processes/atlases/AtlasVolumeToGraph.py
Supported file formats :
Input :Graph and data, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Graph and data, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 imageHierarchy :Hierarchy, HierarchyOutput :Graph and data, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, Graph and data, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image