sdcflows.viz.utils module#

Visualization tooling.

sdcflows.viz.utils.coolwarm_transparent(max_alpha=0.7, opaque_perc=30, transparent_perc=8)[source]#

Modify the coolwarm color scale to have full transparency around the middle.

sdcflows.viz.utils.plot_registration(anat_nii, div_id, plot_params=None, order=('z', 'x', 'y'), cuts=None, estimate_brightness=False, label=None, contour=None, compress='auto', overlay=None, overlay_params=None)[source]#

Plot the foreground and background views.

Default order is: axial, coronal, sagittal