pyanno4rt.tools._get_all_constraints

Constraints return.

Overview

Function

get_all_constraints(segmentation)

Return a tuple with the user-assigned constraints.

Functions

pyanno4rt.tools._get_all_constraints.get_all_constraints(segmentation)[source]

Return a tuple with the user-assigned constraints.

Parameters:

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

Returns:

Flattened tuple with the user-assigned constraints.

Return type:

tuple