pyanno4rt.patient.import_functions._generate_segmentation_from_p

Python file-based segmentation dictionary generation.

Overview

Function

generate_segmentation_from_p(data, computed_tomography)

Generate the segmentation dictionary from a Python binary (.p) file.

Functions

pyanno4rt.patient.import_functions._generate_segmentation_from_p.generate_segmentation_from_p(data, computed_tomography)[source]

Generate the segmentation dictionary from a Python binary (.p) file.

Parameters:
  • data (dict) – Dictionary with information on the segmented structures.

  • computed_tomography (dict) – Dictionary with information on the CT images.

Returns:

Dictionary with information on the segmented structures.

Return type:

dict