rician

Noise simulations.

mr_utils.sim.noise.rician.rician(M, A, sigma)[source]

Generates rician distribution of pixel intensity M.

Generates the noise distribution of a magnitude MR image.

Parameters:
  • M (array_like) – measured image pixel intensity
  • A (array_like) – image pixel intensity in the absence of noise
  • sigma (float) – standard deviation of the Gaussian noise in the real and the imaginary images (which we assume to be equal)
Returns:

pM – computed probability distribution of M

Return type:

array_like

Notes

Computes Equation [1] from [1].

References

[1]Gudbjartsson, Hákon, and Samuel Patz. “The Rician distribution of noisy MRI data.” Magnetic resonance in medicine 34.6 (1995): 910-914.