recon_surf.paint_cc_into_pred

recon_surf.paint_cc_into_pred.argument_parse()[source]

Create a command line interface and return command line options.

Returns:
optionsargparse.Namespace

Namespace object holding options.

recon_surf.paint_cc_into_pred.paint_in_cc(pred, aseg_cc)[source]

Paint corpus callosum segmentation into aseg+dkt segmentation map.

Note, that this function modifies the original array and does not create a copy.

Parameters:
asegdktnpt.ArrayLike

Deep-learning segmentation map.

aseg_ccnpt.ArrayLike

Aseg segmentation with CC.

Returns:
asegdkt

Segmentation map with added CC.