vat_wm_region_merge#
- petpal.preproc.segmentation_tools.vat_wm_region_merge(wmparc_segmentation_path: str, out_image_path: str, wm_ref_segmentation_path: str, bs_segmentation_path: str = None)#
Merge subcortical structures into a merged segmentation image according to the protocol for processing the VAT radiotracer.
- Parameters:
wmparc_segmentation_path (str) – Path to wmparc segmentation generated by FreeSurfer.
out_image_path (str) – Path to which output fused segmentation is saved.
wm_ref_segmentation_path (str) – Path to eroded white matter reference region generated by
vat_wm_ref_region().bs_segmentation_path (str) – Path to brainstem segmentation generated by FreeSurfer. If None, then skip.