patch_denoise.bindings.utils#

Common utilities for bindings.

Functions

compute_mask

Compute mask for array using the Otzu's method.

load_as_array

Load a file as a numpy array, and return affine matrix if available.

load_complex_nifti

Load two nifti image (magnitude and phase) to create a complex valued array.

save_array

Save array to file, with affine matrix if required.

Classes

DenoiseParameters

Denoise Parameters data structure.