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:
- options
argparse.Namespace
Namespace object holding options.
- 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:
- asegdkt
npt.ArrayLike
Deep-learning segmentation map.
- aseg_cc
npt.ArrayLike
Aseg segmentation with CC.
- asegdkt
- Returns:
asegdkt
Segmentation map with added CC.