mr2.operators.functionals

Functionals and loss functions.

Classes

MSE

Functional class for the mean squared error.

NCC

(masked) global or local normalized cross-correlation functional.

SSIM

(masked) SSIM functional.

L1Norm

Functional class for the L1 Norm.

L1NormViewAsReal

Functional class for the L1 Norm, where C is identified with \(R^2\).

L2NormSquared

Functional class for the squared L2 Norm.

L21Norm

Sum or mean of Euclidean group norms of weight * (x - target).

NuclearNorm

Weighted nuclear norm on the last two input axes.

RicianNegLogLikelihood

Reduced Rician negative log likelihood for nonnegative amplitudes.

ZeroFunctional

The constant zero functional.