patch_denoise.space_time.utils.svd_analysis#

patch_denoise.space_time.utils.svd_analysis(input_data)[source]#

Return the centered SVD decomposition.

U, S, Vt and M are compute such that: X = U @ (S * Vt) + M.

Parameters:

input_data (numpy.ndarray) – The patch

Return type:

u_vec, s_vals, v_vec, mean