Reconstruction as an Inverse Problem
The function reconstruction computes an image from the measured data with the encoding operator described in Signal Model and Encoding Operators. This page explains the problem it solves, the building blocks it uses and how the reconstruction types differ.
The Inverse Problem
With the encoding operator
The regularization term
The direct reconstruction, "direct", doesn't solve this problem. It applies the adjoint of the encoding operator to the weighted data,
Density Compensation
Non-Cartesian trajectories sample k-space unevenly, radial trajectories for example much more densely at the center than at the edges. The density compensation factors on the diagonal of samplingDensity returns their square roots, the diagonal of :densityWeighting = false, they use a constant
Solvers and Regularization
MRIReco.jl takes the solvers and the regularization terms from RegularizedLeastSquares.jl, as described in section 2.5 of the paper:
The parameter
:solverselects the solver, for exampleCGNR, the conjugate gradient method applied to the normal equations, which supports anregularization, or ADMMandFISTA, which also support non-smooth terms such as thenorm and total variation. These solvers only need the encoding operator, its adjoint and the normal operator. The parameter
:regsets the regularization term, for exampleL2Regularization(λ),L1Regularization(λ)orTVRegularization(λ; shape). Each term provides its proximal map, which proximal solvers such as ADMM and FISTA use. Use a Plug-and-Play Prior shows how to replace this map by an image denoiser.The parameter
:sparseTrafoapplies the regularization to a transformed image, except with CGNR, which ignores the transform of itsterm. With "Wavelet", anregularization penalizes instead of , where is the wavelet transform. Use a Custom Sparsifying Transform shows how to use other transforms and that FISTA, POGM and OptISTA handle only orthonormal ones correctly. The parameter
:normalizeRegscales λ. By default, λ is used as given. WithMeasurementBasedNormalization, it is multiplied by the mean magnitude of the weighted data, or with FISTA, POGM and OptISTA by that of the back-projected data , so that for terms such as the norm and total variation, the same value works for data of different scale.
The examples in the paper select the solver and the regularization by name, with params[:solver] = "admm" and params[:regularization] = "TV" together with params[:λ]. The current version takes them as types and objects, params[:solver] = ADMM and params[:reg] = TVRegularization(λ; shape). It passes the solver parameters of LeastSquaresSolverParameter to the solvers that take them, under the names of their keyword arguments in RegularizedLeastSquares.jl, for example :rho instead of :ρ for the penalty parameter of ADMM and :iterationsCG instead of :iterationsInner for its inner CG iterations. Other keyword arguments of the solvers cannot be set with the dictionary, and the old names, such as :regularization, :λ and :ρ, are ignored. Reconstruction Parameters lists the keys of the dictionary.
Reconstruction Types
The reconstruction type, :reco, decides which data is reconstructed together and with which encoding operator. Different slices and repetitions are always reconstructed separately.
:reco | Reconstructed together | Encoding operator |
|---|---|---|
"direct" | the data of one coil and contrast | Fourier encoding, only its adjoint is applied |
"standard" | the data of one coil and contrast | Fourier encoding |
"multiEcho" | all contrasts of one coil | Fourier encoding of each contrast |
"multiCoil" | all coils of one contrast | coil sensitivities and Fourier encoding |
"multiCoilMultiEcho" | all coils and contrasts | coil sensitivities and Fourier encoding of each contrast |
"multiCoilMultiEchoSubspace" | all coils and contrasts | as for "multiCoilMultiEcho", applied to the images of a temporal basis |
The reconstruction types with coil sensitivities, which :senseMaps provides, combine the data of all coils into one image. The subspace reconstruction represents the images of all contrasts by a few coefficient images in a temporal basis, which :basis provides, and reconstructs these coefficient images, as shown in Subspace Reconstruction.
Noise Decorrelation
The noise of different receive coils is usually correlated. If a noise measurement is given with :noiseData, the reconstruction types "multiCoil", "multiCoilMultiEcho" and "multiCoilMultiEchoSubspace" estimate the noise covariance matrix :noiseData. With several contrasts, "multiCoilMultiEcho" and "multiCoilMultiEchoSubspace" currently decorrelate the data wrongly, which gives a wrong image without a warning (#338).