[Parcellation] Generate segmentation scores

Generate segmentation scores (precision, recall, F1) for a given parcellation based on a reference.

Paramètres

input_type: OpenChoice ( input )

This parameter allows to change the database type of the input segmentation. It helps to automatically fill the process with the corresponding masks and reference.

input_segmentation: P:EM Parcellation ( entrée )

The evaluated segmentation.

input_mask: P:Skull Stripping Mask ( optional, entrée )

A mask in which scores should be computed. If a skull-stripping mask was used prior to the automated segmentation, it allows to discard voxels outisde this mask.

input_reference: P:Reference Parcellation ( entrée )

Tee ground truth segmentation.

input_reference_mask: P:Reference Parcellation Mask ( optional, entrée )

A mask in which to compute segmentation scores. If the reference segmentation does not cover the entire volume (if only a few section were selected for example), it allows to only use voxels which have an actual ground truth.

input_hierarchy: P:Atlas Labels Hierarchy ( entrée )

Hierarchy linking class values to regions. It also allows to compute classification scores in a hierarchical manner, by aggregating regions.

subject: String ( optional, input )

Subject name or ID. It will be stored in the output CSV.

analysis: ListOf( String ) ( optional, input )

Analysis name. It will be stored in the output CSV. Allows to keep track of parameters or to compare different algorithms.

output_directory: Répertoire ( optional, entrée )

Directory to write the output CSV.

output_csv: CSV file ( sortie )

Output table. One score per label and per hierarchy node are computed, plus three averaged scores (micro, macro, weighted).

Informations techniques

Toolbox : Primatologist

Niveau d'utilisateur : 0

Identifiant : segmentationScores

Nom de fichier : brainvisa/toolboxes/primatologist/processes/tools/segmentationScores.py

Supported file formats :

input_segmentation :
gz compressed NIFTI-1 image, Aperio svs, DICOM image, Répertoire, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, Ventana bif, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
input_mask :
gz compressed NIFTI-1 image, Aperio svs, DICOM image, Répertoire, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, Ventana bif, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
input_reference :
gz compressed NIFTI-1 image, Aperio svs, DICOM image, Répertoire, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, Ventana bif, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
input_reference_mask :
gz compressed NIFTI-1 image, Aperio svs, DICOM image, Répertoire, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, Ventana bif, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
input_hierarchy :
Hiérarchie, Hiérarchie
output_directory :
Répertoire, Répertoire
output_csv :
CSV file, CSV file