pyanno4rt.tools._get_constraint_segments

Constraint segment retrieval.

Overview

Function

get_constraint_segments(segmentation)

Get a tuple with the segments associated with the constraints.

Functions

pyanno4rt.tools._get_constraint_segments.get_constraint_segments(segmentation)[source]

Get a tuple with the segments associated with the constraints.

Parameters:

segmentation (dict) – Dictionary with information on the segmented structures.

Returns:

Flattened tuple with the segments associated with the constraints.

Return type:

tuple