patch_denoise.bindings.utils#
Common utilities for bindings.
Functions
Instantly checks if PyTorch is installed and CUDA is supported by the system. |
|
Load a file as a numpy array, and return affine matrix if available. |
|
Load two nifti image (magnitude and phase) to create a complex valued array. |
|
Save array to file, with affine matrix if required. |