patch_denoise.space_time.utils.estimate_noise#

patch_denoise.space_time.utils.estimate_noise(noise_sequence, block_size=1)[source]#

Estimate a noise map from a noise only sequence.

The noise map is the standard deviation of the noise in each patch.

Parameters:
  • noise_sequence (np.ndarray of shape (X, Y, Z, T)) – The noise-only data.

  • block_size (int) – The size of the patch used to estimate the noise.

Returns:

The estimated noise map.

Return type:

np.ndarray of shape (X, Y, Z)